Socket
Socket
Sign inDemoInstall

write-json-file

Package Overview
Dependencies
11
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.0 to 4.2.1

4

package.json
{
"name": "write-json-file",
"version": "4.2.0",
"version": "4.2.1",
"description": "Stringify and write JSON to a file atomically",

@@ -13,3 +13,3 @@ "license": "MIT",

"engines": {
"node": ">=8"
"node": ">=8.3"
},

@@ -16,0 +16,0 @@ "scripts": {

@@ -28,7 +28,7 @@ # write-json-file [![Build Status](https://travis-ci.org/sindresorhus/write-json-file.svg?branch=master)](https://travis-ci.org/sindresorhus/write-json-file)

### writeJsonFile(filePath, data, [options])
### writeJsonFile(filePath, data, options?)
Returns a `Promise`.
### writeJsonFile.sync(filePath, data, [options])
### writeJsonFile.sync(filePath, data, options?)

@@ -77,2 +77,9 @@ #### options

## write-json-file for enterprise
Available as part of the Tidelift Subscription.
The maintainers of write-json-file and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-write-json-file?utm_source=npm-write-json-file&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
## Related

@@ -83,5 +90,1 @@

## License
MIT © [Sindre Sorhus](https://sindresorhus.com)
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc