load-json-file
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "load-json-file", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Read and parse a JSON file", | ||
@@ -34,3 +34,3 @@ "license": "MIT", | ||
"pify": "^2.0.0", | ||
"pinkie-promise": "^1.0.0", | ||
"pinkie-promise": "^2.0.0", | ||
"strip-bom": "^2.0.0" | ||
@@ -41,3 +41,8 @@ }, | ||
"xo": "*" | ||
}, | ||
"xo": { | ||
"ignores": [ | ||
"test.js" | ||
] | ||
} | ||
} |
@@ -18,5 +18,5 @@ # load-json-file [![Build Status](https://travis-ci.org/sindresorhus/load-json-file.svg?branch=master)](https://travis-ci.org/sindresorhus/load-json-file) | ||
```js | ||
var loadJsonFile = require('load-json-file'); | ||
const loadJsonFile = require('load-json-file'); | ||
loadJsonFile('foo.json').then(function (json) { | ||
loadJsonFile('foo.json').then(json => { | ||
console.log(json); | ||
@@ -23,0 +23,0 @@ //=> {foo: true} |
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
3396
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
- Removedpinkie@1.0.0(transitive)
- Removedpinkie-promise@1.0.0(transitive)
Updatedpinkie-promise@^2.0.0