
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
monaco-editor-workers
Advanced tools
This package supplies all monaco-editor workers as module or classic workers (bundled with vite/rollup) and it contains a utility function that applies them to MonacoEnvironment
:
Workers are now exported in the packages.json
. This could be handy for re-bundling.
Additional exports:
import { buildWorkerDefinition } from "monaco-editor-workers";
// supply path to workers path, the basePath and tell if module (true) or classic (false) workers shall be used.
// Classic workers are still required by Firefox.
buildWorkerDefinition('./node_modules/monaco-editor-workers/dist/workers', import.meta.url, false);
The version of this package is aligned with the version of monaco-editor.
We recommend using Volta to ensure your node & npm are on known good versions.
If you have node.js LTS available, then from the root of the project run:
npm i
npm run build
If you get an error with npm i
regarding tree-mending, you can run npm ci
to clean things up from previous installations and continue.
Afterwards, launch the Vite development server:
npm run dev
You can find one example (manual human testing) here index.html. They can be used once Vite is running. You can reach it once started on http://localhost:5173.
[0.45.0] - 2024-01-03
FAQs
Monaco Editor Worker Support Package
We found that monaco-editor-workers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.