Skip to content

Commit 3728f5f

Browse files
vanodeviumsindresorhus
authored andcommittedNov 6, 2019
Fix typo (#15)
1 parent 44d1b1f commit 3728f5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
'use strict';
22
const packageJson = require('package-json');
33

4-
const lastestVersion = async (packageName, options) => {
4+
const latestVersion = async (packageName, options) => {
55
const {version} = await packageJson(packageName.toLowerCase(), options);
66
return version;
77
};
88

9-
module.exports = lastestVersion;
9+
module.exports = latestVersion;
1010
// TODO: Remove this for the next major release
11-
module.exports.default = lastestVersion;
11+
module.exports.default = latestVersion;

0 commit comments

Comments
 (0)
Please sign in to comment.