jsonc-simple-parser
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -22,5 +22,5 @@ "use strict"; | ||
/* NUMBER LITERAL */ | ||
const NumberLiteral = /[-+]?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][-+]?\d+)?/; | ||
const NumberLiteral = /-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][-+]?\d+)?/; | ||
/* STRING LITERAL */ | ||
const StringLiteral = /"(?:[^\0-\x1F\\"]+|\\["bfnrt\\/]|\\u[0-9a-fA-F]{4})*"/; | ||
const StringLiteral = /"(?:[^\u0000-\u001F\\"]+|\\["bfnrt\\/]|\\u[0-9a-fA-F]{4})*"/; | ||
/* ARRAY LITERAL */ | ||
@@ -27,0 +27,0 @@ const ArrayDelimiterStart = '['; |
{ | ||
"name": "jsonc-simple-parser", | ||
"description": "A simple JSON parser that supports comments and optional trailing commas.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "types": "dist/index.d.ts", |
@@ -46,3 +46,3 @@ | ||
const NumberLiteral | ||
= /[-+]?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][-+]?\d+)?/; | ||
= /-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][-+]?\d+)?/; | ||
@@ -52,3 +52,3 @@ /* STRING LITERAL */ | ||
const StringLiteral | ||
= /"(?:[^\0-\x1F\\"]+|\\["bfnrt\\/]|\\u[0-9a-fA-F]{4})*"/; | ||
= /"(?:[^\u0000-\u001F\\"]+|\\["bfnrt\\/]|\\u[0-9a-fA-F]{4})*"/; | ||
@@ -55,0 +55,0 @@ /* ARRAY LITERAL */ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
202073