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.0 to 2.3.1

5

index.js

@@ -8,4 +8,3 @@ import countries from './countries'

// Well if Bhutan is supported I think we're good to go
// const supportsEmojiFlags = ifEmoji('🇧🇹')
const supportsEmojiFlags = true
const supportsEmojiFlags = ifEmoji('🇧🇹')

@@ -29,3 +28,3 @@ const countryflag = iso => {

}
if (country === undefined) {

@@ -32,0 +31,0 @@ throw new Error('Could not find a country corresponding to provided ISO:', iso)

2

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

@@ -6,0 +6,0 @@ "license": "MIT",

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