@wordpress/date
Advanced tools
Comparing version 4.2.2-next.5df0cd52b7.0 to 4.2.2
@@ -102,4 +102,4 @@ /** | ||
export function getDate(dateString: string | null): Date; | ||
export type Moment = momentLib.Moment; | ||
export type MomentLocaleSpecification = momentLib.LocaleSpecification; | ||
export type Moment = import('moment').Moment; | ||
export type MomentLocaleSpecification = import('moment').LocaleSpecification; | ||
export type MeridiemConfig = { | ||
@@ -199,3 +199,2 @@ /** | ||
}; | ||
import momentLib from "moment"; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@wordpress/date", | ||
"version": "4.2.2-next.5df0cd52b7.0", | ||
"version": "4.2.2", | ||
"description": "Date module for WordPress.", | ||
@@ -36,3 +36,3 @@ "author": "The WordPress Contributors", | ||
}, | ||
"gitHead": "558d577d12bec15f05e694eb49a094836d885cca" | ||
"gitHead": "8f7f052bc04e3f4eb50f479ced14be1489b9fa79" | ||
} |
@@ -13,3 +13,3 @@ # Date | ||
_This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for ES2015+ such as IE browsers then using [core-js](https://github.com/zloirock/core-js) will add polyfills for these methods._ | ||
_This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for such language features and APIs, you should include [the polyfill shipped in `@wordpress/babel-preset-default`](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default#polyfill) in your code._ | ||
@@ -16,0 +16,0 @@ ## API |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
177706
2156