Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2084: update to Rhino 1.8.0 #2127

Merged
merged 1 commit into from
Feb 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bom/pom.xml
Original file line number Diff line number Diff line change
@@ -81,7 +81,7 @@

<jsr305.version>3.0.2</jsr305.version>

<rhino.version>1.7.15</rhino.version>
<rhino.version>1.8.0</rhino.version>
<!--
be aware that connectivity mapping has a direct dependency on files inside this library.
when updating this version, you should also check if the used paths and files still exist
@@ -804,7 +804,7 @@

<dependency>
<groupId>org.mozilla</groupId>
<artifactId>rhino-runtime</artifactId>
<artifactId>rhino</artifactId>
<version>${rhino.version}</version>
</dependency>
<dependency>
2 changes: 1 addition & 1 deletion connectivity/service/pom.xml
Original file line number Diff line number Diff line change
@@ -138,7 +138,7 @@
</dependency>
<dependency>
<groupId>org.mozilla</groupId>
<artifactId>rhino-runtime</artifactId>
<artifactId>rhino</artifactId>
</dependency>

<!-- note: the order of classindex and jmh-generator-annprocess is important (classindex before
Original file line number Diff line number Diff line change
@@ -130,9 +130,7 @@ let Ditto = (function () {
*/
function asByteBuffer(arrayBuffer) {

let byteBuffer = new ArrayBuffer(arrayBuffer.byteLength);
new Uint8Array(byteBuffer).set(new Uint8Array(arrayBuffer));
return dcodeIO.ByteBuffer.wrap(byteBuffer);
return dcodeIO.ByteBuffer.wrap(new Uint8Array(arrayBuffer));
}

return {