timezone-js-ts
Advanced tools
Comparing version
@@ -0,1 +1,3 @@ | ||
const fs = require('fs'); | ||
/** | ||
@@ -21,2 +23,6 @@ * Get timezone of particular places | ||
module.exports = { getCurrentTime }; | ||
function getAllTimezones() { | ||
return fs.readFileSync('./all_timezone_lists.json').toLocaleString(); | ||
} | ||
module.exports = { getCurrentTime, getAllTimezones }; |
{ | ||
"name": "timezone-js-ts", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
14454
580.83%8
33.33%661
1059.65%3
200%1
Infinity%