Skip to content

Update NuGet, npm dependencies; address Dependapot issues - #75

Merged
JeremyCaney merged 13 commits into
masterfrom
maintenance/update-dependencies
Dec 1, 2026
Merged

JeremyCaney merged 13 commits into
masterfrom
maintenance/update-dependencies

Conversation

@JeremyCaney

Copy link
Copy Markdown
Member

This provides a standard maintenance pass on the project dependencies. It updates the npm and NuGet packages that could be updated cleanly, and it pins vulnerable transitive build dependencies to patched versions to resolve open Dependabot alerts. It also includes some cleanup of the deployment configuration.

Dependency Updates

NuGet

Package Previous Version New Version Commit
Microsoft.Data.SqlClient 7.1.2 8.0.0 51fdf59

This supersedes the Dependabot update in #73.

npm

Package Previous Version New Version Commit
autoprefixer 10.7.0 10.7.1 5ec5123
postcss 8.5.33 8.5.34 d3be165

This supersedes the Dependabot updates in #69 and #70.

Pinned Transitive Dependencies

These are all build dependencies, and shouldn't directly impact the product. Each pin can be removed once its parent package requires a patched version itself.

Package Pinned Version Parent Package Dependabot Alerts Commit
lodash ^4.18.0 jshint, gulp-jshint #84, #66 99f4957
minimatch ^3.1.3 jshint, gulp-jshint, gulp-match #75 e30a5ca
brace-expansion ^1.1.21 minimatch #117, #91 bee7631
decode-uri-component ^0.5.1 gulp-sourcemaps #123, #107 c36f938
yaml ^2.8.3 gulp-postcss None (npm audit) 9487e24
es5-ext ^0.10.63 gulp-sourcemaps None (npm audit) b4a3552
postcss ^8.5.34 gulp-sourcemaps #103, #100, #98, #88, #47 b577ba6

This also supersedes the Dependabot update in #59 for brace-expansion.

Note: The postcss pin applies to every copy, since an override scoped to gulp-sourcemaps didn't take effect.

Skipped

  • jQuery (3.8.0 to 4.1.0): Major update tracked as its own project in Update jQuery to 4.x #54
  • EPPlus: Pinned below version 5, which requires a commercial license
  • System.Drawing.Common (4.7.3 to 11.0.0): Pinned to patch an advisory in the dependency of EPPlus

Cleanup

Deployment

  • Deployed GoldSimWeb to the staging slot instead of production (63daf2a)
    • Azure automatically swaps the slot to production, minimizing downtime
  • Removed the unused Web.Debug.config and Web.Release.config transforms, App_Initializing.html, and App_Online.htm (b08a37a, 537b9b7)
    • The warm-up they configured never worked, and slot swaps now handle it via WEBSITE_SWAP_WARMUP_PING_PATH

This impacts vendor prefixing in compiled CSS.
This impacts the processing of compiled CSS.
This impacts all SQL Server database access, including OnTopic.
The `GoldSimWeb` deployment (c0c2fa6) omitted `slot-name`, so `azure/webapps-deploy` published directly to the production slot instead of staging.

It now deploys to the `staging` slot, which Azure is configured to automatically swap to production. That builds the new version in staging first and minimizes production downtime, so the workflow needs no explicit swap step.
This is a build dependency and shouldn't directly impact the product. The `jshint` and `gulp-jshint` packages depend on `lodash`, and 4.17.21 was installed. The `overrides` entry forces 4.18.0 or later, resolving Dependabot alerts #84 and #66. It can be removed once `jshint` and `gulp-jshint` require a patched `lodash` themselves.
This is a build dependency and shouldn't directly impact the product. The `jshint`, `gulp-jshint`, and `gulp-match` packages depend on older copies of `minimatch` (3.0.8 and 3.1.2 were installed). The `overrides` entry forces 3.1.3 or later, resolving Dependabot alert #75. It can be removed once those packages require a patched `minimatch` themselves.
This is a build dependency and shouldn't directly impact the product. The `minimatch` package depends on `brace-expansion`, and 1.1.11 was installed. The `overrides` entry forces 1.1.21 or later, resolving Dependabot alerts #117 and #91. It can be removed once `minimatch` (pinned in e30a5ca) is updated or no longer needed.
This is a build dependency and shouldn't directly impact the product. The `gulp-sourcemaps` package depends on it through `css` and `source-map-resolve`, and 0.2.2 was installed. The `overrides` entry forces 0.5.1 or later, resolving Dependabot alerts #123 and #107. It can be removed once `gulp-sourcemaps` updates that chain.
This is a build dependency and shouldn't directly impact the product. The `gulp-postcss` package depends on it through `postcss-load-config`, and 2.4.1 was installed. It doesn't resolve any Dependabot alerts, but it does resolve a moderate `npm audit` advisory (GHSA-48c2-rrv3-qjmp). It can be removed once `postcss-load-config` requires a patched `yaml`.
This is a build dependency and shouldn't directly impact the product. The `gulp-sourcemaps` package depends on it through `debug-fabulous` and `memoizee`, and 0.10.62 was installed. It doesn't resolve any Dependabot alerts, but it does resolve a low-severity `npm audit` advisory (GHSA-4gmj-3p3h-gm8h). It can be removed once `gulp-sourcemaps` updates that chain.
This is a build dependency and shouldn't directly impact the product. The `gulp-sourcemaps` package depends on `@gulp-sourcemaps/identity-map`, which required `postcss` 7.0.39, an unsupported release. Because an override scoped to that package didn't take effect, the `overrides` entry applies to every copy, all now on 8.5.34 or later (the version already used by the project). This resolves Dependabot alerts #103, #100, #98, #88, and #47. It can be removed once `gulp-sourcemaps` supports `postcss` 8.
The file contained only an empty `<system.web>` element, so it doesn't transformed anything.

The `Web.Release.config` transform remains, as the publish step still uses it to add the `applicationInitialization` warm-up page.
Removes `Web.Release.config`, `App_Initializing.html`, and `App_Online.htm`.

The transform added an `applicationInitialization` warm-up that was ineffective: It referenced `App_Initializing.htm` (the file is `.html`), and the file was never published.

Slot swaps are warmed up by the `WEBSITE_SWAP_WARMUP_PING_PATH` App Service setting instead.

`App_Online.htm` was an unreferenced maintenance page that IIS would only honor if renamed to `App_Offline.htm`.

These were left over from the pre-Azure, pre-ASP.NET Core migrations, and likely never worked as expected after those two updates. They're legacy noise.

While both are admittedly useful, the `staging` deployment slot swap should largely mitigate the `App_Initializing.html`, and the e.g., `/Error/InternalServer/` page handles most expected downtime scenarios.

If we want to revisit this later, we'll do so with ASP.NET Core and Azure App Services in mind, instead of relying blindly on legacy IIS configurations.
@JeremyCaney JeremyCaney self-assigned this Dec 1, 2026
@JeremyCaney JeremyCaney added Source: Dependencies Pull requests that update a dependency file Source: SASS labels Dec 1, 2026
@JeremyCaney
JeremyCaney merged commit b5dd555 into master Dec 1, 2026
7 checks passed
@JeremyCaney
JeremyCaney deleted the maintenance/update-dependencies branch December 1, 2026 23:49

This branch was successfully deployed

1 active deployment
GoldSimWebTest — 537b9b7a Deployed Dec 1, 2026 by JeremyCaney via deploy-test #26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Source: Dependencies Pull requests that update a dependency file Source: SASS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant