@localnerve/csp-hashes 4.0.3 → 4.0.5

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/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Return a Vinyl transform object stream to process html files for
5
5
  * generating the required CSP hashes for inline and attribute scripts, styles.
6
6
  *
7
- * Copyright (c) 2022-2023 Alex Grant (@localnerve), LocalNerve LLC
7
+ * Copyright (c) 2022-2024 Alex Grant (@localnerve), LocalNerve LLC
8
8
  * Licensed under the MIT license.
9
9
  */
10
10
  /* eslint-env node */
package/lib/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Return a Vinyl transform object stream to process html files for
5
5
  * generating the required CSP hashes for inline and attribute scripts, styles.
6
6
  *
7
- * Copyright (c) 2022-2023 Alex Grant (@localnerve), LocalNerve LLC
7
+ * Copyright (c) 2022-2024 Alex Grant (@localnerve), LocalNerve LLC
8
8
  * Licensed under the MIT license.
9
9
  */
10
10
  import { Transform } from 'stream';
@@ -4,7 +4,7 @@
4
4
  * A convenience method to remove the content of a Content-Security-Policy in a meta tag.
5
5
  * Useful for development builds that need to ignore CSP meta tags.
6
6
  *
7
- * Copyright (c) 2022-2023 Alex Grant (@localnerve), LocalNerve LLC
7
+ * Copyright (c) 2022-2024 Alex Grant (@localnerve), LocalNerve LLC
8
8
  * Licensed under the MIT license.
9
9
  */
10
10
  import { Transform } from 'stream';
package/license.md CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2022-2023, Alex Grant, LocalNerve, LLC
1
+ Copyright 2022-2024, Alex Grant, LocalNerve, LLC
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localnerve/csp-hashes",
3
- "version": "4.0.3",
3
+ "version": "4.0.5",
4
4
  "description": "Flexible library to generate CSP hashes",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -15,8 +15,8 @@
15
15
  "test:debug": "node --inspect-brk ./node_modules/.bin/jest"
16
16
  },
17
17
  "devDependencies": {
18
- "@babel/preset-env": "^7.23.3",
19
- "eslint": "^8.53.0",
18
+ "@babel/preset-env": "^7.23.8",
19
+ "eslint": "^8.56.0",
20
20
  "jest": "^29.7.0",
21
21
  "vinyl": "^3.0.0"
22
22
  },
package/readme.md CHANGED
@@ -26,7 +26,7 @@ This Nodejs library generates script and style inline element and attribute hash
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
27
 
28
28
  ## Prerequisites
29
- + NodeJS 16+
29
+ + NodeJS 18+
30
30
 
31
31
  ## API
32
32