Comparing version 1.1.0 to 2.0.0
@@ -118,2 +118,3 @@ "use strict"; | ||
jsonc.log = function () { | ||
var _a; | ||
var args = []; | ||
@@ -123,3 +124,2 @@ for (var _i = 0; _i < arguments.length; _i++) { | ||
} | ||
var _a; | ||
(_a = jsonc._).logger.apply(_a, args); | ||
@@ -139,2 +139,3 @@ }; | ||
jsonc.logp = function () { | ||
var _a; | ||
var args = []; | ||
@@ -144,3 +145,2 @@ for (var _i = 0; _i < arguments.length; _i++) { | ||
} | ||
var _a; | ||
(_a = jsonc._).prettyLogger.apply(_a, args); | ||
@@ -147,0 +147,0 @@ }; |
{ | ||
"name": "jsonc", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "Everything you need in JSON land. Parse JSON with comments, stringify objects with circular references, etc...", | ||
@@ -16,2 +16,5 @@ "author": "Onur Yıldırım <onur@cutepilot.com>", | ||
"types": "./lib/jsonc.d.ts", | ||
"engines": { | ||
"node": ">=8" | ||
}, | ||
"scripts": { | ||
@@ -82,20 +85,20 @@ "clean": "rimraf ./lib", | ||
"parse-json": "^4.0.0", | ||
"strip-bom": "^3.0.0", | ||
"strip-json-comments": "^2.0.1" | ||
"strip-bom": "^4.0.0", | ||
"strip-json-comments": "^3.0.1" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^23.3.9", | ||
"@types/jest": "^24.0.15", | ||
"@types/mkdirp": "^0.5.2", | ||
"@types/node": "^10.12.10", | ||
"@types/node": "^12.0.8", | ||
"@types/parse-json": "^4.0.0", | ||
"@types/strip-bom": "^3.0.0", | ||
"@types/strip-bom": "^4.0.1", | ||
"@types/strip-json-comments": "0.0.30", | ||
"coveralls": "^3.0.2", | ||
"docma": "^3.0.0", | ||
"jest": "^23.6.0", | ||
"jest-cli": "^23.6.0", | ||
"rimraf": "^2.6.2", | ||
"ts-jest": "^23.10.4", | ||
"typescript": "^3.1.6" | ||
"coveralls": "^3.0.4", | ||
"docma": "^3.2.2", | ||
"jest": "^24.8.0", | ||
"jest-cli": "^24.8.0", | ||
"rimraf": "^2.6.3", | ||
"ts-jest": "^24.0.2", | ||
"typescript": "^3.5.2" | ||
} | ||
} |
@@ -9,5 +9,5 @@ # jsonc | ||
[](https://github.com/onury/jsonc/blob/master/LICENSE) | ||
[](https://github.com/onury/jsonc/graphs/punch-card) | ||
[](https://github.com/onury/jsonc/graphs/punch-card) | ||
> © 2018, Onur Yıldırım ([@onury](https://github.com/onury)). MIT License. | ||
> © 2019, Onur Yıldırım ([@onury](https://github.com/onury)). MIT License. | ||
@@ -75,2 +75,7 @@ Everything you need in JSON land. | ||
- **v2.0.0** (2019-06-17) | ||
+ Requires Node.js v8 or newer. | ||
+ Updated dependencies. | ||
- **v1.1.0** (2018-11-22) | ||
@@ -77,0 +82,0 @@ + Fixed an issue where TypeScript compiler would complain about `'declare' modifier`. |
Sorry, the diff of this file is not supported yet
90228
98
+ Addedstrip-bom@4.0.0(transitive)
+ Addedstrip-json-comments@3.1.1(transitive)
- Removedstrip-bom@3.0.0(transitive)
- Removedstrip-json-comments@2.0.1(transitive)
Updatedstrip-bom@^4.0.0
Updatedstrip-json-comments@^3.0.1