Socket
Socket
Sign inDemoInstall

write-json5-file

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

write-json5-file - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

11

CHANGELOG.md
# write-json5-file
## 3.0.1
### Patch Changes
- 0a21c77: Update write-file-atomic to v3.
## 3.0.0
### Major Changes
- 674dc01: Use native fs.mkdir instead of make-dir.
BREAKING CHANGE:
Node.js 8 support is dropped.

2

index.js

@@ -5,3 +5,3 @@ 'use strict'

const { promisify } = require('util')
const writeFileAtomic = promisify(require('write-file-atomic'))
const writeFileAtomic = require('write-file-atomic')
const sortKeys = require('sort-keys')

@@ -8,0 +8,0 @@ const JSON5 = require('json5')

{
"name": "write-json5-file",
"version": "3.0.0",
"description": "Stringify and write JSON to a file atomically",
"main": "index.js",
"engines": {
"node": ">=10.12"
},
"files": [
"index.js",
"index.d.ts"
],
"scripts": {
"test": "standard && tape test.js",
"md": "mos"
},
"repository": "https://github.com/zkochan/packages/tree/master/write-json5-file",
"mos": {
"plugins": [
"readme"
],
"installation": {
"useShortAlias": true
}
},
"keywords": [
"write",
"json5",
"stringify",
"file",
"fs",
"graceful",
"atomic",
"atomically"
],
"author": {
"name": "Zoltan Kochan",
"email": "z@kochan.io",
"url": "https://www.kochan.io"
},
"license": "MIT",
"homepage": "https://github.com/zkochan/packages/tree/master/write-json5-file#readme",
"dependencies": {
"graceful-fs": "^4.2.3",
"json5": "^2.1.2",
"sort-keys": "^4.0.0",
"write-file-atomic": "^2.4.3"
},
"devDependencies": {
"mos": "^2.0.0-alpha.3",
"mos-plugin-readme": "^1.0.4",
"standard": "14.3.3",
"tape": "^5.0.0",
"tempfile": "^3.0.0"
}
"name": "write-json5-file",
"version": "3.0.1",
"description": "Stringify and write JSON to a file atomically",
"main": "index.js",
"engines": {
"node": ">=10.12"
},
"files": [
"index.js",
"index.d.ts"
],
"scripts": {
"test": "standard && tape test.js",
"md": "mos"
},
"repository": "https://github.com/zkochan/packages/tree/master/write-json5-file",
"mos": {
"plugins": [
"readme"
],
"installation": {
"useShortAlias": true
}
},
"keywords": [
"write",
"json5",
"stringify",
"file",
"fs",
"graceful",
"atomic",
"atomically"
],
"author": {
"name": "Zoltan Kochan",
"email": "z@kochan.io",
"url": "https://www.kochan.io"
},
"license": "MIT",
"homepage": "https://github.com/zkochan/packages/tree/master/write-json5-file#readme",
"dependencies": {
"graceful-fs": "^4.2.4",
"json5": "^2.1.3",
"sort-keys": "^4.1.0",
"write-file-atomic": "^3.0.3"
},
"devDependencies": {
"mos": "2.0.0-alpha.3",
"mos-plugin-readme": "^1.0.4",
"standard": "^16.0.1",
"tape": "^5.0.1",
"tempfile": "^3.0.0"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc