Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@depay/local-currency

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@depay/local-currency - npm Package Compare versions

Comparing version 3.5.1 to 3.5.2

2

dist/esm/index.js

@@ -436,3 +436,3 @@ var timezoneToCurrency = {

static getCode(timeZone) {
return timezoneToCurrency[timeZone || Currency.timeZone()] || 'USD'
return window._LocalCurrencyCode || timezoneToCurrency[timeZone || Currency.timeZone()] || 'USD'
}

@@ -439,0 +439,0 @@

@@ -442,3 +442,3 @@ (function (global, factory) {

static getCode(timeZone) {
return timezoneToCurrency[timeZone || Currency.timeZone()] || 'USD'
return window._LocalCurrencyCode || timezoneToCurrency[timeZone || Currency.timeZone()] || 'USD'
}

@@ -445,0 +445,0 @@

{
"name": "@depay/local-currency",
"moduleName": "LocalCurrency",
"version": "3.5.1",
"version": "3.5.2",
"description": "JavaScript library that detects user's local currency and provides functionalities to convert between multiple currencies.",

@@ -6,0 +6,0 @@ "main": "dist/umd/index.js",

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