@nodesecure/js-x-ray 6.1.0 → 6.1.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/README.md +1 -1
- package/package.json +4 -4
- package/src/warnings.js +2 -2
package/README.md
CHANGED
|
@@ -117,7 +117,7 @@ We make a call to `i18n` through the package `NodeSecure/i18n` to get the transl
|
|
|
117
117
|
import * as jsxray from "@nodesecure/js-x-ray";
|
|
118
118
|
import * as i18n from "@nodesecure/i18n";
|
|
119
119
|
|
|
120
|
-
console.log(i18n.
|
|
120
|
+
console.log(i18n.getTokenSync(jsxray.warnings["parsing-error"].i18n));
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
## Warnings Legends
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nodesecure/js-x-ray",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"description": "JavaScript AST XRay analysis",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"lint": "eslint src test",
|
|
12
12
|
"prepublishOnly": "pkg-ok",
|
|
13
13
|
"test-only": "cross-env esm-tape-runner 'test/**/*.spec.js' | tap-monkey",
|
|
14
|
-
"test": "c8 --all --src ./src
|
|
14
|
+
"test": "c8 --all --src ./src --reporter=lcov npm run test-only",
|
|
15
15
|
"check": "cross-env npm run lint && npm run test-only"
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"@slimio/is": "^2.0.0",
|
|
52
52
|
"@small-tech/esm-tape-runner": "^2.0.0",
|
|
53
53
|
"@small-tech/tap-monkey": "^1.4.0",
|
|
54
|
-
"@types/node": "^
|
|
55
|
-
"c8": "^
|
|
54
|
+
"@types/node": "^20.3.0",
|
|
55
|
+
"c8": "^8.0.0",
|
|
56
56
|
"cross-env": "^7.0.3",
|
|
57
57
|
"eslint": "^8.31.0",
|
|
58
58
|
"pkg-ok": "^3.0.0",
|
package/src/warnings.js
CHANGED