lib0 0.2.79 → 0.2.81
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/coverage/tmp/coverage-1990-1692039209642-0.json +1 -0
- package/crypto/aes-gcm.d.ts +9 -2
- package/crypto/aes-gcm.d.ts.map +1 -1
- package/crypto/aes-gcm.js +24 -11
- package/crypto/common.d.ts +2 -1
- package/crypto/common.d.ts.map +1 -1
- package/crypto/common.js +10 -1
- package/crypto/ecdsa.d.ts +6 -2
- package/crypto/ecdsa.d.ts.map +1 -1
- package/crypto/ecdsa.js +14 -3
- package/crypto/rsa-oaep.d.ts +2 -2
- package/crypto/rsa-oaep.d.ts.map +1 -1
- package/crypto/rsa-oaep.js +2 -2
- package/crypto.test.d.ts.map +1 -1
- package/dist/aes-gcm.cjs +28 -13
- package/dist/aes-gcm.cjs.map +1 -1
- package/dist/common.cjs +12 -2
- package/dist/common.cjs.map +1 -1
- package/dist/crypto/aes-gcm.d.ts +9 -2
- package/dist/crypto/aes-gcm.d.ts.map +1 -1
- package/dist/crypto/common.d.ts +2 -1
- package/dist/crypto/common.d.ts.map +1 -1
- package/dist/crypto/ecdsa.d.ts +6 -2
- package/dist/crypto/ecdsa.d.ts.map +1 -1
- package/dist/crypto/rsa-oaep.d.ts +2 -2
- package/dist/crypto/rsa-oaep.d.ts.map +1 -1
- package/dist/crypto.test.d.ts.map +1 -1
- package/dist/ecdsa.cjs +17 -4
- package/dist/ecdsa.cjs.map +1 -1
- package/{hash/sha256.fallback.d.ts → dist/hash/sha256.d.ts} +1 -1
- package/dist/hash/sha256.d.ts.map +1 -0
- package/dist/rsa-oaep.cjs +3 -3
- package/dist/rsa-oaep.cjs.map +1 -1
- package/dist/{sha256.fallback.cjs → sha256.cjs} +1 -1
- package/dist/sha256.cjs.map +1 -0
- package/{dist/hash/sha256.fallback.d.ts → hash/sha256.d.ts} +1 -1
- package/hash/sha256.d.ts.map +1 -0
- package/package.json +6 -6
- package/test.html +1 -1
- package/coverage/tmp/coverage-10499-1691528887100-0.json +0 -1
- package/dist/hash/sha256.fallback.d.ts.map +0 -1
- package/dist/sha256.fallback.cjs.map +0 -1
- package/hash/sha256.fallback.d.ts.map +0 -1
- /package/hash/{sha256.fallback.js → sha256.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lib0",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.81",
|
|
4
4
|
"description": "",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -104,15 +104,15 @@
|
|
|
104
104
|
"require": "./dist/rabin.cjs"
|
|
105
105
|
},
|
|
106
106
|
"./hash/sha256": {
|
|
107
|
-
"types": "./hash/sha256.
|
|
107
|
+
"types": "./hash/sha256.d.ts",
|
|
108
108
|
"node": {
|
|
109
109
|
"require": "./dist/sha256.node.cjs",
|
|
110
110
|
"default": "./hash/sha256.node.js"
|
|
111
111
|
},
|
|
112
112
|
"default": {
|
|
113
|
-
"module": "./hash/sha256.
|
|
114
|
-
"require": "./dist/sha256.
|
|
115
|
-
"default": "./hash/sha256.
|
|
113
|
+
"module": "./hash/sha256.js",
|
|
114
|
+
"require": "./dist/sha256.cjs",
|
|
115
|
+
"default": "./hash/sha256.js"
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
118
|
"./decoding.js": "./decoding.js",
|
|
@@ -469,7 +469,7 @@
|
|
|
469
469
|
"clean": "rm -rf dist *.d.ts */*.d.ts *.d.ts.map */*.d.ts.map",
|
|
470
470
|
"types": "tsc --outDir .",
|
|
471
471
|
"dist": "rollup -c",
|
|
472
|
-
"debug": "npm run gentesthtml &&
|
|
472
|
+
"debug": "npm run gentesthtml && node ./bin/0serve.js -o test.html",
|
|
473
473
|
"test": "c8 --check-coverage --lines 100 --branches 100 --functions 100 --statements 100 node --unhandled-rejections=strict ./test.js --repetition-time 50 --production",
|
|
474
474
|
"test-inspect": "node --inspect-brk --unhandled-rejections=strict ./test.js --repetition-time 50 --production",
|
|
475
475
|
"test-extensive": "c8 --check-coverage --lines 100 --branches 100 --functions 100 --statements 100 node test.js --repetition-time 30000 --extensive --production",
|
package/test.html
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"lib0/crypto/ecdsa": "./crypto/ecdsa.js",
|
|
34
34
|
"lib0/crypto/rsa-oaep": "./crypto/rsa-oaep.js",
|
|
35
35
|
"lib0/hash/rabin": "./hash/rabin.js",
|
|
36
|
-
"lib0/hash/sha256": "./hash/sha256.
|
|
36
|
+
"lib0/hash/sha256": "./hash/sha256.js",
|
|
37
37
|
"lib0/decoding.js": "./decoding.js",
|
|
38
38
|
"lib0/dist/decoding.cjs": "./dist/decoding.cjs",
|
|
39
39
|
"lib0/decoding": "./decoding.js",
|