Socket
Socket
Sign inDemoInstall

latest-version

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

latest-version - npm Package Compare versions

Comparing version 7.0.0 to 8.0.0

4

index.d.ts

@@ -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>
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc