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.1.6 to 0.1.7

8

esm/index.js

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

if ('getAccountInfoSync' in my) {
var _my_getAccountInfoSync_miniProgram, _my_getAccountInfoSync;
res = (_my_getAccountInfoSync = my.getAccountInfoSync()) === null || _my_getAccountInfoSync === void 0 ? void 0 : (_my_getAccountInfoSync_miniProgram = _my_getAccountInfoSync.miniProgram) === null || _my_getAccountInfoSync_miniProgram === void 0 ? void 0 : _my_getAccountInfoSync_miniProgram.envVersion;
var _my_getAccountInfoSync;
res = (_my_getAccountInfoSync = my.getAccountInfoSync()) === null || _my_getAccountInfoSync === void 0 ? void 0 : _my_getAccountInfoSync.miniProgram;
}

@@ -279,4 +279,4 @@ if (!res && typeof __appxStartupParams === 'object') {

if ('getAccountInfoSync' in apiVar) {
var _apiVar_getAccountInfoSync_miniProgram, _apiVar_getAccountInfoSync;
res = (_apiVar_getAccountInfoSync = apiVar.getAccountInfoSync()) === null || _apiVar_getAccountInfoSync === void 0 ? void 0 : (_apiVar_getAccountInfoSync_miniProgram = _apiVar_getAccountInfoSync.miniProgram) === null || _apiVar_getAccountInfoSync_miniProgram === void 0 ? void 0 : _apiVar_getAccountInfoSync_miniProgram.envVersion;
var _apiVar_getAccountInfoSync;
res = (_apiVar_getAccountInfoSync = apiVar.getAccountInfoSync()) === null || _apiVar_getAccountInfoSync === void 0 ? void 0 : _apiVar_getAccountInfoSync.miniProgram;
}

@@ -283,0 +283,0 @@ return d(res);

{
"name": "cross-mp-power",
"version": "0.1.6",
"version": "0.1.7",
"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