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

clean-publish

Package Overview
Dependencies
Maintainers
1
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 1.0.6 to 1.0.7

31

CHANGELOG.md
# Change Log
## 1.0.2
* Remove fields from package.json
* Publish after clean
## 1.0.7
* Remove empty fields from package.json
* Fix README
## 1.0.6
* Fix regexp indexOf func
* Write test
* Add without-publish arguments
## 1.0.5
* Fix publish
## 1.0.4
* Test release
## 1.0.3

@@ -13,11 +24,7 @@ * Add files and fields arguments for command

## 1.0.4
* Test release
## 1.0.2
* Remove fields from package.json
* Publish after clean
## 1.0.5
* Fix publish
## 1.0.6
* Fix regexp indexOf func
* Write test
* Add without-publish arguments
## 1.0.1
* Remove config files and copy right file to tmp directory

@@ -69,2 +69,9 @@ #!/usr/bin/env node

)
for (const i in modifiedPackageJSON) {
if (typeof modifiedPackageJSON[i] === 'object') {
if (Object.keys(modifiedPackageJSON[i]).length === 0) {
delete modifiedPackageJSON[i]
}
}
}
fse.writeJson(

@@ -71,0 +78,0 @@ `./${ tmpDir }/${ packageJSON }`,

{
"name": "clean-publish",
"version": "1.0.6",
"version": "1.0.7",
"description": "Clean your package before publish",

@@ -25,4 +25,3 @@ "keywords": [

"yargs": "^12.0.1"
},
"scripts": {}
}
}

@@ -46,6 +46,5 @@ # Clean Publish

`.eslintrc`, `.prettierrc`, `lint` script and `devDependecies` field was removed.
`node_modules`, `.eslintrc`, `.prettierrc`, `lint` script and `devDependecies` field was removed (empty objects will also be deleted).
```
node_modules
src

@@ -57,5 +56,2 @@ package.json

"name": "author",
"scripts": {
},
"dependencies": {},
}

@@ -62,0 +58,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