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

@internationalized/date

Package Overview
Dependencies
Maintainers
2
Versions
668
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@internationalized/date - npm Package Compare versions

Comparing version 3.0.0-nightly-a98da553e-241116 to 3.0.0-nightly-b3a4d6c11-241119

3

dist/BuddhistCalendar.main.js

@@ -44,4 +44,3 @@ var $625ad1e1f4c43bc1$exports = require("./CalendarDate.main.js");

constructor(...args){
super(...args);
this.identifier = 'buddhist';
super(...args), this.identifier = 'buddhist';
}

@@ -48,0 +47,0 @@ }

@@ -38,4 +38,3 @@ import {CalendarDate as $35ea8db9cb2ccb90$export$99faa760c7908e4f} from "./CalendarDate.module.js";

constructor(...args){
super(...args);
this.identifier = 'buddhist';
super(...args), this.identifier = 'buddhist';
}

@@ -42,0 +41,0 @@ }

@@ -117,4 +117,3 @@ var $625ad1e1f4c43bc1$exports = require("./CalendarDate.main.js");

constructor(...args){
super(...args);
this.identifier = 'ethioaa' // also known as 'ethiopic-amete-alem' in ICU
super(...args), this.identifier = 'ethioaa' // also known as 'ethiopic-amete-alem' in ICU
;

@@ -165,4 +164,3 @@ }

constructor(...args){
super(...args);
this.identifier = 'coptic';
super(...args), this.identifier = 'coptic';
}

@@ -169,0 +167,0 @@ }

@@ -109,4 +109,3 @@ import {CalendarDate as $35ea8db9cb2ccb90$export$99faa760c7908e4f} from "./CalendarDate.module.js";

constructor(...args){
super(...args);
this.identifier = 'ethioaa' // also known as 'ethiopic-amete-alem' in ICU
super(...args), this.identifier = 'ethioaa' // also known as 'ethiopic-amete-alem' in ICU
;

@@ -157,4 +156,3 @@ }

constructor(...args){
super(...args);
this.identifier = 'coptic';
super(...args), this.identifier = 'coptic';
}

@@ -161,0 +159,0 @@ }

@@ -101,4 +101,3 @@ var $625ad1e1f4c43bc1$exports = require("./CalendarDate.main.js");

constructor(...args){
super(...args);
this.identifier = 'indian';
super(...args), this.identifier = 'indian';
}

@@ -105,0 +104,0 @@ }

@@ -95,4 +95,3 @@ import {CalendarDate as $35ea8db9cb2ccb90$export$99faa760c7908e4f} from "./CalendarDate.module.js";

constructor(...args){
super(...args);
this.identifier = 'indian';
super(...args), this.identifier = 'indian';
}

@@ -99,0 +98,0 @@ }

@@ -80,4 +80,3 @@ var $625ad1e1f4c43bc1$exports = require("./CalendarDate.main.js");

constructor(...args){
super(...args);
this.identifier = 'islamic-tbla';
super(...args), this.identifier = 'islamic-tbla';
}

@@ -150,4 +149,3 @@ }

