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 6.0.0 to 6.0.1

2

cjs/usePolygon.js

@@ -25,3 +25,3 @@ "use strict";

setPolygon = _useState2[1];
(0, _react.useEffect)(function () {
(0, _react.useLayoutEffect)(function () {
if (!AMap || !map) return;

@@ -28,0 +28,0 @@ if (!polygon) {

import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
var _excluded = ["visiable"];
import { useState, useEffect } from 'react';
import { useState, useEffect, useLayoutEffect } from 'react';
import { useVisiable, useEventProperties, useSettingProperties } from '@uiw/react-amap-utils';

@@ -19,3 +19,3 @@ import { useMapContext } from '@uiw/react-amap-map';

var [polygon, setPolygon] = useState();
useEffect(() => {
useLayoutEffect(() => {
if (!AMap || !map) return;

@@ -22,0 +22,0 @@ if (!polygon) {

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

@@ -38,4 +38,4 @@ "funding": "https://jaywcjlove.github.io/#/sponsor",

"dependencies": {
"@uiw/react-amap-map": "6.0.0",
"@uiw/react-amap-utils": "6.0.0"
"@uiw/react-amap-map": "6.0.1",
"@uiw/react-amap-utils": "6.0.1"
},

@@ -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