This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const yaml = require('js-yaml'); | |
const auxObj = { | |
x: 0, | |
y: 1 | |
} | |
const obj = { | |
a: auxObj, | |
b: auxObj, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/JSON_bad_parse | |
let errorCases = [ | |
{ | |
source: '[1, 2, 3, 4,]', | |
cause: 'JSON.parse() does not allow trailing commas', | |
mdn: `SyntaxError JSON.parse: unexpected character`, | |
ff: `JSON.parse: unexpected character at line 1 column 13 of the JSON data`, | |
node: `Unexpected token ] in JSON at position 12` | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mat-selection-list> | |
<mat-list-option checkboxPosition="before"> | |
<button mat-icon-button> | |
<mat-icon color="primary" [customTooltipTrigger]="tooltipSql">info</mat-icon> | |
</button> | |
SQL injection (SQLI) | |
</mat-list-option> | |
<mat-list-option checkboxPosition="before"> | |
<button mat-icon-button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mat-selection-list> | |
<mat-list-option checkboxPosition="before"> | |
<button mat-icon-button> | |
<mat-icon color="primary" [customTooltipTrigger]="tooltipSql">info</mat-icon> | |
</button> | |
SQL injection (SQLI) | |
</mat-list-option> | |
<mat-list-option checkboxPosition="before"> | |
<button mat-icon-button> |