countryflag
Advanced tools
Comparing version 2.3.1 to 2.3.2
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' |
{ | ||
"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" | ||
} | ||
} |
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
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
3431
74
0
3
+ Addedcore-js@^3.1.4
+ Addedcore-js@3.39.0(transitive)