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.1.1 to 1.1.2

3

AmauiDate.js

@@ -74,3 +74,4 @@ "use strict";

get valid() {
return (this.value_ === undefined || this.value_ instanceof Date || this.value_ instanceof AmauiDate || typeof this.value_ === 'number') && !Number.isNaN(this.unix);
var _a;
return (this.value_ === undefined || this.value_ instanceof Date || this.value_ instanceof AmauiDate || typeof this.value_ === 'number') && !Number.isNaN(Math.floor(((_a = this.value) === null || _a === void 0 ? void 0 : _a.getTime()) / 1000));
}

@@ -77,0 +78,0 @@ get local() {

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

get valid() {
return (this.value_ === undefined || this.value_ instanceof Date || this.value_ instanceof AmauiDate || typeof this.value_ === 'number') && !Number.isNaN(this.unix);
var _this$value;
return (this.value_ === undefined || this.value_ instanceof Date || this.value_ instanceof AmauiDate || typeof this.value_ === 'number') && !Number.isNaN(Math.floor(((_this$value = this.value) === null || _this$value === void 0 ? void 0 : _this$value.getTime()) / 1000));
}

@@ -135,0 +137,0 @@

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

/** @license AmauiDate v1.1.1
/** @license AmauiDate v1.1.2
*

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

{
"name": "@amaui/date",
"version": "1.1.1",
"version": "1.1.2",
"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