@localnerve/csp-hashes 4.0.10 → 5.0.1
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/lib/index.js +3 -3
- package/lib/removeCspMeta.js +1 -1
- package/package.json +8 -8
package/lib/index.js
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* Copyright (c) 2022-2024 Alex Grant (@localnerve), LocalNerve LLC
|
|
8
8
|
* Licensed under the MIT license.
|
|
9
9
|
*/
|
|
10
|
-
import { Transform } from 'stream';
|
|
11
|
-
import crypto from 'crypto';
|
|
12
|
-
import cheerio from 'cheerio';
|
|
10
|
+
import { Transform } from 'node:stream';
|
|
11
|
+
import crypto from 'node:crypto';
|
|
12
|
+
import * as cheerio from 'cheerio';
|
|
13
13
|
export { removeCspMeta } from './removeCspMeta.js';
|
|
14
14
|
|
|
15
15
|
/**
|
package/lib/removeCspMeta.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@localnerve/csp-hashes",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Flexible library to generate CSP hashes",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
"test:debug": "node --inspect-brk ./node_modules/.bin/jest"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@babel/preset-env": "^7.
|
|
19
|
-
"eslint": "^9.
|
|
20
|
-
"@eslint/js": "^9.
|
|
21
|
-
"globals": "^15.
|
|
22
|
-
"eslint-plugin-jest": "28.
|
|
18
|
+
"@babel/preset-env": "^7.25.4",
|
|
19
|
+
"eslint": "^9.9.1",
|
|
20
|
+
"@eslint/js": "^9.9.1",
|
|
21
|
+
"globals": "^15.9.0",
|
|
22
|
+
"eslint-plugin-jest": "28.8.1",
|
|
23
23
|
"jest": "^29.7.0",
|
|
24
24
|
"vinyl": "^3.0.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"cheerio": "^1.0.0
|
|
27
|
+
"cheerio": "^1.0.0"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
@@ -52,6 +52,6 @@
|
|
|
52
52
|
},
|
|
53
53
|
"homepage": "https://github.com/localnerve/csp-hashes#readme",
|
|
54
54
|
"engines": {
|
|
55
|
-
"node": ">=18"
|
|
55
|
+
"node": ">=18.17"
|
|
56
56
|
}
|
|
57
57
|
}
|