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

@amaui/date

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amaui/date - npm Package Compare versions

Comparing version 1.0.11427 to 1.0.11430

1

amaui-date.js

@@ -15,3 +15,2 @@ "use strict";

const isValidTimestamp = (value) => (Number.isInteger(value) &&
String(value).length >= 10 &&
(new Date(value).getTime() > 0 ||

@@ -18,0 +17,0 @@ new Date(value * 1000).getTime() > 0));

2

esm/amaui-date.js

@@ -10,3 +10,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";

const isValidTimestamp = value => Number.isInteger(value) && String(value).length >= 10 && (new Date(value).getTime() > 0 || new Date(value * 1000).getTime() > 0);
const isValidTimestamp = value => Number.isInteger(value) && (new Date(value).getTime() > 0 || new Date(value * 1000).getTime() > 0);

@@ -13,0 +13,0 @@ export default class AmauiDate {

@@ -1,2 +0,2 @@

/** @license AmauiDate v1.0.11427
/** @license AmauiDate v1.0.11430
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

{
"name": "@amaui/date",
"version": "1.0.11427",
"version": "1.0.11430",
"description": "Time and date utils library",

@@ -5,0 +5,0 @@ "repository": "https://github.com/amaui-org/amaui-date.git",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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