You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@leafer/plugin

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafer/plugin - npm Package Compare versions

Comparing version
1.0.0-rc.6
to
1.0.0-rc.7
+3
-3
package.json
{
"name": "@leafer/plugin",
"version": "1.0.0-rc.6",
"version": "1.0.0-rc.7",
"description": "@leafer/plugin",

@@ -25,7 +25,7 @@ "author": "Chao (Leafer) Wan",

"dependencies": {
"@leafer/debug": "1.0.0-rc.6"
"@leafer/debug": "1.0.0-rc.7"
},
"devDependencies": {
"@leafer/interface": "1.0.0-rc.6"
"@leafer/interface": "1.0.0-rc.7"
}
}

@@ -1,2 +0,2 @@

import { IPlugin, IObject, ILeafer } from '@leafer/interface'
import { IPlugin, IObject, ILeaferBase } from '@leafer/interface'
import { Debug } from '@leafer/debug'

@@ -10,3 +10,3 @@

list: [] as IPlugin[],
onLeafer(leafer: ILeafer): void {
onLeafer(leafer: ILeaferBase): void {
PluginManager.list.forEach(plugin => {

@@ -13,0 +13,0 @@ if (plugin.onLeafer) plugin.onLeafer(leafer)

@@ -1,2 +0,2 @@

import { IObject, IPlugin, ILeafer } from '@leafer/interface';
import { IObject, IPlugin, ILeaferBase } from '@leafer/interface';

@@ -6,3 +6,3 @@ declare const PluginManager: {

list: IPlugin[];
onLeafer(leafer: ILeafer): void;
onLeafer(leafer: ILeaferBase): void;
};

@@ -9,0 +9,0 @@ declare function usePlugin(plugin: IPlugin, config?: IObject): void;