node-abi 2.13.0 → 2.17.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 CHANGED
@@ -58,6 +58,7 @@ var supportedTargets = [
58
58
  {runtime: 'node', target: '11.0.0', abi: '67', lts: false},
59
59
  {runtime: 'node', target: '12.0.0', abi: '72', lts: new Date(2019, 9, 21) < new Date() && new Date() < new Date(2020, 9, 31)},
60
60
  {runtime: 'node', target: '13.0.0', abi: '79', lts: false},
61
+ {runtime: 'node', target: '14.0.0', abi: '83', lts: false},
61
62
  {runtime: 'electron', target: '0.36.0', abi: '47', lts: false},
62
63
  {runtime: 'electron', target: '1.1.0', abi: '48', lts: false},
63
64
  {runtime: 'electron', target: '1.3.0', abi: '49', lts: false},
@@ -72,7 +73,9 @@ var supportedTargets = [
72
73
  {runtime: 'electron', target: '4.0.4', abi: '69', lts: false},
73
74
  {runtime: 'electron', target: '5.0.0', abi: '70', lts: false},
74
75
  {runtime: 'electron', target: '6.0.0', abi: '73', lts: false},
75
- {runtime: 'electron', target: '7.0.0', abi: '75', lts: false}
76
+ {runtime: 'electron', target: '7.0.0', abi: '75', lts: false},
77
+ {runtime: 'electron', target: '8.0.0', abi: '76', lts: false},
78
+ {runtime: 'electron', target: '9.0.0', abi: '80', lts: false}
76
79
  ]
77
80
 
78
81
  var additionalTargets = [
@@ -101,9 +104,7 @@ var deprecatedTargets = [
101
104
  {runtime: 'electron', target: '0.33.0', abi: '46', lts: false}
102
105
  ]
103
106
 
104
- var futureTargets = [
105
- {runtime: 'electron', target: '8.0.0-beta.0', abi: '76', lts: false}
106
- ]
107
+ var futureTargets = []
107
108
 
108
109
  var allTargets = deprecatedTargets
109
110
  .concat(supportedTargets)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-abi",
3
- "version": "2.13.0",
3
+ "version": "2.17.0",
4
4
  "description": "Get the Node ABI for a given target and runtime, and vice versa.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/test/index.js CHANGED
@@ -88,6 +88,10 @@ 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('9.0.0', 'electron'), '80')
92
+ t.equal(getAbi('8.0.0', 'electron'), '76')
93
+ t.equal(getAbi('7.0.0', 'electron'), '75')
94
+ t.equal(getAbi('6.0.0', 'electron'), '73')
91
95
  t.equal(getAbi('5.0.0', 'electron'), '70')
92
96
  t.equal(getAbi('4.1.4', 'electron'), '69')
93
97
  t.equal(getAbi('4.0.4', 'electron'), '69')