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

@aliyun-obv/app-loader

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aliyun-obv/app-loader - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

5

dist/cjs/index.js

@@ -212,3 +212,6 @@ "use strict";

loadFunction: (exportName = "default") => {
return spaLoader(_appInfo, exportName);
return async (...args) => {
const fun = await spaLoader(_appInfo, exportName);
return fun(...args);
};
}

@@ -215,0 +218,0 @@ };

@@ -210,3 +210,6 @@ import React, { forwardRef, useState, useCallback, useEffect, Suspense } from "react";

loadFunction: (exportName = "default") => {
return spaLoader(_appInfo, exportName);
return async (...args) => {
const fun = await spaLoader(_appInfo, exportName);
return fun(...args);
};
}

@@ -213,0 +216,0 @@ };

2

dist/types/core/index.d.ts

@@ -6,3 +6,3 @@ import React from 'react';

loadComponent: (exportName?: string, extraProps?: Record<string, any>) => React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLElement>>;
loadFunction: (exportName?: string) => Promise<any>;
loadFunction: (exportName?: string) => (...args: any[]) => Promise<any>;
};
{
"name": "@aliyun-obv/app-loader",
"version": "0.0.12",
"version": "0.0.13",
"type": "module",

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

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