Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clean-publish

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clean-publish - npm Package Compare versions

Comparing version 3.4.1 to 3.4.2

7

clean-publish.js

@@ -41,5 +41,8 @@ #!/usr/bin/env node

const DEFAULT_OPTIONS = {
packageManager: 'npm'
}
async function handleOptions () {
let options = {}
options.packageManager = 'npm'
for (let i = 2; i < process.argv.length; i++) {

@@ -93,3 +96,3 @@ if (process.argv[i] === '--help') {

let config = await getConfig()
return { ...config, ...options }
return { ...DEFAULT_OPTIONS, ...config, ...options }
} else {

@@ -96,0 +99,0 @@ return options

{
"name": "clean-publish",
"version": "3.4.1",
"version": "3.4.2",
"description": "Clean your package before publish",

@@ -5,0 +5,0 @@ "keywords": [

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