constructor(){
super();
this.identifier = 'islamic-umalqura';
super(), this.identifier = 'islamic-umalqura';
if (!$ecb2c4cc8c9aae25$var$UMALQURA_MONTHLENGTH) $ecb2c4cc8c9aae25$var$UMALQURA_MONTHLENGTH = new Uint16Array(Uint8Array.from(atob($ecb2c4cc8c9aae25$var$UMALQURA_DATA), (c)=>c.charCodeAt(0)).buffer);

@@ -154,0 +152,0 @@ if (!$ecb2c4cc8c9aae25$var$UMALQURA_YEAR_START_TABLE) {

@@ -72,4 +72,3 @@ import {CalendarDate as $35ea8db9cb2ccb90$export$99faa760c7908e4f} from "./CalendarDate.module.js";

constructor(...args){
super(...args);
this.identifier = 'islamic-tbla';
super(...args), this.identifier = 'islamic-tbla';
}

@@ -142,4 +141,3 @@ }

constructor(){
super();
this.identifier = 'islamic-umalqura';
super(), this.identifier = 'islamic-umalqura';
if (!$f2f3e0e3a817edbd$var$UMALQURA_MONTHLENGTH) $f2f3e0e3a817edbd$var$UMALQURA_MONTHLENGTH = new Uint16Array(Uint8Array.from(atob($f2f3e0e3a817edbd$var$UMALQURA_DATA), (c)=>c.charCodeAt(0)).buffer);

@@ -146,0 +144,0 @@ if (!$f2f3e0e3a817edbd$var$UMALQURA_YEAR_START_TABLE) {

@@ -168,4 +168,3 @@ var $625ad1e1f4c43bc1$exports = require("./CalendarDate.main.js");

constructor(...args){
super(...args);
this.identifier = 'japanese';
super(...args), this.identifier = 'japanese';
}

@@ -172,0 +171,0 @@ }

@@ -162,4 +162,3 @@ import {CalendarDate as $35ea8db9cb2ccb90$export$99faa760c7908e4f} from "./CalendarDate.module.js";

constructor(...args){
super(...args);
this.identifier = 'japanese';
super(...args), this.identifier = 'japanese';
}

@@ -166,0 +165,0 @@ }

@@ -70,4 +70,3 @@ var $625ad1e1f4c43bc1$exports = require("./CalendarDate.main.js");

constructor(...args){
super(...args);
this.identifier = 'roc' // Republic of China
super(...args), this.identifier = 'roc' // Republic of China
;

@@ -74,0 +73,0 @@ }

@@ -64,4 +64,3 @@ import {CalendarDate as $35ea8db9cb2ccb90$export$99faa760c7908e4f} from "./CalendarDate.module.js";

constructor(...args){
super(...args);
this.identifier = 'roc' // Republic of China
super(...args), this.identifier = 'roc' // Republic of China
;

@@ -68,0 +67,0 @@ }

@@ -616,5 +616,2 @@ type Mutable<T> = {

export function createCalendar(name: string): Calendar;
interface ResolvedDateTimeFormatOptions extends Intl.ResolvedDateTimeFormatOptions {
hourCycle?: Intl.DateTimeFormatOptions['hourCycle'];
}
interface DateRangeFormatPart extends Intl.DateTimeFormatPart {

@@ -635,5 +632,5 @@ source: 'startRange' | 'endRange' | 'shared';

/** Returns the resolved formatting options based on the values passed to the constructor. */
resolvedOptions(): ResolvedDateTimeFormatOptions;
resolvedOptions(): Intl.ResolvedDateTimeFormatOptions;
}
//# sourceMappingURL=types.d.ts.map
{
"name": "@internationalized/date",
"version": "3.0.0-nightly-a98da553e-241116",
"version": "3.0.0-nightly-b3a4d6c11-241119",
"description": "Internationalized calendar, date, and time manipulation utilities",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -15,6 +15,2 @@ /*

interface ResolvedDateTimeFormatOptions extends Intl.ResolvedDateTimeFormatOptions {
hourCycle?: Intl.DateTimeFormatOptions['hourCycle']
}
interface DateRangeFormatPart extends Intl.DateTimeFormatPart {

@@ -83,4 +79,4 @@ source: 'startRange' | 'endRange' | 'shared'

/** Returns the resolved formatting options based on the values passed to the constructor. */
resolvedOptions(): ResolvedDateTimeFormatOptions {
let resolvedOptions = this.formatter.resolvedOptions() as ResolvedDateTimeFormatOptions;
resolvedOptions(): Intl.ResolvedDateTimeFormatOptions {
let resolvedOptions = this.formatter.resolvedOptions();
if (hasBuggyResolvedHourCycle()) {

@@ -161,6 +157,6 @@ if (!this.resolvedHourCycle) {

if (_hasBuggyResolvedHourCycle == null) {
_hasBuggyResolvedHourCycle = (new Intl.DateTimeFormat('fr', {
_hasBuggyResolvedHourCycle = new Intl.DateTimeFormat('fr', {
hour: 'numeric',
hour12: false
}).resolvedOptions() as ResolvedDateTimeFormatOptions).hourCycle === 'h12';
}).resolvedOptions().hourCycle === 'h12';
}

@@ -167,0 +163,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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