Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oconf

Package Overview
Dependencies
Maintainers
6
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oconf - npm Package Compare versions

Comparing version 5.4.0 to 5.5.0

8

package.json

@@ -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 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc