@k3000/store 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/architect.mjs +2 -2
- package/package.json +1 -1
- package/test/1/data +0 -0
- package/test/1/index +0 -0
- package/test/2/data +0 -0
- package/test/2/index +0 -0
- package/test/3/data +0 -0
- package/test/3/index +0 -0
- package/test/4/data +0 -0
- package/test/4/index +0 -0
- package/test/5/data +0 -0
- package/test/5/index +0 -0
- package/test/6/data +0 -0
- package/test/6/index +0 -0
- package/test/7/data +0 -0
- package/test/7/index +0 -0
package/architect.mjs
CHANGED
@@ -1296,7 +1296,7 @@ const s2b = (value, length) => {
|
|
1296
1296
|
|
1297
1297
|
let len = 0
|
1298
1298
|
|
1299
|
-
for (let i =
|
1299
|
+
for (let i = 0; i < value.length; i++) {
|
1300
1300
|
|
1301
1301
|
const byteLength = Buffer.byteLength(value[i])
|
1302
1302
|
|
@@ -1305,7 +1305,7 @@ const s2b = (value, length) => {
|
|
1305
1305
|
len += byteLength
|
1306
1306
|
}
|
1307
1307
|
|
1308
|
-
buffer = buffer.subarray(
|
1308
|
+
buffer = buffer.subarray(0, len)
|
1309
1309
|
}
|
1310
1310
|
|
1311
1311
|
return Buffer.concat([Buffer.alloc(length - buffer.length), buffer])
|
package/package.json
CHANGED
package/test/1/data
CHANGED
Binary file
|
package/test/1/index
CHANGED
Binary file
|
package/test/2/data
CHANGED
Binary file
|
package/test/2/index
CHANGED
Binary file
|
package/test/3/data
CHANGED
Binary file
|
package/test/3/index
CHANGED
Binary file
|
package/test/4/data
CHANGED
Binary file
|
package/test/4/index
CHANGED
Binary file
|
package/test/5/data
CHANGED
Binary file
|
package/test/5/index
CHANGED
Binary file
|
package/test/6/data
CHANGED
Binary file
|
package/test/6/index
CHANGED
Binary file
|
package/test/7/data
CHANGED
Binary file
|
package/test/7/index
CHANGED
Binary file
|