Socket
Socket
Sign inDemoInstall

fixpack

Package Overview
Dependencies
16
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.3 to 3.0.4

9

fixpack.js

@@ -5,2 +5,3 @@ #!/usr/bin/env node

const os = require('os')
const ALCE = require('alce')

@@ -105,14 +106,16 @@ const fs = require('fs')

// write it out
outputString = JSON.stringify(out, null, 2) + '\n'
outputString = JSON.stringify(out, null, 2) + os.EOL
if (outputString !== original) {
fs.writeFileSync(file, outputString, { encoding: 'utf8' })
if (!config.quiet)
if (!config.quiet) {
console.log(chalk.bold(config.fileName) + chalk.green(' fixed') + '!')
}
} else {
if (!config.quiet)
if (!config.quiet) {
console.log(
chalk.bold(config.fileName) + chalk.green(' already clean') + '!'
)
}
}
}
{
"name": "fixpack",
"description": "cli tool that cleans up package.json files.",
"version": "3.0.3",
"version": "3.0.4",
"author": "Henrik Joreteg <henrik@andyet.net>",

@@ -6,0 +6,0 @@ "bin": "./bin/fixpack",

@@ -112,2 +112,3 @@ # fixpack

- 3.0.4 - OS specific EOL
- 3.0.3 - updates to remove NSP warnings in deps.

@@ -114,0 +115,0 @@ - 2.3.0 - add `wipe` option that sets all dep versions to `*` for easier bulk updating.

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