Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade @angular-devkit/build-angular from 15.0.0 to 19.0.4 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snyk-io[bot]
Copy link

@snyk-io snyk-io bot commented Dec 31, 2024

snyk-top-banner

Snyk has created this PR to upgrade @angular-devkit/build-angular from 15.0.0 to 19.0.4.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 218 versions ahead of your current version.

  • The recommended version was released a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
critical severity Incomplete List of Disallowed Inputs
SNYK-JS-BABELTRAVERSE-5962462
218 Proof of Concept
high severity Asymmetric Resource Consumption (Amplification)
SNYK-JS-BODYPARSER-7926860
218 No Known Exploit
high severity Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
218 Proof of Concept
high severity Improper Handling of Extra Parameters
SNYK-JS-FOLLOWREDIRECTS-6141137
218 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-HTTPPROXYMIDDLEWARE-8229906
218 Proof of Concept
high severity Server-side Request Forgery (SSRF)
SNYK-JS-IP-6240864
218 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-CROSSSPAWN-8303230
218 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-ENGINEIO-3136336
218 No Known Exploit
high severity Uncaught Exception
SNYK-JS-SOCKETIO-7278048
218 No Known Exploit
high severity Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
218 No Known Exploit
high severity Uncaught Exception
SNYK-JS-ENGINEIO-5496331
218 No Known Exploit
high severity Denial of Service (DoS)
SNYK-JS-SOCKETIOPARSER-5596892
218 No Known Exploit
high severity Sandbox Bypass
SNYK-JS-WEBPACK-3358798
218 Proof of Concept
high severity Path Traversal
SNYK-JS-WEBPACKDEVMIDDLEWARE-6476555
218 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-WS-7266574
218 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-WS-7266574
218 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-PATHTOREGEXP-7925106
218 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-PATHTOREGEXP-8482416
218 Proof of Concept
medium severity Improper Input Validation
SNYK-JS-POSTCSS-5926692
218 No Known Exploit
medium severity Information Exposure
SNYK-JS-FOLLOWREDIRECTS-6444610
218 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-HTTPCACHESEMANTICS-3248783
218 Proof of Concept
medium severity Cross-site Scripting (XSS)
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
218 Proof of Concept
medium severity Server-Side Request Forgery (SSRF)
SNYK-JS-IP-7148531
218 Proof of Concept
medium severity Prototype Pollution
SNYK-JS-JSON5-3182856
218 Proof of Concept
medium severity Cross-site Scripting (XSS)
SNYK-JS-COOKIE-8163060
218 No Known Exploit
medium severity Cross-site Scripting (XSS)
SNYK-JS-COOKIE-8163060
218 No Known Exploit
medium severity Improper Input Validation
SNYK-JS-NANOID-8492085
218 No Known Exploit
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
218 No Known Exploit
medium severity Cross-site Scripting
SNYK-JS-EXPRESS-7926867
218 No Known Exploit
medium severity Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-JS-TAR-6476909
218 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-UAPARSERJS-3244450
218 Proof of Concept
medium severity Cross-site Scripting (XSS)
SNYK-JS-WEBPACK-7840298
218 Proof of Concept
low severity Cross-site Scripting
SNYK-JS-SEND-7926862
218 No Known Exploit
low severity Cross-site Scripting
SNYK-JS-SERVESTATIC-7926865
218 No Known Exploit
Release notes
Package name: @angular-devkit/build-angular
  • 19.0.4 - 2024-12-05

    19.0.4 (2024-12-05)

    @ angular-devkit/build-angular

    Commit Description
    fix - 23667ed4a handle windows spec collisions

    @ angular/build

    Commit Description
    fix - fc41f50b5 show error when Node.js built-ins are used during ng serve
    perf - 14451e275 reuse TS package.json cache when rebuilding
  • 19.0.3 - 2024-12-04

    19.0.3 (2024-12-04)

    @ schematics/angular

    Commit Description
    fix - 28a51cc5e add required type to CanDeactivate guard (#29004)

    @ angular/cli

    Commit Description
    fix - 4e82ca180 correctly select package versions in descending order during ng add

    @ angular/build

    Commit Description
    fix - f26e1b462 add timeout to route extraction
    fix - ab4e77c75 allow .json file replacements with application builds
    fix - 06690d87e apply define option to JavaScript from scripts option
    fix - 775e6f780 avoid deploy URL usage on absolute preload links
    fix - 21f21eda3 ensure correct handling of index.output for SSR

    @ angular/ssr

    Commit Description
    fix - 75cf47e71 apply HTML transformation to CSR responses
    fix - 5880a0230 correctly handle serving of prerendered i18n pages
    fix - 277b8a378 ensure compatibility for Http2ServerResponse type
  • 19.0.2 - 2024-11-25

    19.0.2 (2024-11-25)

    @ schematics/angular

    Commit Description
    fix - 2f53e2af5 skip SSR routing prompt in webcontainer

    @ angular/build

    Commit Description
    fix - f9da163f8 minimize reliance on esbuild inject to prevent code reordering
    fix - c497749e6 prevent errors with parameterized routes when getPrerenderParams is undefined

    @ angular/ssr

    Commit Description
    fix - c8cd90e0f handle nested redirects not explicitly defined in router config
  • 19.0.1 - 2024-11-21

    19.0.1 (2024-11-21)

    @ angular-devkit/build-angular

    Commit Description
    fix - b63123f20 use stylePreprocessorOptions

    @ angular/build

    Commit Description
    fix - 74461da64 ensure accurate content length for server assets
    fix - 1b4dcedd5 use sha256 instead of sha-256 as hash algorithm name

    @ angular/ssr

    Commit Description
    fix - 8bd2b260e handle baseHref that start with ./
  • 19.0.0 - 2024-11-19

    19.0.0 (2024-11-19)

    @ angular/cli

    Commit Description
    feat - 201b60e1d handle string key/value pairs, e.g. --define
    fix - b847d4460 recommend optional application update migration during v19 update
    perf - f249e7e85 enable Node.js compile code cache when available
    perf - ecc107d83 enable Node.js compile code cache when available

    @ schematics/angular

    Commit Description
    feat - a381a3db1 add option to export component as default
    feat - 755f3a07f add option to setup new workspace or application as zoneless mode
    feat - cfca5442e integrate withEventReplay() in provideClientHydration for new SSR apps
    feat - 292a4b7c2 update app-shell and ssr schematics to adopt new Server Rendering API
    fix - b1504c3bc component spec with export default
    fix - 4b4e000dd don't show server routing prompt when using browser builder
    fix - 4e2a5fe15 enable opt-in for new @ angular/ssr feature
    fix - fcf7443d6 explicitly set standalone:false
    fix - 7992218a9 remove declaration and sourceMap from default tsconfig
    fix - 9e6ab1bf2 use default import for express

    @ angular-devkit/schematics-cli

    Commit Description
    feat - 37693c40e add package manager option to blank schematic

    @ angular-devkit/architect

    Commit Description
    feat - 78f76485f merge object options from CLI

    @ angular-devkit/build-angular

    Commit Description
    feat - 0a4ef3026 karma-coverage w/ app builder
    feat - dcbdca85c karma+esbuild+watch
    feat - 54594b5ab support karma with esbuild
    fix - ea5ae68da bring back style tags in browser builder
    fix - 476f94f51 fix --watch regression in karma
    fix - 25d928b4f fix hanging terminal when browser-sync is not installed
    fix - 2ec877dd0 handle basename collisions
    fix - ab6e19e1f handle main field
    fix - 43e7aae22 remove double-watch in karma
    fix - 1e37b5939 serve assets
    fix - 9d7613db9 zone.js/testing + karma + esbuild
    refactor - e40384e63 remove deprecated browserTarget
    refactor - 62877bdf2 remove Protractor builder and schematics

    @ angular-devkit/core

    Commit Description
    refactor - 0d8a1006d remove deprecated fileBuffer function in favor of stringToFileBuffer

    @ angular/build

    Commit Description
    feat - b6951f448 add sass to stylePreprocessorOptions in application builder
    feat - efb434136 Auto-CSP support as a part of angular.json schema
    feat - 816e3cb86 enable component stylesheet hot replacement by default
    feat - 3b00fc908 introduce outputMode option to the application builder
    feat - 7d883a152 introduce ssr.experimentalPlatform option
    feat - c48d6947e set development/production condition
    feat - f63072668 utilize ssr.entry during prerendering to enable access to local API routes
    feat - bbc290133 utilize ssr.entry in Vite dev-server when available
    fix - 5a7a2925b add missing redirect in SSR manifest
    fix - 06e5176c2 add warning when --prerendering or --app-shell are no-ops
    fix - ecaf870b5 always clear dev-server error overlay on non-error result
    fix - f8677f6a9 always record component style usage for HMR updates
    fix - 099e477a8 avoid hashing development external component stylesheets
    fix - 3602bbb77 avoid overwriting inline style bundling additional results
    fix - 71534aadc check referenced files against native file paths
    fix - fed31e064 correctly use dev-server hmr option to control stylesheet hot replacement
    fix - b86bb080e disable dev-server websocket when live reload is disabled
    fix - 7c50ba9e2 ensure index.csr.html is always generated when prerendering or SSR are enabled
    fix - efb2232df ensure accurate content size in server asset metadata
    fix - 18a8584ea ensure SVG template URLs are considered templates with external stylesheets
    fix - 7502fee28 Exclude known --import from execArgv when spawning workers
    fix - 2551df533 fully disable component style HMR in JIT mode
    fix - c41529cc1 handle APP_BASE_HREF correctly in prerendered routes
    fix - 87a90afd4 incomplete string escaping or encoding
    fix - 1bb68ba68 move lmdb to optionalDependencies
    fix - a995c8ea6 prevent prerendering of catch-all routes
    fix - 1654acf0f relax constraints on external stylesheet component id
    fix - 0d4558ea5 set ngServerMode during vite prebundling
    fix - 55d7f01b6 simplify disabling server features with --no-server via command line
    fix - cf0228b82 skip wildcard routes from being listed as prerendered routes
    fix - af52fb49b synchronize import/export conditions between bundler and TypeScript
    fix - 6c618d495 update logic to support both internal and external SSR middlewares
    fix - bfa8fec9b use named export reqHandler for server.ts request handling
    fix - c8e1521a2 workaround Vite CSS ShadowDOM hot replacement
    refactor - d6a34034d remove automatic addition of @ angular/localize/init polyfill and related warnings

    @ angular/ssr

    Commit Description
    feat - 92209dd2e add createRequestHandler and createNodeRequestHandler utilities
    feat - 41fb2ed86 Add getHeaders Method to AngularAppEngine and AngularNodeAppEngine for handling pages static headers
    feat - f346ee8a8 add isMainModule function
    feat - d66aaa3ca add server routing configuration API
    feat - bca568389 dynamic route resolution using Angular router
    feat - 30c25bf68 export AngularAppEngine as public API
    feat - 455b5700c expose writeResponseToNodeResponse and createWebRequestFromNodeRequest in public API
    feat - 9692a9054 improve handling of aborted requests in AngularServerApp
    feat - 576ff604c introduce AngularNodeAppEngine API for Node.js integration
    feat - 3c9697a8c introduce new hybrid rendering API
    feat - 4b09887a9 move CommonEngine API to /node entry-point
    fix - d43180af5 add missing peer dependency on @ angular/platform-server
    fix - 74b3e2d51 add validation to prevent use of provideServerRoutesConfig in browser context

Snyk has created this PR to upgrade @angular-devkit/build-angular from 15.0.0 to 19.0.4.

See this package in npm:
@angular-devkit/build-angular

See this project in Snyk:
https://app.snyk.io/org/hashim21223445/project/e2271224-e88d-42f3-9b41-57a888547e24?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
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.

0 participants