Socket
Socket
Sign inDemoInstall

@devbookhq/code-editor

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devbookhq/code-editor - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

12

dist/index.d.ts

@@ -16,2 +16,3 @@ import * as react from 'react';

private documentVersion;
private diagnostics?;
constructor(view: EditorView, openFile: boolean);

@@ -23,2 +24,7 @@ private get nextDocumentVersion();

requestHoverTooltip({ state: { doc } }: EditorView, { line, character }: Position): Promise<Tooltip | null>;
requestCodeActions(view: EditorView, range: {
from: number;
to: number;
}): Promise<(vscode_languageserver_protocol.CodeAction | vscode_languageserver_protocol.Command)[] | null>;
executeAction(command: string, args: any[]): Promise<any>;
requestSignatureHelp(context: CompletionContext, activeSignatureHelp: SignatureHelp | undefined, isRetrigger: boolean, docChanged: boolean): Promise<SignatureHelp | null>;

@@ -109,5 +115,7 @@ requestCompletion(context: CompletionContext, { line, character }: Position, { triggerKind, triggerCharacter, }: {

watchedFilesChanged: (params: vscode_languageserver_protocol.DidChangeWatchedFilesParams) => Promise<void>;
/** If supported, request details of the code action. */
resolveCodeAction: (params: vscode_languageserver_protocol.CodeAction, token?: CancellationToken) => Promise<vscode_languageserver_protocol.CodeAction | null>;
/** If supported, request formatting of the document. */
getDocumentFormatting: (params: vscode_languageserver_protocol.DocumentFormattingParams, token?: CancellationToken) => Promise<vscode_languageserver_protocol.TextEdit[] | null>;
/** If supported, execute command for the workspace. */
/** If supported, applu edits in the workspace. */
applyEdits: (params: vscode_languageserver_protocol.ApplyWorkspaceEditParams, token?: CancellationToken) => Promise<vscode_languageserver_protocol.ApplyWorkspaceEditResult | null>;

@@ -139,3 +147,3 @@ /** If supported, execute command for the workspace. */

/** If supported, get commands for the given text document and range. */
getCodeAction: (params: vscode_languageserver_protocol.CodeActionParams, token?: CancellationToken) => Promise<(vscode_languageserver_protocol.Command | vscode_languageserver_protocol.CodeAction)[] | null>;
getCodeAction: (params: vscode_languageserver_protocol.CodeActionParams, token?: CancellationToken) => Promise<(vscode_languageserver_protocol.CodeAction | vscode_languageserver_protocol.Command)[] | null>;
/** If supported, get code lens for the given text document. */

@@ -142,0 +150,0 @@ getCodeLens: (params: vscode_languageserver_protocol.CodeLensParams, token?: CancellationToken) => Promise<vscode_languageserver_protocol.CodeLens[] | null>;

2

package.json
{
"name": "@devbookhq/code-editor",
"version": "0.1.8",
"version": "0.1.9",
"main": "./dist/index.js",

@@ -5,0 +5,0 @@ "module": "./dist/index.mjs",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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