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

webpack-code-inspector-plugin

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-code-inspector-plugin - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

lib/index.d.ts
import { HotKey } from 'code-inspector-core';
interface Options {
hotKeys?: HotKey[] | false;
hideSwitch?: boolean;
showSwitch?: boolean;
autoToggle?: boolean;

@@ -6,0 +6,0 @@ }

{
"name": "webpack-code-inspector-plugin",
"version": "0.0.5",
"version": "0.0.6",
"main": "./lib/index.js",

@@ -5,0 +5,0 @@ "repository": "git@github.com:zh-lx/code-inspector.git",

@@ -94,3 +94,3 @@ <div align="center">

| ---------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------------------------------------------------------------------- | ------------------------ |
| hideSwitch | Whether hide the button of this function | `boolean` | `true/false` | `false` |
| showSwitch | Whether show the switch button of this function | `boolean` | `true/false` | `false` |
| hotKeys | Combination keys for triggering this function.When the value is `false` or `[]`, the function can't be triggered by keys. | `string[] \| false` | Array<`'ctrlKey'`\|`'altKey'`\|`'metaKey'`\|`'shiftKey'`> \| `false` | `['altKey', 'shiftKey']` |

@@ -106,3 +106,3 @@ | autoToggle | After opening the function switch, whether automatically close the switch when triggering the jump editor function. | `boolean` | `true/false` | `true` |

new WebpackCodeInspectorPlugin({
hideSwitch: false,
showSwitch: false,
hotKeys: ['altKey', 'shiftKey'],

@@ -109,0 +109,0 @@ autoToggle: true,

@@ -94,3 +94,3 @@ <div align="center">

| ---------- | --------------------------------------------------------------------------------------------------------- | ------------------- | -------------------------------------------------------------------- | ------------------------ |
| hideSwitch | 是否隐藏功能开关 | `boolean` | `true/false` | `false` |
| showSwitch | 是否展示功能开关 | `boolean` | `true/false` | `false` |
| hotKeys | 组合键触发功能,为 `false` 或者空数组则关闭组合键触发 | `string[] \| false` | Array<`'ctrlKey'`\|`'altKey'`\|`'metaKey'`\|`'shiftKey'`> \| `false` | `['altKey', 'shiftKey']` |

@@ -106,3 +106,3 @@ | autoToggle | After opening the function button, whether automatically close the button when triggering the jump editor | `boolean` | `true/false` | `true` |

new WebpackCodeInspectorPlugin({
hideSwitch: false,
showSwitch: false,
hotKeys: ['altKey', 'shiftKey'],

@@ -109,0 +109,0 @@ autoToggle: true,

@@ -61,3 +61,3 @@ import {

hotKeys?: HotKey[] | false;
hideSwitch?: boolean;
showSwitch?: boolean;
autoToggle?: boolean;

@@ -64,0 +64,0 @@ }

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