Socket
Socket
Sign inDemoInstall

arch

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arch - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

3

index.js

@@ -0,1 +1,2 @@

/*! arch. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
var cp = require('child_process')

@@ -51,3 +52,3 @@ var fs = require('fs')

if (process.platform === 'linux') {
var output = cp.execSync('getconf LONG_BIT', {encoding: 'utf8'})
var output = cp.execSync('getconf LONG_BIT', { encoding: 'utf8' })
return output === '64\n' ? 'x64' : 'x86'

@@ -54,0 +55,0 @@ }

{
"name": "arch",
"description": "Better `os.arch()` for node and the browser -- detect OS architecture",
"version": "2.1.1",
"version": "2.1.2",
"author": {
"name": "Feross Aboukhadijeh",
"email": "feross@feross.org",
"url": "http://feross.org/"
"url": "https://feross.org"
},

@@ -15,5 +15,5 @@ "browser": "browser.js",

"devDependencies": {
"airtap": "0.0.7",
"airtap": "^3.0.0",
"standard": "*",
"tape": "^4.0.0"
"tape": "^5.0.0"
},

@@ -45,3 +45,17 @@ "homepage": "https://github.com/feross/arch",

"test-node": "tape test/*.js"
}
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc