We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c18d7ec commit 14fa50bCopy full SHA for 14fa50b
README.md
@@ -117,7 +117,7 @@ We make a call to `i18n` through the package `NodeSecure/i18n` to get the transl
117
import * as jsxray from "@nodesecure/js-x-ray";
118
import * as i18n from "@nodesecure/i18n";
119
120
-console.log(i18n.getToken(jsxray.warnings["parsing-error"].i18n));
+console.log(i18n.getTokenSync(jsxray.warnings["parsing-error"].i18n));
121
```
122
123
## Warnings Legends
src/warnings.js
@@ -2,8 +2,8 @@
2
import * as utils from "./utils.js";
3
4
export const warnings = Object.freeze({
5
- "ast-error": {
6
- i18n: "sast_warnings.ast_error",
+ "parsing-error": {
+ i18n: "sast_warnings.parsing_error",
7
severity: "Information"
8
},
9
"unsafe-import": {
0 commit comments