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

@mini-types/global

Package Overview
Dependencies
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mini-types/global - npm Package Compare versions

Comparing version 3.0.7 to 3.0.8-next-1686032552.0

4

package.json
{
"name": "@mini-types/global",
"version": "3.0.7",
"version": "3.0.8-next-1686032552.0",
"description": "TypeScript declarations for Alipay's mini program.",

@@ -24,3 +24,3 @@ "scripts": {},

},
"gitHead": "6d50a10442cad9f113a3925afd7ce34020053e10"
"gitHead": "c59706f074e8fc4621b3929529419daa293c4198"
}
export type IAppOnLaunchOptions<Query extends Record<string, string>> =
MiniProgram.App.LaunchOptions<Query>;
export interface IRequirePluginAsync<
Target extends Record<string, any> = Record<string, any>
> {
<K extends keyof Target>(pluginName: K): Promise<Target[K]>;
<Result extends any>(pluginName: string): Promise<Result>;
}
export interface IRequirePlugin<

@@ -8,2 +15,3 @@ Target extends Record<string, any> = Record<string, any>

<Result extends any>(pluginName: string): Result;
async: IRequirePluginAsync;
}

@@ -25,2 +33,9 @@

export interface Require {
<T extends any>(path: string): T;
<T extends any>(path: string, cb?: (o: T) => void): void;
async<T extends any>(path: string): Promise<T>;
}
declare global {

@@ -47,2 +62,4 @@ /**

const require: Require;
/**

@@ -49,0 +66,0 @@ * App's constructor

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