New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

isoly

Package Overview
Dependencies
Maintainers
2
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isoly - npm Package Compare versions

Comparing version 2.0.10 to 2.0.11

19

dist/DateTime.js

@@ -15,25 +15,24 @@ import { Date } from "./Date";

function is(value) {
const length = value.length;
return (typeof value == "string" &&
length >= 13 &&
length <= 29 &&
value.length >= 13 &&
value.length <= 29 &&
Date.is(value.substring(0, 10)) &&
value[10] == "T" &&
isHours(value.substring(11, 13)) &&
(length == 13 ||
(value.length == 13 ||
TimeZone.is(value.substring(13)) ||
(value[13] == ":" &&
length >= 16 &&
value.length >= 16 &&
isMinutes(value.substring(14, 16)) &&
(length == 16 ||
(value.length == 16 ||
TimeZone.is(value.substring(16)) ||
(value[16] == ":" &&
length >= 19 &&
value.length >= 19 &&
isSeconds(value.substring(17, 19)) &&
(length == 19 ||
(value.length == 19 ||
TimeZone.is(value.substring(19)) ||
(value[19] == "." &&
length >= 23 &&
value.length >= 23 &&
[...value.substring(20, 23)].every(c => c >= "0" && c <= "9") &&
(length == 23 || TimeZone.is(value.substring(23))))))))));
(value.length == 23 || TimeZone.is(value.substring(23))))))))));
}

@@ -40,0 +39,0 @@ DateTime.is = is;

{
"name": "isoly",
"version": "2.0.10",
"version": "2.0.11",
"description": "Datatypes and functions specified by ISO-standards.",

@@ -5,0 +5,0 @@ "author": "Utily Contributors",

Sorry, the diff of this file is not supported yet

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