Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@moonbit/moonpad-monaco

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moonbit/moonpad-monaco - npm Package Compare versions

Comparing version 0.1.202412020 to 0.1.202412060

dist/lsp-server.js

27

dist/moonpad-monaco.d.ts

@@ -1,3 +0,9 @@

declare function compile(content: string): Promise<CompileResult>;
declare function compile(params: CompileParams): Promise<CompileResult>;
declare type CompileParams = {
libContents: string[];
testContents?: string[];
target?: "wasm-gc" | "js";
};
declare type CompileResult = {

@@ -36,3 +42,4 @@ kind: "success";

init_2 as init,
run
run,
test
}

@@ -48,2 +55,18 @@ }

declare function test(wasm: Uint8Array): Promise<ReadableStream<TestOutput>>;
declare type TestOutput = {
kind: "stdout";
stdout: string;
} | ({
kind: "result";
} & TestResult);
declare type TestResult = {
package: string;
filename: string;
test_name: string;
message: string;
};
export { }

26

package.json
{
"name": "@moonbit/moonpad-monaco",
"version": "0.1.202412020",
"version": "0.1.202412060",
"type": "module",

@@ -10,15 +10,25 @@ "files": [

".": {
"default": "./dist/moonpad-monaco.js",
"import": "./dist/moonpad-monaco.js",
"types": "./dist/moonpad-monaco.d.ts"
},
"./umd": {
"default": "./dist/moonpad-monaco.umd.js",
"require": "./dist/moonpad-monaco.umd.js",
"types": "./dist/moonpad-monaco.d.ts"
},
"./moonc-worker.js": {
"default": "./dist/moonc-worker.js"
},
"./lsp-server.js": {
"default": "./dist/lsp-server.js"
},
"./onig.wasm": {
"default": "./dist/onig.wasm"
}
},
"devDependencies": {
"prettier": "^3.4.1",
"@types/node": "^22.10.1",
"prettier": "^3.4.2",
"prettier-plugin-organize-imports": "^4.1.0",
"typescript": "~5.6.3",
"vite": "^5.4.11",
"typescript": "~5.7.2",
"vite": "^6.0.2",
"vite-plugin-dts": "^4.3.0",

@@ -28,4 +38,4 @@ "core": "^1.0.0"

"dependencies": {
"@moonbit/analyzer": "^0.1.202412020",
"@moonbit/moonc-worker": "^0.1.202412020",
"@moonbit/analyzer": "^0.1.202412040",
"@moonbit/moonc-worker": "^0.1.202412040",
"comlink": "^4.4.2",

@@ -32,0 +42,0 @@ "vscode-jsonrpc": "^8.2.1",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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