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

cross-mp-power

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cross-mp-power - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

3

esm/index.js

@@ -434,3 +434,4 @@ const memoize = (func)=>{

}
if (typeof BUILD_TARGET === 'string' ? BUILD_TARGET === 'swan' : getApiVarName() === 'swan' && selector.split('.').length > 2) {
const isSwan = typeof BUILD_TARGET === 'string' ? BUILD_TARGET === 'swan' : getApiVarName() === 'swan';
if (isSwan && selector.split('.').length > 2) {
console.warn('百度小程序平台下使用多个class选择器获取boundingClientRect时可能拿不到数据,建议换成单个class或者id选择器');

@@ -437,0 +438,0 @@ }

{
"name": "cross-mp-power",
"version": "0.2.1",
"version": "0.2.2",
"description": "跨平台小程序能力封装",

@@ -5,0 +5,0 @@ "main": "esm/index.js",

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