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

dot-language-support

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dot-language-support - npm Package Compare versions

Comparing version 1.6.1 to 1.6.2

2

lib/error.d.ts

@@ -1,3 +0,3 @@

import { ErrorCode } from "./types";
import type { ErrorCode } from "./types";
export declare const diagnosicSource = "DOT";
export declare function formatError(error: ErrorCode): string;

@@ -6,2 +6,1 @@ export * from "./types";

export * from "./service/service";
export * from "./service/interop";

@@ -22,3 +22,2 @@ "use strict";

__exportStar(require("./service/service"), exports);
__exportStar(require("./service/interop"), exports);
//# sourceMappingURL=index.js.map

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

import * as lst from "vscode-languageserver-types";
import type * as lst from "vscode-languageserver-types";
import { DocumentLike, SourceFile, CommandApplication } from "../";

@@ -3,0 +3,0 @@ import { ExecutableCommand } from "./command/common";

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

import * as lst from "vscode-languageserver-types";
import type * as lst from "vscode-languageserver-types";
import { ColorInformation, Color, ColorPresentation } from "./polyfill";

@@ -3,0 +3,0 @@ import { SourceFile } from "../types";

@@ -1,4 +0,4 @@

import * as lst from "vscode-languageserver-types";
import type * as lst from "vscode-languageserver-types";
import { SourceFile } from "../types";
import { DocumentLike } from "../";
export declare function hover(doc: DocumentLike, sourceFile: SourceFile, position: lst.Position): lst.Hover | undefined;

@@ -1,4 +0,4 @@

import * as lst from "vscode-languageserver-types";
import type { Range, TextEdit } from "vscode-languageserver-types";
export interface ColorInformation {
range: lst.Range;
range: Range;
color: Color;

@@ -14,4 +14,4 @@ }

label: string;
textEdit?: lst.TextEdit;
additionalTextEdits?: lst.TextEdit[];
textEdit?: TextEdit;
additionalTextEdits?: TextEdit[];
}

@@ -1,5 +0,5 @@

import * as lst from "vscode-languageserver-types";
import { SourceFile } from "../types";
import { DocumentLike } from "../";
export declare function findReferences(doc: DocumentLike, sourceFile: SourceFile, position: lst.Position, context: lst.ReferenceContext): lst.Location[];
export declare function findDefinition(doc: DocumentLike, sourceFile: SourceFile, position: lst.Position): lst.Location | undefined;
import type { Position, ReferenceContext, Location } from "vscode-languageserver-types";
import type { SourceFile } from "../types";
import { type DocumentLike } from "../";
export declare function findReferences(doc: DocumentLike, sourceFile: SourceFile, position: Position, context: ReferenceContext): Location[];
export declare function findDefinition(doc: DocumentLike, sourceFile: SourceFile, position: Position): Location | undefined;

@@ -1,4 +0,4 @@

import * as lst from "vscode-languageserver-types";
import { Position, WorkspaceEdit } from "vscode-languageserver-types";
import { SourceFile } from "../types";
import { DocumentLike } from "../";
export declare function renameSymbol(doc: DocumentLike, sourceFile: SourceFile, position: lst.Position, newName: string): lst.WorkspaceEdit | undefined;
export declare function renameSymbol(doc: DocumentLike, sourceFile: SourceFile, position: Position, newName: string): WorkspaceEdit | undefined;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.renameSymbol = void 0;
const lst = require("vscode-languageserver-types");
const vscode_languageserver_types_1 = require("vscode-languageserver-types");
const types_1 = require("../types");

@@ -32,3 +32,3 @@ const checker_1 = require("../checker");

changes: {
[uri]: ranges.map(r => lst.TextEdit.replace(r, newName)),
[uri]: ranges.map(r => vscode_languageserver_types_1.TextEdit.replace(r, newName)),
}

@@ -35,0 +35,0 @@ };

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

import * as lst from "vscode-languageserver-types";
import type * as lst from "vscode-languageserver-types";
import type { TextDocument } from "vscode-languageserver-textdocument";
import { ColorInformation, Color, ColorPresentation } from "./polyfill";

@@ -14,3 +15,3 @@ import { SourceFile, Omit } from "../types";

export interface LanguageService {
parseDocument(doc: lst.TextDocument | string): SourceFile;
parseDocument(doc: TextDocument | string): SourceFile;
validateDocument(doc: DocumentLike, sourceFile: SourceFile): lst.Diagnostic[];

@@ -17,0 +18,0 @@ hover(doc: DocumentLike, sourceFile: SourceFile, position: lst.Position): lst.Hover | undefined;

import * as lst from "vscode-languageserver-types";
import { SourceFile, SyntaxNode } from "../types";
import { DocumentLike } from "../";
import type { DocumentLike } from "../";
export declare function getStart(sourceFile: SourceFile, node: SyntaxNode): number;

@@ -5,0 +5,0 @@ export declare function syntaxNodesToRanges(doc: DocumentLike, sourceFile: SourceFile, nodes: SyntaxNode[]): lst.Range[];

{
"name": "dot-language-support",
"version": "1.6.1",
"version": "1.6.2",
"description": "Parser and language service for graphviz (dot) files",

@@ -28,2 +28,3 @@ "author": "Niklas Mollenhauer",

"dependencies": {
"vscode-languageserver-textdocument": "^1.0.4",
"vscode-languageserver-types": "^3.16.0"

@@ -30,0 +31,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