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.2.0 to 1.2.1

4

lib/binder.js

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

bind(node.leftId);
bind(node.rightId);
if (node.rightId && !checker_1.nodeContainsErrors(node.rightId)) {

@@ -123,3 +124,2 @@ if (isAttributeName("color", node.leftId)) {

}
bind(node.rightId);
if (node.terminator)

@@ -159,2 +159,3 @@ bind(node.terminator);

ensureMemberSymbol(node.leftId, carrierIdentifier);
bind(node.rightId);
if (node.rightId && !checker_1.nodeContainsErrors(node.rightId)) {

@@ -165,3 +166,2 @@ if (isAttributeName("color", node.leftId)) {

}
bind(node.rightId);
if (node.terminator)

@@ -168,0 +168,0 @@ bind(node.terminator);

@@ -6,2 +6,2 @@ import * as lst from "vscode-languageserver-types";

export declare function getDocumentColors(doc: DocumentLike, sourceFile: SourceFile): ColorInformation[] | undefined;
export declare function getColorRepresentation(doc: DocumentLike, sourceFile: SourceFile, color: Color, range: lst.Range): ColorPresentation[] | undefined;
export declare function getColorRepresentations(doc: DocumentLike, sourceFile: SourceFile, color: Color, range: lst.Range): ColorPresentation[] | undefined;

@@ -13,3 +13,3 @@ "use strict";

exports.getDocumentColors = getDocumentColors;
function getColorRepresentation(doc, sourceFile, color, range) {
function getColorRepresentations(doc, sourceFile, color, range) {
if (!color || !range)

@@ -20,7 +20,7 @@ return undefined;

{
label: hexColor,
label: '"' + hexColor + '"',
}
];
}
exports.getColorRepresentation = getColorRepresentation;
exports.getColorRepresentations = getColorRepresentations;
function colorTableToColorInformation(doc, sf, colors) {

@@ -27,0 +27,0 @@ if (!colors || colors.size === 0)

@@ -22,3 +22,3 @@ import * as lst from "vscode-languageserver-types";

getDocumentColors(doc: DocumentLike, sourceFile: SourceFile): ColorInformation[] | undefined;
getColorRepresentation(doc: DocumentLike, sourceFile: SourceFile, color: Color, range: lst.Range): ColorPresentation[] | undefined;
getColorRepresentations(doc: DocumentLike, sourceFile: SourceFile, color: Color, range: lst.Range): ColorPresentation[] | undefined;
getCodeActions(doc: DocumentLike, sourceFile: SourceFile, range: lst.Range, context: lst.CodeActionContext): lst.Command[] | undefined;

@@ -25,0 +25,0 @@ executeCommand(doc: DocumentLike, sourceFile: SourceFile, command: Omit<lst.Command, "title">): CommandApplication | undefined;

@@ -31,3 +31,3 @@ "use strict";

getDocumentColors: colorProvider_1.getDocumentColors,
getColorRepresentation: colorProvider_1.getColorRepresentation,
getColorRepresentations: colorProvider_1.getColorRepresentations,
getCodeActions: codeAction_1.getCodeActions,

@@ -34,0 +34,0 @@ executeCommand: codeAction_1.executeCommand,

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

@@ -5,0 +5,0 @@ "author": "Niklas Mollenhauer",

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