zsyp 1.2.2 → 1.2.3

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/Readme.md CHANGED
@@ -75,7 +75,7 @@ MIT © [Damian Krzeminski](https://pirxpilot.me)
75
75
  [npm-url]: https://npmjs.org/package/zsyp
76
76
 
77
77
  [build-url]: https://github.com/pirxpilot/zsyp/actions/workflows/check.yaml
78
- [build-image]: https://img.shields.io/github/workflow/status/pirxpilot/zsyp/check
78
+ [build-image]: https://img.shields.io/github/actions/workflow/status/pirxpilot/zsyp/check.yaml?branch=main
79
79
 
80
80
  [deps-image]: https://img.shields.io/librariesio/release/npm/zsyp
81
81
  [deps-url]: https://libraries.io/npm/zsyp
package/lib/source-map.js CHANGED
@@ -1,7 +1,7 @@
1
1
  const { readFile } = require('fs').promises;
2
2
  const path = require('path');
3
3
  const { SourceMapConsumer } = require('source-map');
4
- const LRU = require('lru-cache');
4
+ const { LRUCache: LRU } = require('lru-cache');
5
5
 
6
6
  module.exports = {
7
7
  resolve,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zsyp",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "CSP violation reports logger.",
5
5
  "author": {
6
6
  "name": "Damian Krzeminski",
@@ -21,16 +21,15 @@
21
21
  "debug": "~2 || ~3 || ~4",
22
22
  "dotenv": "~16",
23
23
  "error-stack-parser": "^2.1.4",
24
- "lru-cache": "^7.10.1",
25
- "mniam": "^3.0.0",
24
+ "lru-cache": "~10",
25
+ "mniam": "~4",
26
26
  "router": "~1",
27
27
  "source-map": "^0.7.4",
28
- "supertest": "~6",
29
28
  "useragent": "^2.3.0"
30
29
  },
31
30
  "devDependencies": {
32
- "jshint": "~2",
33
- "tape": "~5"
31
+ "@pirxpilot/jshint": "~3",
32
+ "supertest": "~6"
34
33
  },
35
34
  "scripts": {
36
35
  "test": "make check"
@@ -39,4 +38,4 @@
39
38
  "index.js",
40
39
  "lib"
41
40
  ]
42
- }
41
+ }