Skip to content

Commit

Permalink
Merge pull request #3 from bytecodealliance/cfallin/release-0.3.0
Browse files Browse the repository at this point in the history
Version 0.3.0.
  • Loading branch information
cfallin authored Sep 12, 2024
2 parents 1eb88cf + 587a47d commit 3c85144
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "weval"
description = "The WebAssembly partial evaluator"
repository = "https://github.com/bytecodealliance/weval"
version = "0.2.14"
version = "0.3.0"
authors = ["Chris Fallin <[email protected]>"]
license = "Apache-2.0 WITH LLVM-exception"
edition = "2021"
Expand Down
6 changes: 3 additions & 3 deletions npm/weval/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import decompressTar from 'decompress-tar';
import xz from '@napi-rs/lzma/xz';
const __dirname = dirname(fileURLToPath(import.meta.url));

const TAG = "v0.2.14";
const TAG = "v0.3.0";

async function getWeval() {
const knownPlatforms = {
Expand All @@ -27,7 +27,7 @@ async function getWeval() {
if (platformKey in knownPlatforms) {
return knownPlatforms[platformKey];
}
throw new Error(`Unsupported platform: "${platformKey}". "weval does not have a precompiled binary for the platform/architecture you are using. You can open an issue on https://github.com/cfallin/weval/issues to request for your platform/architecture to be included."`);
throw new Error(`Unsupported platform: "${platformKey}". "weval does not have a precompiled binary for the platform/architecture you are using. You can open an issue on https://github.com/bytecodealliance/weval/issues to request for your platform/architecture to be included."`);
}

async function getJSON(url) {
Expand All @@ -49,7 +49,7 @@ async function getWeval() {
if (!existsSync(exe)) {
await mkdir(exeDir, { recursive: true });

let repoBaseURL = `https://api.github.com/repos/cfallin/weval`;
let repoBaseURL = `https://api.github.com/repos/bytecodealliance/weval`;
let response = await getJSON(`${repoBaseURL}/releases/tags/${TAG}`);
let id = response.id;
let assets = await getJSON(`${repoBaseURL}/releases/${id}/assets`);
Expand Down
4 changes: 2 additions & 2 deletions npm/weval/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cfallin/weval",
"version": "0.2.14",
"name": "@bytecodealliance/weval",
"version": "0.3.0",
"description": "The WebAssembly partial evaluator",
"type": "module",
"scripts": {
Expand Down

0 comments on commit 3c85144

Please sign in to comment.