Comparing version 5.4.0 to 5.5.0
@@ -5,3 +5,3 @@ { | ||
"description": "Configuration", | ||
"version": "5.4.0", | ||
"version": "5.5.0", | ||
"repository": { | ||
@@ -38,3 +38,3 @@ "type": "git", | ||
"async": "0.9.0", | ||
"cjson": "0.3.1", | ||
"cjson": "^0.5.0", | ||
"glob": "^7.1.3", | ||
@@ -45,3 +45,3 @@ "minimatch": "^3.0.4", | ||
"relaxed-json": "1.0.3", | ||
"underscore": "*" | ||
"underscore": "^1.13.6" | ||
}, | ||
@@ -51,3 +51,3 @@ "devDependencies": { | ||
"eslint": "^5.16.0", | ||
"mocha": "^6.1.4", | ||
"mocha": "^10.2.0", | ||
"nyc": "^14.0.0", | ||
@@ -54,0 +54,0 @@ "unexpected": "10.15.0" |
@@ -58,6 +58,5 @@ /* global describe, it */ | ||
stderr: [ | ||
'Error: Parse error on line 2:', | ||
'{ "foo": "bar}', | ||
'------------^', | ||
'Expecting \'STRING\', \'NUMBER\', \'NULL\', \'TRUE\', \'FALSE\', \'{\', \'[\', got \'undefined\'', | ||
'Error: Unexpected token \'}\' at 2:17', | ||
' "foo": "bar', | ||
' ^', | ||
'File: "' + filePath + '"', | ||
@@ -64,0 +63,0 @@ '' |
@@ -145,6 +145,5 @@ /* global describe, it */ | ||
stderr: [ | ||
'Error: Parse error on line 2:', | ||
'{ "foo": "bar}', | ||
'------------^', | ||
'Expecting \'STRING\', \'NUMBER\', \'NULL\', \'TRUE\', \'FALSE\', \'{\', \'[\', got \'undefined\'', | ||
'Error: Unexpected token \'}\' at 2:17', | ||
' "foo": "bar', | ||
' ^', | ||
'File: "' + filePath + '"', | ||
@@ -151,0 +150,0 @@ '' |
@@ -36,3 +36,3 @@ /* global describe, it */ | ||
lint(testData('invalid.cjson'), function (err) { | ||
expect(err, 'to be an error', /^Parse error on line 2:/); | ||
expect(err, 'to be an error', /^Unexpected token '.' at 2:/); | ||
done(); | ||
@@ -51,3 +51,3 @@ }); | ||
expect(err, 'to satisfy', { | ||
message: /^Parse error on line 2:/, | ||
message: /^Unexpected token '.' at 2:/, | ||
file: /invalidDirectory\/2.cjson$/ | ||
@@ -54,0 +54,0 @@ }); |
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
3
69642
1140
+ Addedcjson@0.5.0(transitive)
+ Addedjju@1.4.0(transitive)
+ Addedjson-parse-helpfulerror@1.0.3(transitive)
- RemovedJSV@4.0.2(transitive)
- Removedansi-styles@1.0.0(transitive)
- Removedchalk@0.4.0(transitive)
- Removedcjson@0.3.1(transitive)
- Removedhas-color@0.1.7(transitive)
- Removedjsonlint@1.6.0(transitive)
- Removednomnom@1.8.1(transitive)
- Removedstrip-ansi@0.1.1(transitive)
- Removedunderscore@1.6.0(transitive)
Updatedcjson@^0.5.0
Updatedunderscore@^1.13.6