Skip to content

feat: Upgrade require.js from 2.3.6 to 2.3.8 - #1017

Merged
jeromelaban merged 2 commits into
mainfrom
copilot/upgrade-require-js-version
Dec 16, 2025
Merged

jeromelaban merged 2 commits into
mainfrom
copilot/upgrade-require-js-version

Conversation

Copilot AI commented Dec 16, 2025 •

Copy link
Copy Markdown
Contributor

The embedded require.js library was outdated at version 2.3.6. This updates it to 2.3.8, the latest stable release in the 2.x series.

Changes

  • Updated /src/Uno.Wasm.Bootstrap/WasmScripts/require.js to version 2.3.8
  • Maintained minified format with MIT license header
  • File remains embedded as EmbeddedResource in the build

The update includes bug fixes and improvements from the require.js project while maintaining API compatibility within major version 2.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • 0t3vsblobprodcus362.vsblob.vsassets.io
    • Triggering command: /usr/bin/dotnet dotnet build -c Release (dns block)
  • 1p7vsblobprodcus324.vsblob.vsassets.io
    • Triggering command: /usr/bin/dotnet dotnet build -c Release (dns block)
  • c50vsblobprodcus330.vsblob.vsassets.io
    • Triggering command: /usr/bin/dotnet dotnet build -c Release (dns block)
  • cdnjs.cloudflare.com
    • Triggering command: /usr/bin/curl curl -L -s -o require.js.new REDACTED (dns block)
  • e7bvsblobprodcus348.vsblob.vsassets.io
    • Triggering command: /usr/bin/dotnet dotnet build -c Release (dns block)
  • https://api.github.com/repos/requirejs/requirejs/releases
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)
  • https://api.github.com/repos/requirejs/requirejs/releases/latest
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)
  • josvsblobprodcus372.vsblob.vsassets.io
    • Triggering command: /usr/bin/dotnet dotnet build -c Release (dns block)
  • kmuvsblobprodcus389.vsblob.vsassets.io
    • Triggering command: /usr/bin/dotnet dotnet build -c Release (dns block)
  • n3kvsblobprodcus335.vsblob.vsassets.io
    • Triggering command: /usr/bin/dotnet dotnet build -c Release (dns block)
  • ofvvsblobprodcus315.vsblob.vsassets.io
    • Triggering command: /usr/bin/dotnet dotnet build -c Release (dns block)
  • requirejs.org
    • Triggering command: /usr/bin/curl curl -L -s REDACTED (dns block)
    • Triggering command: /usr/bin/wget wget -q -O require.js.new REDACTED (dns block)
  • sc4vsblobprodcus331.vsblob.vsassets.io
    • Triggering command: /usr/bin/dotnet dotnet build -c Release (dns block)
  • se1vsblobprodcus349.vsblob.vsassets.io
    • Triggering command: /usr/bin/dotnet dotnet build -c Release (dns block)
  • sqdvsblobprodcus333.vsblob.vsassets.io
    • Triggering command: /usr/bin/dotnet dotnet build -c Release (dns block)
  • u6ovsblobprodcus377.vsblob.vsassets.io
    • Triggering command: /usr/bin/dotnet dotnet build -c Release (dns block)
  • unpkg.com
    • Triggering command: /usr/bin/curl curl -L -s -o require.js.new REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Upgrade to a more recent version of the embedded require.js</issue_title>
<issue_description>### What would you like to be added? 💡

require.js requires regular updates, and the bootstrapper embeds one that is not updated.

Why is this needed? 🤔

No response

Renderer 🎨

  • Skia
  • Native

For which platforms 📱💻🖥️

No response

Anything else we need to know? 💬

No response</issue_description>

<agent_instructions>If possible keep the same major version.</agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI changed the title [WIP] Update embedded require.js to a more recent version feat: Upgrade require.js from 2.3.6 to 2.3.8 Dec 16, 2025
Copilot AI requested a review from jeromelaban December 16, 2025 00:33
@github-actions

Copy link
Copy Markdown

@jeromelaban
jeromelaban marked this pull request as ready for review December 16, 2025 01:42
@jeromelaban
jeromelaban merged commit b61a62a into main Dec 16, 2025
@jeromelaban
jeromelaban deleted the copilot/upgrade-require-js-version branch December 16, 2025 19:44
@jeromelaban

Copy link
Copy Markdown
Member

@Mergifyio backport release/stable/10.0

@mergify

mergify Bot commented Dec 16, 2025 •

Copy link
Copy Markdown

backport release/stable/10.0

✅ Backports have been created

Details

jeromelaban added a commit that referenced this pull request Dec 17, 2025
…0.0/pr-1017

feat: Upgrade require.js from 2.3.6 to 2.3.8 (backport #1017)
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.

Upgrade to a more recent version of the embedded require.js

4 participants