Socket
Socket
Sign inDemoInstall

@copart/front-end-utils

Package Overview
Dependencies
14
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "@copart/front-end-utils",
"version": "0.0.2",
"version": "0.0.3",
"description": "All front end utility methods live here",

@@ -5,0 +5,0 @@ "main": "dist/frontendutil.cjs.js",

@@ -30,3 +30,3 @@ import { readFileSync } from 'fs';

react: 'React',
ramda: 'ramda',
ramda: 'R',
},

@@ -33,0 +33,0 @@ };

@@ -139,2 +139,17 @@ /* eslint-disable no-useless-escape */

export const countryCodeToDialCodeMapper = (countryCode = '') => {
switch (countryCode.toLowerCase()) {
case 'de':
case 'deu':
return '49'
case 'es':
case 'esp':
return '34'
case 'in':
case 'ind':
return '91'
default:
}
}
export const zipLengths = (countryCode = 'USA') =>

@@ -141,0 +156,0 @@ ({

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc