Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

isodate

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isodate - npm Package Compare versions

Comparing version
0.1.1
to
0.1.2
+1
-1
isodate.js

@@ -8,3 +8,3 @@ /**

return string;
else if (match = string.match(/^(\d{4})(-(\d{2})(-(\d{2})(T(\d{2}):(\d{2})(:(\d{2})(\.(\d+))?)?(Z|((\+|-)(\d{2}):(\d{2}))))?)?)?$/)) {
else if (match = string.match(/^(\d{4})(-?(\d{2})(-?(\d{2})(T(\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|((\+|-)(\d{2}):?(\d{2}))))?)?)?$/)) {
var date = new Date();

@@ -11,0 +11,0 @@ date.setUTCFullYear(Number(match[1]));

{
"author": "Paul Vorbach <paul@vorb.de> (http://vorb.de/)",
"name": "isodate",
"description": "JavaScript ISO 8601 date/time parser",
"version": "0.1.1",
"version": "0.1.2",
"repository": {

@@ -11,2 +10,7 @@ "type": "git",

"main": "./isodate.js",
"author": "Paul Vorbach <paul@vorb.de> (http://vorb.de)",
"contributors": [
"David Henderson",
"Tyson Stewart"
],
"engines": {

@@ -13,0 +17,0 @@ "node": "*"