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

@shopify/address

Package Overview
Dependencies
Maintainers
10
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/address - npm Package Compare versions

Comparing version 2.4.3 to 2.4.4

3

dist/loader.js

@@ -149,2 +149,5 @@ "use strict";

}
else if (exports.SUPPORTED_LOCALES.includes(supportedLocale.substring(0, 2))) {
return supportedLocale.substring(0, 2);
}
else {

@@ -151,0 +154,0 @@ return DEFAULT_LOCALE;

4

package.json
{
"name": "@shopify/address",
"version": "2.4.3",
"version": "2.4.4",
"license": "MIT",

@@ -26,3 +26,3 @@ "description": "Address utilities for formatting addresses.",

"devDependencies": {
"@shopify/address-mocks": "^1.0.4",
"@shopify/address-mocks": "^1.0.5",
"@shopify/jest-dom-mocks": "^2.1.0",

@@ -29,0 +29,0 @@ "typescript": "~3.0.1"

@@ -101,2 +101,4 @@ import {

return supportedLocale;
} else if (SUPPORTED_LOCALES.includes(supportedLocale.substring(0, 2))) {
return supportedLocale.substring(0, 2);
} else {

@@ -103,0 +105,0 @@ return DEFAULT_LOCALE;

@@ -223,2 +223,6 @@ import {fetch} from '@shopify/jest-dom-mocks';

});
it('returns most similar locale available if complex', () => {
expect(toSupportedLocale('fr-FR')).toEqual('FR');
});
});
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