countryflag
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -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) |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3144
69
1