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

iana-tz-data

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iana-tz-data - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

converter/latest.json

4

converter/index.js

@@ -8,9 +8,9 @@ var momentTimezoneJson = require("./latest.json");

momentTimezoneJson.zones.forEach(({name, abbrs, untils, offsets}) => {
momentTimezoneJson.zones.forEach(({name, abbrs, untils, offsets, isdsts}) => {
name = name.split('/');
name.slice(0, -1).reduce(function (tree, item) {
return tree[item] || (tree[item] = {});
}, output.zoneData)[name.slice(-1)[0]] = {abbrs, untils, offsets};
}, output.zoneData)[name.slice(-1)[0]] = {abbrs, untils, offsets, isdsts};
})
console.log(JSON.stringify(output, null, 2));
{
"name": "iana-tz-data",
"version": "0.0.1",
"version": "0.0.2",
"keywords": [

@@ -5,0 +5,0 @@ "IANA",

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