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.5 to 3.0.6

8

fixpack.js

@@ -24,7 +24,7 @@ #!/usr/bin/env node

required.forEach(function(key) {
if (!pack[key])
if (pack[key] == null)
throw new Error(config.fileName + ' files must have a ' + key)
})
warnItems.forEach(function(key) {
if (!pack[key] && !config.quiet) console.log(chalk.yellow('missing ' + key))
if (pack[key] == null && !config.quiet) console.log(chalk.yellow('missing ' + key))
})

@@ -66,3 +66,3 @@ }

config.sortToTop.forEach(function(key) {
if (pack[key]) out[key] = pack[key]
if (pack[key] != null) out[key] = pack[key]
delete pack[key]

@@ -85,3 +85,3 @@ })

config.sortedSubItems.forEach(function(key) {
if (out[key]) out[key] = sortAlphabetically(out[key])
if (out[key] != null) out[key] = sortAlphabetically(out[key])
})

@@ -88,0 +88,0 @@

{
"name": "fixpack",
"description": "cli tool that cleans up package.json files.",
"version": "3.0.5",
"version": "3.0.6",
"author": "Henrik Joreteg <henrik@andyet.net>",

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

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

- 3.0.6 - Fix `false` removal issue.
- 3.0.5 - Fix coloration of warnings

@@ -114,0 +115,0 @@ - 3.0.4 - OS specific EOL

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