🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

js-joda-timezone

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-joda-timezone - npm Package Compare versions

Comparing version

to
2.1.0

dist/js-joda-timezone-10-year-range.d.ts

5

CHANGELOG.md

@@ -6,2 +6,7 @@ Changelog

### 2.1.0
* produce smaller builds containing a more limited set of timezone data #73
* updated to iana tzdb 2019a #73
### 2.0.2

@@ -8,0 +13,0 @@

2

dist/js-joda-timezone-empty.js

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

//! @version js-joda-timezone-2.0.2
//! @version js-joda-timezone-2.1.0
//! @copyright (c) 2015-present, Philipp Thürwächter, Pattrick Hüper & js-joda contributors

@@ -3,0 +3,0 @@ //! @license BSD-3-Clause (see LICENSE in the root directory of this source tree)

{
"name": "js-joda-timezone",
"version": "2.0.2",
"version": "2.1.0",
"description": "iana tzdb timezone bindings for js-joda",

@@ -23,2 +23,3 @@ "typings": "dist/js-joda-timezone.d.ts",

"build-dist": "./node_modules/.bin/webpack --progress --colors --bail",
"transform-data": "node ./transform-data.js",
"lint": "./node_modules/.bin/eslint ."

@@ -54,6 +55,7 @@ },

"chai": "^4.1.2",
"copy-webpack-plugin": "^5.0.3",
"coveralls": "^3.0.1",
"esdoc": "^1.1.0",
"esdoc-standard-plugin": "^1.0.0",
"eslint": "^4.19.1",
"eslint": "^6.0.0",
"eslint-config-js-joda": "^1.0.0",

@@ -60,0 +62,0 @@ "js-joda": "^1.9.1",

@@ -78,2 +78,13 @@ # js-joda-timezone

## Reducing js-joda-timezone file size
If you don't need all the historical data that js-joda-timezone provides, you can instead use one of the reduced files ize builds:
* `js-joda-timezone-10-year-range.js` covers +- five years from the current version's release
* `js-joda-timezone-1970-2030.js` covers from 1970 to 2030
* `js-joda-timezone-2012-2022.js` covers from 2012 to 2022
To use one of these, just change your import path to the following format:
import 'js-joda-timezone/dist/js-joda-timezone-1970-2030'
## Implementation details

@@ -90,4 +101,4 @@

* The packed json version of the iana tzdb is imported from [moment-timezone](https://github.com/moment/moment-timezone) package.
* The json versions of the iana tzdb are imported from and generated with [moment-timezone](https://github.com/moment/moment-timezone).

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

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