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.5.1 to 1.5.2

src/use.js

9

CHANGELOG.md
Changelog
=========
### 1.5.2 (next)
### 1.5.3 (next)
### 1.5.2
#### public API
* fix LocalDate.now in typescript definition and esdoc
* fix LocalTime static properties in typescript definition
### 1.5.1

@@ -7,0 +14,0 @@

27

dist/js-joda.d.ts

@@ -345,18 +345,19 @@ declare namespace JSJoda {

static NOON: LocalTime
static HOURS_PER_DAY: LocalTime
static MINUTES_PER_HOUR: LocalTime
static MINUTES_PER_DAY: LocalTime
static SECONDS_PER_MINUTE: LocalTime
static SECONDS_PER_HOUR: LocalTime
static SECONDS_PER_DAY: LocalTime
static MILLIS_PER_DAY: LocalTime
static MICROS_PER_DAY: LocalTime
static NANOS_PER_SECOND: LocalTime
static NANOS_PER_MINUTE: LocalTime
static NANOS_PER_HOUR: LocalTime
static NANOS_PER_DAY: LocalTime
static HOURS_PER_DAY: number
static MINUTES_PER_HOUR: number
static MINUTES_PER_DAY: number
static SECONDS_PER_MINUTE: number
static SECONDS_PER_HOUR: number
static SECONDS_PER_DAY: number
static MILLIS_PER_DAY: number
static MICROS_PER_DAY: number
static NANOS_PER_SECOND: number
static NANOS_PER_MINUTE: number
static NANOS_PER_HOUR: number
static NANOS_PER_DAY: number
static from(temporal: TemporalAccessor): LocalTime
static now(clockOrZone?: Clock | ZoneId): LocalDateTime
static now(clockOrZone?: Clock | ZoneId): LocalTime

@@ -363,0 +364,0 @@ static of(hour?: number, minute?: number, second?: number, nanoOfSecond?: number): LocalTime

{
"name": "js-joda",
"version": "1.5.1",
"version": "1.5.2",
"description": "a date and time library for javascript",

@@ -38,31 +38,31 @@ "repository": {

"devDependencies": {
"babel-cli": "^6.23.0",
"babel-core": "^6.23.1",
"babel-loader": "^6.3.2",
"babel-plugin-istanbul": "^4.0.0",
"babel-preset-es2015": "^6.22.0",
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-loader": "^6.4.1",
"babel-plugin-istanbul": "^4.1.1",
"babel-preset-es2015": "^6.24.1",
"chai": "^3.5.0",
"coveralls": "^2.11.16",
"coveralls": "^2.13.0",
"esdoc": "^0.5.2",
"eslint": "^3.17.0",
"eslint-config-standard": "^7.0.0",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^2.1.1",
"karma": "^1.5.0",
"karma-chai-plugins": "^0.8.0",
"eslint-plugin-standard": "^3.0.1",
"karma": "^1.6.0",
"karma-chai-plugins": "^0.9.0",
"karma-chrome-launcher": "^2.0.0",
"karma-firefox-launcher": "^1.0.1",
"karma-mocha": "^1.3.0",
"karma-phantomjs-launcher": "^1.0.2",
"karma-phantomjs-launcher": "^1.0.4",
"karma-sauce-launcher": "^1.1.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.2",
"karma-webpack": "^2.0.3",
"markdown-toc": "^1.1.0",
"mocha": "^3.2.0",
"nyc": "^10.1.2",
"nyc": "^10.2.0",
"phantomjs-prebuilt": "^2.1.14",
"typescript": "^2.2.1",
"webpack": "^2.2.1"
"typescript": "^2.2.2",
"webpack": "^2.3.3"
},
"license": "BSD-3-Clause"
}

@@ -6,6 +6,7 @@ /**

export { Clock } from './Clock';
export {
DateTimeException, DateTimeParseException, IllegalArgumentException, IllegalStateException, NullPointerException
} from './errors';
export { Clock } from './Clock';
export { DayOfWeek } from './DayOfWeek';

@@ -26,2 +27,3 @@ export { Duration } from './Duration';

export { ZoneRegion } from './ZoneRegion';
export { ZoneOffsetTransition } from './zone/ZoneOffsetTransition';

@@ -31,32 +33,18 @@ export { ZoneRules } from './zone/ZoneRules';

export {convert} from './convert';
export { ChronoField } from './temporal/ChronoField';
export { ChronoUnit } from './temporal/ChronoUnit';
export { IsoFields } from './temporal/IsoFields';
export { TemporalAdjusters } from './temporal/TemporalAdjusters';
export { TemporalQueries } from './temporal/TemporalQueries';
export {nativeJs} from './temporal/NativeJsTemporal';
export {ChronoField} from './temporal/ChronoField';
export {ChronoUnit} from './temporal/ChronoUnit';
export {IsoFields} from './temporal/IsoFields';
export {TemporalAdjusters} from './temporal/TemporalAdjusters';
export {TemporalQueries} from './temporal/TemporalQueries';
export { DateTimeFormatter } from './format/DateTimeFormatter';
export { DateTimeFormatterBuilder } from './format/DateTimeFormatterBuilder';
export { ResolverStyle } from './format/ResolverStyle';
export {DateTimeFormatter} from './format/DateTimeFormatter';
export {DateTimeFormatterBuilder} from './format/DateTimeFormatterBuilder';
export {ResolverStyle} from './format/ResolverStyle';
import './_init';
const used = [];
/**
* use
*
* Provides a way to extend the internals of js-joda
*
* @param {function} fn - function to extend js-joda public api
* @returns {this} for chaining
*/
export function use(fn) {
if (!~used.indexOf(fn)) {
fn(exports);
used.push(fn);
}
return exports;
}
export { convert } from './convert';
export { nativeJs } from './temporal/NativeJsTemporal';
import { bindUse } from './use';
export const use = bindUse(exports);

@@ -123,3 +123,3 @@ /**

* @param {Clock|ZoneId} clockOrZone - the zone ID or clock to use, if null Clock.systemDefaultZone() is used.
* @return {LocalDateTime} the current time using the system clock, not null
* @return {LocalTime} the current time using the system clock, not null
*/

@@ -126,0 +126,0 @@ static now(clockOrZone) {

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 not supported yet

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