Skip to content

Commit d9a7c8a

Browse files
authored
Merge pull request #2127 from beyonnex-io/update-rhino-18
#2084: update to Rhino 1.8.0
2 parents 29958d6 + 8661e27 commit d9a7c8a

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

bom/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
<jsr305.version>3.0.2</jsr305.version>
8383

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

805805
<dependency>
806806
<groupId>org.mozilla</groupId>
807-
<artifactId>rhino-runtime</artifactId>
807+
<artifactId>rhino</artifactId>
808808
<version>${rhino.version}</version>
809809
</dependency>
810810
<dependency>

connectivity/service/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
</dependency>
139139
<dependency>
140140
<groupId>org.mozilla</groupId>
141-
<artifactId>rhino-runtime</artifactId>
141+
<artifactId>rhino</artifactId>
142142
</dependency>
143143

144144
<!-- note: the order of classindex and jmh-generator-annprocess is important (classindex before

connectivity/service/src/main/resources/javascript/ditto-scope.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,7 @@ let Ditto = (function () {
130130
*/
131131
function asByteBuffer(arrayBuffer) {
132132

133-
let byteBuffer = new ArrayBuffer(arrayBuffer.byteLength);
134-
new Uint8Array(byteBuffer).set(new Uint8Array(arrayBuffer));
135-
return dcodeIO.ByteBuffer.wrap(byteBuffer);
133+
return dcodeIO.ByteBuffer.wrap(new Uint8Array(arrayBuffer));
136134
}
137135

138136
return {

0 commit comments

Comments
 (0)