Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@open-editor/client

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-editor/client - npm Package Compare versions

Comparing version
0.9.3
to
0.9.4
+22
-23
dist/index.d.ts

@@ -0,44 +1,31 @@

/**
* 调试器全局配置项
*/
interface Options {
/**
* source rootDir path
* 源码根目录路径
*/
rootDir: string;
/**
* render the toggle into the browser
*
* @default true
* 是否在浏览器中显示调试开关
*/
displayToggle?: boolean;
/**
* Disable hover effect from CSS when inspector is enabled
*
* @default true
* 启用调试器时是否禁用 CSS 悬停效果
*/
disableHoverCSS?: boolean;
/**
* Ignoring components in some directories, using glob pattern syntax for match
*
* @see https://en.wikipedia.org/wiki/Glob_(programming)
*
* @default '\/**\/node_modules\/**\/*'
* 需要忽略的组件路径匹配规则
*/
ignoreComponents?: string | string[];
/**
* exit the check after opening the editor or component tree
*
* @default true
* 是否在打开编辑器或组件树后退出检查模式
*/
once?: boolean;
/**
* Enable interaction between multiple iframes to be promoted to the top-level window.
*
* It only takes effect when the top window and iframe window have the same origin.
*
* @default true
* 是否启用跨 iframe 调试
*/
crossIframe?: boolean;
/**
* internal server port
*
* relative address is used when this parameter is empty
* 调试服务器端口号
*/

@@ -48,4 +35,16 @@ port?: string;

/**
* 初始化编辑器客户端
*
* @param opts - 编辑器配置对象,包含各子系统所需参数
*
* 功能说明:执行客户端环境检测、配置注入、模块初始化等启动流程
*
* 执行策略:
* 1. 采用单例模式避免重复初始化
* 2. 在 DOM 就绪后启动子系统
* 3. 严格的环境检测机制
*/
declare function setupClient(opts: Options): void;
export { Options, setupClient };
{
"name": "@open-editor/client",
"version": "0.9.3",
"version": "0.9.4",
"description": "internal utils shared across @open-editor packages",

@@ -28,6 +28,6 @@ "main": "./dist/index.js",

},
"homepage": "https://github.com/zjxxxxxxxxx/open-editor/tree/main/packages/client#readme",
"homepage": "https://github.com/zjxxxxxxxxx/open-editor#readme",
"dependencies": {
"outmatch": "^1.0.0",
"@open-editor/shared": "0.9.3"
"@open-editor/shared": "0.9.4"
},

@@ -34,0 +34,0 @@ "devDependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display