Repository navigation
Bump the npm_and_yarn group across 18 directories with 5 updates - #21404
Conversation
Bumps the npm_and_yarn group with 1 update in the /playground/AspireWithJavaScript/AspireJavaScript.Angular directory: [qs](https://github.com/ljharb/qs). Bumps the npm_and_yarn group with 1 update in the /playground/AspireWithJavaScript/AspireJavaScript.NodeApp directory: [qs](https://github.com/ljharb/qs). Bumps the npm_and_yarn group with 2 updates in the /playground/EntraId/EntraId.NodeWeb directory: [body-parser](https://github.com/expressjs/body-parser) and [qs](https://github.com/ljharb/qs). Bumps the npm_and_yarn group with 1 update in the /playground/JavaAppHost/api directory: [body-parser](https://github.com/expressjs/body-parser). Bumps the npm_and_yarn group with 1 update in the /playground/PostgresEndToEnd/PostgresEndToEnd.NodeService directory: [body-parser](https://github.com/expressjs/body-parser). Bumps the npm_and_yarn group with 1 update in the /playground/TypeScriptAppHost/express-api directory: [body-parser](https://github.com/expressjs/body-parser). Bumps the npm_and_yarn group with 1 update in the /playground/TypeScriptAppHost/vite-frontend directory: vite. Bumps the npm_and_yarn group with 1 update in the /playground/TypeScriptApps/AzureFunctionsSample/TypeScriptApiService directory: [body-parser](https://github.com/expressjs/body-parser). Bumps the npm_and_yarn group with 1 update in the /playground/TypeScriptApps/AzureFunctionsWithStorage/Frontend directory: vite. Bumps the npm_and_yarn group with 1 update in the /playground/TypeScriptApps/RpsArena/arena-frontend directory: vite. Bumps the npm_and_yarn group with 1 update in the /playground/TypeScriptApps/RpsArena/node-player directory: [body-parser](https://github.com/expressjs/body-parser). Bumps the npm_and_yarn group with 1 update in the /src/Aspire.Cli/Templating/Templates/java-starter/frontend directory: vite. Bumps the npm_and_yarn group with 1 update in the /src/Aspire.Cli/Templating/Templates/py-starter/frontend directory: vite. Bumps the npm_and_yarn group with 1 update in the /src/Aspire.Cli/Templating/Templates/ts-starter/frontend directory: vite. Bumps the npm_and_yarn group with 1 update in the /src/Aspire.ProjectTemplates/templates/aspire-ts-cs-starter/frontend directory: vite. Bumps the npm_and_yarn group with 1 update in the /tests/Aspire.Cli.EndToEnd.Tests/Fixtures/JsPublish/nextjs directory: next. Bumps the npm_and_yarn group with 1 update in the /tests/Aspire.Cli.EndToEnd.Tests/Fixtures/JsPublish/npmscript directory: [body-parser](https://github.com/expressjs/body-parser). Bumps the npm_and_yarn group with 2 updates in the /tests/Aspire.Hosting.CodeGeneration.TypeScript.JsTests directory: vite and [@vitest/mocker](https://github.com/vitest-dev/vitest/tree/HEAD/packages/mocker). Updates `qs` from 6.16.0 to 6.16.1 - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](ljharb/qs@v6.16.0...v6.16.1) Updates `qs` from 6.16.0 to 6.16.1 - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](ljharb/qs@v6.16.0...v6.16.1) Updates `body-parser` from 2.3.0 to 2.4.0 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](expressjs/body-parser@v2.3.0...v2.4.0) Updates `qs` from 6.16.0 to 6.16.1 - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](ljharb/qs@v6.16.0...v6.16.1) Updates `body-parser` from 2.3.0 to 2.4.0 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](expressjs/body-parser@v2.3.0...v2.4.0) Updates `body-parser` from 2.3.0 to 2.4.0 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](expressjs/body-parser@v2.3.0...v2.4.0) Updates `body-parser` from 2.3.0 to 2.4.0 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](expressjs/body-parser@v2.3.0...v2.4.0) Updates `vite` from 8.2.2 to 8.3.5 Updates `body-parser` from 2.3.0 to 2.4.0 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](expressjs/body-parser@v2.3.0...v2.4.0) Updates `vite` from 6.4.3 to 6.4.5 Updates `vite` from 8.2.2 to 8.3.5 Updates `body-parser` from 2.3.0 to 2.4.0 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](expressjs/body-parser@v2.3.0...v2.4.0) Updates `vite` from 8.2.2 to 8.3.5 Updates `vite` from 8.2.2 to 8.3.5 Updates `vite` from 8.2.2 to 8.3.5 Updates `vite` from 8.2.2 to 8.3.5 Updates `next` from 16.3.8 to 16.4.1 Updates `body-parser` from 2.3.0 to 2.4.0 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](expressjs/body-parser@v2.3.0...v2.4.0) Updates `vite` from 8.2.2 to 8.3.5 Updates `@vitest/mocker` from 5.0.0 to 5.0.5 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.5/packages/mocker) --- updated-dependencies: - dependency-name: qs dependency-version: 6.16.1 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: qs dependency-version: 6.16.1 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: body-parser dependency-version: 2.4.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: qs dependency-version: 6.16.1 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: body-parser dependency-version: 2.4.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: body-parser dependency-version: 2.4.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: body-parser dependency-version: 2.4.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: vite dependency-version: 8.3.5 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: body-parser dependency-version: 2.4.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: vite dependency-version: 6.4.5 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: vite dependency-version: 8.3.5 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: body-parser dependency-version: 2.4.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: vite dependency-version: 8.3.5 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: vite dependency-version: 8.3.5 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: vite dependency-version: 8.3.5 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: vite dependency-version: 8.3.5 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: next dependency-version: 16.4.1 dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: body-parser dependency-version: 2.4.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: vite dependency-version: 8.3.5 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: "@vitest/mocker" dependency-version: 5.0.5 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 21404Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 21404" |
Tests selector4 / 100 PR test projects · 7 PR jobs, from 27 changed files. Selected PR test projects (4 / 100)
Selected PR jobs (7)
How these were chosen — grouped by what changed🔧 🔧 📦 affected project 📄 📄 📄 📄 📄 📄 📄 📄 📄 📄 📄 📄 📄 📄 🔧 🧪 🧪 🧪 Job reasons
Selection computed for commit |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Looks like these dependencies are updatable in another way, so this is no longer needed. |
…file directories (#21660) ## Description Fixes #21659 Dependabot `npm_and_yarn` security-update PRs write internal dnceng `resolved` URLs into lockfiles that must use the public npm registry. Over the last 7 days, 4 of 5 such PRs failed CI on attempt 1, with 7–18 jobs failed per run: - `TemplatePackageLockTests.*_UsesPublicNpmRegistry` on every OS - Starter Validation - Docker `npm ci` E401 in the K8s TypeScript, PV and JavaScriptPublish E2E tests **Root cause:** if a package directory has no `.npmrc`, Dependabot walks up the parent directories to find one (dependabot-core `npm_and_yarn/file_fetcher.rb#npmrc` → `fetch_file_from_parent_directories`). It therefore uses the repo-root `.npmrc`, whose `registry=` is the dnceng feed. Local npm stops at the package root, so locally regenerated lockfiles stay on npmjs. Only Dependabot drifts. **Fix:** - Add a directory `.npmrc` with `registry=https://registry.npmjs.org/` to the 8 lockfile directories that must use the public registry: - `ts-starter`, `ts-starter/frontend`, `py-starter`, `py-starter/frontend`, `java-starter/frontend` - `aspire-ts-cs-starter/frontend` - `JsPublish/nextjs`, `JsPublish/npmscript` Dependabot reads the directory's own `.npmrc` first. - Don't ship these repo-only files to customers, so a user's own registry config isn't overridden: - `Aspire.Cli.csproj`: `EmbeddedResource Remove="Templating\Templates\**\.npmrc"` - `Aspire.ProjectTemplates.csproj`: `TemplateFiles` excludes `templates\**\.npmrc` - Repo-internal lockfiles that are meant to use dnceng are unchanged. **Selective CI:** a new `test-trigger-map.yml` path rule routes the JsPublish fixture `.npmrc` files to `test:Aspire.Cli.Tests`. The selector regression `TestTriggerMapTests.JsPublishFixtureNpmrcRunsCliPublicRegistryGuard` covers it: it fails with the rule reverted, and all 346 TestTriggerMap tests pass. **Regression tests** in `TemplatePackageLockTests`: - `PublicRegistryPackageLockDirectory_PinsPublicNpmRegistryForDependabot` (8 cases) - `CliTemplateResources_DoNotIncludeRepoOnlyNpmrc` ## Evidence **Before and after lockfile resolution.** This mirrors Dependabot's update on #21404: `npm install [email protected] --package-lock-only` on the ts-starter frontend from `main`. | `.npmrc` Dependabot sees | `resolved` hosts | vite 8.3.5 resolved | |---|---|---| | repo root (before) | 159 `registry.npmjs.org` + **17 `pkgs.dev.azure.com`** | `pkgs.dev.azure.com/dnceng/.../vite-8.3.5.tgz` | | directory `.npmrc` (after) | **177 `registry.npmjs.org`** | `registry.npmjs.org/vite/-/vite-8.3.5.tgz` | The "before" split is the same as the actual Dependabot commit on #21404 (17 dnceng URLs in this file). **Docker `npm ci`** (`node:22-alpine`, no credentials, `npm ci --ignore-scripts`): - Before lockfile: `npm error code E401 Unable to authenticate, your authentication token seems to be invalid` (exit 1). This matches CI. - After lockfile: `added 152 packages in 4s` (exit 0). **Tests and packaging:** - `TemplatePackageLockTests`: 33/33 pass locally. - With `ts-starter/frontend/.npmrc` removed, the new test fails as expected. - `dotnet msbuild Aspire.ProjectTemplates.csproj -getItem:TemplateFiles`: 303 items, 0 `.npmrc`, and the frontend `package-lock.json` is still included. **Out of scope:** the TypeScript SDK unit-test E401 comes from a lockfile that is meant to use dnceng and asks for versions the feed hasn't cached yet. dnceng 429 retries are covered by #18691 / #21657. ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] Yes - [ ] No - Did you add public API? - [ ] Yes - [x] No - Does the change make any security assumptions or guarantees? - [ ] Yes - [x] No **🤖 Posted by AspireAgent (AI Agent)** --------- Co-authored-by: davidfowl <[email protected]> Co-authored-by: Copilot <[email protected]>
Bumps the npm_and_yarn group with 1 update in the /playground/AspireWithJavaScript/AspireJavaScript.Angular directory: qs.
Bumps the npm_and_yarn group with 1 update in the /playground/AspireWithJavaScript/AspireJavaScript.NodeApp directory: qs.
Bumps the npm_and_yarn group with 2 updates in the /playground/EntraId/EntraId.NodeWeb directory: body-parser and qs.
Bumps the npm_and_yarn group with 1 update in the /playground/JavaAppHost/api directory: body-parser.
Bumps the npm_and_yarn group with 1 update in the /playground/PostgresEndToEnd/PostgresEndToEnd.NodeService directory: body-parser.
Bumps the npm_and_yarn group with 1 update in the /playground/TypeScriptAppHost/express-api directory: body-parser.
Bumps the npm_and_yarn group with 1 update in the /playground/TypeScriptAppHost/vite-frontend directory: vite.
Bumps the npm_and_yarn group with 1 update in the /playground/TypeScriptApps/AzureFunctionsSample/TypeScriptApiService directory: body-parser.
Bumps the npm_and_yarn group with 1 update in the /playground/TypeScriptApps/AzureFunctionsWithStorage/Frontend directory: vite.
Bumps the npm_and_yarn group with 1 update in the /playground/TypeScriptApps/RpsArena/arena-frontend directory: vite.
Bumps the npm_and_yarn group with 1 update in the /playground/TypeScriptApps/RpsArena/node-player directory: body-parser.
Bumps the npm_and_yarn group with 1 update in the /src/Aspire.Cli/Templating/Templates/java-starter/frontend directory: vite.
Bumps the npm_and_yarn group with 1 update in the /src/Aspire.Cli/Templating/Templates/py-starter/frontend directory: vite.
Bumps the npm_and_yarn group with 1 update in the /src/Aspire.Cli/Templating/Templates/ts-starter/frontend directory: vite.
Bumps the npm_and_yarn group with 1 update in the /src/Aspire.ProjectTemplates/templates/aspire-ts-cs-starter/frontend directory: vite.
Bumps the npm_and_yarn group with 1 update in the /tests/Aspire.Cli.EndToEnd.Tests/Fixtures/JsPublish/nextjs directory: next.
Bumps the npm_and_yarn group with 1 update in the /tests/Aspire.Cli.EndToEnd.Tests/Fixtures/JsPublish/npmscript directory: body-parser.
Bumps the npm_and_yarn group with 2 updates in the /tests/Aspire.Hosting.CodeGeneration.TypeScript.JsTests directory: vite and @vitest/mocker.
Updates
qsfrom 6.16.0 to 6.16.1Changelog
Sourced from qs's changelog.
Commits
2471b66v6.16.151f736e[Docs] document thatqsand flat parsers disagree about parameter names40239f7[Dev Deps] updatetaped219359[Fix]parse: do not mutate an object input98157dc[Fix]stringify: stop re-encoding structural separator dots when `encodeDot...cb075c5[Fix]stringify:arrayFormat: 'comma': pass the full encoder arguments wi...4b89c03[Fix]utils: encode+as%2Bin iso-8859-1 mode so values round-trip266527d[Perf]decode: skip decoders when there is no percent sign82c5bd0[Tests]utils:decode: add missing cases3ee412c[Tests]parse: characterize the]=split when an=precedes any bracket...Updates
qsfrom 6.16.0 to 6.16.1Changelog
Sourced from qs's changelog.
Commits
2471b66v6.16.151f736e[Docs] document thatqsand flat parsers disagree about parameter names40239f7[Dev Deps] updatetaped219359[Fix]parse: do not mutate an object input98157dc[Fix]stringify: stop re-encoding structural separator dots when `encodeDot...cb075c5[Fix]stringify:arrayFormat: 'comma': pass the full encoder arguments wi...4b89c03[Fix]utils: encode+as%2Bin iso-8859-1 mode so values round-trip266527d[Perf]decode: skip decoders when there is no percent sign82c5bd0[Tests]utils:decode: add missing cases3ee412c[Tests]parse: characterize the]=split when an=precedes any bracket...Updates
body-parserfrom 2.3.0 to 2.4.0Release notes
Sourced from body-parser's releases.
Changelog
Sourced from body-parser's changelog.
Commits
b4744d72.4.0 (#777)f7075eafix: prevent process crash from trailing bytes after a compressed body185ff1dchore: update dependencies (#778)73713f7docs: fix depth error description (#776)2dcc826docs: improve readability (#756)402dbdcdocs: note that req.body may be undefined in v2 (#752)9883a1eperf: inline content stream setup (#750)02101dafix(test): pin supertest to 7.3.0 to avoid 7.3.1 regression (#773)822a0fdbuild(deps): bump the github-actions group with 3 updates (#771)aa9889bci: trigger npm publish on release published and set dist-tag (#768)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for body-parser since your current version.
Updates
qsfrom 6.16.0 to 6.16.1Changelog
Sourced from qs's changelog.
Commits
2471b66v6.16.151f736e[Docs] document thatqsand flat parsers disagree about parameter names40239f7[Dev Deps] updatetaped219359[Fix]parse: do not mutate an object input98157dc[Fix]stringify: stop re-encoding structural separator dots when `encodeDot...cb075c5[Fix]stringify:arrayFormat: 'comma': pass the full encoder arguments wi...4b89c03[Fix]utils: encode+as%2Bin iso-8859-1 mode so values round-trip266527d[Perf]decode: skip decoders when there is no percent sign82c5bd0[Tests]utils:decode: add missing cases3ee412c[Tests]parse: characterize the]=split when an=precedes any bracket...Updates
body-parserfrom 2.3.0 to 2.4.0Release notes
Sourced from body-parser's releases.
Changelog
Sourced from body-parser's changelog.
Commits
b4744d72.4.0 (#777)f7075eafix: prevent process crash from trailing bytes after a compressed body185ff1dchore: update dependencies (#778)73713f7docs: fix depth error description (#776)2dcc826docs: improve readability (#756)402dbdcdocs: note that req.body may be undefined in v2 (#752)9883a1eperf: inline content stream setup (#750)02101dafix(test): pin supertest to 7.3.0 to avoid 7.3.1 regression (#773)822a0fdbuild(deps): bump the github-actions group with 3 updates (#771)aa9889bci: trigger npm publish on release published and set dist-tag (#768)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for body-parser since your current version.
Updates
body-parserfrom 2.3.0 to 2.4.0Release notes
Sourced from body-parser's releases.
Changelog
Sourced from body-parser's changelog.
Commits
b4744d72.4.0 (#777)f7075eafix: prevent process crash from trailing bytes after a compressed body185ff1dchore: update dependencies (#778)73713f7docs: fix depth error description (#776)2dcc826docs: improve readability (#756)402dbdcdocs: note that req.body may be undefined in v2 (#752)9883a1eperf: inline content stream setup (#750)02101dafix(test): pin supertest to 7.3.0 to avoid 7.3.1 regression (#773)822a0fdbuild(deps): bump the github-actions group with 3 updates (#771)aa9889bci: trigger npm publish on release published and set dist-tag (#768)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for body-parser since your current version.
Updates
body-parserfrom 2.3.0 to 2.4.0Release notes
Sourced from body-parser's releases.
Changelog
Sourced from body-parser's changelog.
Commits
b4744d72.4.0 (#777)f7075eafix: prevent process crash from trailing bytes after a compressed body185ff1dchore: update dependencies (#778)73713f7docs: fix depth error description (#776)2dcc826docs: improve readability (#756)402dbdcdocs: note that req.body may be undefined in v2 (#752)9883a1eperf: inline content stream setup (#750)02101dafix(test): pin supertest to 7.3.0 to avoid 7.3.1 regression (