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

zip-to-timezone

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zip-to-timezone - npm Package Compare versions

Comparing version 1.0.18 to 1.0.19

3

index.js

@@ -32,3 +32,4 @@ "use strict";

}
let fileContents = yield fs.readFileSync(`./src/${fileName}.yml`, 'utf8');
const filePath = process.cwd();
let fileContents = yield fs.readFileSync(`${filePath}/src/${fileName}.yml`, 'utf8');
let data = yaml.safeLoad(fileContents);

@@ -35,0 +36,0 @@ for (const [timezone] of Object.entries(data)) {

@@ -18,3 +18,4 @@ const fs = require('fs');

}
let fileContents = await fs.readFileSync(`./src/${fileName}.yml`, 'utf8');
const filePath = process.cwd();
let fileContents = await fs.readFileSync(`${filePath}/src/${fileName}.yml`, 'utf8');
let data = yaml.safeLoad(fileContents);

@@ -21,0 +22,0 @@ for (const [timezone] of Object.entries(data)) {

{
"name": "zip-to-timezone",
"version": "1.0.18",
"version": "1.0.19",
"description": "",
"main": "index.js",
"scripts": {
"test": "node index.js",
"upload": "npm version patch && npm publish"
},
"repository": {
"type": "git",
"url": "http://git@github.com:pmmonier/zipToTz.git"
},
"author": "Pedro Monier",

@@ -10,0 +15,0 @@ "license": "ISC",

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