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: , , , , , , , bonjour-service, chokidar, express, html-entities, ipaddr.js, launch-editor, schema-utils, selfsigned, webpack, webpack-dev-middleware, ws #121

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

Conversation

X-oss-byte
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade multiple dependencies.

👯 The following dependencies are linked and will therefore be updated together.

ℹ️ 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.

Name Versions Released on

@types/bonjour
from 3.5.10 to 3.5.13 | 3 versions ahead of your current version | 10 months ago
on 2023-11-07
@types/connect-history-api-fallback
from 1.5.0 to 1.5.4 | 4 versions ahead of your current version | 10 months ago
on 2023-11-20
@types/serve-static
from 1.15.2 to 1.15.7 | 5 versions ahead of your current version | 5 months ago
on 2024-04-03
@types/express
from 4.17.17 to 4.17.21 | 4 versions ahead of your current version | 10 months ago
on 2023-11-07
@types/serve-index
from 1.9.1 to 1.9.4 | 3 versions ahead of your current version | 10 months ago
on 2023-11-07
@types/sockjs
from 0.3.33 to 0.3.36 | 3 versions ahead of your current version | 10 months ago
on 2023-11-07
@types/ws
from 8.5.5 to 8.5.12 | 7 versions ahead of your current version | 2 months ago
on 2024-07-29
bonjour-service
from 1.1.1 to 1.2.1 | 2 versions ahead of your current version | 8 months ago
on 2024-01-08
chokidar
from 3.5.3 to 3.6.0 | 1 version ahead of your current version | 7 months ago
on 2024-02-06
express
from 4.18.2 to 4.19.2 | 4 versions ahead of your current version | 6 months ago
on 2024-03-25
html-entities
from 2.3.3 to 2.5.2 | 7 versions ahead of your current version | 6 months ago
on 2024-03-04
ipaddr.js
from 2.0.1 to 2.2.0 | 2 versions ahead of your current version | 5 months ago
on 2024-04-20
launch-editor
from 2.6.0 to 2.8.1 | 4 versions ahead of your current version | a month ago
on 2024-08-05
schema-utils
from 4.0.1 to 4.2.0 | 2 versions ahead of your current version | a year ago
on 2023-06-14
selfsigned
from 2.1.1 to 2.4.1 | 5 versions ahead of your current version | a year ago
on 2023-10-26
webpack
from 5.82.1 to 5.94.0 | 21 versions ahead of your current version | a month ago
on 2024-08-22
webpack-dev-middleware
from 5.3.3 to 5.3.4 | 1 version ahead of your current version | 6 months ago
on 2024-03-20
ws
from 8.13.0 to 8.18.0 | 9 versions ahead of your current version | 2 months ago
on 2024-07-03

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Path Traversal
SNYK-JS-WEBPACKDEVMIDDLEWARE-6476555
412 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-WS-7266574
412 Proof of Concept
medium severity Cross-site Scripting (XSS)
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
412 Proof of Concept
medium severity Cross-site Scripting (XSS)
SNYK-JS-WEBPACK-7840298
412 Proof of Concept
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
412 No Known Exploit
Release notes
Package name: @types/bonjour
  • 3.5.13 - 2023-11-07
  • 3.5.12 - 2023-10-17
  • 3.5.11 - 2023-09-15
  • 3.5.10 - 2021-12-23
from @types/bonjour GitHub release notes
Package name: @types/connect-history-api-fallback
  • 1.5.4 - 2023-11-20
  • 1.5.3 - 2023-11-07
  • 1.5.2 - 2023-10-18
  • 1.5.1 - 2023-09-04
  • 1.5.0 - 2023-04-28
from @types/connect-history-api-fallback GitHub release notes
Package name: @types/serve-static
  • 1.15.7 - 2024-04-03
  • 1.15.6 - 2024-04-02
  • 1.15.5 - 2023-11-07
  • 1.15.4 - 2023-10-18
  • 1.15.3 - 2023-09-25
  • 1.15.2 - 2023-06-23
