Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/azure-pipelines/darwin/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
steps:
- task: NodeTool@0
inputs:
versionSpec: '18.17.1'
versionSpec: '20.15.1'
displayName: 'Install Node.js'

- script: |
Expand Down
2 changes: 1 addition & 1 deletion build/azure-pipelines/linux/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ steps:

- task: NodeTool@0
inputs:
versionSpec: '18.17.1'
versionSpec: '20.15.1'
displayName: 'Install Node.js'

- script: |
Expand Down
36 changes: 18 additions & 18 deletions build/azure-pipelines/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ extends:
testPlatforms:
- name: Linux
nodeVersions:
- 18.18.2
- 20.15.1
- name: MacOS
nodeVersions:
- 18.18.2
- 20.15.1
- name: Windows
nodeVersions:
- 18.18.2
- 20.15.1
testSteps:
- template: /build/azure-pipelines/templates/test-steps.yml@self
parameters:
Expand All @@ -81,13 +81,13 @@ extends:
testPlatforms:
- name: Linux
nodeVersions:
- 18.18.2
- 20.15.1
- name: MacOS
nodeVersions:
- 18.18.2
- 20.15.1
- name: Windows
nodeVersions:
- 18.18.2
- 20.15.1
testSteps:
- template: /build/azure-pipelines/templates/test-steps.yml@self
parameters:
Expand All @@ -107,13 +107,13 @@ extends:
testPlatforms:
- name: Linux
nodeVersions:
- 18.18.2
- 20.15.1
- name: MacOS
nodeVersions:
- 18.18.2
- 20.15.1
- name: Windows
nodeVersions:
- 18.18.2
- 20.15.1
testSteps:
- template: /build/azure-pipelines/templates/test-steps.yml@self
parameters:
Expand All @@ -133,13 +133,13 @@ extends:
testPlatforms:
- name: Linux
nodeVersions:
- 18.18.2
- 20.15.1
- name: MacOS
nodeVersions:
- 18.18.2
- 20.15.1
- name: Windows
nodeVersions:
- 18.18.2
- 20.15.1
testSteps:
- template: /build/azure-pipelines/templates/test-steps.yml@self
parameters:
Expand All @@ -159,13 +159,13 @@ extends:
testPlatforms:
- name: Linux
nodeVersions:
- 18.18.2
- 20.15.1
- name: MacOS
nodeVersions:
- 18.18.2
- 20.15.1
- name: Windows
nodeVersions:
- 18.18.2
- 20.15.1
testSteps:
- template: /build/azure-pipelines/templates/test-steps.yml@self
parameters:
Expand All @@ -185,13 +185,13 @@ extends:
testPlatforms:
- name: Linux
nodeVersions:
- 18.18.2
- 20.15.1
- name: MacOS
nodeVersions:
- 18.18.2
- 20.15.1
- name: Windows
nodeVersions:
- 18.18.2
- 20.15.1
testSteps:
- template: /build/azure-pipelines/templates/test-steps.yml@self
parameters:
Expand Down
2 changes: 1 addition & 1 deletion build/azure-pipelines/win32/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
steps:
- task: NodeTool@0
inputs:
versionSpec: '18.17.1'
versionSpec: '20.15.1'
displayName: 'Install Node.js'

- script: |
Expand Down
2 changes: 1 addition & 1 deletion wasm-wasi-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Build Status](https://dev.azure.com/vscode/vscode-wasm/_apis/build/status/microsoft.vscode-wasm?branchName=main)](https://dev.azure.com/vscode/vscode-wasm/_build/latest?definitionId=47&branchName=main)

This VS Code library extension provides API to run [WASM](https://webassembly.org/) binaries in VS Code's extension host both in the desktop and the Web. The WASM file needs to be created with a [WASI](https://github.com/WebAssembly/WASI) compliant tool chain like the [WASI-SDK](https://github.com/WebAssembly/wasi-sdk) or [Rust](https://www.rust-lang.org/) using the `wasm32-wasi` target.
This VS Code library extension provides API to run [WASM](https://webassembly.org/) binaries in VS Code's extension host both in the desktop and the Web. The WASM file needs to be created with a [WASI Preview 1](https://github.com/WebAssembly/WASI) compliant tool chain like the [WASI-SDK](https://github.com/WebAssembly/wasi-sdk) or [Rust](https://www.rust-lang.org/) using the `wasm32-wasip1` target.

The library extension supports the following WASI specifications:

Expand Down
2 changes: 1 addition & 1 deletion wasm-wasi-core/build/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ parameters:
extends:
template: azure-pipelines/extension/pre-release.yml@templates
parameters:
nodeVersion: 16.17.1
nodeVersion: 20.15.1
buildSteps:
- script: |
npm ci
Expand Down
2 changes: 1 addition & 1 deletion wasm-wasi-core/build/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ parameters:
extends:
template: azure-pipelines/extension/stable.yml@templates
parameters:
nodeVersion: 16.17.1
nodeVersion: 20.15.1
buildSteps:
- script: |
npm ci
Expand Down
4 changes: 2 additions & 2 deletions wasm-wasi-core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions wasm-wasi-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "wasm-wasi-core",
"private": "true",
"publisher": "ms-vscode",
"version": "0.13.3",
"displayName": "Experimental - WebAssembly Execution Engine",
"description": "Experimental support to execute WebAssemblies on top of the VS Code API.",
"version": "1.0.0",
"displayName": "WASI based WebAssembly Execution Engine",
"description": "Executes WebAssemblies compiled to WASI Preview 1 on top of the VS Code API.",
"author": "MS",
"license": "MIT",
"repository": {
Expand Down
10 changes: 9 additions & 1 deletion wasm-wasi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ This npm module implements an API facade for the WASM WASI Core VS Code extensio

## History

### 1.0.1

- Readme updates.

### 1.0.0

The npm module now provides version specific import routes to support API migration in the future. The standard import `import { Wasm } from '@vscode/wasm-wasi'` still exists but points to deprecated code. Please switch to the new import route `import { Wasm } from '@vscode/wasm-wasi/v1`.

### 0.11.0

With release version `0.11.0` the implementation details of the WASM support for VS Code has changed. This npm module is now a facade around the `wasm-wasi-core` VS Code extension.
Expand Down Expand Up @@ -36,7 +44,7 @@ The actual source code to execute a WASM process looks like this

```typescript
// Load the WASM API
const wasm: Wasm = await Wasm.api();
const wasm: Wasm = await Wasm.load();

// Create a pseudoterminal to provide stdio to the WASM process.
const pty = wasm.createPseudoterminal();
Expand Down
4 changes: 2 additions & 2 deletions wasm-wasi/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wasm-wasi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vscode/wasm-wasi",
"version": "1.0.0-pre.2",
"version": "1.0.1",
"description": "An API facade for the WASM WASI CORE VS Code extension",
"engines": {
"node": ">=20.9.0",
Expand Down