missing abi entries (#88)

* fix: cloned too much from node repo

* chore: add missed bare

* fix: issue #46 nodeVersion on clone with less branches

* fix: typo R removed

* fix: remove and edited files as expected for the pull request

* test: set test to new git pull command results

* feat(build): knowing node 10 to 13
This commit is contained in:
Klaus Landsdorf 2020-05-10 21:49:08 +02:00 committed by GitHub
parent cdac19c4eb
commit 79dd09e9da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
# logs
npm-debug.log

View File

@ -13,6 +13,10 @@ export function abiToNodeRange (abi) {
if (/^m?51/.test(abi)) return 'node7';
if (/^m?57/.test(abi)) return 'node8';
if (/^m?59/.test(abi)) return 'node9';
if (/^m?64/.test(abi)) return 'node10';
if (/^m?67/.test(abi)) return 'node11';
if (/^m?72/.test(abi)) return 'node12';
if (/^m?79/.test(abi)) return 'node13';
return abi;
}

View File

@ -36,6 +36,7 @@ const script = `
if (modules === 64) {
kCpuFeaturesOffset = 0x0c;
} else
// what about 67 here?
if (modules === 72) {
// no cpu features anymore
} else