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

@shopify/address

Package Overview
Dependencies
Maintainers
27
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 4.0.6 to 4.0.7

4

build/cjs/utilities.js

@@ -8,2 +8,4 @@ 'use strict';

const FIELD_REGEXP = /({\w+})/g;
/* eslint-disable @typescript-eslint/naming-convention */
const FIELDS_MAPPING = {

@@ -21,2 +23,4 @@ '{firstName}': addressConsts.FieldName.FirstName,

};
/* eslint-enable @typescript-eslint/naming-convention */
/*

@@ -23,0 +27,0 @@ * Returns empty string if all replacement fields are empty.

2

build/ts/AddressFormatter.d.ts

@@ -1,2 +0,2 @@

import { Address, FieldName, Country } from '@shopify/address-consts';
import type { Address, FieldName, Country } from '@shopify/address-consts';
export default class AddressFormatter {

@@ -3,0 +3,0 @@ private locale;

@@ -1,2 +0,2 @@

import { Address, Country, FieldName } from '@shopify/address-consts';
import type { Address, Country, FieldName } from '@shopify/address-consts';
/**

@@ -3,0 +3,0 @@ * When it's time to render any address, use this function so that it's properly

@@ -1,1 +0,1 @@

module.exports = require("./build/cjs/index.js");
module.exports = require("./build/cjs/index.js");
{
"name": "@shopify/address",
"version": "4.0.6",
"version": "4.0.7",
"license": "MIT",

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

"devDependencies": {
"@shopify/address-mocks": "^3.1.3",
"@shopify/jest-dom-mocks": "^4.0.1"
"@shopify/address-mocks": "^3.1.6",
"@shopify/jest-dom-mocks": "^4.1.1"
},

@@ -30,0 +30,0 @@ "sideEffects": false,

@@ -13,3 +13,3 @@ # `@shopify/address`

```bash
$ yarn add @shopify/address
yarn add @shopify/address
```

@@ -16,0 +16,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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