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.1.13 to 0.1.14

2

dist/get-date-time-parts.js

@@ -56,3 +56,3 @@ "use strict";

}
// eslint-disable-next-line shopify/no-fully-static-classes
// eslint-disable-next-line shopify/no-fully-static-classes, @typescript-eslint/no-extraneous-class
var DateTimeParts = /** @class */ (function () {

@@ -59,0 +59,0 @@ function DateTimeParts() {

@@ -5,2 +5,2 @@ /**

*/
export declare function sanitiseDateString(string: String): string;
export declare function sanitiseDateString(string: string): string;

@@ -5,3 +5,3 @@ "use strict";

describe('formatDate()', function () {
it('correctly formats dates', function () {
it('formats dates into YYYY-MM-DD', function () {
var date = new Date(2018, 0, 0);

@@ -8,0 +8,0 @@ expect(formatDate_1.formatDate(date, 'es')).toBe('2017-12-31');

{
"name": "@shopify/dates",
"version": "0.1.13",
"version": "0.1.14",
"license": "MIT",

@@ -30,3 +30,3 @@ "description": "Lightweight date operations library.",

"devDependencies": {
"@shopify/jest-dom-mocks": "^2.5.0",
"@shopify/jest-dom-mocks": "^2.5.1",
"typescript": "~3.0.1"

@@ -33,0 +33,0 @@ },

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