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

date-fns

Package Overview
Dependencies
Maintainers
2
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

date-fns - npm Package Compare versions

Comparing version 2.0.0-beta.2 to 2.0.0-beta.3

esm/locale/cy/_lib/formatDistance/index.js

14

docs/i18n.md

@@ -50,3 +50,5 @@ # Internationalization

export default function (date, formatStr) {
// by providing a default string of 'PP' or any of its variants for `formatStr`
// it will format dates in whichever way is appropriate to the locale
export default function (date, formatStr = 'PP') {
return format(date, formatStr, {

@@ -68,2 +70,12 @@ locale: locales[window.__localeId__] // or global.__localeId__

//=> 'vendredo 13'
// If the format string is omitted, it will take the default for the locale.
window.__localeId__ = 'en'
format(friday13)
//=> Jul 13, 2019
window.__localeId__ = 'eo'
format(friday13)
//=> 2019-jul-13
```

@@ -70,0 +82,0 @@

@@ -1,2 +0,12 @@

console.log(`
const env = process.env
const CI = is(env.CI)
const DISABLE_OPENCOLLECTIVE = is(env.DISABLE_OPENCOLLECTIVE)
const SILENT = ['silent', 'error', 'warn'].includes(env.npm_config_loglevel)
function is(it) {
return !!it && it !== '0' && it !== 'false'
}
if (!CI && !DISABLE_OPENCOLLECTIVE && !SILENT) {
console.log(`
🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

@@ -14,1 +24,2 @@

`)
}

4

docs/timeZones.md

@@ -101,3 +101,3 @@ # Time Zones

- [Installation and Getting Started](https://github.com/prantlf/date-fns-timezone#installation-and-getting-started)
- [Usage Scenarios](https://github.com/prantlf/date-fns-timezone/docs/usage.md#usage-scenarios)
- [API Reference](https://github.com/prantlf/date-fns-timezone/docs/API.md#api-reference)
- [Usage Scenarios](https://github.com/prantlf/date-fns-timezone/blob/master/docs/usage.md#usage-scenarios)
- [API Reference](https://github.com/prantlf/date-fns-timezone/blob/master/docs/API.md#api-reference)

@@ -8,2 +8,3 @@ // This file is generated automatically by `scripts/build/indices.js`. Please, don't change it.

export { default as cs } from './cs/index.js';
export { default as cy } from './cy/index.js';
export { default as da } from './da/index.js';

@@ -28,2 +29,3 @@ export { default as de } from './de/index.js';

export { default as ja } from './ja/index.js';
export { default as ka } from './ka/index.js';
export { default as ko } from './ko/index.js';

@@ -30,0 +32,0 @@ export { default as lt } from './lt/index.js';

import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index.js';
var formatLong = buildFormatLongFn({
LT: 'HH:mm',
LTS: 'HH:mm:ss',
L: 'DD/MM/YYYY',
LL: 'D MMMM YYYY',
LLL: 'D MMMM YYYY HH:mm',
LLLL: 'dddd, D MMMM YYYY HH:mm'
});
var dateFormats = {
full: 'EEEE, do MMMM, y',
long: 'do, MMMM, y',
medium: 'd, MMM, y',
short: 'dd/MM/yyyy'
};
var timeFormats = {
full: 'h:mm:ss a zzzz',
long: 'h:mm:ss a z',
medium: 'h:mm:ss a',
short: 'h:mm a'
};
var dateTimeFormats = {
full: "{{date}} {{time}}'-ზე'",
long: "{{date}} {{time}}'-ზე'",
medium: '{{date}}, {{time}}',
short: '{{date}}, {{time}}'
};
var formatLong = {
date: buildFormatLongFn({
formats: dateFormats,
defaultWidth: 'full'
}),
time: buildFormatLongFn({
formats: timeFormats,
defaultWidth: 'full'
}),
dateTime: buildFormatLongFn({
formats: dateTimeFormats,
defaultWidth: 'full'
})
};
export default formatLong;
var formatRelativeLocale = {
lastWeek: '[წინა] dddd LT[-ზე]',
yesterday: '[გუშინ] LT[-ზე]',
today: '[დღეს] LT[-ზე]',
tomorrow: '[ხვალ] LT[-ზე]',
nextWeek: '[შემდეგი] dddd LT[-ზე]',
lastWeek: "'წინა' eeee LT'-ზე'",
yesterday: "'გუშინ' LT'-ზე'",
today: "'დღეს' LT'-ზე'",
tomorrow: "'ხვალ' LT'-ზე'",
nextWeek: "'შემდეგი' eeee LT'-ზე'",
other: 'L'

@@ -8,0 +8,0 @@ };

@@ -1,45 +0,90 @@

import buildLocalizeArrayFn from '../../../_lib/buildLocalizeArrayFn/index.js';
import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js'; // Note: in English, the names of days of the week and months are capitalized.
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
// Generally, formatted dates should look like they are in the middle of a sentence,
// e.g. in Spanish language the weekdays and months should be in the lowercase.
import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js';
var eraValues = {
narrow: ['ჩ.წ-მდე', 'ჩ.წ'],
abbreviated: ['ჩვ.წ-მდე', 'ჩვ.წ'],
wide: ['ჩვენს წელთაღრიცხვამდე', 'ჩვენი წელთაღრიცხვით']
};
var quarterValues = {
narrow: ['1', '2', '3', '4'],
abbreviated: ['1-ლი კვ', '2-ე კვ', '3-ე კვ', '4-ე კვ'],
wide: ['1-ლი კვარტალი', '2-ე კვარტალი', '3-ე კვარტალი', '4-ე კვარტალი'] // Note: in English, the names of days of the week and months are capitalized.
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
// Generally, formatted dates should look like they are in the middle of a sentence,
// e.g. in Spanish language the weekdays and months should be in the lowercase.
var weekdayValues = {
};
var monthValues = {
narrow: ['ია', 'თე', 'მა', 'აპ', 'მს', 'ვნ', 'ვლ', 'აგ', 'სე', 'ოქ', 'ნო', 'დე'],
abbreviated: ['იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ'],
wide: ['იანვარი', 'თებერვალი', 'მარტი', 'აპრილი', 'მაისი', 'ივნისი', 'ივლისი', 'აგვისტო', 'სექტემბერი', 'ოქტომბერი', 'ნოემბერი', 'დეკემბერი']
};
var dayValues = {
narrow: ['კვ', 'ორ', 'სა', 'ოთ', 'ხუ', 'პა', 'შა'],
short: ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'],
long: ['კვირა', 'ორშაბათი', 'სამშაბათი', 'ოთხშაბათი', 'ხუთშაბათი', 'პარასკევი', 'შაბათი']
abbreviated: ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'],
wide: ['კვირა', 'ორშაბათი', 'სამშაბათი', 'ოთხშაბათი', 'ხუთშაბათი', 'პარასკევი', 'შაბათი']
};
var monthValues = {
short: ['იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ'],
long: ['იანვარი', 'თებერვალი', 'მარტი', 'აპრილი', 'მაისი', 'ივნისი', 'ივლისი', 'აგვისტო', 'სექტემბერი', 'ოქტომბერი', 'ნოემბერი', 'დეკემბერი'] // `timeOfDay` is used to designate which part of the day it is, when used with 12-hour clock.
// Use the system which is used the most commonly in the locale.
// For example, if the country doesn't use a.m./p.m., you can use `night`/`morning`/`afternoon`/`evening`:
//
// var timeOfDayValues = {
// any: ['in the night', 'in the morning', 'in the afternoon', 'in the evening']
// }
//
// And later:
//
// var localize = {
// // The callback takes the hours as the argument and returns the array index
// timeOfDay: buildLocalizeFn(timeOfDayValues, 'any', function (hours) {
// if (hours >= 17) {
// return 3
// } else if (hours >= 12) {
// return 2
// } else if (hours >= 4) {
// return 1
// } else {
// return 0
// }
// }),
// timesOfDay: buildLocalizeArrayFn(timeOfDayValues, 'any')
// }
var dayPeriodValues = {
narrow: {
am: 'a',
pm: 'p',
midnight: 'შუაღამე',
noon: 'შუადღე',
morning: 'დილა',
afternoon: 'საღამო',
evening: 'საღამო',
night: 'ღამე'
},
abbreviated: {
am: 'AM',
pm: 'PM',
midnight: 'შუაღამე',
noon: 'შუადღე',
morning: 'დილა',
afternoon: 'საღამო',
evening: 'საღამო',
night: 'ღამე'
},
wide: {
am: 'a.m.',
pm: 'p.m.',
midnight: 'შუაღამე',
noon: 'შუადღე',
morning: 'დილა',
afternoon: 'საღამო',
evening: 'საღამო',
night: 'ღამე'
}
};
var timeOfDayValues = {
uppercase: ['AM', 'PM'],
lowercase: ['am', 'pm'],
long: ['a.m.', 'p.m.']
var formattingDayPeriodValues = {
narrow: {
am: 'a',
pm: 'p',
midnight: 'შუაღამით',
noon: 'შუადღისას',
morning: 'დილით',
afternoon: 'ნაშუადღევს',
evening: 'საღამოს',
night: 'ღამით'
},
abbreviated: {
am: 'AM',
pm: 'PM',
midnight: 'შუაღამით',
noon: 'შუადღისას',
morning: 'დილით',
afternoon: 'ნაშუადღევს',
evening: 'საღამოს',
night: 'ღამით'
},
wide: {
am: 'a.m.',
pm: 'p.m.',
midnight: 'შუაღამით',
noon: 'შუადღისას',
morning: 'დილით',
afternoon: 'ნაშუადღევს',
evening: 'საღამოს',
night: 'ღამით'
}
};

@@ -55,4 +100,4 @@

//
// where `unit` can be 'month', 'quarter', 'week', 'isoWeek', 'dayOfYear',
// 'dayOfMonth' or 'dayOfWeek'
// where `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',
// 'day', 'hour', 'minute', 'second'

@@ -68,11 +113,28 @@ if (number === 1) {

ordinalNumber: ordinalNumber,
weekday: buildLocalizeFn(weekdayValues, 'long'),
weekdays: buildLocalizeArrayFn(weekdayValues, 'long'),
month: buildLocalizeFn(monthValues, 'long'),
months: buildLocalizeArrayFn(monthValues, 'long'),
timeOfDay: buildLocalizeFn(timeOfDayValues, 'long', function (hours) {
return hours / 12 >= 1 ? 1 : 0;
era: buildLocalizeFn({
values: eraValues,
defaultWidth: 'wide'
}),
timesOfDay: buildLocalizeArrayFn(timeOfDayValues, 'long')
quarter: buildLocalizeFn({
values: quarterValues,
defaultWidth: 'wide',
argumentCallback: function (quarter) {
return Number(quarter) - 1;
}
}),
month: buildLocalizeFn({
values: monthValues,
defaultWidth: 'wide'
}),
day: buildLocalizeFn({
values: dayValues,
defaultWidth: 'wide'
}),
dayPeriod: buildLocalizeFn({
values: dayPeriodValues,
defaultWidth: 'wide',
formattingValues: formattingDayPeriodValues,
defaultFormattingWidth: 'wide'
})
};
export default localize;

@@ -0,7 +1,28 @@

import buildMatchPatternFn from '../../../_lib/buildMatchPatternFn/index.js';
import buildMatchFn from '../../../_lib/buildMatchFn/index.js';
import buildParseFn from '../../../_lib/buildParseFn/index.js';
import buildMatchPatternFn from '../../../_lib/buildMatchPatternFn/index.js';
import parseDecimal from '../../../_lib/parseDecimal/index.js';
var matchOrdinalNumbersPattern = /^(\d+)(-ლი|-ე)?/i;
var matchWeekdaysPatterns = {
var matchOrdinalNumberPattern = /^(\d+)(-ლი|-ე)?/i;
var parseOrdinalNumberPattern = /\d+/i;
var matchEraPatterns = {
narrow: /^(ჩვ?\.წ)/i,
abbreviated: /^(ჩვ?\.წ)/i,
wide: /^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i
};
var parseEraPatterns = {
any: [/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i, /^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i]
};
var matchQuarterPatterns = {
narrow: /^[1234]/i,
abbreviated: /^[1234]-(ლი|ე)? კვ/i,
wide: /^[1234]-(ლი|ე)? კვარტალი/i
};
var parseQuarterPatterns = {
any: [/1/i, /2/i, /3/i, /4/i]
};
var matchMonthPatterns = {
any: /^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i
};
var parseMonthPatterns = {
any: [/^ია/i, /^თ/i, /^მარ/i, /^აპ/i, /^მაი/i, /^ი?ვნ/i, /^ი?ვლ/i, /^აგ/i, /^ს/i, /^ო/i, /^ნ/i, /^დ/i]
};
var matchDayPatterns = {
narrow: /^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,

@@ -11,40 +32,62 @@ short: /^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,

};
var parseWeekdayPatterns = {
any: [/^კ/i, /^ორ/i, /^ს/i, /^ოთ/i, /^ხ/i, /^პ/i, /^შ/i]
var parseDayPatterns = {
any: [/^კვ/i, /^ორ/i, /^სა/i, /^ოთ/i, /^ხუ/i, /^პა/i, /^შა/i]
};
var matchMonthsPatterns = {
short: /^(იან|თებ|მარ|აპრ|მაი|ივნ|ივლ|აგვ|სექ|ოქტ|ნოე|დეკ)/i,
long: /^(იანვარი|თებერვალი|მარტი|აპრილი|მაისი|ივნისი|ივლისი|აგვისტო|სექტემბერი|ოქტომბერი|ნოემბერი|დეკემბერი)/i
var matchDayPeriodPatterns = {
any: /^([ap]\.?\s?m\.?|შუაღ|დილ)/i
};
var parseMonthPatterns = {
any: [/^ია/i, /^თ/i, /^მარ/i, /^აპ/i, /^მაი/i, /^ივნ/i, /^ივლ/i, /^აგ/i, /^ს/i, /^ო/i, /^ნ/i, /^დ/i] // `timeOfDay` is used to designate which part of the day it is, when used with 12-hour clock.
// Use the system which is used the most commonly in the locale.
// For example, if the country doesn't use a.m./p.m., you can use `night`/`morning`/`afternoon`/`evening`:
//
// var matchTimesOfDayPatterns = {
// long: /^((in the)? (night|morning|afternoon|evening?))/i
// }
//
// var parseTimeOfDayPatterns = {
// any: [/(night|morning)/i, /(afternoon|evening)/i]
// }
var parseDayPeriodPatterns = {
any: {
am: /^a/i,
pm: /^p/i,
midnight: /^შუაღ/i,
noon: /^შუადღ/i,
morning: /^დილ/i,
afternoon: /ნაშუადღევს/i,
evening: /საღამო/i,
night: /ღამ/i
}
};
var matchTimesOfDayPatterns = {
short: /^(am|pm)/i,
long: /^([ap]\.?\s?m\.?)/i
};
var parseTimeOfDayPatterns = {
any: [/^a/i, /^p/i]
};
var match = {
ordinalNumbers: buildMatchPatternFn(matchOrdinalNumbersPattern),
ordinalNumber: parseDecimal,
weekdays: buildMatchFn(matchWeekdaysPatterns, 'long'),
weekday: buildParseFn(parseWeekdayPatterns, 'any'),
months: buildMatchFn(matchMonthsPatterns, 'long'),
month: buildParseFn(parseMonthPatterns, 'any'),
timesOfDay: buildMatchFn(matchTimesOfDayPatterns, 'long'),
timeOfDay: buildParseFn(parseTimeOfDayPatterns, 'any')
ordinalNumber: buildMatchPatternFn({
matchPattern: matchOrdinalNumberPattern,
parsePattern: parseOrdinalNumberPattern,
valueCallback: function (value) {
return parseInt(value, 10);
}
}),
era: buildMatchFn({
matchPatterns: matchEraPatterns,
defaultMatchWidth: 'wide',
parsePatterns: parseEraPatterns,
defaultParseWidth: 'any'
}),
quarter: buildMatchFn({
matchPatterns: matchQuarterPatterns,
defaultMatchWidth: 'wide',
parsePatterns: parseQuarterPatterns,
defaultParseWidth: 'any',
valueCallback: function (index) {
return index + 1;
}
}),
month: buildMatchFn({
matchPatterns: matchMonthPatterns,
defaultMatchWidth: 'wide',
parsePatterns: parseMonthPatterns,
defaultParseWidth: 'any'
}),
day: buildMatchFn({
matchPatterns: matchDayPatterns,
defaultMatchWidth: 'wide',
parsePatterns: parseDayPatterns,
defaultParseWidth: 'any'
}),
dayPeriod: buildMatchFn({
matchPatterns: matchDayPeriodPatterns,
defaultMatchWidth: 'any',
parsePatterns: parseDayPeriodPatterns,
defaultParseWidth: 'any'
})
};
export default match;

@@ -1,7 +0,6 @@

// import formatDistance from './_lib/formatDistance/index.js'
// import formatLong from './_lib/formatLong/index.js'
// import formatRelative from './_lib/formatRelative/index.js'
// import localize from './_lib/localize/index.js'
// import match from './_lib/match/index.js'
import formatDistance from './_lib/formatDistance/index.js';
import formatLong from './_lib/formatLong/index.js';
import formatRelative from './_lib/formatRelative/index.js';
import localize from './_lib/localize/index.js';
import match from './_lib/match/index.js';
/**

@@ -14,15 +13,18 @@ * @type {Locale}

* @author Lado Lomidze [@Landish]{@link https://github.com/Landish}
* @author Nick Shvelidze [@shvelo]{@link https://github.com/shvelo}
*/
// var locale = {
// formatDistance: formatDistance,
// formatLong: formatLong,
// formatRelative: formatRelative,
// localize: localize,
// match: match,
// options: {
// weekStartsOn: 1 /* Monday */,
// firstWeekContainsDate: 1
// }
// }
// export default locale
throw new Error('ka locale is currently unavailable. Please check the progress of converting this locale to v2.0.0 in this issue on Github: TBA');
var locale = {
formatDistance: formatDistance,
formatLong: formatLong,
formatRelative: formatRelative,
localize: localize,
match: match,
options: {
weekStartsOn: 1
/* Monday */
,
firstWeekContainsDate: 1
}
};
export default locale;

@@ -42,3 +42,3 @@ "use strict";

});
Object.defineProperty(exports, "da", {
Object.defineProperty(exports, "cy", {
enumerable: true,

@@ -49,3 +49,3 @@ get: function () {

});
Object.defineProperty(exports, "de", {
Object.defineProperty(exports, "da", {
enumerable: true,

@@ -56,3 +56,3 @@ get: function () {

});
Object.defineProperty(exports, "el", {
Object.defineProperty(exports, "de", {
enumerable: true,

@@ -63,3 +63,3 @@ get: function () {

});
Object.defineProperty(exports, "enCA", {
Object.defineProperty(exports, "el", {
enumerable: true,

@@ -70,3 +70,3 @@ get: function () {

});
Object.defineProperty(exports, "enGB", {
Object.defineProperty(exports, "enCA", {
enumerable: true,

@@ -77,3 +77,3 @@ get: function () {

});
Object.defineProperty(exports, "enUS", {
Object.defineProperty(exports, "enGB", {
enumerable: true,

@@ -84,3 +84,3 @@ get: function () {

});
Object.defineProperty(exports, "eo", {
Object.defineProperty(exports, "enUS", {
enumerable: true,

@@ -91,3 +91,3 @@ get: function () {

});
Object.defineProperty(exports, "es", {
Object.defineProperty(exports, "eo", {
enumerable: true,

@@ -98,3 +98,3 @@ get: function () {

});
Object.defineProperty(exports, "et", {
Object.defineProperty(exports, "es", {
enumerable: true,

@@ -105,3 +105,3 @@ get: function () {

});
Object.defineProperty(exports, "faIR", {
Object.defineProperty(exports, "et", {
enumerable: true,

@@ -112,3 +112,3 @@ get: function () {

});
Object.defineProperty(exports, "fi", {
Object.defineProperty(exports, "faIR", {
enumerable: true,

@@ -119,3 +119,3 @@ get: function () {

});
Object.defineProperty(exports, "fr", {
Object.defineProperty(exports, "fi", {
enumerable: true,

@@ -126,3 +126,3 @@ get: function () {

});
Object.defineProperty(exports, "gl", {
Object.defineProperty(exports, "fr", {
enumerable: true,

@@ -133,3 +133,3 @@ get: function () {

});
Object.defineProperty(exports, "he", {
Object.defineProperty(exports, "gl", {
enumerable: true,

@@ -140,3 +140,3 @@ get: function () {

});
Object.defineProperty(exports, "hu", {
Object.defineProperty(exports, "he", {
enumerable: true,

@@ -147,3 +147,3 @@ get: function () {

});
Object.defineProperty(exports, "id", {
Object.defineProperty(exports, "hu", {
enumerable: true,

@@ -154,3 +154,3 @@ get: function () {

});
Object.defineProperty(exports, "is", {
Object.defineProperty(exports, "id", {
enumerable: true,

@@ -161,3 +161,3 @@ get: function () {

});
Object.defineProperty(exports, "it", {
Object.defineProperty(exports, "is", {
enumerable: true,

@@ -168,3 +168,3 @@ get: function () {

});
Object.defineProperty(exports, "ja", {
Object.defineProperty(exports, "it", {
enumerable: true,

@@ -175,3 +175,3 @@ get: function () {

});
Object.defineProperty(exports, "ko", {
Object.defineProperty(exports, "ja", {
enumerable: true,

@@ -182,3 +182,3 @@ get: function () {

});
Object.defineProperty(exports, "lt", {
Object.defineProperty(exports, "ka", {
enumerable: true,

@@ -189,3 +189,3 @@ get: function () {

});
Object.defineProperty(exports, "lv", {
Object.defineProperty(exports, "ko", {
enumerable: true,

@@ -196,3 +196,3 @@ get: function () {

});
Object.defineProperty(exports, "nb", {
Object.defineProperty(exports, "lt", {
enumerable: true,

@@ -203,3 +203,3 @@ get: function () {

});
Object.defineProperty(exports, "nl", {
Object.defineProperty(exports, "lv", {
enumerable: true,

@@ -210,3 +210,3 @@ get: function () {

});
Object.defineProperty(exports, "nn", {
Object.defineProperty(exports, "nb", {
enumerable: true,

@@ -217,3 +217,3 @@ get: function () {

});
Object.defineProperty(exports, "pl", {
Object.defineProperty(exports, "nl", {
enumerable: true,

@@ -224,3 +224,3 @@ get: function () {

});
Object.defineProperty(exports, "pt", {
Object.defineProperty(exports, "nn", {
enumerable: true,

@@ -231,3 +231,3 @@ get: function () {

});
Object.defineProperty(exports, "ptBR", {
Object.defineProperty(exports, "pl", {
enumerable: true,

@@ -238,3 +238,3 @@ get: function () {

});
Object.defineProperty(exports, "ro", {
Object.defineProperty(exports, "pt", {
enumerable: true,

@@ -245,3 +245,3 @@ get: function () {

});
Object.defineProperty(exports, "ru", {
Object.defineProperty(exports, "ptBR", {
enumerable: true,

@@ -252,3 +252,3 @@ get: function () {

});
Object.defineProperty(exports, "sk", {
Object.defineProperty(exports, "ro", {
enumerable: true,

@@ -259,3 +259,3 @@ get: function () {

});
Object.defineProperty(exports, "sv", {
Object.defineProperty(exports, "ru", {
enumerable: true,

@@ -266,3 +266,3 @@ get: function () {

});
Object.defineProperty(exports, "th", {
Object.defineProperty(exports, "sk", {
enumerable: true,

@@ -273,3 +273,3 @@ get: function () {

});
Object.defineProperty(exports, "tr", {
Object.defineProperty(exports, "sv", {
enumerable: true,

@@ -280,3 +280,3 @@ get: function () {

});
Object.defineProperty(exports, "ug", {
Object.defineProperty(exports, "th", {
enumerable: true,

@@ -287,3 +287,3 @@ get: function () {

});
Object.defineProperty(exports, "uk", {
Object.defineProperty(exports, "tr", {
enumerable: true,

@@ -294,3 +294,3 @@ get: function () {

});
Object.defineProperty(exports, "vi", {
Object.defineProperty(exports, "ug", {
enumerable: true,

@@ -301,3 +301,3 @@ get: function () {

});
Object.defineProperty(exports, "zhCN", {
Object.defineProperty(exports, "uk", {
enumerable: true,

@@ -308,3 +308,3 @@ get: function () {

});
Object.defineProperty(exports, "zhTW", {
Object.defineProperty(exports, "vi", {
enumerable: true,

@@ -315,2 +315,14 @@ get: function () {

});
Object.defineProperty(exports, "zhCN", {
enumerable: true,
get: function () {
return _index46.default;
}
});
Object.defineProperty(exports, "zhTW", {
enumerable: true,
get: function () {
return _index47.default;
}
});

@@ -329,80 +341,84 @@ var _index = _interopRequireDefault(require("./af/index.js"));

var _index7 = _interopRequireDefault(require("./da/index.js"));
var _index7 = _interopRequireDefault(require("./cy/index.js"));
var _index8 = _interopRequireDefault(require("./de/index.js"));
var _index8 = _interopRequireDefault(require("./da/index.js"));
var _index9 = _interopRequireDefault(require("./el/index.js"));
var _index9 = _interopRequireDefault(require("./de/index.js"));
var _index10 = _interopRequireDefault(require("./en-CA/index.js"));
var _index10 = _interopRequireDefault(require("./el/index.js"));
var _index11 = _interopRequireDefault(require("./en-GB/index.js"));
var _index11 = _interopRequireDefault(require("./en-CA/index.js"));
var _index12 = _interopRequireDefault(require("./en-US/index.js"));
var _index12 = _interopRequireDefault(require("./en-GB/index.js"));
var _index13 = _interopRequireDefault(require("./eo/index.js"));
var _index13 = _interopRequireDefault(require("./en-US/index.js"));
var _index14 = _interopRequireDefault(require("./es/index.js"));
var _index14 = _interopRequireDefault(require("./eo/index.js"));
var _index15 = _interopRequireDefault(require("./et/index.js"));
var _index15 = _interopRequireDefault(require("./es/index.js"));
var _index16 = _interopRequireDefault(require("./fa-IR/index.js"));
var _index16 = _interopRequireDefault(require("./et/index.js"));
var _index17 = _interopRequireDefault(require("./fi/index.js"));
var _index17 = _interopRequireDefault(require("./fa-IR/index.js"));
var _index18 = _interopRequireDefault(require("./fr/index.js"));
var _index18 = _interopRequireDefault(require("./fi/index.js"));
var _index19 = _interopRequireDefault(require("./gl/index.js"));
var _index19 = _interopRequireDefault(require("./fr/index.js"));
var _index20 = _interopRequireDefault(require("./he/index.js"));
var _index20 = _interopRequireDefault(require("./gl/index.js"));
var _index21 = _interopRequireDefault(require("./hu/index.js"));
var _index21 = _interopRequireDefault(require("./he/index.js"));
var _index22 = _interopRequireDefault(require("./id/index.js"));
var _index22 = _interopRequireDefault(require("./hu/index.js"));
var _index23 = _interopRequireDefault(require("./is/index.js"));
var _index23 = _interopRequireDefault(require("./id/index.js"));
var _index24 = _interopRequireDefault(require("./it/index.js"));
var _index24 = _interopRequireDefault(require("./is/index.js"));
var _index25 = _interopRequireDefault(require("./ja/index.js"));
var _index25 = _interopRequireDefault(require("./it/index.js"));
var _index26 = _interopRequireDefault(require("./ko/index.js"));
var _index26 = _interopRequireDefault(require("./ja/index.js"));
var _index27 = _interopRequireDefault(require("./lt/index.js"));
var _index27 = _interopRequireDefault(require("./ka/index.js"));
var _index28 = _interopRequireDefault(require("./lv/index.js"));
var _index28 = _interopRequireDefault(require("./ko/index.js"));
var _index29 = _interopRequireDefault(require("./nb/index.js"));
var _index29 = _interopRequireDefault(require("./lt/index.js"));
var _index30 = _interopRequireDefault(require("./nl/index.js"));
var _index30 = _interopRequireDefault(require("./lv/index.js"));
var _index31 = _interopRequireDefault(require("./nn/index.js"));
var _index31 = _interopRequireDefault(require("./nb/index.js"));
var _index32 = _interopRequireDefault(require("./pl/index.js"));
var _index32 = _interopRequireDefault(require("./nl/index.js"));
var _index33 = _interopRequireDefault(require("./pt/index.js"));
var _index33 = _interopRequireDefault(require("./nn/index.js"));
var _index34 = _interopRequireDefault(require("./pt-BR/index.js"));
var _index34 = _interopRequireDefault(require("./pl/index.js"));
var _index35 = _interopRequireDefault(require("./ro/index.js"));
var _index35 = _interopRequireDefault(require("./pt/index.js"));
var _index36 = _interopRequireDefault(require("./ru/index.js"));
var _index36 = _interopRequireDefault(require("./pt-BR/index.js"));
var _index37 = _interopRequireDefault(require("./sk/index.js"));
var _index37 = _interopRequireDefault(require("./ro/index.js"));
var _index38 = _interopRequireDefault(require("./sv/index.js"));
var _index38 = _interopRequireDefault(require("./ru/index.js"));
var _index39 = _interopRequireDefault(require("./th/index.js"));
var _index39 = _interopRequireDefault(require("./sk/index.js"));
var _index40 = _interopRequireDefault(require("./tr/index.js"));
var _index40 = _interopRequireDefault(require("./sv/index.js"));
var _index41 = _interopRequireDefault(require("./ug/index.js"));
var _index41 = _interopRequireDefault(require("./th/index.js"));
var _index42 = _interopRequireDefault(require("./uk/index.js"));
var _index42 = _interopRequireDefault(require("./tr/index.js"));
var _index43 = _interopRequireDefault(require("./vi/index.js"));
var _index43 = _interopRequireDefault(require("./ug/index.js"));
var _index44 = _interopRequireDefault(require("./zh-CN/index.js"));
var _index44 = _interopRequireDefault(require("./uk/index.js"));
var _index45 = _interopRequireDefault(require("./zh-TW/index.js"));
var _index45 = _interopRequireDefault(require("./vi/index.js"));
var _index46 = _interopRequireDefault(require("./zh-CN/index.js"));
var _index47 = _interopRequireDefault(require("./zh-TW/index.js"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
{
"name": "date-fns",
"version": "2.0.0-beta.2",
"version": "2.0.0-beta.3",
"sideEffects": false,

@@ -5,0 +5,0 @@ "contributors": ["Sasha Koss <koss@nocorp.me>", "Lesha Koss <regiusprod@gmail.com>"],

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