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

countryflag

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

countryflag - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

6

index.js
import countries from './countries'
import ifEmoji from 'if-emoji'
// IE polyfills
import 'core-js/stable/string/from-code-point'
import 'core-js/stable/string/code-point-at'
import 'core-js/stable/string/repeat'
import 'core-js/stable/array/find'
const CODEPOINT_OFFSET = 127397

@@ -5,0 +11,0 @@ const BASE_SVG_PATH_TEMPLATE = 'https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.2.1/flags/4x3/{iso2}.svg'

11

package.json
{
"name": "countryflag",
"description": "return an emoji flag or possible fallbacks for a given iso2 code",
"version": "2.3.1",
"version": "2.3.2",
"main": "index.js",

@@ -9,3 +9,5 @@ "license": "MIT",

"postinstall": "./scripts/getCountries.js",
"dist": "rollup --config rollup.config.js --watch"
"build": "rollup --config rollup.config.js",
"prepublish": "yarn build",
"dev": "rollup --config rollup.config.js --watch"
},

@@ -18,5 +20,6 @@ "devDependencies": {

"dependencies": {
"world-countries": "^2.1.0",
"if-emoji": "^0.1.0"
"core-js": "^3.1.4",
"if-emoji": "^0.1.0",
"world-countries": "^2.1.0"
}
}
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