Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
fix: missing parsing_error in sast_warnings (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
halcin authored Jun 21, 2023
1 parent 2b8e335 commit 98d5a84
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ <h1>NodeSecure - i18n</h1>
<tbody class="en">

<tr>
<td>ast_error</td>
<td>parsing_error</td>
<td>An error occured when parsing the JavaScript code with meriyah. It mean that the conversion from string to AST as failed. If you encounter such an error, please open an issue here.</td>
</tr>

Expand Down Expand Up @@ -901,7 +901,7 @@ <h1>NodeSecure - i18n</h1>
<tbody class="fr">

<tr>
<td>ast_error</td>
<td>parsing_error</td>
<td>Une erreur s'est produite lors de l'analyse du code JavaScript avec meriyah.
Cela signifie que la conversion de la chaîne de caractères AST a échoué.
Si vous rencontrez une telle erreur, veuillez ouvrir une issue.</td>
Expand Down
2 changes: 1 addition & 1 deletion languages/english.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const warnings = {
};

const sast_warnings = {
ast_error: "An error occured when parsing the JavaScript code with meriyah. It mean that the conversion from string to AST as failed. If you encounter such an error, please open an issue here.",
parsing_error: "An error occured when parsing the JavaScript code with meriyah. It mean that the conversion from string to AST has failed. If you encounter such an error, please open an issue here.",
unsafe_import: "Unable to follow an import (require, require.resolve) statement/expr.",
unsafe_regex: "A RegEx as been detected as unsafe and may be used for a ReDoS Attack.",
unsafe_stmt: "Usage of dangerous statement like eval() or Function(\"\").",
Expand Down
2 changes: 1 addition & 1 deletion languages/french.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const warnings = {
};

const sast_warnings = {
ast_error: `Une erreur s'est produite lors de l'analyse du code JavaScript avec meriyah.
parsing_error: `Une erreur s'est produite lors de l'analyse du code JavaScript avec meriyah.
Cela signifie que la conversion de la chaîne de caractères AST a échoué.
Si vous rencontrez une telle erreur, veuillez ouvrir une issue.`,
unsafe_import: "Impossible de suivre l'import (require, require.resolve) statement/expr.",
Expand Down

0 comments on commit 98d5a84

Please sign in to comment.