Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shopify/dates

Package Overview
Dependencies
Maintainers
13
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/dates - npm Package Compare versions

Comparing version 0.2.12 to 0.2.13-beta.fixchrome80

4

CHANGELOG.md

@@ -9,2 +9,6 @@ # Changelog

## [Unreleased]
- Move Chrome 80 bug fix outside of gaurding if
## [0.2.12] - 2020-02-07

@@ -11,0 +15,0 @@

8

dist/src/utilities/formatDate.js

@@ -11,8 +11,8 @@ "use strict";

var adjustedDate = new Date(date.valueOf() - 12 * 60 * 60 * 1000);
if (options.hour12 != null) {
options.hour12 = undefined;
options.hourCycle = 'h23';
}
return memoizedGetDateTimeFormat(locales, tslib_1.__assign(tslib_1.__assign({}, options), { timeZone: 'UTC' })).format(adjustedDate);
}
if (options.hour12 != null) {
options.hour12 = undefined;
options.hourCycle = 'h23';
}
return memoizedGetDateTimeFormat(locales, options).format(date);

@@ -19,0 +19,0 @@ }

{
"name": "@shopify/dates",
"version": "0.2.12",
"version": "0.2.13-beta.fixchrome80",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Lightweight date operations library.",

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