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

autoinst

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autoinst - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

11

clean_package_json.js

@@ -9,7 +9,16 @@ 'use strict';

const excludes = [
'dist',
'dependencies',
'devDependencies',
'directories',
'optionalDependencies',
'readme'
];
Object.keys(json)
.filter(key => key[0] !== '_')
.filter(key => key !== 'dist')
.filter(key => !excludes.includes(key))
.forEach(key => result[key] = json[key]);
fs.writeFileSync('package.json', JSON.stringify(result, undefined, '\t'));

7

package.json

@@ -7,6 +7,3 @@ {

},
"dependencies": {},
"description": "Automatically install missing dependencies!",
"devDependencies": {},
"directories": {},
"keywords": [

@@ -30,4 +27,2 @@ "auto",

"name": "autoinst",
"optionalDependencies": {},
"readme": "README.md",
"scripts": {

@@ -39,3 +34,3 @@ "prepublishOnly": "node clean_package_json",

},
"version": "0.1.6"
"version": "0.1.7"
}
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