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

@onflow/cadence-language-server

Package Overview
Dependencies
Maintainers
13
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onflow/cadence-language-server

The Cadence Language Server

1.3.1
latest
Source
npm
Version published
Weekly downloads
4
33.33%
Maintainers
13
Weekly downloads
 
Created
Source

Cadence Language Server

The Cadence language server compiled to WebAssembly and bundled as an NPM package, so it can be used in tools written in JavaScript.

Releasing

To release a new version of the Language server NPM package all you need to do is create a release of Langauge server and GitHub action will also publish a new version of WebAssembly built binary to NPM. That newly build NPM package using the WebAssembly will be published and can be found on NPM https://www.npmjs.com/package/@onflow/cadence-language-server

Development

Updating src/go.js

  • Copy misc/wasm/wasm_exec.js of appropriate Go version into src/go.js.
  • Run npx prettier -w src/go.js
  • Restore the first line (adopted from header) and last line (export const go = new Go();)
  • Update the version in the header
  • Remove the anonymous function wrapper
  • Change globalThis.Go = class { to class Go {

FAQs

Package last updated on 22 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts