timezone-js-ts
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14454
8
661
3
1