Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

js-joda

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-joda - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

8

CHANGELOG.md
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 @@

44

dist/js-joda.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc