@shopify/dates
Advanced tools
Comparing version 0.1.29 to 0.2.0
@@ -11,4 +11,16 @@ # Changelog | ||
## 0.1.7 - 2019-01-09 | ||
## [0.2.0] - 2019-09-13 | ||
## Added | ||
- Add `isLessThanOneMinute`, `isLessThanOneHour`, `isLessThanOneDay`, `isLessThanOneWeek`, and `isLessThanOneYear` functions ([#989](https://github.com/Shopify/quilt/pull/989)) | ||
## [0.1.15] - 2019-04-17 | ||
### Changed | ||
- Improve performance of `formatDate` to use memoized `DateTimeFormat`. ([#643](https://github.com/Shopify/quilt/pull/643)) | ||
## [0.1.7] - 2019-01-09 | ||
- Start of Changelog |
export * from './apply-time-zone-offset'; | ||
export * from './constants'; | ||
export * from './get-date-time-parts'; | ||
export * from './get-time-zone-offset'; | ||
export * from './is-future-date'; | ||
export * from './is-less-than-one-day-ago'; | ||
export * from './is-less-than-one-hour-ago'; | ||
export * from './is-less-than-one-minute-ago'; | ||
export * from './is-less-than-one-week-ago'; | ||
export * from './is-less-than-one-year-ago'; | ||
export * from './is-same-day'; | ||
@@ -6,0 +12,0 @@ export * from './is-same-month'; |
@@ -5,5 +5,11 @@ "use strict"; | ||
tslib_1.__exportStar(require("./apply-time-zone-offset"), exports); | ||
tslib_1.__exportStar(require("./constants"), exports); | ||
tslib_1.__exportStar(require("./get-date-time-parts"), exports); | ||
tslib_1.__exportStar(require("./get-time-zone-offset"), exports); | ||
tslib_1.__exportStar(require("./is-future-date"), exports); | ||
tslib_1.__exportStar(require("./is-less-than-one-day-ago"), exports); | ||
tslib_1.__exportStar(require("./is-less-than-one-hour-ago"), exports); | ||
tslib_1.__exportStar(require("./is-less-than-one-minute-ago"), exports); | ||
tslib_1.__exportStar(require("./is-less-than-one-week-ago"), exports); | ||
tslib_1.__exportStar(require("./is-less-than-one-year-ago"), exports); | ||
tslib_1.__exportStar(require("./is-same-day"), exports); | ||
@@ -10,0 +16,0 @@ tslib_1.__exportStar(require("./is-same-month"), exports); |
{ | ||
"name": "@shopify/dates", | ||
"version": "0.1.29", | ||
"version": "0.2.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Lightweight date operations library.", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
40633
75
642
1