@localnerve/csp-hashes 5.2.0 → 6.0.0
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/package.json +2 -2
- package/readme.md +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@localnerve/csp-hashes",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Flexible library to generate CSP hashes",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -55,6 +55,6 @@
|
|
|
55
55
|
},
|
|
56
56
|
"homepage": "https://github.com/localnerve/csp-hashes#readme",
|
|
57
57
|
"engines": {
|
|
58
|
-
"node": ">=
|
|
58
|
+
"node": ">=20"
|
|
59
59
|
}
|
|
60
60
|
}
|
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
|
|
30
|
+
+ NodeJS 20+
|
|
30
31
|
|
|
31
32
|
## API
|
|
32
33
|
|