replace jest with ava
This commit is contained in:
parent
27cc8b23fe
commit
0347b72305
11775 changed files with 84546 additions and 1440575 deletions
11
node_modules/latest-version/index.js
generated
vendored
Normal file
11
node_modules/latest-version/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
'use strict';
|
||||
const packageJson = require('package-json');
|
||||
|
||||
const lastestVersion = async (packageName, options) => {
|
||||
const {version} = await packageJson(packageName.toLowerCase(), options);
|
||||
return version;
|
||||
};
|
||||
|
||||
module.exports = lastestVersion;
|
||||
// TODO: Remove this for the next major release
|
||||
module.exports.default = lastestVersion;
|
||||
Loading…
Add table
Add a link
Reference in a new issue