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

@uiw/react-amap-api-loader

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-amap-api-loader - npm Package Compare versions

Comparing version 2.5.1 to 2.6.0

1

cjs/index.d.ts

@@ -54,2 +54,3 @@ import React, { Component } from 'react';

static defaultProps: {
protocol: string;
akay: string;

@@ -56,0 +57,0 @@ hostAndPath: string;

@@ -243,2 +243,3 @@ "use strict";

(0, _defineProperty2["default"])(APILoader, "defaultProps", {
protocol: /^file:/.test(window.location.protocol) ? 'https' : window.location.protocol,
akay: '',

@@ -245,0 +246,0 @@ hostAndPath: 'webapi.amap.com/maps',

@@ -54,2 +54,3 @@ import React, { Component } from 'react';

static defaultProps: {
protocol: string;
akay: string;

@@ -56,0 +57,0 @@ hostAndPath: string;

@@ -150,2 +150,3 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";

APILoader.defaultProps = {
protocol: /^file:/.test(window.location.protocol) ? 'https' : window.location.protocol,
akay: '',

@@ -152,0 +153,0 @@ hostAndPath: 'webapi.amap.com/maps',

6

package.json
{
"name": "@uiw/react-amap-api-loader",
"version": "2.5.1",
"version": "2.6.0",
"description": "用于加载高德地图 SDK 依赖,加载完成,全局将会有 **`window.AMap`** 对象。",

@@ -36,4 +36,4 @@ "homepage": "https://uiwjs.github.io/react-amap/#/api-loader",

"dependencies": {
"@uiw/react-amap-require-script": "2.5.1",
"@uiw/react-amap-types": "2.5.1"
"@uiw/react-amap-require-script": "2.6.0",
"@uiw/react-amap-types": "2.6.0"
},

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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