New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@uiw/react-amap-circle

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-amap-circle - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

10

cjs/useCircle.js

@@ -32,6 +32,8 @@ "use strict";

return function () {
if (circle) {
map && map.remove(circle);
setCircle(undefined);
}
setCircle(function (circle) {
if (circle) {
map && map.remove(circle);
}
return undefined;
});
};

@@ -38,0 +40,0 @@ }, [map]);

@@ -26,6 +26,8 @@ import _extends from "@babel/runtime/helpers/extends";

return () => {
if (circle) {
map && map.remove(circle);
setCircle(undefined);
}
setCircle(circle => {
if (circle) {
map && map.remove(circle);
}
return undefined;
});
};

@@ -32,0 +34,0 @@ }, [map]);

8

package.json
{
"name": "@uiw/react-amap-circle",
"version": "5.0.1",
"version": "5.0.2",
"description": "构造圆形对象,通过 CircleOptions 指定多边形样式",

@@ -37,5 +37,5 @@ "homepage": "https://uiwjs.github.io/react-amap/#/circle",

"dependencies": {
"@uiw/react-amap-map": "5.0.1",
"@uiw/react-amap-types": "5.0.1",
"@uiw/react-amap-utils": "5.0.1"
"@uiw/react-amap-map": "5.0.2",
"@uiw/react-amap-types": "5.0.2",
"@uiw/react-amap-utils": "5.0.2"
},

@@ -42,0 +42,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

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