@date-io/dayjs
Advanced tools
Comparing version 2.7.0 to 2.8.0
@@ -13,2 +13,3 @@ import defaultDayjs from "dayjs"; | ||
rawDayJsInstance: typeof defaultDayjs; | ||
lib: string; | ||
dayjs: Constructor; | ||
@@ -15,0 +16,0 @@ locale?: string; |
@@ -50,2 +50,3 @@ import defaultDayjs from 'dayjs'; | ||
var _b = _a === void 0 ? {} : _a, locale = _b.locale, formats = _b.formats, instance = _b.instance; | ||
this.lib = "dayjs"; | ||
this.rawDayJsInstance = instance || defaultDayjs; | ||
@@ -52,0 +53,0 @@ this.dayjs = withLocale(this.rawDayJsInstance, locale); |
@@ -54,2 +54,3 @@ 'use strict'; | ||
var _b = _a === void 0 ? {} : _a, locale = _b.locale, formats = _b.formats, instance = _b.instance; | ||
this.lib = "dayjs"; | ||
this.rawDayJsInstance = instance || defaultDayjs; | ||
@@ -56,0 +57,0 @@ this.dayjs = withLocale(this.rawDayJsInstance, locale); |
{ | ||
"name": "@date-io/dayjs", | ||
"version": "2.7.0", | ||
"version": "2.8.0", | ||
"description": "Abstraction over common javascript date management libraries", | ||
@@ -12,3 +12,3 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@date-io/core": "^2.7.0" | ||
"@date-io/core": "^2.8.0" | ||
}, | ||
@@ -45,3 +45,3 @@ "devDependencies": { | ||
"license": "MIT", | ||
"gitHead": "659d6c1858a313cff392aa27b03d1c5bcc1a3e29" | ||
"gitHead": "25036d2ad2155f77e48edcb662c877431102f9fd" | ||
} |
@@ -64,2 +64,3 @@ import defaultDayjs from "dayjs"; | ||
public rawDayJsInstance: typeof defaultDayjs; | ||
public lib = "dayjs"; | ||
public dayjs: Constructor; | ||
@@ -66,0 +67,0 @@ public locale?: string; |
34830
889
Updated@date-io/core@^2.8.0