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

mipp-ali

Package Overview
Dependencies
Maintainers
2
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mipp-ali - npm Package Compare versions

Comparing version 1.19.4 to 1.19.5

28

dist/Page/Base.js

@@ -297,2 +297,30 @@ "use strict";

};
var createdFn = that === null || that === void 0 ? void 0 : that.onLoad;
that.onLoad = function created() {
var _a;
var opts = [];
for (var _i = 0; _i < arguments.length; _i++) {
opts[_i] = arguments[_i];
}
try {
this.viewStatus = "load";
}
catch (_b) { }
return (_a = createdFn === null || createdFn === void 0 ? void 0 : createdFn.apply) === null || _a === void 0 ? void 0 : _a.call(createdFn, this, opts);
};
var readyFn = that === null || that === void 0 ? void 0 : that.onReady;
that.onReady = function ready() {
var _a;
var opts = [];
for (var _i = 0; _i < arguments.length; _i++) {
opts[_i] = arguments[_i];
}
try {
if (this.viewStatus !== "ready") {
this.viewStatus = "ready";
}
}
catch (_b) { }
return (_a = readyFn === null || readyFn === void 0 ? void 0 : readyFn.apply) === null || _a === void 0 ? void 0 : _a.call(readyFn, this, opts);
};
return that;

@@ -299,0 +327,0 @@ };

2

package.json
{
"name": "mipp-ali",
"version": "1.19.4",
"version": "1.19.5",
"description": "小程序ts",

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

@@ -179,2 +179,20 @@ import clone from "rfdc";

const createdFn = that?.onLoad;
that.onLoad = function created(...opts: any) {
try {
this.viewStatus = "load";
} catch {}
return createdFn?.apply?.(this, opts);
};
const readyFn = that?.onReady;
that.onReady = function ready(...opts: any) {
try {
if (this.viewStatus !== "ready") {
this.viewStatus = "ready";
}
} catch {}
return readyFn?.apply?.(this, opts);
};
return that;

@@ -181,0 +199,0 @@ }

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