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

@uiw/react-amap-polygon

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-polygon - npm Package Compare versions

Comparing version 5.0.8 to 5.0.9

5

cjs/usePolygon.js

@@ -48,2 +48,7 @@ "use strict";

}, [map]);
(0, _react.useEffect)(function () {
if (polygon) {
polygon.setOptions(other);
}
}, [polygon, other]);
(0, _reactAmapUtils.useVisiable)(polygon, visiable);

@@ -50,0 +55,0 @@ (0, _reactAmapUtils.useSettingProperties)(polygon, props, ['Path', 'Options', 'Map', 'ExtData', 'Draggable']);

@@ -42,2 +42,7 @@ import _extends from "@babel/runtime/helpers/extends";

}, [map]);
useEffect(() => {
if (polygon) {
polygon.setOptions(other);
}
}, [polygon, other]);
useVisiable(polygon, visiable);

@@ -44,0 +49,0 @@ useSettingProperties(polygon, props, ['Path', 'Options', 'Map', 'ExtData', 'Draggable']);

10

package.json
{
"name": "@uiw/react-amap-polygon",
"version": "5.0.8",
"version": "5.0.9",
"description": "构造多边形对象,通过 PolygonOptions 指定多边形样式。",

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

"dependencies": {
"@uiw/react-amap-map": "5.0.8",
"@uiw/react-amap-utils": "5.0.8"
"@uiw/react-amap-map": "5.0.9",
"@uiw/react-amap-utils": "5.0.9"
},
"devDependencies": {
"@types/react": "~18.0.0",
"@types/react-dom": "~18.0.0"
"@types/react": "^18.2.16",
"@types/react-dom": "^18.2.7"
}
}

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