Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

semver-parser

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

semver-parser - npm Package Compare versions

Comparing version 4.1.6 to 4.1.7

4

modules/semver.js

@@ -93,6 +93,6 @@ /**

if (!isValidSemVer(version, !!strict)) {
throw new Error(`${version} is not valid version string.`);
throw new Error(`Invalid version string: ${version}`);
}
if (!isValidSemVer(base, !!strict)) {
throw new Error(`${base} is not valid version string.`);
throw new Error(`Invalid version string: ${base}`);
}

@@ -99,0 +99,0 @@ let result;

@@ -16,12 +16,15 @@ {

"devDependencies": {
"c8": "^8.0.1",
"chai": "^4.3.10",
"eslint": "^8.52.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-regexp": "^2.1.1",
"mocha": "^10.2.0",
"typescript": "^5.2.2"
"c8": "^10.1.2",
"eslint": "^9.15.0",
"eslint-plugin-import-x": "^4.4.3",
"eslint-plugin-jsdoc": "^50.6.0",
"eslint-plugin-regexp": "^2.7.0",
"globals": "^15.12.0",
"mocha": "^10.8.2",
"neostandard": "^0.11.9",
"typescript": "^5.7.2"
},
"overrides": {
"glob": "^10.4.5"
},
"scripts": {

@@ -33,3 +36,3 @@ "build": "npm run tsc && npm run lint && npm run test",

},
"version": "4.1.6"
"version": "4.1.7"
}
[![build](https://github.com/asamuzaK/semverParser/workflows/build/badge.svg)](https://github.com/asamuzaK/semverParser/actions?query=workflow%3Abuild)
[![CodeQL](https://github.com/asamuzaK/semverParser/workflows/CodeQL/badge.svg)](https://github.com/asamuzaK/semverParser/actions?query=workflow%3ACodeQL)
[![CodeQL](https://github.com/asamuzaK/semverParser/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/asamuzaK/semverParser/actions/workflows/github-code-scanning/codeql)
[![npm](https://img.shields.io/npm/v/semver-parser)](https://www.npmjs.com/package/semver-parser)

@@ -4,0 +4,0 @@

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