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

react-world-flags

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-world-flags - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

17

package.json
{
"name": "react-world-flags",
"version": "1.2.3",
"version": "1.2.4",
"description": "SVG flags of the world for react",

@@ -15,3 +15,10 @@ "main": "dist/react-world-flags.js",

},
"keywords": ["react", "reactjs", "world", "flag", "flags", "svg"],
"keywords": [
"react",
"reactjs",
"world",
"flag",
"flags",
"svg"
],
"author": "SMU",

@@ -24,4 +31,3 @@ "license": "MIT",

"dependencies": {
"svg-country-flags":
"git@github.com:hjnilsson/country-flags.git#43451d226fcd9946d9db78aed470a18a81b4d2c6",
"svg-country-flags": "^1.2.3",
"world-countries": "^2.0.0"

@@ -60,5 +66,4 @@ },

"build-demo": "webpack --config docs/webpack.config.js",
"pre-publish":
"npm run gen && npm run lint && npm run test && npm run build && npm run build-demo"
"pre-publish": "npm run gen && npm run lint && npm run test && npm run build && npm run build-demo"
}
}

@@ -23,3 +23,3 @@ # react-world-flags

You can also pass an optional `fallback` which renders if the given country code you are trying to render doesn't exist:
You can also pass an optional `fallback` which renders if the given code doesn't correspond to a flag:

@@ -26,0 +26,0 @@ ```javascript

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