Comparing version 2.17.0 to 2.17.1
Changelog | ||
========= | ||
### 2.17.1 [Also available here](https://gist.github.com/ichernev/f38280b2b29c4932914a6d3a4e50bfb2) | ||
* Release Dec 03, 2016 | ||
* [#3638](https://github.com/moment/moment/pull/3638) [misc] TS: Make typescript definitions work with 1.x | ||
* [#3628](https://github.com/moment/moment/pull/3628) [misc] Adds "sign CLA" link to `CONTRIBUTING.md` | ||
* [#3640](https://github.com/moment/moment/pull/3640) [misc] Fix locale issues | ||
### 2.17.0 [Also available here](https://gist.github.com/ichernev/ed58f76fb95205eeac653d719972b90c) | ||
@@ -5,0 +12,0 @@ * Release Nov 22, 2016 |
//! moment.js locale configuration | ||
//! locale : Yoruba Nigeria (yo) | ||
//! locale : Yoruba Nigeria [yo] | ||
//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe | ||
@@ -4,0 +4,0 @@ |
//! moment.js | ||
//! version : 2.17.0 | ||
//! version : 2.17.1 | ||
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors | ||
@@ -551,2 +551,2 @@ //! license : MIT | ||
// Side effect imports | ||
return rf.abs=Wc,rf.add=Yc,rf.subtract=Zc,rf.as=cd,rf.asMilliseconds=$e,rf.asSeconds=_e,rf.asMinutes=af,rf.asHours=bf,rf.asDays=cf,rf.asWeeks=df,rf.asMonths=ef,rf.asYears=ff,rf.valueOf=dd,rf._bubble=_c,rf.get=fd,rf.milliseconds=gf,rf.seconds=hf,rf.minutes=jf,rf.hours=kf,rf.days=lf,rf.weeks=hd,rf.months=mf,rf.years=nf,rf.humanize=md,rf.toISOString=nd,rf.toString=nd,rf.toJSON=nd,rf.locale=lc,rf.localeData=mc,rf.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",nd),rf.lang=Re,U("X",0,0,"unix"),U("x",0,0,"valueOf"),Z("x",Vd),Z("X",Yd),ba("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),ba("x",function(a,b,c){c._d=new Date(u(a))}),a.version="2.17.0",b(sb),a.fn=Xe,a.min=ub,a.max=vb,a.now=Le,a.utc=k,a.unix=Lc,a.months=Rc,a.isDate=g,a.locale=$a,a.invalid=o,a.duration=Ob,a.isMoment=s,a.weekdays=Tc,a.parseZone=Mc,a.localeData=bb,a.isDuration=xb,a.monthsShort=Sc,a.weekdaysMin=Vc,a.defineLocale=_a,a.updateLocale=ab,a.locales=cb,a.weekdaysShort=Uc,a.normalizeUnits=K,a.relativeTimeRounding=kd,a.relativeTimeThreshold=ld,a.calendarFormat=Ub,a.prototype=Xe,a}); | ||
return rf.abs=Wc,rf.add=Yc,rf.subtract=Zc,rf.as=cd,rf.asMilliseconds=$e,rf.asSeconds=_e,rf.asMinutes=af,rf.asHours=bf,rf.asDays=cf,rf.asWeeks=df,rf.asMonths=ef,rf.asYears=ff,rf.valueOf=dd,rf._bubble=_c,rf.get=fd,rf.milliseconds=gf,rf.seconds=hf,rf.minutes=jf,rf.hours=kf,rf.days=lf,rf.weeks=hd,rf.months=mf,rf.years=nf,rf.humanize=md,rf.toISOString=nd,rf.toString=nd,rf.toJSON=nd,rf.locale=lc,rf.localeData=mc,rf.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",nd),rf.lang=Re,U("X",0,0,"unix"),U("x",0,0,"valueOf"),Z("x",Vd),Z("X",Yd),ba("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),ba("x",function(a,b,c){c._d=new Date(u(a))}),a.version="2.17.1",b(sb),a.fn=Xe,a.min=ub,a.max=vb,a.now=Le,a.utc=k,a.unix=Lc,a.months=Rc,a.isDate=g,a.locale=$a,a.invalid=o,a.duration=Ob,a.isMoment=s,a.weekdays=Tc,a.parseZone=Mc,a.localeData=bb,a.isDuration=xb,a.monthsShort=Sc,a.weekdaysMin=Vc,a.defineLocale=_a,a.updateLocale=ab,a.locales=cb,a.weekdaysShort=Uc,a.normalizeUnits=K,a.relativeTimeRounding=kd,a.relativeTimeThreshold=ld,a.calendarFormat=Ub,a.prototype=Xe,a}); |
@@ -71,3 +71,3 @@ declare function moment(inp?: moment.MomentInput, format?: moment.MomentFormatSpecification, strict?: boolean): moment.Moment; | ||
// any additional properties might be used with moment.calendarFormat | ||
[x: string]: CalendarSpecVal | undefined; | ||
[x: string]: CalendarSpecVal | void; // undefined | ||
} | ||
@@ -252,3 +252,3 @@ | ||
nullInput: boolean; | ||
invalidMonth: string | null; | ||
invalidMonth: string | void; // null | ||
invalidFormat: boolean; | ||
@@ -258,3 +258,3 @@ userInvalidated: boolean; | ||
parsedDateParts: any[]; | ||
meridiem: string | null; | ||
meridiem: string | void; // null | ||
} | ||
@@ -395,4 +395,4 @@ | ||
type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | null | undefined; | ||
type DurationInputArg1 = Duration | number | string | FromTo | DurationInputObject | null | undefined; | ||
type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined | ||
type DurationInputArg1 = Duration | number | string | FromTo | DurationInputObject | void; // null | undefined | ||
type DurationInputArg2 = unitOfTime.DurationConstructor; | ||
@@ -639,3 +639,3 @@ type LocaleSpecifier = string | Moment | Duration | string[]; | ||
export function locale(language?: string[]): string; | ||
export function locale(language?: string, definition?: LocaleSpecification | null | undefined): string; | ||
export function locale(language?: string, definition?: LocaleSpecification | void): string; // null | undefined | ||
@@ -692,4 +692,4 @@ export function localeData(key?: string | string[]): Locale; | ||
export function defineLocale(language: string, localeSpec: LocaleSpecification | null): Locale; | ||
export function updateLocale(language: string, localeSpec: LocaleSpecification | null): Locale; | ||
export function defineLocale(language: string, localeSpec: LocaleSpecification | void): Locale; // null | ||
export function updateLocale(language: string, localeSpec: LocaleSpecification | void): Locale; // null | ||
@@ -696,0 +696,0 @@ export function locales(): string[]; |
{ | ||
"name": "moment", | ||
"version": "2.17.0", | ||
"version": "2.17.1", | ||
"description": "Parse, validate, manipulate, and display dates", | ||
@@ -68,3 +68,3 @@ "homepage": "http://momentjs.com", | ||
"spacejam": "latest", | ||
"typescript": "^2.0.8", | ||
"typescript": "^1.8.10", | ||
"coveralls": "^2.11.2", | ||
@@ -71,0 +71,0 @@ "nyc": "^2.1.4" |
//! moment.js locale configuration | ||
//! locale : Yoruba Nigeria (yo) | ||
//! locale : Yoruba Nigeria [yo] | ||
//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe | ||
@@ -4,0 +4,0 @@ |
//! moment.js | ||
//! version : 2.17.0 | ||
//! version : 2.17.1 | ||
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors | ||
@@ -9,3 +9,3 @@ //! license : MIT | ||
moment.version = '2.17.0'; | ||
moment.version = '2.17.1'; | ||
@@ -12,0 +12,0 @@ import { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
2216547
331
49940