Socket
Socket
Sign inDemoInstall

relaxed-json

Package Overview
Dependencies
8
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.6 to 0.2.7

.jscsrc

20

package.json
{
"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,

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc