Socket
Socket
Sign inDemoInstall

load-json-file

Package Overview
Dependencies
7
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.0 to 6.1.0

10

package.json
{
"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>
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc