+16
-15
lines changedFilter options
+16
-15
lines changed Original file line number Diff line number Diff line change
@@ -535,7 +535,7 @@ function createIntegrity (opts) {
535
535
hashes.forEach(h => h.update(chunk, enc))
536
536
return this
537
537
},
538
-
digest: function (enc) {
538
+
digest: function () {
539
539
const integrity = algorithms.reduce((acc, algo) => {
540
540
const digest = hashes.shift().digest('base64')
541
541
const hash = new Hash(
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "ssri",
3
-
"version": "10.0.5",
3
+
"version": "10.0.6",
4
4
"description": "Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.",
5
5
"main": "lib/index.js",
6
6
"files": [
@@ -13,7 +13,7 @@
13
13
"posttest": "npm run lint",
14
14
"test": "tap",
15
15
"coverage": "tap",
16
-
"lint": "eslint \"**/*.js\"",
16
+
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
17
17
"postlint": "template-oss-check",
18
18
"template-oss-apply": "template-oss-apply --force",
19
19
"lintfix": "npm run lint -- --fix",
@@ -28,7 +28,7 @@
28
28
},
29
29
"repository": {
30
30
"type": "git",
31
-
"url": "https://github.com/npm/ssri.git"
31
+
"url": "git+https://github.com/npm/ssri.git"
32
32
},
33
33
"keywords": [
34
34
"w3c",
@@ -51,15 +51,15 @@
51
51
},
52
52
"devDependencies": {
53
53
"@npmcli/eslint-config": "^4.0.0",
54
-
"@npmcli/template-oss": "4.18.0",
54
+
"@npmcli/template-oss": "4.22.0",
55
55
"tap": "^16.0.1"
56
56
},
57
57
"engines": {
58
58
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
59
59
},
60
60
"templateOSS": {
61
61
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
62
-
"version": "4.18.0",
62
+
"version": "4.22.0",
63
63
"publish": "true"
64
64
}
65
65
}
Original file line number Diff line number Diff line change
@@ -145,7 +145,7 @@
145
145
"read": "^3.0.1",
146
146
"semver": "^7.6.0",
147
147
"spdx-expression-parse": "^4.0.0",
148
-
"ssri": "^10.0.5",
148
+
"ssri": "^10.0.6",
149
149
"supports-color": "^9.4.0",
150
150
"tar": "^6.2.1",
151
151
"text-table": "~0.2.0",
@@ -11100,10 +11100,11 @@
11100
11100
"inBundle": true
11101
11101
},
11102
11102
"node_modules/ssri": {
11103
-
"version": "10.0.5",
11104
-
"resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz",
11105
-
"integrity": "sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A==",
11103
+
"version": "10.0.6",
11104
+
"resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz",
11105
+
"integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==",
11106
11106
"inBundle": true,
11107
+
"license": "ISC",
11107
11108
"dependencies": {
11108
11109
"minipass": "^7.0.3"
11109
11110
},
@@ -14820,7 +14821,7 @@
14820
14821
"promise-call-limit": "^3.0.1",
14821
14822
"read-package-json-fast": "^3.0.2",
14822
14823
"semver": "^7.3.7",
14823
-
"ssri": "^10.0.5",
14824
+
"ssri": "^10.0.6",
14824
14825
"treeverse": "^3.0.0",
14825
14826
"walk-up-path": "^3.0.1"
14826
14827
},
@@ -15015,7 +15016,7 @@
15015
15016
"proc-log": "^4.2.0",
15016
15017
"semver": "^7.3.7",
15017
15018
"sigstore": "^2.2.0",
15018
-
"ssri": "^10.0.5"
15019
+
"ssri": "^10.0.6"
15019
15020
},
15020
15021
"devDependencies": {
15021
15022
"@npmcli/eslint-config": "^4.0.0",
Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@
110
110
"read": "^3.0.1",
111
111
"semver": "^7.6.0",
112
112
"spdx-expression-parse": "^4.0.0",
113
-
"ssri": "^10.0.5",
113
+
"ssri": "^10.0.6",
114
114
"supports-color": "^9.4.0",
115
115
"tar": "^6.2.1",
116
116
"text-table": "~0.2.0",
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@
34
34
"promise-call-limit": "^3.0.1",
35
35
"read-package-json-fast": "^3.0.2",
36
36
"semver": "^7.3.7",
37
-
"ssri": "^10.0.5",
37
+
"ssri": "^10.0.6",
38
38
"treeverse": "^3.0.0",
39
39
"walk-up-path": "^3.0.1"
40
40
},
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@
45
45
"proc-log": "^4.2.0",
46
46
"semver": "^7.3.7",
47
47
"sigstore": "^2.2.0",
48
-
"ssri": "^10.0.5"
48
+
"ssri": "^10.0.6"
49
49
},
50
50
"engines": {
51
51
"node": "^16.14.0 || >=18.0.0"
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4