Comparing version 1.3.1 to 1.4.0
Changelog | ||
========= | ||
### 1.4.0 (next) | ||
### 1.4.1 (next) | ||
### 1.4.0 | ||
#### public API | ||
* Remove private constructors, functions and classes from typescript definition (see #134) | ||
### 1.3.1 | ||
@@ -7,0 +13,0 @@ |
@@ -299,5 +299,2 @@ declare namespace JSJoda { | ||
// @deprecated, private constructor, do not use. TODO remove with 1.4.0 | ||
constructor(printerParser: any, locale: any, decimalStyle: any, resolverStyle: ResolverStyle, resolverFields?: any, chrono?: any, zone?: any) | ||
chronology(): any | ||
@@ -319,5 +316,2 @@ | ||
// @deprecated, private function, do not use. TODO remove with 1.4.0 and rename function to _toPrinterParser | ||
toPrinterParser(optional: boolean): any // CompositePrinterParser, not documented | ||
toString(): any | ||
@@ -333,4 +327,2 @@ | ||
constructor() | ||
// @deprecated, private constructor, do not use. TODO remove with 1.4.0 | ||
constructor(parentBuilder: DateTimeFormatterBuilder, optional: boolean) // TODO remove with release 1.4.0 | ||
@@ -408,5 +400,2 @@ append(formatter: DateTimeFormatter): DateTimeFormatterBuilder | ||
// @deprecated, private constructor, do not use. TODO remove with 1.4.0 | ||
constructor(hour?: number, minute?: number, second?: number, nanoOfSecond?: number) | ||
adjustInto(temporal: TemporalAdjuster): Temporal | ||
@@ -540,5 +529,2 @@ | ||
// @deprecated, private constructor, do not use. TODO remove with 1.4.0 | ||
constructor(value: number) | ||
adjustInto(temporal: Temporal): Temporal | ||
@@ -591,5 +577,2 @@ | ||
// @deprecated, private constructor, do not use. TODO remove with 1.4.0 | ||
constructor(month: number, dayOfMonth: number) | ||
adjustInto(temporal: Temporal): Temporal | ||
@@ -669,5 +652,2 @@ | ||
// @deprecated, private constructor, do not use. TODO remove with 1.4.0 | ||
constructor(name: string, baseUnit: number, rangeUnit: number, range: ValueRange) | ||
baseUnit(): number | ||
@@ -731,5 +711,2 @@ | ||
// @deprecated, private constructor, do not use. TODO remove with 1.4.0 | ||
constructor(name: string, estimatedDuration: Duration) | ||
addTo(temporal: Temporal, amount: number): Temporal | ||
@@ -897,5 +874,2 @@ | ||
// @deprecated, private constructor, do not use. TODO remove with 1.4.0 | ||
constructor(date: LocalDate, time: LocalTime) | ||
static from(temporal: TemporalAccessor): LocalDateTime | ||
@@ -1122,8 +1096,2 @@ | ||
} | ||
// @deprecated, private class, do not use. TODO remove with 1.4.0 | ||
class StringUtil { | ||
static hashCode(text: string): number | ||
static startsWith(text: string, pattern: string): boolean | ||
} | ||
class TemporalAdjuster { | ||
@@ -1182,5 +1150,2 @@ adjustInto(temporal: Temporal): Temporal | ||
// @deprecated, private constructor, do not use. TODO remove with 1.4.0 | ||
constructor(minSmallest: number, minLargest: number, maxSmallest: number, maxLargest: number) | ||
checkValidIntValue(value: number, field: TemporalField): number | ||
@@ -1288,5 +1253,2 @@ | ||
// @deprecated, private constructor, do not use. TODO remove with 1.4.0 | ||
constructor(totalSeconds: number) | ||
adjustInto(temporal: Temporal): Temporal | ||
@@ -1317,5 +1279,2 @@ | ||
// @deprecated, private constructor, do not use. TODO remove with 1.4.0 | ||
constructor(id: string, rules: ZoneRules) | ||
id(): string | ||
@@ -1380,5 +1339,2 @@ | ||
// @deprecated, private constructor, do not use. TODO remove with 1.4.0 | ||
constructor(dateTime: LocalDateTime, offset: ZoneOffset, zone: ZoneId) | ||
dayOfMonth(): number | ||
@@ -1385,0 +1341,0 @@ |
{ | ||
"name": "js-joda", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"description": "a date and time library for javascript", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -609,5 +609,4 @@ /** | ||
* @return {CompositePrinterParser} the printer/parser, not null | ||
* @private | ||
*/ | ||
toPrinterParser(optional) { | ||
_toPrinterParser(optional) { | ||
return this._printerParser.withOptional(optional); | ||
@@ -614,0 +613,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
3590463
37039