addon-tools-raub
Advanced tools
Comparing version 6.2.0 to 6.2.1
14
index.js
@@ -11,16 +11,12 @@ 'use strict'; | ||
const nameWindows = 'windows'; | ||
const nameArch = `${process.platform}-${process.arch}`; | ||
const platformAndArch = `${process.platform}-${process.arch}`; | ||
const platformNames = { | ||
win32: nameWindows, | ||
linux: 'linux', | ||
darwin: 'osx', | ||
'win32-x64': nameWindows, | ||
'linux-x64': 'linux', | ||
'darwin-x64': 'osx', | ||
'linux-arm64': 'aarch64', | ||
}; | ||
const platformName = ( | ||
platformNames[process.platform] || | ||
platformNames[nameArch] || | ||
nameArch | ||
); | ||
const platformName = platformNames[platformAndArch] || platformAndArch; | ||
@@ -27,0 +23,0 @@ const isWindows = platformName === nameWindows; |
{ | ||
"author": "Luis Blanco <luisblanco1337@gmail.com>", | ||
"name": "addon-tools-raub", | ||
"version": "6.2.0", | ||
"version": "6.2.1", | ||
"description": "Helpers for Node.js addons and dependency packages", | ||
@@ -45,3 +45,3 @@ "license": "MIT", | ||
"test": "jest --coverage=false --watch", | ||
"test-ci": "jest --coverage=false --verbose", | ||
"test-ci": "jest --ci --runInBand --coverage=false --forceExit --detectOpenHandles", | ||
"test-coverage": "rm -rf doc/jest && jest --coverage --silent", | ||
@@ -48,0 +48,0 @@ "test-build": "cd test && node-gyp rebuild && cd .." |
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
50239
539