fecha
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -0,1 +1,5 @@ | ||
### 4.2.1 | ||
- Fixed missing source map | ||
- Fixed security y18n | ||
### 4.2.0 | ||
@@ -2,0 +6,0 @@ Added isoDate and isoDateTime masks |
@@ -17,3 +17,3 @@ export declare type I18nSettings = { | ||
declare const defaultI18n: I18nSettings; | ||
declare const setGlobalDateI18n: (i18n: Partial<I18nSettings>) => I18nSettings; | ||
declare const setGlobalDateI18n: (i18n: I18nSettingsOptional) => I18nSettings; | ||
declare const setGlobalDateMasks: (masks: { | ||
@@ -31,3 +31,3 @@ [key: string]: string; | ||
*/ | ||
declare const format: (dateObj: Date, mask?: string, i18n?: Partial<I18nSettings>) => string; | ||
declare const format: (dateObj: Date, mask?: string, i18n?: I18nSettingsOptional) => string; | ||
/** | ||
@@ -34,0 +34,0 @@ * Parse a date string into a Javascript Date object / |
{ | ||
"name": "fecha", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "Date formatting and parsing", | ||
@@ -35,4 +35,4 @@ "main": "lib/fecha.umd.js", | ||
"@typescript-eslint/parser": "^2.14.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.9.0", | ||
"eslint": "^7.23.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"nyc": "^15.0.0", | ||
@@ -51,8 +51,7 @@ "painless": "^0.9.7", | ||
"files": [ | ||
"lib/fecha.js", | ||
"lib/fecha.d.ts", | ||
"lib/fecha.umd.js", | ||
"dist/fecha.min.js" | ||
"lib", | ||
"dist", | ||
"src" | ||
], | ||
"types": "lib/fecha.d.ts" | ||
} |
141403
12
1320