New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bpui.js

Package Overview
Dependencies
Maintainers
2
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bpui.js - npm Package Compare versions

Comparing version 1.1.23 to 1.1.24

2

package.json

@@ -41,3 +41,3 @@ {

"name": "bpui.js",
"version": "1.1.23"
"version": "1.1.24"
}

@@ -16,2 +16,4 @@ 'use strict';

const INIT_KEY = '$$uiSysInited';
export default async function (Vue/*:any*/, components/*?:string[]*/) // :Promise<void>

@@ -24,3 +26,6 @@ {

// 需要注册.
Vue.use(libs.VuePlugin());
if (!window[INIT_KEY]) {
Vue.use(libs.VuePlugin());
}
let loadComponents = []/* as any[]*/;

@@ -55,13 +60,17 @@ if (!components) {

for (let i = 0; i < loadComponents.length; i++) {
let _de = loadComponents[i].default || loadComponents[i];
if (_de) {
if (typeof _de.init === 'function') {
_de.init();
if (!window[INIT_KEY]) {
for (let i = 0; i < loadComponents.length; i++) {
let _de = loadComponents[i].default || loadComponents[i];
if (_de) {
if (typeof _de.init === 'function') {
_de.init();
}
if (typeof _de.VuePlugin === 'function') {
Vue.use(_de.VuePlugin());
}
}
if (typeof _de.VuePlugin === 'function') {
Vue.use(_de.VuePlugin());
}
}
}
window[INIT_KEY] = true;
}
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