@shopify/dates
Advanced tools
Comparing version 0.1.13 to 0.1.14
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31714