Comparing version 2.1.1 to 2.1.2
@@ -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" | ||
} | ||
] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7671
92