from @types/serve-static GitHub release notes
Package name: @types/express
  • 4.17.21 - 2023-11-07
  • 4.17.20 - 2023-10-18
  • 4.17.19 - 2023-10-10
  • 4.17.18 - 2023-09-23
  • 4.17.17 - 2023-02-03
from @types/express GitHub release notes
Package name: @types/serve-index
  • 1.9.4 - 2023-11-07
  • 1.9.3 - 2023-10-18
  • 1.9.2 - 2023-09-25
  • 1.9.1 - 2021-07-06
from @types/serve-index GitHub release notes
Package name: @types/sockjs
  • 0.3.36 - 2023-11-07
  • 0.3.35 - 2023-10-18
  • 0.3.34 - 2023-09-25
  • 0.3.33 - 2021-07-06
from @types/sockjs GitHub release notes
Package name: @types/ws
  • 8.5.12 - 2024-07-29
  • 8.5.11 - 2024-07-13
  • 8.5.10 - 2023-11-21
  • 8.5.9 - 2023-11-07
  • 8.5.8 - 2023-10-18
  • 8.5.7 - 2023-10-10
  • 8.5.6 - 2023-09-25
  • 8.5.5 - 2023-06-08
from @types/ws GitHub release notes
Package name: bonjour-service from bonjour-service GitHub release notes
Package name: chokidar from chokidar GitHub release notes
Package name: express from express GitHub release notes
Package name: html-entities from html-entities GitHub release notes
Package name: ipaddr.js from ipaddr.js GitHub release notes
Package name: launch-editor from launch-editor GitHub release notes
Package name: schema-utils
  • 4.2.0 - 2023-06-14
  • 4.1.0 - 2023-06-07

    4.1.0 (2023-06-07)

    Features

    • implement undefinedAsNull keyword for enum type (#175) (1265eac)
  • 4.0.1 - 2023-04-15

    4.0.1 (2023-04-15)

    Bug Fixes

    • (perf) improved initial start time
from schema-utils GitHub release notes
Package name: selfsigned from selfsigned GitHub release notes
Package name: webpack
  • 5.94.0 - 2024-08-22

    Bug Fixes

    • Added runtime condition for harmony reexport checked
    • Handle properly data/http/https protocols in source maps
    • Make bigint optimistic when browserslist not found
    • Move @ types/eslint-scope to dev deps
    • Related in asset stats is now always an array when no related found
    • Handle ASI for export declarations
    • Mangle destruction incorrect with export named default properly
    • Fixed unexpected asi generation with sequence expression
    • Fixed a lot of types

    New Features

    • Added new external type "module-import"
    • Support webpackIgnore for new URL() construction
    • [CSS] @ import pathinfo support

    Security

    • Fixed DOM clobbering in auto public path
  • 5.93.0 - 2024-07-11

    Bug Fixes

    • Generate correct relative path to runtime chunks
    • Makes DefinePlugin quieter under default log level
    • Fixed mangle destructuring default in namespace import
    • Fixed consumption of eager shared modules for module federation
    • Strip slash for pretty regexp
    • Calculate correct contenthash for CSS generator options

    New Features

    • Added the binary generator option for asset modules to explicitly keep source maps produced by loaders
    • Added the modern-module library value for tree shakable output
    • Added the overrideStrict option to override strict or non-strict mode for javascript modules
  • 5.92.1 - 2024-06-19

    Bug Fixes

    • Doesn't crash with an error when the css experiment is enabled and contenthash is used
  • 5.92.0 - 2024-06-11

    Bug Fixes

    • Correct tidle range's comutation for module federation
    • Consider runtime for pure expression dependency update hash
    • Return value in the subtractRuntime function for runtime logic
    • Fixed failed to resolve promise when eager import a dynamic cjs
    • Avoid generation extra code for external modules when remapping is not required
    • The css/global type now handles the exports name
    • Avoid hashing for @ keyframe and @ property at-rules in css/global type
    • Fixed mangle with destructuring for JSON modules
    • The stats.hasWarnings() method now respects the ignoreWarnings option
    • Fixed ArrayQueue iterator
    • Correct behavior of __webpack_exports_info__.a.b.canMangle
    • Changed to the correct plugin name for the CommonJsChunkFormatPlugin plugin
    • Set the chunkLoading option to the import when environment is unknown and output is module
    • Fixed when runtimeChunk has no exports when module chunkFormat used
    • [CSS] Fixed parsing minimized CSS import
    • [CSS] URLs in CSS files now have correct public path
    • [CSS] The css module type should not allow parser to switch mode
    • [Types] Improved context module types

    New Features

    • Added platform target properties to compiler
    • Improved multi compiler cache location and validating it
    • Support import attributes spec (with keyword)
    • Support node: prefix for Node.js core modules in runtime code
    • Support prefetch/preload for module chunk format
    • Support "..." in the importsFields option for resolver
    • Root module is less prone to be wrapped in IIFE
    • Export InitFragment class for plugins
    • Export compileBooleanMatcher util for plugins
    • Export InputFileSystem and OutputFileSystem types
    • [CSS] Support the esModule generator option for CSS modules
    • [CSS] Support CSS when chunk format is module
  • 5.91.0 - 2024-03-20

    Bug Fixes

    • Deserializer for ignored modules doesn't crash
    • Allow the unsafeCache option to be a proxy object
    • Normalize the snapshot.unmanagedPaths option
    • Fixed fs types
    • Fixed resolve's plugins types
    • Fixed wrongly calculate postOrderIndex
    • Fixed watching types
    • Output import attrbiutes/import assertions for external JS imports
    • Throw an error when DllPlugin needs to generate multiple manifest files, but the path is the same
    • [CSS] Output layer/supports/media for external CSS imports

    New Features

    • Allow to customize the stage of BannerPlugin
    • [CSS] Support CSS exports convention
    • [CSS] support CSS local ident name
    • [CSS] Support __webpack_nonce__ for CSS chunks
    • [CSS] Support fetchPriority for CSS chunks
    • [CSS] Allow to use LZW to compress css head meta (enabled in the production mode by default)
    • [CSS] Support prefetch/preload for CSS chunks
  • 5.90.3 - 2024-02-19

    Bug Fixes

    • don't mangle when destructuring a reexport
    • types for Stats.toJson() and Stats.toString()
    • many internal types
    • [CSS] clean up export css local vars

    Perf

    • simplify and optimize chunk graph creation
  • 5.90.2 - 2024-02-15

    Bug Fixes

    • use Math.imul in fnv1a32 to avoid loss of precision, directly hash UTF16 values
    • the setStatus() of the HMR module should not return an array, which may cause infinite recursion
    • __webpack_exports_info__.xxx.canMangle shouldn't always same as default
    • mangle export with destructuring
    • use new runtime to reconsider skipped connections activeState
    • make dynamic import optional in try/catch
    • improve auto publicPath detection

    Dependencies & Maintenance

    • improve CI setup and include Node.js@21
  • 5.90.1 - 2024-02-01

    Bug Fixes

    • set unmanagedPaths in defaults
    • correct preOrderIndex and postOrderIndex
    • add fallback for MIME mismatch error in async wasm loading
    • browsers versions of ECMA features

    Performance

    • optimize compareStringsNumeric
    • optimize numberHash using 32-bit FNV1a for small ranges, 64-bit for larger
    • reuse VM context across webpack magic comments
  • 5.90.0 - 2024-01-24

    Bug Fixes

    • Fixed inner graph for classes
    • Optimized RemoveParentModulesPlugin via bigint arithmetic
    • Fixed worklet detection in production mode
    • Fixed an error for cyclic importModule
    • Fixed types for Server and Dirent
    • Added the fetchPriority to hmr runtime's ensureChunk function
    • Don't warn about dynamic import for build dependencies
    • External module generation respects the output.environment.arrowFunction option
    • Fixed consumimng shared runtime module logic
    • Fixed a runtime logic of multiple chunks
    • Fixed destructing assignment of dynamic import json file
    • Passing errors array for a module hash
    • Added /*#__PURE__*/ to generated JSON.parse()
    • Generated a library manifest after clean plugin
    • Fixed non amd externals and amd library
    • Fixed a bug in SideEffectsFlagPlugin with namespace re-exports
    • Fixed an error message for condition or
    • The strictModuleErrorHandling is now working
    • Clean up child compilation chunk graph to avoid memory leak
    • [CSS] - Fixed CSS import prefer relative resolution
    • [CSS] - Fixed CSS runtime chunk loading error message

    New Features

    • Allow to set false for dev server in webpack.config.js
    • Added a warning for async external when not supported
    • Added a warning for async module when not supported
    • Added the node-module option for the node.__filename/__dirname and enable it by default for ESM target
    • Added the snapshot.unmanagedPaths option
    • Exposed the MultiCompilerOptions type
    • [CSS] - Added CSS parser options to enable/disable named exports
    • [CSS] - Moved CSS the exportsOnly option to CSS generat...

Snyk has created this PR to upgrade:
  - @types/bonjour from 3.5.10 to 3.5.13.
    See this package in npm: https://www.npmjs.com/package/@types/bonjour
  - @types/connect-history-api-fallback from 1.5.0 to 1.5.4.
    See this package in npm: https://www.npmjs.com/package/@types/connect-history-api-fallback
  - @types/serve-static from 1.15.2 to 1.15.7.
    See this package in npm: https://www.npmjs.com/package/@types/serve-static
  - @types/express from 4.17.17 to 4.17.21.
    See this package in npm: https://www.npmjs.com/package/@types/express
  - @types/serve-index from 1.9.1 to 1.9.4.
    See this package in npm: https://www.npmjs.com/package/@types/serve-index
  - @types/sockjs from 0.3.33 to 0.3.36.
    See this package in npm: https://www.npmjs.com/package/@types/sockjs
  - @types/ws from 8.5.5 to 8.5.12.
    See this package in npm: https://www.npmjs.com/package/@types/ws
  - bonjour-service from 1.1.1 to 1.2.1.
    See this package in npm: https://www.npmjs.com/package/bonjour-service
  - chokidar from 3.5.3 to 3.6.0.
    See this package in npm: https://www.npmjs.com/package/chokidar
  - express from 4.18.2 to 4.19.2.
    See this package in npm: https://www.npmjs.com/package/express
  - html-entities from 2.3.3 to 2.5.2.
    See this package in npm: https://www.npmjs.com/package/html-entities
  - ipaddr.js from 2.0.1 to 2.2.0.
    See this package in npm: https://www.npmjs.com/package/ipaddr.js
  - launch-editor from 2.6.0 to 2.8.1.
    See this package in npm: https://www.npmjs.com/package/launch-editor
  - schema-utils from 4.0.1 to 4.2.0.
    See this package in npm: https://www.npmjs.com/package/schema-utils
  - selfsigned from 2.1.1 to 2.4.1.
    See this package in npm: https://www.npmjs.com/package/selfsigned
  - webpack from 5.82.1 to 5.94.0.
    See this package in npm: https://www.npmjs.com/package/webpack
  - webpack-dev-middleware from 5.3.3 to 5.3.4.
    See this package in npm: https://www.npmjs.com/package/webpack-dev-middleware
  - ws from 8.13.0 to 8.18.0.
    See this package in npm: https://www.npmjs.com/package/ws

See this project in Snyk:
https://app.snyk.io/org/sammytezzy/project/801c3797-5f02-4e73-9d0b-aff26283dffb?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

vercel bot commented Sep 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
requirejs-babel-czv5 ❌ Failed (Inspect) Sep 17, 2024 9:14am

Copy link

stackblitz bot commented Sep 17, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

changeset-bot bot commented Sep 17, 2024

⚠️ No Changeset found

Latest commit: 4e8c5e5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

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.

Incompatibility of types with recent changes in @types/node
2 participants