@nxtedition/slice
Advanced tools
+6
-0
@@ -45,2 +45,8 @@ import util from 'node:util' | ||
| if (byteOffset + byteLength > buffer.byteLength) { | ||
| throw new RangeError( | ||
| `byteOffset + byteLength (${byteOffset + byteLength}) exceeds buffer size (${buffer.byteLength})`, | ||
| ) | ||
| } | ||
| this.buffer = buffer | ||
@@ -47,0 +53,0 @@ this.byteOffset = byteOffset |
+2
-2
| { | ||
| "name": "@nxtedition/slice", | ||
| "version": "1.1.1", | ||
| "version": "1.1.2", | ||
| "type": "module", | ||
@@ -33,3 +33,3 @@ "main": "lib/index.js", | ||
| }, | ||
| "gitHead": "7c9c7457c885c644c7a1e70ef894d4727ce240d6" | ||
| "gitHead": "46b274a6aae8f201e61655dcd8cd8d3ce24af85a" | ||
| } |
21381
0.97%359
1.41%