relaxed-json
Advanced tools
Comparing version 0.2.6 to 0.2.7
{ | ||
"name": "relaxed-json", | ||
"description": "Relaxed JSON is strict superset JSON, relaxing strictness of valilla JSON", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"homepage": "https://github.com/phadej/relaxed-json", | ||
@@ -25,2 +25,5 @@ "author": { | ||
"main": "relaxed-json.js", | ||
"bin": { | ||
"rjson": "./bin/rjson.js" | ||
}, | ||
"engines": { | ||
@@ -33,8 +36,9 @@ "node": ">= 0.10.0" | ||
"devDependencies": { | ||
"jsverify": "~0.2.0", | ||
"jsverify": "~0.3.3", | ||
"underscore": "~1.6.0", | ||
"mocha": "~1.20.1", | ||
"mocha": "~1.21.4", | ||
"jshint": "~2.5.1", | ||
"istanbul": "~0.2.6", | ||
"uglify-js": "~2.4.13" | ||
"istanbul": "~0.3.0", | ||
"uglify-js": "~2.4.13", | ||
"jscs": "~1.5.9" | ||
}, | ||
@@ -46,3 +50,7 @@ "keywords": [ | ||
"config" | ||
] | ||
], | ||
"dependencies": { | ||
"commander": "~2.3.0", | ||
"chalk": "~0.5.1" | ||
} | ||
} |
@@ -119,4 +119,5 @@ /* | ||
match: "\"" + m[0].replace(/./g, function (c) { | ||
return c === "\\" ? "\\\\" : c; | ||
}) + "\"" }; | ||
return c === "\\" ? "\\\\" : c; | ||
}) + "\"", | ||
}; | ||
} | ||
@@ -155,3 +156,3 @@ | ||
function f(type) { | ||
return function(m) { | ||
return function (m) { | ||
return { type: type, match: m[0] }; | ||
@@ -309,3 +310,3 @@ }; | ||
function raiseError(state, token, message) { | ||
if (state.tolerant) { | ||
if (state.tolerant) { | ||
state.warnings.push({ | ||
@@ -362,3 +363,3 @@ message: message, | ||
type: "string", | ||
value: ""+token.value, | ||
value: "" + token.value, | ||
line: token.line, | ||
@@ -414,3 +415,3 @@ }; | ||
raiseUnexpected(state, token, "'" + opts.endSymbol + "' or " + opts.elementName); | ||
token = { | ||
@@ -417,0 +418,0 @@ type: opts.endSymbol, |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
23117
6
530
0
81
2
7
1
+ Addedchalk@~0.5.1
+ Addedcommander@~2.3.0
+ Addedansi-regex@0.2.1(transitive)
+ Addedansi-styles@1.1.0(transitive)
+ Addedchalk@0.5.1(transitive)
+ Addedcommander@2.3.0(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedhas-ansi@0.1.0(transitive)
+ Addedstrip-ansi@0.3.0(transitive)
+ Addedsupports-color@0.2.0(transitive)