@pdg/crypto 1.0.5 → 1.0.6
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/dist/index.esm.js +3249 -4
- package/dist/index.js +3249 -4
- package/dist/sha1.d.ts +1 -1
- package/dist/sha256.d.ts +1 -1
- package/package.json +10 -10
package/dist/sha1.d.ts
CHANGED
package/dist/sha256.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@pdg/crypto",
|
|
3
3
|
"title": "Typescript Crypto Module",
|
|
4
4
|
"description": "Typescript Crypto Module",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.6",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"module": "./dist/index.esm.js",
|
|
@@ -30,14 +30,15 @@
|
|
|
30
30
|
"scripts": {
|
|
31
31
|
"dev": "cd examples && npm run dev",
|
|
32
32
|
"watchman:del": "watchman watch-del \"${PWD}\" ; watchman watch-project \"${PWD}\"",
|
|
33
|
-
"build": "npm run watchman:del && npm run test &&
|
|
33
|
+
"build": "npm run watchman:del && npm run test && rollup -c --bundleConfigAsCjs",
|
|
34
34
|
"git:commit": "node .git-commit.cjs",
|
|
35
35
|
"git:push": "git push",
|
|
36
36
|
"git:commit:push": "npm run git:commit && npm run git:push",
|
|
37
37
|
"git:merge:mirror": "node .git-merge.cjs mirror main",
|
|
38
38
|
"reset:gitignore": "git rm -r --cached . && git add .",
|
|
39
|
-
"pub": "npm i && npm run build && npm publish --access=public && rm ./.git/hooks/pre-commit",
|
|
39
|
+
"pub": "npm i && npm run build && npm publish --access=public && [ -f ./.git/hooks/pre-commit ] && rm ./.git/hooks/pre-commit || true",
|
|
40
40
|
"lint": "eslint './src/**/*.ts'",
|
|
41
|
+
"tsc": "tsc --noEmit",
|
|
41
42
|
"reinstall": "npm run reinstall:module",
|
|
42
43
|
"reinstall:module": "rm -rf node_modules && rm -f package-lock.json && npm i",
|
|
43
44
|
"test": "jest"
|
|
@@ -50,15 +51,10 @@
|
|
|
50
51
|
"typescript",
|
|
51
52
|
"javascript"
|
|
52
53
|
],
|
|
53
|
-
"dependencies": {
|
|
54
|
-
"base-64": "^1.0.0",
|
|
55
|
-
"md5": "^2.3.0",
|
|
56
|
-
"sha.js": "^2.4.12",
|
|
57
|
-
"utf8": "^3.0.0"
|
|
58
|
-
},
|
|
59
54
|
"devDependencies": {
|
|
60
55
|
"@eslint/js": "9.39.1",
|
|
61
56
|
"@rollup/plugin-commonjs": "29.0.0",
|
|
57
|
+
"@rollup/plugin-eslint": "^9.2.0",
|
|
62
58
|
"@rollup/plugin-node-resolve": "16.0.3",
|
|
63
59
|
"@types/base-64": "^1.0.2",
|
|
64
60
|
"@types/jest": "29.5.14",
|
|
@@ -68,18 +64,22 @@
|
|
|
68
64
|
"@types/utf8": "3.0.3",
|
|
69
65
|
"@types/uuid": "10.0.0",
|
|
70
66
|
"@typescript-eslint/parser": "8.49.0",
|
|
67
|
+
"base-64": "^1.0.0",
|
|
71
68
|
"eslint": "9.39.1",
|
|
72
69
|
"eslint-config-prettier": "10.1.8",
|
|
73
70
|
"eslint-plugin-prettier": "5.5.4",
|
|
74
71
|
"jest": "29.7.0",
|
|
72
|
+
"md5": "^2.3.0",
|
|
75
73
|
"prettier": "3.7.4",
|
|
76
74
|
"rollup": "4.53.3",
|
|
77
75
|
"rollup-plugin-delete": "2.2.0",
|
|
78
76
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
79
77
|
"rollup-plugin-typescript2": "0.36.0",
|
|
78
|
+
"sha.js": "^2.4.12",
|
|
80
79
|
"ts-jest": "29.4.6",
|
|
81
80
|
"ts-node": "10.9.2",
|
|
82
81
|
"typescript": "5.9.3",
|
|
83
|
-
"typescript-eslint": "8.49.0"
|
|
82
|
+
"typescript-eslint": "8.49.0",
|
|
83
|
+
"utf8": "^3.0.0"
|
|
84
84
|
}
|
|
85
85
|
}
|