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

react-svg-worldmap

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-svg-worldmap - npm Package Compare versions

Comparing version 1.0.38 to 1.0.39

7

CHANGELOG.md

@@ -72,2 +72,7 @@ # CHANGELOG

* Contribution thanks to [GoncaloGarcia]: https://github.com/GoncaloGarcia
* Allow setting background color and strokeOpacity as props
* Allow setting background color and strokeOpacity as props
## 1.0.39
* Added README gif and fixed errors in README
* Fixed errors in the localization example due to a mismatch of data and title

2

package.json
{
"name": "react-svg-worldmap",
"version": "1.0.38",
"version": "1.0.39",
"license": "MIT",

@@ -5,0 +5,0 @@ "displayName": "React Worldmap",

@@ -6,2 +6,4 @@ # react-svg-worldmap [![License: MIT](https://img.shields.io/badge/license-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://img.shields.io/npm/v/react-svg-worldmap.svg?style=flat)](https://www.npmjs.com/package/react-svg-worldmap) [![Demo: Simple Example](https://img.shields.io/badge/demo-live-red.svg)](https://react-svg-worldmap-simple-example.imfast.io)

![simple example](https://raw.githubusercontent.com/yanivam/react-svg-worldmap/master/simple-example.gif)
~~~tsx

@@ -16,3 +18,3 @@ import { WorldMap } from "react-svg-worldmap"

...
<WorldMap color="red" title="This is My Map" size="lg" data={data} />
<WorldMap color="green" title="This is My Map" size="lg" data={data} />
~~~

@@ -31,3 +33,3 @@

It all started with a fun project that I was building and needed to draw simple yet beautiful world's map. Searching for solutions I found many potential solutions like MapBox and Google Maps, but they were "too smart" for what I needed. They needed to "call home" for the data, they supported tons of options I didn't need, and while they included react-integrations, they were not completely native to the react world. There was definitely something missing. And that's when react-world-countries-map started.
It all started with a fun project that I was building and needed to draw simple yet beautiful world's map. Searching for solutions I found many potential solutions like MapBox and Google Maps, but they were "too smart" for what I needed. They needed to "call home" for the data, they supported tons of options I didn't need, and while they included react-integrations, they were not completely native to the react world. There was definitely something missing. And that's when react-svg-worldmap started.

@@ -44,3 +46,3 @@ ## Install

Explore the example folder for a simple case for an end-to-end react app using the react-world-countries-map.
Explore the example folder for a simple case for an end-to-end react app using the react-svg-worldmap.

@@ -47,0 +49,0 @@ Here is a simple example:

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