New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@js-joda/locale

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@js-joda/locale - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

8

CHANGELOG.md

@@ -6,2 +6,6 @@ @js-joda/locale Changelog

### 4.2.1
* [#560](https://github.com/js-joda/js-joda/pull/560) Add RFC_1123_DATE_TIME to locale ts definition ([@pithu](https://github.com/pithu))
### 4.2.0

@@ -69,3 +73,3 @@

The function for extending js-joda is not exported anymore.
The code for extending js-joda `use(plug)` is not required anymore, because js-joda-locale automaticaly extends
The code for extending js-joda `use(plug)` is not required anymore, because @js-joda/locale automaticaly extends
js-joda when imported.

@@ -78,3 +82,3 @@ However, using `Locale` now requires extracting it from the `@js-joda/locale` module instead of `js-joda`

* add prebuilt packages to main js-joda-locale package (e.g. @js-joda/locale/dist/prebuilt/de/js-joda-locale, ...)
* add prebuilt packages to main @js-joda/locale package (e.g. @js-joda/locale/dist/prebuilt/de/js-joda-locale, ...)

@@ -81,0 +85,0 @@ ### 1.0.0

@@ -30,2 +30,6 @@ export class Locale {

declare module '@js-joda/core' {
namespace DateTimeFormatter {
export const RFC_1123_DATE_TIME: DateTimeFormatter;
}
export interface DateTimeFormatter {

@@ -32,0 +36,0 @@ withLocale(locale: Locale): DateTimeFormatter;

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

//! @version @js-joda/locale - 4.2.0
//! @version @js-joda/locale - 4.2.1
//! @copyright (c) 2015-2016, Philipp Thürwächter, Pattrick Hüper & js-joda contributors

@@ -3,0 +3,0 @@ //! @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos

{
"name": "@js-joda/locale",
"version": "4.2.0",
"version": "4.2.1",
"description": "plugin for locale functionality for js-joda",

@@ -57,4 +57,4 @@ "repository": {

"devDependencies": {
"@js-joda/core": "^4.2.0",
"@js-joda/timezone": "^2.7.0",
"@js-joda/core": "^4.2.1",
"@js-joda/timezone": "^2.7.1",
"cldr-data": "^36.0.0",

@@ -65,3 +65,3 @@ "cldrjs": "^0.5.5"

"cldr-data-urls-filter": "(cldr-core|cldr-numbers-modern|cldr-dates-modern)",
"gitHead": "cf3ac61c80c0e1f4cc6092022858ce04884ab41a"
"gitHead": "485c4b2be852563615e2d2a8c3f0bca22d86bcd4"
}

@@ -64,3 +64,3 @@ # @js-joda/locale

The implementation of `@js-joda/locale` also requires `js-joda-timezone` package e.g. to parse and output timezone names and offsets
The implementation of `@js-joda/locale` also requires `@js-joda/timezone` package e.g. to parse and output timezone names and offsets

@@ -79,3 +79,3 @@ ### Node

To enable js-joda-locale you will only need to require it, requiring it automatically registers the locale extensions in the base `js-joda`
To enable @js-joda/locale you will only need to require it, requiring it automatically registers the locale extensions in the base `js-joda`
Note: the `Locale` class is exported by `@js-joda/locale` so in order to use it, you will need to extract it from there.

@@ -86,3 +86,3 @@

```
since `js-joda-locale` requires `js-joda-timezone` it will also need to be provided, as shown
since `@js-joda/locale` requires `@js-joda/timezone` it will also need to be provided, as shown
in the following examples

@@ -158,3 +158,3 @@

(data-coverage `core` only downloads data for the most popular languages / locales, while the urls-filter defines
which parts of cldr-data are required for `js-joda-locale` to work)
which parts of cldr-data are required for `@js-joda/locale` to work)

@@ -187,3 +187,3 @@ In e.g. webpack.config.js, define which parts/locales of the cldr-data files should end up in the final package

where modulesDir is the absolute path to `node_modules` and `locales` is an array of locales to use as they can be defined
for the prebuilt packages. This will only load the absolutely required files for js-joda-locale, it is what we use internally
for the prebuilt packages. This will only load the absolutely required files for @js-joda/locale, it is what we use internally
for the prebuilt packages and to build packages for our karma tests as well.

@@ -205,3 +205,3 @@

These should be the minimum required parts for js-joda-locale
These should be the minimum required parts for @js-joda/locale

@@ -234,8 +234,8 @@ see the [karma.conf.js](karma.conf.js)

some of these are only partially localized, e.g. `Q` only if three or more `Q` are used, one or two `Q` also
work with plain `js-joda` without using `js-joda-locale`
work with plain `@js-joda/core` without using `@js-joda/locale`
## License
* js-joda-locale is released under the [BSD 3-clause license](LICENSE)
* @js-joda/locale is released under the [BSD 3-clause license](LICENSE)
* The author of joda time and the lead architect of the JSR-310 is Stephen Colebourne.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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