latest-version
Advanced tools
Comparing version 7.0.0 to 8.0.0
@@ -1,2 +0,2 @@ | ||
export interface Options { | ||
export type Options = { | ||
/** | ||
@@ -6,3 +6,3 @@ A semver range or [dist-tag](https://docs.npmjs.com/cli/dist-tag). | ||
readonly version?: string; | ||
} | ||
}; | ||
@@ -9,0 +9,0 @@ /** |
{ | ||
"name": "latest-version", | ||
"version": "7.0.0", | ||
"version": "8.0.0", | ||
"description": "Get the latest version of an npm package", | ||
@@ -14,5 +14,9 @@ "license": "MIT", | ||
"type": "module", | ||
"exports": "./index.js", | ||
"exports": { | ||
"types": "./index.d.ts", | ||
"default": "./index.js" | ||
}, | ||
"sideEffects": false, | ||
"engines": { | ||
"node": ">=14.16" | ||
"node": ">=18" | ||
}, | ||
@@ -37,12 +41,11 @@ "scripts": { | ||
"dependencies": { | ||
"package-json": "^8.1.0" | ||
"package-json": "^9.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "^4.3.0", | ||
"semver": "^7.3.7", | ||
"ava": "^6.1.0", | ||
"semver": "^7.5.4", | ||
"semver-regex": "^4.0.5", | ||
"tsd": "^0.21.0", | ||
"typescript": "^4.7.4", | ||
"xo": "^0.50.0" | ||
"tsd": "^0.30.4", | ||
"xo": "^0.56.0" | ||
} | ||
} |
@@ -33,13 +33,1 @@ # latest-version | ||
- [package-json](https://github.com/sindresorhus/package-json) - Get the package.json of a package from the npm registry | ||
--- | ||
<div align="center"> | ||
<b> | ||
<a href="https://tidelift.com/subscription/pkg/npm-latest-version?utm_source=npm-latest-version&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a> | ||
</b> | ||
<br> | ||
<sub> | ||
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies. | ||
</sub> | ||
</div> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
3718
33
+ Addedgot@13.0.0(transitive)
+ Addedpackage-json@9.0.0(transitive)
- Removedgot@12.6.1(transitive)
- Removedpackage-json@8.1.1(transitive)
Updatedpackage-json@^9.0.0