Socket
Socket
Sign inDemoInstall

@uiw/react-amap-utils

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

Comparing version 7.0.0 to 7.0.1

8

cjs/usePortal.js

@@ -40,4 +40,8 @@ "use strict";

var remove = function remove(elm) {
var _ref$current;
elm && ((_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.unmount());
// https://stackoverflow.com/a/74445760/1334703
var timeout = setTimeout(function () {
var _ref$current;
elm && ((_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.unmount());
clearTimeout(timeout);
});
};

@@ -44,0 +48,0 @@ return {

@@ -24,4 +24,8 @@ import React, { useState, useEffect, useRef } from 'react';

var remove = elm => {
var _ref$current;
elm && ((_ref$current = ref.current) == null ? void 0 : _ref$current.unmount());
// https://stackoverflow.com/a/74445760/1334703
var timeout = setTimeout(() => {
var _ref$current;
elm && ((_ref$current = ref.current) == null ? void 0 : _ref$current.unmount());
clearTimeout(timeout);
});
};

@@ -28,0 +32,0 @@ return {

{
"name": "@uiw/react-amap-utils",
"version": "7.0.0",
"version": "7.0.1",
"description": "基于 React 封装的高德地图组件。AMap Component Based On React.",

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

"dependencies": {
"@uiw/react-amap-types": "7.0.0"
"@uiw/react-amap-types": "7.0.1"
}
}

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