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

@vue/devtools-api

Package Overview
Dependencies
Maintainers
4
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/devtools-api - npm Package Compare versions

Comparing version 6.0.0-beta.18 to 6.0.0-beta.19

2

lib/esm/api/api.d.ts

@@ -20,3 +20,3 @@ import { ComponentBounds, Hookable } from './hooks';

unhighlightElement(): void;
getSettings(): TSettings;
getSettings(pluginId?: string): TSettings;
/**

@@ -23,0 +23,0 @@ * @private Not implemented yet

@@ -25,3 +25,4 @@ import { ComponentTreeNode, InspectedComponentData, ComponentInstance, ComponentDevtoolsOptions } from './component';

GET_INSPECTOR_STATE = "getInspectorState",
EDIT_INSPECTOR_STATE = "editInspectorState"
EDIT_INSPECTOR_STATE = "editInspectorState",
SET_PLUGIN_SETTINGS = "setPluginSettings"
}

@@ -98,3 +99,3 @@ export interface ComponentBounds {

state: EditStatePayload;
set: (object: any, path: string | (string[]), value: any, cb?: (object: any, field: string, value: any) => void) => void;
set: (object: any, path?: string | (string[]), value?: any, cb?: (object: any, field: string, value: any) => void) => void;
};

@@ -138,2 +139,10 @@ [Hooks.GET_COMPONENT_DEVTOOLS_OPTIONS]: {

};
[Hooks.SET_PLUGIN_SETTINGS]: {
app: App;
pluginId: string;
key: string;
newValue: any;
oldValue: any;
settings: any;
};
};

@@ -172,2 +181,3 @@ export declare type EditStatePayload = {

editInspectorState(handler: HookHandler<HookPayloads[Hooks.EDIT_INSPECTOR_STATE], TContext>): any;
setPluginSettings(handler: HookHandler<HookPayloads[Hooks.SET_PLUGIN_SETTINGS], TContext>): any;
}

@@ -11,2 +11,3 @@ import { App } from './api';

disableAppScope?: boolean;
disablePluginScope?: boolean;
/**

@@ -13,0 +14,0 @@ * Run the plugin setup and expose the api even if the devtools is not opened yet.

{
"name": "@vue/devtools-api",
"version": "6.0.0-beta.18",
"version": "6.0.0-beta.19",
"description": "Interact with the Vue devtools from the page",

@@ -5,0 +5,0 @@ "main": "lib/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