From 59725970e6355852781d641bbc72e54c0786dd82 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Tue, 25 Nov 2025 02:02:48 +0000 Subject: [PATCH 1/4] Update dependencies from https://github.com/dotnet/emscripten build 20251124.3 On relative base path root Microsoft.NETCore.Runtime.Wasm.Emscripten.Transport From Version 9.0.0-alpha.1.25563.2 -> To Version 9.0.0-alpha.1.25574.3 --- eng/Version.Details.xml | 4 ++-- eng/Versions.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 979f3f880c..5df14b0926 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -145,9 +145,9 @@ https://github.com/dotnet/llvm-project 55fbf5793d3f255f5525ae7cb57736ab71270a52 - + https://github.com/dotnet/emscripten - e4b9356443189c19a5e4ebeef58652f9c436402f + f5b445017e80145a9baf893401083b1367455bc6 diff --git a/eng/Versions.props b/eng/Versions.props index fae281aec8..2482b4fad5 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -44,7 +44,7 @@ 19.1.0-alpha.1.25565.2 19.1.0-alpha.1.25565.2 19.1.0-alpha.1.25565.2 - 9.0.0-alpha.1.25563.2 + 9.0.0-alpha.1.25574.3 true From b64b5f495ab6208edce0310ca720077f90641569 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Tue, 2 Dec 2025 02:01:54 +0000 Subject: [PATCH 2/4] Update dependencies from https://github.com/dotnet/node build 20251201.3 On relative base path root runtime.linux-arm64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.linux-x64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.osx-arm64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.osx-x64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.win-arm64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.win-x64.Microsoft.NETCore.Runtime.Wasm.Node.Transport From Version 9.0.0-alpha.1.25312.1 -> To Version 9.0.0-alpha.1.25601.3 --- eng/Version.Details.xml | 32 ++++++++++++++++---------------- eng/Versions.props | 16 ++++++++-------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 5df14b0926..2808218003 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -49,37 +49,37 @@ https://github.com/dotnet/cpython bbdcd1d66c245d46433da4869ef0b09d87fd3775 - + https://github.com/dotnet/node - 3a8007cf8cbb0a78eaf0a8e03f3ed5b5023e26b7 + 044820a61354e64c9869d94a4e6512ba61baf681 - + https://github.com/dotnet/node - 3a8007cf8cbb0a78eaf0a8e03f3ed5b5023e26b7 + 044820a61354e64c9869d94a4e6512ba61baf681 - + https://github.com/dotnet/node - 3a8007cf8cbb0a78eaf0a8e03f3ed5b5023e26b7 + 044820a61354e64c9869d94a4e6512ba61baf681 - + https://github.com/dotnet/node - 3a8007cf8cbb0a78eaf0a8e03f3ed5b5023e26b7 + 044820a61354e64c9869d94a4e6512ba61baf681 - + https://github.com/dotnet/node - 3a8007cf8cbb0a78eaf0a8e03f3ed5b5023e26b7 + 044820a61354e64c9869d94a4e6512ba61baf681 - + https://github.com/dotnet/node - 3a8007cf8cbb0a78eaf0a8e03f3ed5b5023e26b7 + 044820a61354e64c9869d94a4e6512ba61baf681 - + https://github.com/dotnet/node - 3a8007cf8cbb0a78eaf0a8e03f3ed5b5023e26b7 + 044820a61354e64c9869d94a4e6512ba61baf681 - + https://github.com/dotnet/node - 3a8007cf8cbb0a78eaf0a8e03f3ed5b5023e26b7 + 044820a61354e64c9869d94a4e6512ba61baf681 https://github.com/dotnet/llvm-project diff --git a/eng/Versions.props b/eng/Versions.props index 2482b4fad5..28a2d0f1be 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -28,14 +28,14 @@ 9.0.0-alpha.1.25563.2 9.0.0-alpha.1.25563.2 9.0.0-alpha.1.25563.2 - 9.0.0-alpha.1.25312.1 - 9.0.0-alpha.1.25312.1 - 9.0.0-alpha.1.25312.1 - 9.0.0-alpha.1.25312.1 - 9.0.0-alpha.1.25312.1 - 9.0.0-alpha.1.25312.1 - 9.0.0-alpha.1.25312.1 - 9.0.0-alpha.1.25312.1 + 9.0.0-alpha.1.25601.3 + 9.0.0-alpha.1.25601.3 + 9.0.0-alpha.1.25601.3 + 9.0.0-alpha.1.25601.3 + 9.0.0-alpha.1.25601.3 + 9.0.0-alpha.1.25601.3 + 9.0.0-alpha.1.25601.3 + 9.0.0-alpha.1.25601.3 19.1.0-alpha.1.25565.2 19.1.0-alpha.1.25565.2 19.1.0-alpha.1.25565.2 From ce510d6a61f17f1b0741f27033e19d94a06f7c58 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Tue, 2 Dec 2025 23:59:37 +0000 Subject: [PATCH 3/4] Update dependencies from https://github.com/dotnet/node build 20251202.7 On relative base path root runtime.linux-arm64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.linux-x64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.osx-arm64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.osx-x64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.win-arm64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.win-x64.Microsoft.NETCore.Runtime.Wasm.Node.Transport From Version 9.0.0-alpha.1.25312.1 -> To Version 9.0.0-alpha.1.25602.7 --- eng/Version.Details.xml | 32 ++++++++++++++++---------------- eng/Versions.props | 16 ++++++++-------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 2808218003..adc14289f0 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -49,37 +49,37 @@ https://github.com/dotnet/cpython bbdcd1d66c245d46433da4869ef0b09d87fd3775 - + https://github.com/dotnet/node - 044820a61354e64c9869d94a4e6512ba61baf681 + 47afc4864111d5af2ce03262bc49073140e0821b - + https://github.com/dotnet/node - 044820a61354e64c9869d94a4e6512ba61baf681 + 47afc4864111d5af2ce03262bc49073140e0821b - + https://github.com/dotnet/node - 044820a61354e64c9869d94a4e6512ba61baf681 + 47afc4864111d5af2ce03262bc49073140e0821b - + https://github.com/dotnet/node - 044820a61354e64c9869d94a4e6512ba61baf681 + 47afc4864111d5af2ce03262bc49073140e0821b - + https://github.com/dotnet/node - 044820a61354e64c9869d94a4e6512ba61baf681 + 47afc4864111d5af2ce03262bc49073140e0821b - + https://github.com/dotnet/node - 044820a61354e64c9869d94a4e6512ba61baf681 + 47afc4864111d5af2ce03262bc49073140e0821b - + https://github.com/dotnet/node - 044820a61354e64c9869d94a4e6512ba61baf681 + 47afc4864111d5af2ce03262bc49073140e0821b - + https://github.com/dotnet/node - 044820a61354e64c9869d94a4e6512ba61baf681 + 47afc4864111d5af2ce03262bc49073140e0821b https://github.com/dotnet/llvm-project diff --git a/eng/Versions.props b/eng/Versions.props index 28a2d0f1be..cdf0a77988 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -28,14 +28,14 @@ 9.0.0-alpha.1.25563.2 9.0.0-alpha.1.25563.2 9.0.0-alpha.1.25563.2 - 9.0.0-alpha.1.25601.3 - 9.0.0-alpha.1.25601.3 - 9.0.0-alpha.1.25601.3 - 9.0.0-alpha.1.25601.3 - 9.0.0-alpha.1.25601.3 - 9.0.0-alpha.1.25601.3 - 9.0.0-alpha.1.25601.3 - 9.0.0-alpha.1.25601.3 + 9.0.0-alpha.1.25602.7 + 9.0.0-alpha.1.25602.7 + 9.0.0-alpha.1.25602.7 + 9.0.0-alpha.1.25602.7 + 9.0.0-alpha.1.25602.7 + 9.0.0-alpha.1.25602.7 + 9.0.0-alpha.1.25602.7 + 9.0.0-alpha.1.25602.7 19.1.0-alpha.1.25565.2 19.1.0-alpha.1.25565.2 19.1.0-alpha.1.25565.2 From df493d8b3fe0d5c9b48642f76eb2d0074e4b9423 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Mon, 24 Nov 2025 21:52:09 +0100 Subject: [PATCH 4/4] Don't upgrade npm packages anymore, we do it in emscripten Remove sanitize.py and pruning (cherry picked from commit ab8dbd209023d52e865d91f609df235196b0704f) (cherry picked from commit f8b85873c9157f00b4951a78977fa87e3ab7c628) --- eng/emsdk.proj | 21 ++++++------ eng/sanitize.py | 85 ------------------------------------------------- 2 files changed, 10 insertions(+), 96 deletions(-) delete mode 100644 eng/sanitize.py diff --git a/eng/emsdk.proj b/eng/emsdk.proj index 1cee58eb5b..47547183fc 100644 --- a/eng/emsdk.proj +++ b/eng/emsdk.proj @@ -174,15 +174,6 @@ - - - $(NodeDir)/bin:$(PATH) - $(NodeDir)\bin%3B$(PATH.Replace(';', '%3B')) - - - - - - + + + $(HostNodeDir)/bin:$(PATH) + $(HostNodeDir)\bin%3B$(PATH.Replace(';', '%3B')) + + + diff --git a/eng/sanitize.py b/eng/sanitize.py deleted file mode 100644 index 19d02f90b7..0000000000 --- a/eng/sanitize.py +++ /dev/null @@ -1,85 +0,0 @@ -#!/usr/bin/env python3 -import json -import os -import shutil -import sys - - -def glob(path): - return [os.path.join(path, filename) for filename in os.listdir(path)] - - -def remove(*paths): - for path in paths: - path = os.path.abspath(path) - try: - if os.path.isdir(path): - shutil.rmtree(path) - else: - os.remove(path) - except OSError as error: - print(error) - - -def rewrite_package_json(path): - package = open(path, "r+") - settings = json.load(package) - settings["devDependencies"] = {} - package.seek(0) - package.truncate() - json.dump(settings, package, indent=4) - package.close() - - -emscripten_path = sys.argv[1] -node_root = sys.argv[2] -node_paths = glob(node_root) -upgrade = True - -# Add the local node bin directory to the path so that -# npm can find it when doing the updating or pruning -os.environ["PATH"] = os.path.join(node_paths[0], "bin") + os.pathsep + os.environ["PATH"] - -# Set root .npmrc file as the config to make sure we use AzDO feed -os.environ["npm_config_userconfig"] = os.path.join(os.getcwd(), ".npmrc") - -def update_npm(path): - try: - os.chdir(os.path.join(path, "lib")) - os.system("npm install npm@latest") - os.system("npm install npm@latest") - prune() - except OSError as error: - print("npm update failed") - print(error) - - -def remove_npm(path): - os.chdir(path) - remove("bin/npx", "bin/npm", "include", "lib", "share") - - -def prune(): - try: - os.system("npm prune --production") - except OSError as error: - print("npm prune failed") - print(error) - -if upgrade: - for path in node_paths: - update_npm(path) - -os.chdir(emscripten_path) -rewrite_package_json("package.json") -try: - os.system("npm audit fix") -except OSError as error: - print("npm audit fix failed") - print(error) - -prune() - -if not upgrade: - for path in node_paths: - remove_npm(path)