Repository navigation
Update NuGet, npm dependencies; address Dependapot issues - #75
Merged
Merged
Conversation
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.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
This supersedes the Dependabot update in #73.
npm
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.
npm audit)npm audit)This also supersedes the Dependabot update in #59 for
brace-expansion.Skipped
jQuery(3.8.0 to 4.1.0): Major update tracked as its own project in Update jQuery to 4.x #54EPPlus: Pinned below version 5, which requires a commercial licenseSystem.Drawing.Common(4.7.3 to 11.0.0): Pinned to patch an advisory in the dependency ofEPPlusCleanup
Deployment
GoldSimWebto thestagingslot instead of production (63daf2a)Web.Debug.configandWeb.Release.configtransforms,App_Initializing.html, andApp_Online.htm(b08a37a, 537b9b7)WEBSITE_SWAP_WARMUP_PING_PATH