node-abi 2.17.0 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -1
- package/package.json +1 -1
- package/test/index.js +1 -0
package/index.js
CHANGED
|
@@ -104,7 +104,9 @@ var deprecatedTargets = [
|
|
|
104
104
|
{runtime: 'electron', target: '0.33.0', abi: '46', lts: false}
|
|
105
105
|
]
|
|
106
106
|
|
|
107
|
-
var futureTargets = [
|
|
107
|
+
var futureTargets = [
|
|
108
|
+
{runtime: 'electron', target: '10.0.0-beta.1', abi: '82', lts: false}
|
|
109
|
+
]
|
|
108
110
|
|
|
109
111
|
var allTargets = deprecatedTargets
|
|
110
112
|
.concat(supportedTargets)
|
package/package.json
CHANGED
package/test/index.js
CHANGED
|
@@ -88,6 +88,7 @@ test('getAbi calculates correct Node ABI', function (t) {
|
|
|
88
88
|
test('getAbi calculates correct Electron ABI', function (t) {
|
|
89
89
|
t.throws(function () { getAbi(undefined, 'electron') })
|
|
90
90
|
t.throws(function () { getAbi(getNextTarget('electron'), 'electron') })
|
|
91
|
+
t.equal(getAbi('10.0.0-beta.1', 'electron'), '82')
|
|
91
92
|
t.equal(getAbi('9.0.0', 'electron'), '80')
|
|
92
93
|
t.equal(getAbi('8.0.0', 'electron'), '76')
|
|
93
94
|
t.equal(getAbi('7.0.0', 'electron'), '75')
|