🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

dockerfile-language-server-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dockerfile-language-server-nodejs - npm Package Versions

1235

0.0.17

Diff
rcjsuen
published 0.0.17 •

Changelog

Source

[0.0.17] - 2018-04-16

Added

  • support fulfillment of textDocument requests to the server even if textDocument/didOpen has not been sent for a file (#215)

Fixed

rcjsuen
published 0.0.16 •

Changelog

Source

[0.0.16] - 2018-04-14

Fixed

  • textDocument/publishDiagnostics
    • fix validator to consider the instructionJSONInSingleQuotes setting (#218)
rcjsuen
published 0.0.15 •

Changelog

Source

[0.0.15] - 2018-04-14

Added

  • settings
    • docker.languageserver.diagnostics.instructionJSONInSingleQuotes? (#217)
      • value = ( "ignore" | "warning" | "error" )
  • completionItem/resolve
    • use Markdown for a completion item's documentation field if the client supports it (#207)
  • textDocument/publishDiagnostics

Fixed

  • textDocument/didChange
    • apply received changes in a textDocument/didChange in the order given in the JSON result instead of trying to sort them and apply them backwards (#216)
  • textDocument/publishDiagnostics
    • clear diagnostics when server receives textDocument/didClose so that they do not linger in the client (#214)
    • fix incorrect validation error if a COPY uses JSON arguments and its last string argument is correctly defined as a folder (#217)
    • fix incorrect validation error if an ADD uses JSON arguments and its last string argument is correctly defined as a folder (rcjsuen/dockerfile-utils#30)
    • skip validation of content after a JSON's closing bracket (rcjsuen/dockerfile-utils#33)
    • fix validation of number of arguments for ADD and COPY instructions written in JSON (rcjsuen/dockerfile-utils#34)
rcjsuen
published 0.0.14 •

Changelog

Source

[0.0.14] - 2018-03-08

Added

  • update to target version 3.6.0 of the Language Server Protocol specification
  • create dependency on the dockerfile-language-service module (#205)
  • add package-lock.json file to help ensure a consistent dependency tree (#210)
  • update documentation to state that ARG was introduced in Docker 1.9 (rcjsuen/dockerfile-language-service#7)
  • textDocument/codeAction
    • create docker.command.removeEmptyContinuationLine to remove empty continuation lines in instructions that span multiple lines (#203)
  • textDocument/documentLink
    • create links to hub.docker.com for base image names in FROM (#204)
  • textDocument/hover
    • inspect client's capabilities to decide what content format to use for hovers (#209)
  • textDocument/publishDiagnostics
  • workspace/applyEdit
    • use versioned edits if the client supports it via the documentChanges client capability (#202)

Changed

  • this module now depends on version 4.0.0 of the vscode-languageserver npm module

Fixed

Removed

  • remove document analysis and processing code and tests in favor of the dockerfile-language-service module (#205)
rcjsuen
published 0.0.13 •

Changelog

Source

[0.0.13] - 2018-01-19

Added

  • create dependency on the dockerfile-utils module (#79)
  • textDocument/publishDiagnostics
    • warn if COPY's --from flag is invalid (#149)

Fixed

  • ignore ARG variables with no default values in an EXPOSE (#199)

Removed

  • remove validation code and tests in favor of the dockerfile-utils module (#79)
rcjsuen
published 0.0.12 •

Changelog

Source

[0.0.12] - 2018-01-11

Added

  • create dependency on the dockerfile-ast NPM module (#196)
  • textDocument/completion
    • documentation for ADD and COPY's --chown flag (#181)
  • textDocument/hover
    • ADD and COPY's --chown flag (#181)

Fixed

  • prevent signature help from showing in a multiline instruction's embedded comment (#195)
  • publish the docker-langserver binary with \n line endings for OS X (#198)

Removed

  • remove Dockerfile parsing code in src/parser (#196)
rcjsuen
published 0.0.11 •

Changelog

Source

[0.0.11] - 2017-11-15

Added

  • create a Docker image to run the language server (#189)

Fixed

  • prevent completion items from being displayed in comments (#190)
  • expand environment variables when validating an EXPOSE (#192)
  • ignore variables that are in a LABEL's single quoted value string (#191)
  • support environment variables that span multiple lines (#193)
  • ignore spaces that come after an environment variable (#194)
rcjsuen
published 0.0.10 •

Changelog

Source

[0.0.10] - 2017-10-23

Added

  • textDocument/codeAction
    • create docker.command.flagToChown to convert an unknown ADD or COPY flag to a --chown (#187)

Fixed

  • use a reasonable range for the diagnostic if an unknown flag has no name (#186)
  • specify a section name when sending a workspace/configuration request (#182)
rcjsuen
published 0.0.9 •

Changelog

Source

[0.0.9] - 2017-10-14

Added

  • settings
    • docker.languageserver.diagnostics.emptyContinuationLine? (#177)
      • value = ( "ignore" | "warning" | "error" )
      • toggles the diagnostic severity if empty continuation lines are found
  • textDocument/publishDiagnostics
    • warn about empty continuation lines (#177)
    • warn if ADD does not have two arguments (#185)

Fixed

  • allow parameters to be suggested even if an ARG has no variables defined (#184)
  • do not assume that clients support workspace/applyEdit (#183)
  • fix broken socket support (#178)
rcjsuen
published 0.0.8 •

Changelog

Source

[0.0.8] - 2017-10-05

Added

  • textDocument/codeAction
    • create commands for converting unknown HEALTHCHECK flags (#172)
      • docker.command.flagToHealthcheckInterval
      • docker.command.flagToHealthcheckRetries
      • docker.command.flagToHealthcheckStartPeriod
      • docker.command.flagToHealthcheckTimeout
    • create docker.command.flagToCopyFrom to convert an unknown COPY flag (#171)
  • textDocument/completion
    • HEALTHCHECK's CMD and NONE arguments (#169)
    • ADD and COPY's --chown flag (#166)
  • textDocument/publishDiagnostics
    • warn if HEALTHCHECK's argument is not CMD or NONE (#173)
    • warn if HEALTHCHECK has a flag but no arguments (#174)
    • validate --chown flag in ADD and COPY (#166)
  • textDocument/signatureHelp
    • update ADD's signature to support the new --chown flag (#166)
  • workspace/configuration
    • implemented support to allow validator settings to not be global (#179)

Fixed

  • correct the documentation of HEALTHCHECK's --retries flag's completion item (#170)
  • show correct parameter in HEALTHCHECK's signature help if it has an escaped newline (#175)
  • show correct parameter in ENV and LABEL's signature help if it has an escaped newline (#176)