@localnerve/csp-hashes 5.2.0 → 6.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.
Files changed (2) hide show
  1. package/package.json +7 -10
  2. package/readme.md +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localnerve/csp-hashes",
3
- "version": "5.2.0",
3
+ "version": "6.0.1",
4
4
  "description": "Flexible library to generate CSP hashes",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -15,12 +15,12 @@
15
15
  "test:debug": "node --inspect-brk ./node_modules/.bin/jest"
16
16
  },
17
17
  "devDependencies": {
18
- "@babel/preset-env": "^7.29.0",
19
- "eslint": "^10.0.0",
18
+ "@babel/preset-env": "^7.29.2",
19
+ "eslint": "^10.2.0",
20
20
  "@eslint/js": "^10.0.1",
21
- "globals": "^17.3.0",
22
- "eslint-plugin-jest": "29.13.0",
23
- "jest": "^30.2.0",
21
+ "globals": "^17.5.0",
22
+ "eslint-plugin-jest": "29.15.2",
23
+ "jest": "^30.3.0",
24
24
  "vinyl": "^3.0.1"
25
25
  },
26
26
  "dependencies": {
@@ -46,15 +46,12 @@
46
46
  "email": "alex@localnerve.com"
47
47
  }
48
48
  ],
49
- "overrides": {
50
- "undici": "^6.23.0"
51
- },
52
49
  "license": "MIT",
53
50
  "bugs": {
54
51
  "url": "https://github.com/localnerve/csp-hashes/issues"
55
52
  },
56
53
  "homepage": "https://github.com/localnerve/csp-hashes#readme",
57
54
  "engines": {
58
- "node": ">=18.17"
55
+ "node": ">=20"
59
56
  }
60
57
  }
package/readme.md CHANGED
@@ -24,9 +24,10 @@ This Nodejs library generates script and style inline element and attribute hash
24
24
 
25
25
  ## Breaking Changes
26
26
  + As of Version 2+, this is an ES Module. See [Non-Esm Usage](#non-esm-usage) for how to use outside of ESM.
27
+ + As of Version 6+, requires Node 20+
27
28
 
28
29
  ## Prerequisites
29
- + NodeJS 18+
30
+ + NodeJS 20+
30
31
 
31
32
  ## API
32
33