
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
@chronver/regex
Advanced tools
Regular expression for matching chronver versions.
$ npm i @chronver/regex
@chronver/regex
is an evergreen module. 🌲 This module requires an Active LTS Node version (v12.0.0+).
// Import the default export for validation helper usage
import validateChronver from "@chronver/regex";
validateChronver("1970.01.01");
// => true
validateChronver("1970.01.01-alpha.10.beta+build.unicorn.rainbow");
// => true
// Or, export the regex to use directly
import { chronverRegex } from "@chronver/regex";
chronverRegex.test("1970.01.01");
// => true
chronverRegex.test("1970.01.01-alpha.10.beta+build.unicorn.rainbow");
// => true
Just a regular expression. 😰 You better know what you are doing.
# Run all tests, sequentially
$ npm test
# Test dependencies for latest versions
$ npm run test:dependencies
# Lint "src" directory
$ npm run test:typescript
# Test this module
$ npm run test:assert
MIT © netop://ウエハ
FAQs
Regular expression for matching chronver versions
The npm package @chronver/regex receives a total of 0 weekly downloads. As such, @chronver/regex popularity was classified as not popular.
We found that @chronver/regex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.