
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
is-iso-date
Advanced tools
is-iso-date is a simple utility to check if a string is an ISO-compliant date.
$ npm install is-iso-date
var isISODate = require( 'is-iso-date' );
console.log( isISODate( '2015-02-21T00:52:43.822Z' ) ); // true
console.log( isISODate( '2015-02-21T00:52:43.822' ) ); // false
console.log( isISODate( '2015-02-21T00:52:43Z' ) ); // true
console.log( isISODate( '2015-02-21T00:52:43' ) ); // false
console.log( isISODate( '2015-02-21T00:52Z' ) ); // true
console.log( isISODate( '2015-02-21T00:52' ) ); // false
console.log( isISODate( '2015-02-21T00Z' ) ); // false
This is basically just the regexp from this StackOverflow discussion wrapped in a tiny library with some tests: http://stackoverflow.com/questions/3143070/javascript-regex-iso-datetime
FAQs
A simple utility to check if a string is an ISO-compliant date.
The npm package is-iso-date receives a total of 9,106 weekly downloads. As such, is-iso-date popularity was classified as popular.
We found that is-iso-date 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.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.