json-parser
Advanced tools
Comparing version 1.1.0 to 1.1.2
{ | ||
"name": "json-parser", | ||
"version": "1.1.0", | ||
"version": "1.1.2", | ||
"description": "JSON parser to parse JSON object and MAINTAIN comments.", | ||
@@ -36,4 +36,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"esprima": "^2.4.1" | ||
"esprima": "~2.6.0" | ||
} | ||
} |
@@ -82,7 +82,11 @@ 'use strict'; | ||
describe("parse()", function(){ | ||
it(c.d, function(){ | ||
var _it = c.only | ||
? it.only | ||
: it; | ||
_it(c.d, function(){ | ||
c.e(parser.parse(c.s)); | ||
}); | ||
it(c.d + ', removes comments', function(){ | ||
_it(c.d + ', removes comments', function(){ | ||
expect(parser.parse(c.s, null, true)).to.deep.equal(parser.parse(c.o)); | ||
@@ -89,0 +93,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
11794
17093
324
+ Addedesprima@2.6.0(transitive)
- Removedesprima@2.7.3(transitive)
Updatedesprima@~2.6.0