node-abi 2.4.2 → 2.5.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/.travis.yml +6 -12
- package/index.js +7 -5
- package/package.json +36 -1
package/.travis.yml
CHANGED
|
@@ -1,25 +1,19 @@
|
|
|
1
1
|
language: node_js
|
|
2
|
+
cache:
|
|
3
|
+
directories:
|
|
4
|
+
- ~/.npm
|
|
2
5
|
notifications:
|
|
3
6
|
email: false
|
|
4
7
|
node_js:
|
|
8
|
+
- '10'
|
|
9
|
+
- '9'
|
|
5
10
|
- '8'
|
|
6
11
|
- '6'
|
|
7
12
|
- '4'
|
|
8
13
|
- '0.12'
|
|
9
14
|
- '0.10'
|
|
10
|
-
- '10'
|
|
11
|
-
matrix:
|
|
12
|
-
include:
|
|
13
|
-
- node_js: "8"
|
|
14
|
-
env: TEST_SUITE=lint
|
|
15
|
-
env:
|
|
16
|
-
- TEST_SUITE=unit
|
|
17
|
-
before_script:
|
|
18
|
-
- npm prune
|
|
19
|
-
script:
|
|
20
|
-
- npm run-script $TEST_SUITE
|
|
21
15
|
after_success:
|
|
22
|
-
- npm run semantic-release
|
|
16
|
+
- npm run travis-deploy-once "npm run semantic-release"
|
|
23
17
|
branches:
|
|
24
18
|
except:
|
|
25
19
|
- /^v\d+\.\d+\.\d+$/
|
package/index.js
CHANGED
|
@@ -49,13 +49,13 @@ function getTarget (abi, runtime) {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
var supportedTargets = [
|
|
52
|
-
{runtime: 'node', target: '4.0.0', abi: '46', lts: false},
|
|
53
52
|
{runtime: 'node', target: '5.0.0', abi: '47', lts: false},
|
|
54
|
-
{runtime: 'node', target: '6.0.0', abi: '48', lts:
|
|
53
|
+
{runtime: 'node', target: '6.0.0', abi: '48', lts: false},
|
|
55
54
|
{runtime: 'node', target: '7.0.0', abi: '51', lts: false},
|
|
56
|
-
{runtime: 'node', target: '8.0.0', abi: '57', lts:
|
|
57
|
-
{runtime: 'node', target: '9.0.0', abi: '59', lts:
|
|
58
|
-
{runtime: 'node', target: '10.0.0', abi: '64', lts:
|
|
55
|
+
{runtime: 'node', target: '8.0.0', abi: '57', lts: new Date() < new Date(2019, 4, 31)},
|
|
56
|
+
{runtime: 'node', target: '9.0.0', abi: '59', lts: false},
|
|
57
|
+
{runtime: 'node', target: '10.0.0', abi: '64', lts: new Date(2018, 10, 1) < new Date() < new Date(2020, 4, 31)},
|
|
58
|
+
{runtime: 'node', target: '11.0.0', abi: '67', lts: false},
|
|
59
59
|
{runtime: 'electron', target: '0.36.0', abi: '47', lts: false},
|
|
60
60
|
{runtime: 'electron', target: '1.1.0', abi: '48', lts: false},
|
|
61
61
|
{runtime: 'electron', target: '1.3.0', abi: '49', lts: false},
|
|
@@ -88,12 +88,14 @@ var deprecatedTargets = [
|
|
|
88
88
|
{runtime: 'node', target: '1.1.0', abi: '43', lts: false},
|
|
89
89
|
{runtime: 'node', target: '2.0.0', abi: '44', lts: false},
|
|
90
90
|
{runtime: 'node', target: '3.0.0', abi: '45', lts: false},
|
|
91
|
+
{runtime: 'node', target: '4.0.0', abi: '46', lts: false},
|
|
91
92
|
{runtime: 'electron', target: '0.30.0', abi: '44', lts: false},
|
|
92
93
|
{runtime: 'electron', target: '0.31.0', abi: '45', lts: false},
|
|
93
94
|
{runtime: 'electron', target: '0.33.0', abi: '46', lts: false}
|
|
94
95
|
]
|
|
95
96
|
|
|
96
97
|
var futureTargets = [
|
|
98
|
+
{runtime: 'electron', target: '4.0.0-beta.0', abi: '64', lts: false}
|
|
97
99
|
]
|
|
98
100
|
|
|
99
101
|
var allTargets = deprecatedTargets
|
package/package.json
CHANGED
|
@@ -1 +1,36 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"name": "node-abi",
|
|
3
|
+
"version": "2.5.0",
|
|
4
|
+
"description": "Get the Node ABI for a given target and runtime, and vice versa.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "tape test/index.js",
|
|
8
|
+
"semantic-release": "semantic-release",
|
|
9
|
+
"travis-deploy-once": "travis-deploy-once"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/lgeiger/node-abi.git"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"node",
|
|
17
|
+
"electron",
|
|
18
|
+
"node_module_version",
|
|
19
|
+
"abi",
|
|
20
|
+
"v8"
|
|
21
|
+
],
|
|
22
|
+
"author": "Lukas Geiger",
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/lgeiger/node-abi/issues"
|
|
26
|
+
},
|
|
27
|
+
"homepage": "https://github.com/lgeiger/node-abi#readme",
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"semantic-release": "^15.8.0",
|
|
30
|
+
"tape": "^4.6.3",
|
|
31
|
+
"travis-deploy-once": "^5.0.1"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"semver": "^5.4.1"
|
|
35
|
+
}
|
|
36
|
+
}
|