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

chrome

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chrome - npm Package Compare versions

Comparing version 0.0.3 to 0.1.0

9

index.js

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

})
},
fixWhitespace: function(str) {
return /\s/g.test(str) ? '"' + str + '"' : str
}

@@ -38,3 +41,7 @@ }

chrome.isExist(function() {
exeq([chrome.getCommand()])
exeq([chrome.getCommand()].concat(process.argv.slice(2)).map(chrome.fixWhitespace).join(' '))
.catch(function(err) {
console.error('Failed to open Google Chrome as intended', err)
process.exit(err.code || 13)
})
})

6

package.json
{
"name": "chrome",
"version": "0.0.3",
"version": "0.1.0",
"description": "Open chrome in shell",

@@ -19,4 +19,4 @@ "repository": {

"dependencies": {
"exeq": "^1.0.0",
"plist": "^1.0.1"
"exeq": "^2.2.0",
"plist": "^1.1.0"
},

@@ -23,0 +23,0 @@ "maintainers": [

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