Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 12, 2026

This PR contains the following updates:

Package Change Age Confidence
typescript (source) 5.8.35.9.3 age confidence

Release Notes

microsoft/TypeScript (typescript)

v5.9.3: TypeScript 5.9.3

Compare Source

Note: this tag was recreated to point at the correct commit. The npm package contained the correct content.

For release notes, check out the release announcement

Downloads are available on:

v5.9.2: TypeScript 5.9

Compare Source

Note: this tag was recreated to point at the correct commit. The npm package contained the correct content.

For release notes, check out the release announcement

Downloads are available on:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/typescript-5.x-lockfile branch 16 times, most recently from b4d8b77 to 30364c3 Compare January 13, 2026 01:51
@renovate renovate bot force-pushed the renovate/typescript-5.x-lockfile branch from 30364c3 to 42e1055 Compare January 13, 2026 02:00
}

const exps = new WebAssembly.Instance(new WebAssembly.Module(buffer)).exports;
const exps = new WebAssembly.Instance(new WebAssembly.Module(Buffer.from(buffer))).exports;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The use of Buffer.from() in code compiled for the browser may cause a ReferenceError because Buffer is not a standard browser global.
Severity: MEDIUM

🔍 Detailed Analysis

The code at src/bundles/wasm/src/wabt.ts uses Buffer.from(buffer). This file is compiled for a browser environment where the Buffer global is not natively available. Unless the build process is configured to polyfill Buffer, this will likely cause a ReferenceError: Buffer is not defined at runtime when the wrun function is executed, preventing the WebAssembly module from being instantiated.

💡 Suggested Fix

Remove the Buffer.from() call. The WebAssembly.Module constructor can accept a Uint8Array or ArrayBuffer directly, which buffer is likely to be. The line should be changed to const wasmModule = new WebAssembly.Module(buffer);.

🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: src/bundles/wasm/src/wabt.ts#L22

Potential issue: The code at `src/bundles/wasm/src/wabt.ts` uses `Buffer.from(buffer)`.
This file is compiled for a browser environment where the `Buffer` global is not
natively available. Unless the build process is configured to polyfill `Buffer`, this
will likely cause a `ReferenceError: Buffer is not defined` at runtime when the `wrun`
function is executed, preventing the WebAssembly module from being instantiated.

Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 8512705

@renovate
Copy link
Contributor Author

renovate bot commented Jan 13, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants