
Rhino
A fork of Mozilla's Rhino library, modified for use in mods
- Загрузки
- 20.7M
- Подписчики
- 106
- Обновлён
- 19 июля 2026 г.
- Лицензия
- MPL-2.0
Опубликован 24 мая 2022 г.
A fork of Mozilla's Rhino library, modified for use in mods. This library adds JavaScript engine Rhino that supports ES6 and doesn't depend on built-in Nashorn engine that got removed in Java 15.
This mod doesn't do anything on it's own, it's a library used by KubeJS.
Ченджлог
2101.2.8-build.91+Rhino-1.21Бета1.21.3, 1.21.4, 26.1.2 · 19 июля 2026 г.
https://github.com/KubeJS-Mods/Rhino/commits/main
Note: This release is a major update to Rhino's internals and contains a bunch of new or fixed language features, including:
- Destructuring
const {a, b} = obj,const [x, y] = arr, defaults, nested patterns, destructuring incatch,forloops, and function parameters - Default parameters
function f(a, b = a * 2) - Rest parameters
function f(...args)(unfortunately NYI in arrow functions, also no spread yet!) - Nullish coalescing (
??) and optional chaining (?.), hopefully working this time :p - Computed properties in object literals
{[key]: value}(i didn't even know this wasn't supported until a few days ago tbh...) - Tagged string literals
- more JS builtins like
Array.flatMap, impls ofvalues/entries/fromEntriesforObject, and more - Changes to iterators where we basically just copy what upstream Rhino does tho; beware of this change especially since it may have either fixed or broken some
for...inorfor...ofloops (also no, unfortunately variable scoping is not fixed yet)
If anything breaks, addons may need to be updated, otherwise, feel free to report issues directly to us on our Discord!
2101.2.7-build.85+Rhino-1.21Релиз1.21.3, 1.21.4, 26.1.2 · 8 июня 2026 г.
2101.2.7-build.81+Rhino-1.21Релиз26.1, 26.1.1, 26.1.2 · 13 октября 2025 г.
2101.2.7-build.77+Rhino-1.21Релиз1.21.2, 1.21.3, 1.21.4 · 14 августа 2025 г.
2001.2.3-build.10+forgeРелиз1.20.1 · 12 февраля 2025 г.
Changelog not available
2001.2.3-build.10+fabricРелиз1.20.1 · 12 февраля 2025 г.
Changelog not available
2101.2.7-build.74+Rhino-1.21Релиз1.21.2, 1.21.3, 1.21.4 · 12 февраля 2025 г.
2101.2.6-build.66+Rhino-1.21Релиз1.21.2, 1.21.3, 1.21.4 · 21 января 2025 г.
Комментарии
Загружаем…

