Socket
Socket
Sign inDemoInstall

@uiw/react-amap-weather

Package Overview
Dependencies
8
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.14 to 5.0.15

5

cjs/index.js

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

});
var Weather = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
var Weather = exports.Weather = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
var _useWeather = (0, _useWeather2.useWeather)(props),

@@ -36,3 +36,2 @@ weather = _useWeather.weather;

return null;
});
exports.Weather = Weather;
});

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

var _react = require("react");
var useWeather = function useWeather() {
var useWeather = exports.useWeather = function useWeather() {
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

@@ -58,3 +58,2 @@ var _props$city = props.city,

};
};
exports.useWeather = useWeather;
};

6

package.json
{
"name": "@uiw/react-amap-weather",
"version": "5.0.14",
"version": "5.0.15",
"description": "天气查询服务,根据城市名称或区域编码返回城市天气预报信息,包括实时天气信息和四天天气预报。",

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

"dependencies": {
"@uiw/react-amap-map": "5.0.14",
"@uiw/react-amap-utils": "5.0.14"
"@uiw/react-amap-map": "5.0.15",
"@uiw/react-amap-utils": "5.0.15"
},

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc