
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
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
The npm package monaco-editor-workers receives a total of 4,091 weekly downloads. As such, monaco-editor-workers popularity was classified as popular.
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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.