This commit is contained in:
Julian Gruber 2017-02-02 14:08:17 +01:00
Родитель 490f147aea
Коммит c920d33fe0
2 изменённых файлов: 20 добавлений и 20 удалений

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

@ -21,16 +21,16 @@ nodeAbi.getAbi('1.4.10', 'electron')
nodeAbi.allTargets
// [
// { runtime: 'node', target: '0.10.48', lts: false },
// { runtime: 'node', target: '0.12.17', lts: false },
// { runtime: 'node', target: '4.6.1', lts: true },
// { runtime: 'node', target: '5.12.0', lts: false },
// { runtime: 'node', target: '6.9.4', lts: true },
// { runtime: 'node', target: '7.4.0', lts: false },
// { runtime: 'electron', target: '1.0.2', lts: false },
// { runtime: 'electron', target: '1.2.8', lts: false },
// { runtime: 'electron', target: '1.3.13', lts: false },
// { runtime: 'electron', target: '1.4.15', lts: false }
// { runtime: 'node', target: '0.10.48', abi: '11', lts: false },
// { runtime: 'node', target: '0.12.17', abi: '14', lts: false },
// { runtime: 'node', target: '4.6.1', abi: '46', lts: true },
// { runtime: 'node', target: '5.12.0', abi: '47', lts: false },
// { runtime: 'node', target: '6.9.4', abi: '48', lts: true },
// { runtime: 'node', target: '7.4.0', abi: '51', lts: false },
// { runtime: 'electron', target: '1.0.2', abi: '47', lts: false },
// { runtime: 'electron', target: '1.2.8', abi: '48', lts: false },
// { runtime: 'electron', target: '1.3.13', abi: '49', lts: false },
// { runtime: 'electron', target: '1.4.15', abi: '50', lts: false }
// ]
```

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

@ -43,16 +43,16 @@ function getAbi (target, runtime) {
}
var allTargets = [
{runtime: 'node', target: '0.10.48', lts: false},
{runtime: 'node', target: '0.12.17', lts: false},
{runtime: 'node', target: '4.6.1', lts: new Date() < new Date(2017, 04, 01)},
{runtime: 'node', target: '5.12.0', lts: false},
{runtime: 'node', target: '6.9.4', lts: new Date() < new Date(2018, 04, 18)},
{runtime: 'node', target: '7.4.0', lts: false},
{runtime: 'electron', target: '1.0.2', lts: false},
{runtime: 'electron', target: '1.2.8', lts: false},
{runtime: 'electron', target: '1.3.13', lts: false},
{runtime: 'electron', target: '1.4.15', lts: false}
{runtime: 'node', target: '0.10.48', abi: '11', lts: false},
{runtime: 'node', target: '0.12.17', abi: '14', lts: false},
{runtime: 'node', target: '4.6.1', abi: '46', lts: new Date() < new Date(2017, 04, 01)},
{runtime: 'node', target: '5.12.0', abi: '47', lts: false},
{runtime: 'node', target: '6.9.4', abi: '48', lts: new Date() < new Date(2018, 04, 18)},
{runtime: 'node', target: '7.4.0', abi: '51', lts: false},
{runtime: 'electron', target: '1.0.2', abi: '47', lts: false},
{runtime: 'electron', target: '1.2.8', abi: '48', lts: false},
{runtime: 'electron', target: '1.3.13', abi: '49', lts: false},
{runtime: 'electron', target: '1.4.15', abi: '50', lts: false}
]
exports.getAbi = getAbi