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.4 to 4.1.5

6

modules/semver.js

@@ -13,3 +13,3 @@ /**

const INT = '0|[1-9]\\d*';
const ALPHA_NUM = '\\d*[A-Za-z-][A-Za-z\\d-]*';
const ALPHA_NUM = '\\d*[A-Z-][A-Z\\d-]*';
const PRE_PART = `(?:${ALPHA_NUM}|${INT})`;

@@ -22,4 +22,4 @@ const PRE = `${PRE_PART}(?:\\.${PRE_PART})*`;

const REGEXP_INT = new RegExp(`^(?:${INT})$`);
const REGEXP_SEMVER = new RegExp(`^v?${SEMVER}$`);
const REGEXP_SEMVER_STRICT = new RegExp(`^${SEMVER}$`);
const REGEXP_SEMVER = new RegExp(`^v?${SEMVER}$`, 'i');
const REGEXP_SEMVER_STRICT = new RegExp(`^${SEMVER}$`, 'i');

@@ -26,0 +26,0 @@ /**

@@ -16,14 +16,11 @@ {

"devDependencies": {
"c8": "^7.13.0",
"chai": "^4.3.7",
"eslint": "^8.38.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^43.0.6",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-regexp": "^1.14.0",
"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.0.4"
"typescript": "^5.2.2"
},

@@ -36,3 +33,3 @@ "scripts": {

},
"version": "4.1.4"
"version": "4.1.5"
}
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