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

@phensley/cldr-types

Package Overview
Dependencies
Maintainers
0
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phensley/cldr-types - npm Package Compare versions

Comparing version 1.2.17 to 1.2.18

14

lib-es/calendars.d.ts

@@ -10,3 +10,3 @@ /**

*/
export declare const enum DateTimePatternField {
export declare enum DateTimePatternField {
YEAR = "y",

@@ -27,3 +27,3 @@ MONTH = "M",

*/
export declare const enum DayPeriod {
export declare enum DayPeriod {
NOON = "noon",

@@ -49,3 +49,3 @@ MIDNIGHT = "midnight",

*/
export declare const enum EraWidth {
export declare enum EraWidth {
NAMES = "names",

@@ -62,3 +62,3 @@ ABBR = "abbr",

*/
export declare const enum FieldWidth {
export declare enum FieldWidth {
ABBREVIATED = "abbreviated",

@@ -76,3 +76,3 @@ NARROW = "narrow",

*/
export declare const enum FormatWidth {
export declare enum FormatWidth {
SHORT = "short",

@@ -90,3 +90,3 @@ MEDIUM = "medium",

*/
export declare const enum Quarter {
export declare enum Quarter {
FIRST = "1",

@@ -104,3 +104,3 @@ SECOND = "2",

*/
export declare const enum Weekday {
export declare enum Weekday {
SUNDAY = "1",

@@ -107,0 +107,0 @@ MONDAY = "2",

@@ -1,2 +0,84 @@

export {};
/**
* @public
*/
export var DateTimePatternField;
(function (DateTimePatternField) {
DateTimePatternField["YEAR"] = "y";
DateTimePatternField["MONTH"] = "M";
DateTimePatternField["DAY"] = "d";
DateTimePatternField["DAYPERIOD"] = "a";
DateTimePatternField["HOUR"] = "H";
DateTimePatternField["MINUTE"] = "m";
DateTimePatternField["SECOND"] = "s";
})(DateTimePatternField || (DateTimePatternField = {}));
/**
* @public
*/
export var DayPeriod;
(function (DayPeriod) {
DayPeriod["NOON"] = "noon";
DayPeriod["MIDNIGHT"] = "midnight";
DayPeriod["AM"] = "am";
DayPeriod["PM"] = "pm";
DayPeriod["MORNING1"] = "morning1";
DayPeriod["MORNING2"] = "morning2";
DayPeriod["AFTERNOON1"] = "afternoon1";
DayPeriod["AFTERNOON2"] = "afternoon2";
DayPeriod["EVENING1"] = "evening1";
DayPeriod["EVENING2"] = "evening2";
DayPeriod["NIGHT1"] = "night1";
DayPeriod["NIGHT2"] = "night2";
})(DayPeriod || (DayPeriod = {}));
/**
* @public
*/
export var EraWidth;
(function (EraWidth) {
EraWidth["NAMES"] = "names";
EraWidth["ABBR"] = "abbr";
EraWidth["NARROW"] = "narrow";
})(EraWidth || (EraWidth = {}));
/**
* @public
*/
export var FieldWidth;
(function (FieldWidth) {
FieldWidth["ABBREVIATED"] = "abbreviated";
FieldWidth["NARROW"] = "narrow";
FieldWidth["SHORT"] = "short";
FieldWidth["WIDE"] = "wide";
})(FieldWidth || (FieldWidth = {}));
/**
* @public
*/
export var FormatWidth;
(function (FormatWidth) {
FormatWidth["SHORT"] = "short";
FormatWidth["MEDIUM"] = "medium";
FormatWidth["LONG"] = "long";
FormatWidth["FULL"] = "full";
})(FormatWidth || (FormatWidth = {}));
/**
* @public
*/
export var Quarter;
(function (Quarter) {
Quarter["FIRST"] = "1";
Quarter["SECOND"] = "2";
Quarter["THIRD"] = "3";
Quarter["FOURTH"] = "4";
})(Quarter || (Quarter = {}));
/**
* @public
*/
export var Weekday;
(function (Weekday) {
Weekday["SUNDAY"] = "1";
Weekday["MONDAY"] = "2";
Weekday["TUESDAY"] = "3";
Weekday["WEDNESDAY"] = "4";
Weekday["THURSDAY"] = "5";
Weekday["FRIDAY"] = "6";
Weekday["SATURDAY"] = "7";
})(Weekday || (Weekday = {}));
//# sourceMappingURL=calendars.js.map

@@ -13,3 +13,3 @@ /**

*/
export declare const enum DateField {
export declare enum DateField {
ERA = "era",

@@ -45,3 +45,3 @@ YEAR = "year",

*/
export declare const enum DateFieldWidth {
export declare enum DateFieldWidth {
SHORT = "short",

@@ -58,3 +58,3 @@ NARROW = "narrow",

*/
export declare const enum RelativeTimeField {
export declare enum RelativeTimeField {
YEAR = "year",

@@ -61,0 +61,0 @@ QUARTER = "quarter",

@@ -1,2 +0,59 @@

export {};
/**
* @public
*/
export var DateField;
(function (DateField) {
DateField["ERA"] = "era";
DateField["YEAR"] = "year";
DateField["QUARTER"] = "quarter";
DateField["MONTH"] = "month";
DateField["WEEK"] = "week";
DateField["WEEK_OF_MONTH"] = "weekOfMonth";
DateField["DAY"] = "day";
DateField["DAY_OF_YEAR"] = "dayOfYear";
DateField["WEEKDAY"] = "weekday";
DateField["WEEKDAY_OF_MONTH"] = "weekdayOfMonth";
DateField["SUN"] = "sun";
DateField["MON"] = "mon";
DateField["TUE"] = "tue";
DateField["WED"] = "wed";
DateField["THU"] = "thu";
DateField["FRI"] = "fri";
DateField["SAT"] = "sat";
DateField["DAY_PERIOD"] = "dayperiod";
DateField["HOUR"] = "hour";
DateField["MINUTE"] = "minute";
DateField["SECOND"] = "second";
DateField["ZONE"] = "zone";
})(DateField || (DateField = {}));
/**
* @public
*/
export var DateFieldWidth;
(function (DateFieldWidth) {
DateFieldWidth["SHORT"] = "short";
DateFieldWidth["NARROW"] = "narrow";
DateFieldWidth["WIDE"] = "wide";
})(DateFieldWidth || (DateFieldWidth = {}));
/**
* @public
*/
export var RelativeTimeField;
(function (RelativeTimeField) {
RelativeTimeField["YEAR"] = "year";
RelativeTimeField["QUARTER"] = "quarter";
RelativeTimeField["MONTH"] = "month";
RelativeTimeField["WEEK"] = "week";
RelativeTimeField["DAY"] = "day";
RelativeTimeField["SUN"] = "sun";
RelativeTimeField["MON"] = "mon";
RelativeTimeField["TUE"] = "tue";
RelativeTimeField["WED"] = "wed";
RelativeTimeField["THU"] = "thu";
RelativeTimeField["FRI"] = "fri";
RelativeTimeField["SAT"] = "sat";
RelativeTimeField["HOUR"] = "hour";
RelativeTimeField["MINUTE"] = "minute";
RelativeTimeField["SECOND"] = "second";
})(RelativeTimeField || (RelativeTimeField = {}));
//# sourceMappingURL=datefields.js.map

@@ -10,3 +10,3 @@ /**

*/
export declare const enum DateTimePatternField {
export declare enum DateTimePatternField {
YEAR = "y",

@@ -27,3 +27,3 @@ MONTH = "M",

*/
export declare const enum DayPeriod {
export declare enum DayPeriod {
NOON = "noon",

@@ -49,3 +49,3 @@ MIDNIGHT = "midnight",

*/
export declare const enum EraWidth {
export declare enum EraWidth {
NAMES = "names",

@@ -62,3 +62,3 @@ ABBR = "abbr",

*/
export declare const enum FieldWidth {
export declare enum FieldWidth {
ABBREVIATED = "abbreviated",

@@ -76,3 +76,3 @@ NARROW = "narrow",

*/
export declare const enum FormatWidth {
export declare enum FormatWidth {
SHORT = "short",

@@ -90,3 +90,3 @@ MEDIUM = "medium",

*/
export declare const enum Quarter {
export declare enum Quarter {
FIRST = "1",

@@ -104,3 +104,3 @@ SECOND = "2",

*/
export declare const enum Weekday {
export declare enum Weekday {
SUNDAY = "1",

@@ -107,0 +107,0 @@ MONDAY = "2",

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Weekday = exports.Quarter = exports.FormatWidth = exports.FieldWidth = exports.EraWidth = exports.DayPeriod = exports.DateTimePatternField = void 0;
/**
* @public
*/
var DateTimePatternField;
(function (DateTimePatternField) {
DateTimePatternField["YEAR"] = "y";
DateTimePatternField["MONTH"] = "M";
DateTimePatternField["DAY"] = "d";
DateTimePatternField["DAYPERIOD"] = "a";
DateTimePatternField["HOUR"] = "H";
DateTimePatternField["MINUTE"] = "m";
DateTimePatternField["SECOND"] = "s";
})(DateTimePatternField = exports.DateTimePatternField || (exports.DateTimePatternField = {}));
/**
* @public
*/
var DayPeriod;
(function (DayPeriod) {
DayPeriod["NOON"] = "noon";
DayPeriod["MIDNIGHT"] = "midnight";
DayPeriod["AM"] = "am";
DayPeriod["PM"] = "pm";
DayPeriod["MORNING1"] = "morning1";
DayPeriod["MORNING2"] = "morning2";
DayPeriod["AFTERNOON1"] = "afternoon1";
DayPeriod["AFTERNOON2"] = "afternoon2";
DayPeriod["EVENING1"] = "evening1";
DayPeriod["EVENING2"] = "evening2";
DayPeriod["NIGHT1"] = "night1";
DayPeriod["NIGHT2"] = "night2";
})(DayPeriod = exports.DayPeriod || (exports.DayPeriod = {}));
/**
* @public
*/
var EraWidth;
(function (EraWidth) {
EraWidth["NAMES"] = "names";
EraWidth["ABBR"] = "abbr";
EraWidth["NARROW"] = "narrow";
})(EraWidth = exports.EraWidth || (exports.EraWidth = {}));
/**
* @public
*/
var FieldWidth;
(function (FieldWidth) {
FieldWidth["ABBREVIATED"] = "abbreviated";
FieldWidth["NARROW"] = "narrow";
FieldWidth["SHORT"] = "short";
FieldWidth["WIDE"] = "wide";
})(FieldWidth = exports.FieldWidth || (exports.FieldWidth = {}));
/**
* @public
*/
var FormatWidth;
(function (FormatWidth) {
FormatWidth["SHORT"] = "short";
FormatWidth["MEDIUM"] = "medium";
FormatWidth["LONG"] = "long";
FormatWidth["FULL"] = "full";
})(FormatWidth = exports.FormatWidth || (exports.FormatWidth = {}));
/**
* @public
*/
var Quarter;
(function (Quarter) {
Quarter["FIRST"] = "1";
Quarter["SECOND"] = "2";
Quarter["THIRD"] = "3";
Quarter["FOURTH"] = "4";
})(Quarter = exports.Quarter || (exports.Quarter = {}));
/**
* @public
*/
var Weekday;
(function (Weekday) {
Weekday["SUNDAY"] = "1";
Weekday["MONDAY"] = "2";
Weekday["TUESDAY"] = "3";
Weekday["WEDNESDAY"] = "4";
Weekday["THURSDAY"] = "5";
Weekday["FRIDAY"] = "6";
Weekday["SATURDAY"] = "7";
})(Weekday = exports.Weekday || (exports.Weekday = {}));
//# sourceMappingURL=calendars.js.map

@@ -13,3 +13,3 @@ /**

*/
export declare const enum DateField {
export declare enum DateField {
ERA = "era",

@@ -45,3 +45,3 @@ YEAR = "year",

*/
export declare const enum DateFieldWidth {
export declare enum DateFieldWidth {
SHORT = "short",

@@ -58,3 +58,3 @@ NARROW = "narrow",

*/
export declare const enum RelativeTimeField {
export declare enum RelativeTimeField {
YEAR = "year",

@@ -61,0 +61,0 @@ QUARTER = "quarter",

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RelativeTimeField = exports.DateFieldWidth = exports.DateField = void 0;
/**
* @public
*/
var DateField;
(function (DateField) {
DateField["ERA"] = "era";
DateField["YEAR"] = "year";
DateField["QUARTER"] = "quarter";
DateField["MONTH"] = "month";
DateField["WEEK"] = "week";
DateField["WEEK_OF_MONTH"] = "weekOfMonth";
DateField["DAY"] = "day";
DateField["DAY_OF_YEAR"] = "dayOfYear";
DateField["WEEKDAY"] = "weekday";
DateField["WEEKDAY_OF_MONTH"] = "weekdayOfMonth";
DateField["SUN"] = "sun";
DateField["MON"] = "mon";
DateField["TUE"] = "tue";
DateField["WED"] = "wed";
DateField["THU"] = "thu";
DateField["FRI"] = "fri";
DateField["SAT"] = "sat";
DateField["DAY_PERIOD"] = "dayperiod";
DateField["HOUR"] = "hour";
DateField["MINUTE"] = "minute";
DateField["SECOND"] = "second";
DateField["ZONE"] = "zone";
})(DateField = exports.DateField || (exports.DateField = {}));
/**
* @public
*/
var DateFieldWidth;
(function (DateFieldWidth) {
DateFieldWidth["SHORT"] = "short";
DateFieldWidth["NARROW"] = "narrow";
DateFieldWidth["WIDE"] = "wide";
})(DateFieldWidth = exports.DateFieldWidth || (exports.DateFieldWidth = {}));
/**
* @public
*/
var RelativeTimeField;
(function (RelativeTimeField) {
RelativeTimeField["YEAR"] = "year";
RelativeTimeField["QUARTER"] = "quarter";
RelativeTimeField["MONTH"] = "month";
RelativeTimeField["WEEK"] = "week";
RelativeTimeField["DAY"] = "day";
RelativeTimeField["SUN"] = "sun";
RelativeTimeField["MON"] = "mon";
RelativeTimeField["TUE"] = "tue";
RelativeTimeField["WED"] = "wed";
RelativeTimeField["THU"] = "thu";
RelativeTimeField["FRI"] = "fri";
RelativeTimeField["SAT"] = "sat";
RelativeTimeField["HOUR"] = "hour";
RelativeTimeField["MINUTE"] = "minute";
RelativeTimeField["SECOND"] = "second";
})(RelativeTimeField = exports.RelativeTimeField || (exports.RelativeTimeField = {}));
//# sourceMappingURL=datefields.js.map
{
"name": "@phensley/cldr-types",
"version": "1.2.17",
"version": "1.2.18",
"description": "Types shared among packages in the @phensley/cldr library",

@@ -73,3 +73,3 @@ "main": "lib/index.js",

},
"gitHead": "493391bfaf1c23ebbda0ad85493619f58a1b1d14"
"gitHead": "0f74a79462e68d618a596402d19bd1947038d680"
}

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