load-json-file
Advanced tools
Comparing version 6.0.0 to 6.1.0
{ | ||
"name": "load-json-file", | ||
"version": "6.0.0", | ||
"version": "6.1.0", | ||
"description": "Read and parse a JSON file", | ||
@@ -34,10 +34,10 @@ "license": "MIT", | ||
"parse-json": "^4.0.0", | ||
"strip-bom": "^3.0.0", | ||
"type-fest": "^0.4.1" | ||
"strip-bom": "^4.0.0", | ||
"type-fest": "^0.5.2" | ||
}, | ||
"devDependencies": { | ||
"ava": "^1.4.1", | ||
"tsd": "^0.7.2", | ||
"ava": "^2.1.0", | ||
"tsd": "^0.7.3", | ||
"xo": "^0.24.0" | ||
} | ||
} |
@@ -29,7 +29,7 @@ # load-json-file [![Build Status](https://travis-ci.org/sindresorhus/load-json-file.svg?branch=master)](https://travis-ci.org/sindresorhus/load-json-file) | ||
### loadJsonFile(filePath, [options]) | ||
### loadJsonFile(filePath, options?) | ||
Returns a `Promise<unknown>` with the parsed JSON. | ||
### loadJsonFile.sync(filepath, [options]) | ||
### loadJsonFile.sync(filepath, options?) | ||
@@ -60,4 +60,12 @@ Returns the parsed JSON. | ||
## License | ||
--- | ||
MIT © [Sindre Sorhus](https://sindresorhus.com) | ||
<div align="center"> | ||
<b> | ||
<a href="https://tidelift.com/subscription/pkg/npm-load-json-file?utm_source=npm-load-json-file&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a> | ||
</b> | ||
<br> | ||
<sub> | ||
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies. | ||
</sub> | ||
</div> |
5594
70
+ Addedstrip-bom@4.0.0(transitive)
+ Addedtype-fest@0.5.2(transitive)
- Removedstrip-bom@3.0.0(transitive)
- Removedtype-fest@0.4.1(transitive)
Updatedstrip-bom@^4.0.0
Updatedtype-fest@^0.5.2