This commit is contained in:
Kirill Fomichev 2017-02-27 19:52:46 +03:00 коммит произвёл Lukas Geiger
Родитель e1df71adfd
Коммит abd24cd50a
2 изменённых файлов: 9 добавлений и 4 удалений

Просмотреть файл

@ -36,8 +36,9 @@ nodeAbi.allTargets
// { runtime: 'electron', target: '1.3.13', abi: '49', lts: false }, // { runtime: 'electron', target: '1.3.13', abi: '49', lts: false },
// { runtime: 'electron', target: '1.4.15', abi: '50', lts: false } // { runtime: 'electron', target: '1.4.15', abi: '50', lts: false }
// ] // ]
nodeAbi.supportedTargets
nodeAbi.deprecatedTargets nodeAbi.deprecatedTargets
nodeAbi.supportedTargets
nodeAbi.futureTargets
// ... // ...
``` ```

Просмотреть файл

@ -86,16 +86,20 @@ var deprecatedTargets = [
{runtime: 'node', target: '1.1.0', abi: '43', lts: false}, {runtime: 'node', target: '1.1.0', abi: '43', lts: false},
{runtime: 'node', target: '2.0.0', abi: '44', lts: false}, {runtime: 'node', target: '2.0.0', abi: '44', lts: false},
{runtime: 'node', target: '3.0.0', abi: '45', lts: false}, {runtime: 'node', target: '3.0.0', abi: '45', lts: false},
{runtime: 'node', target: '8.0.0', abi: '52', lts: false},
{runtime: 'electron', target: '0.30.0', abi: '44', lts: false}, {runtime: 'electron', target: '0.30.0', abi: '44', lts: false},
{runtime: 'electron', target: '0.31.0', abi: '45', lts: false}, {runtime: 'electron', target: '0.31.0', abi: '45', lts: false},
{runtime: 'electron', target: '0.33.0', abi: '46', lts: false} {runtime: 'electron', target: '0.33.0', abi: '46', lts: false}
] ]
var allTargets = supportedTargets.concat(deprecatedTargets) var futureTargets = [
{runtime: 'node', target: '8.0.0', abi: '52', lts: false}
]
var allTargets = deprecatedTargets.concat(supportedTargets).concat(futureTargets)
exports.getAbi = getAbi exports.getAbi = getAbi
exports.getTarget = getTarget exports.getTarget = getTarget
exports.supportedTargets = supportedTargets
exports.deprecatedTargets = deprecatedTargets exports.deprecatedTargets = deprecatedTargets
exports.supportedTargets = supportedTargets
exports.futureTargets = futureTargets
exports.allTargets = allTargets exports.allTargets = allTargets