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

build(deps): bump the npm_and_yarn group across 2 directories with 3 updates #321

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 18, 2024

Bumps the npm_and_yarn group with 2 updates in the /packages/cli directory: axios and crypto-js.
Bumps the npm_and_yarn group with 1 update in the /packages/nodes-base directory: mongodb.

Updates axios from 0.21.4 to 0.28.0

Release notes

Sourced from axios's releases.

Release v0.28.0

Release notes:

Bug Fixes

Backports from v1.x:

  • Allow null indexes on formSerializer and paramsSerializer v0.x (#4961)
  • Fixing content-type header repeated #4745
  • Fixed timeout error message for HTTP 4738
  • Added axios.formToJSON method (#4735)
  • URL params serializer (#4734)
  • Fixed toFormData Blob issue on node>v17 #4728
  • Adding types for progress event callbacks #4675
  • Fixed max body length defaults #4731
  • Added data URL support for node.js (#4725)
  • Added isCancel type assert (#4293)
  • Added the ability for the url-encoded-form serializer to respect the formSerializer config (#4721)
  • Add string[] to AxiosRequestHeaders type (#4322)
  • Allow type definition for axios instance methods (#4224)
  • Fixed AxiosError stack capturing; (#4718)
  • Fixed AxiosError status code type; (#4717)
  • Adding Canceler parameters config and request (#4711)
  • fix(types): allow to specify partial default headers for instance creation (#4185)
  • Added blob to the list of protocols supported by the browser (#4678)
  • Fixing Z_BUF_ERROR when no content (#4701)
  • Fixed race condition on immediate requests cancellation (#4261)
  • Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an Axios instance axios/axios#4248
  • Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill (#4229)
  • Fix TS definition for AxiosRequestTransformer (#4201)
  • Use type alias instead of interface for AxiosPromise (#4505)
  • Include request and config when creating a CanceledError instance (#4659)
  • Added generic TS types for the exposed toFormData helper (#4668)
  • Optimized the code that checks cancellation (#4587)
  • Replaced webpack with rollup (#4596)
  • Added stack trace to AxiosError (#4624)
  • Updated AxiosError.config to be optional in the type definition (#4665)
  • Removed incorrect argument for NetworkError constructor (#4656)

v0.27.2

Fixes and Functionality:

  • Fixed FormData posting in browser environment by reverting #3785 (#4640)
  • Enhanced protocol parsing implementation (#4639)
  • Fixed bundle size

v0.27.1

Fixes and Functionality:

  • Removed import of url module in browser build due to huge size overhead and builds being broken (#4594)
  • Bumped follow-redirects to ^1.14.9 (#4615)

... (truncated)

Changelog

Sourced from axios's changelog.

0.28.0 (2024-02-12)

Release notes:

Bug Fixes

Backports from v1.x:

  • Allow null indexes on formSerializer and paramsSerializer v0.x (#4961)
  • Fixing content-type header repeated #4745
  • Fixed timeout error message for HTTP 4738
  • Added axios.formToJSON method (#4735)
  • URL params serializer (#4734)
  • Fixed toFormData Blob issue on node>v17 #4728
  • Adding types for progress event callbacks #4675
  • Fixed max body length defaults #4731
  • Added data URL support for node.js (#4725)
  • Added isCancel type assert (#4293)
  • Added the ability for the url-encoded-form serializer to respect the formSerializer config (#4721)
  • Add string[] to AxiosRequestHeaders type (#4322)
  • Allow type definition for axios instance methods (#4224)
  • Fixed AxiosError stack capturing; (#4718)
  • Fixed AxiosError status code type; (#4717)
  • Adding Canceler parameters config and request (#4711)
  • fix(types): allow to specify partial default headers for instance creation (#4185)
  • Added blob to the list of protocols supported by the browser (#4678)
  • Fixing Z_BUF_ERROR when no content (#4701)
  • Fixed race condition on immediate requests cancellation (#4261)
  • Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an Axios instance axios/axios#4248
  • Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill (#4229)
  • Fix TS definition for AxiosRequestTransformer (#4201)
  • Use type alias instead of interface for AxiosPromise (#4505)
  • Include request and config when creating a CanceledError instance (#4659)
  • Added generic TS types for the exposed toFormData helper (#4668)
  • Optimized the code that checks cancellation (#4587)
  • Replaced webpack with rollup (#4596)
  • Added stack trace to AxiosError (#4624)
  • Updated AxiosError.config to be optional in the type definition (#4665)
  • Removed incorrect argument for NetworkError constructor (#4656)

0.27.2 (April 27, 2022)

Fixes and Functionality:

  • Fixed FormData posting in browser environment by reverting #3785 (#4640)
  • Enhanced protocol parsing implementation (#4639)
  • Fixed bundle size

0.27.1 (April 26, 2022)

... (truncated)

Commits
  • 3b7635a [Release] v0.28.0 (#6211)
  • 27c0076 feat(backport): added ability for paramsSerializer to handle function; (#6227)
  • 80c3d74 chore(ci): backported publish action; (#6224)
  • 2755df5 fix(security): fixed CVE-2023-45857 by backporting withXSRFToken option to ...
  • 880b42e docs: Fix a typo in README
  • c4bf0a4 Allow null indexes on formSerializer and paramsSerializer v0.x (#4961)
  • 1e2679f fix: [Types] Type of header in AxiosRequestConfig / for Axios.create is incor...
  • 80b546c fix: loosing request header (#4858) (#4871)
  • 6acb5ef feat: brower platform add data protocol. (#4814)
  • bbb2264 fix(typing): axios response headers can be undefined (#4813)
  • Additional commits viewable in compare view

Updates crypto-js from 4.1.1 to 4.2.0

Commits

Updates mongodb from 4.10.0 to 6.12.0

Release notes

Sourced from mongodb's releases.

v6.12.0

6.12.0 (2024-12-10)

The MongoDB Node.js team is pleased to announce version 6.12.0 of the mongodb package!

Release Notes

zstd@2.0 is now supported for zstd compression

The new @​mongodb-js/zstd@​2.0 release can now be used with the driver for zstd compression.

Populate ServerDescription.error field when primary marked stale

We now attach an error to the newly created ServerDescription object when marking a primary as stale. This helps with debugging SDAM issues when monitoring SDAM events.

BSON upgraded to v6.10.1

See: https://github.com/mongodb/js-bson/releases/tag/v6.10.1

Socket read stream set to object mode

Socket data was being read with a stream set to buffer mode when it should be set to object mode to prevent inaccurate data chunking, which may have caused message parsing errors in rare cases.

SOCKS5: MongoNetworkError wrap fix

If the driver encounters an error while connecting to a socks5 proxy, the driver wraps the socks5 error in a MongoNetworkError. In some circumstances, this resulted in the driver wrapping MongoNetworkErrors inside MongoNetworkErrors.

The driver no longer double wraps errors in MongoNetworkErrors.

Features

Bug Fixes

  • NODE-6583: upgrade to BSON v6.10.1 to remove internal unbounded type cache (#4338) (249c279)
  • NODE-6600: set object mode correctly for message chunking in SizedMessageTransform (#4345) (5558573)
  • NODE-6602: only wrap errors from SOCKS in network errors (#4347) (ed83f36)

Documentation

We invite you to try the mongodb library immediately, and report any issues to the NODE project.

v6.11.0

6.11.0 (2024-11-22)

... (truncated)

Changelog

Sourced from mongodb's changelog.

6.12.0 (2024-12-10)

Features

Bug Fixes

  • NODE-6583: upgrade to BSON v6.10.1 to remove internal unbounded type cache (#4338) (249c279)
  • NODE-6600: set object mode correctly for message chunking in SizedMessageTransform (#4345) (5558573)
  • NODE-6602: only wrap errors from SOCKS in network errors (#4347) (ed83f36)

6.11.0 (2024-11-22)

Features

  • NODE-5682: set maxTimeMS on commands and preempt I/O (#4174) (e4e6a5e)
  • NODE-5844: add iscryptd to ServerDescription (#4239) (c39d443)
  • NODE-6069: OIDC k8s machine workflow (#4270) (82c931c)
  • NODE-6090: Implement CSOT logic for connection checkout and server selection (bd8a9f4)
  • NODE-6231: Add CSOT behaviour for retryable reads and writes (#4186) (2ffd5eb)
  • NODE-6274: add CSOT support to bulkWrite (#4250) (c5a9ae5)
  • NODE-6275: Add CSOT support to GridFS (#4246) (3cb8187)
  • NODE-6304: add CSOT support for non-tailable cursors (#4195) (131f6ed)
  • NODE-6305: Add CSOT support to tailable cursors (#4218) (2398fc6)
  • NODE-6312: add error transformation for server timeouts (#4192) (c2c0cb9)
  • NODE-6313: add CSOT support to sessions and transactions (#4199) (5f1102f)
  • NODE-6387: Add CSOT support to change streams (#4256) (4588ff2)
  • NODE-6389: add support for timeoutMS in StateMachine.execute() (#4243) (c55f965)
  • NODE-6390: Add timeoutMS support to auto encryption (#4265) (55e08e7)
  • NODE-6391: Add timeoutMS support to explicit encryption (#4269) (f745b99)
  • NODE-6392: add timeoutMS support to ClientEncryption helpers part 1 (#4281) (e86f11e)
  • NODE-6403: add CSOT support to client bulk write (#4261) (365d63b)
  • NODE-6421: add support for timeoutMS to explain helpers (#4268) (5b2629b)
  • NODE-6446: deprecate legacy timeout options (#4279) (c28608b)
  • NODE-6551: update bson to 6.10.0 (#4329) (adb15fe)

Bug Fixes

  • NODE-6374: MongoOperationTimeoutError inherits MongoRuntimeError (#4237) (9fb896a)
  • NODE-6412: read stale response from previously timed out connection (#4273) (fd8f3bd)
  • NODE-6454: use timeoutcontext for state machine execute() cursor options (#4291) (5dd8ee5)
  • NODE-6469: pool is cleared before connection checkin on error (#4296) (06a2e2c)
  • NODE-6523: deleteMany in gridfs passes timeoutMS to predicate, not options (#4319) (1965ed5)

... (truncated)

Commits
  • b4e5f49 chore(main): release 6.12.0 [skip-ci] (#4348)
  • bc41f2e docs(NODE-6483): Add documentation for countDocuments $match operator (#4342)
  • 37613f1 feat(NODE-6605): add error message when invalidating primary (#4340)
  • ea8a33f feat(NODE-6593): add support for zstd@2.x (#4346)
  • ed83f36 fix(NODE-6602): only wrap errors from SOCKS in network errors (#4347)
  • ed2bdbe docs(NODE-6595): update compatibility table for zstd@2.0 (#4349)
  • 63e1459 test(NODE-6532): unskip transactions tests on serverless (#4332)
  • 249c279 fix(NODE-6583): upgrade to BSON v6.10.1 to remove internal unbounded type cac...
  • 5558573 fix(NODE-6600): set object mode correctly for message chunking in SizedMessag...
  • 260e052 test(NODE-6527): sync pool-checkout-returned-connection-maxConnecting tests (...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by dbx-node, a new releaser for mongodb since your current version.


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by Sourcery

Bump dependencies for axios, crypto-js, and mongodb across two directories to address security vulnerabilities and improve functionality.

Build:

  • Updated axios from version 0.21.4 to 0.28.0 in the /packages/cli directory.
  • Updated crypto-js from version 4.1.1 to 4.2.0 in the /packages/cli directory.
  • Updated mongodb from version 4.10.0 to 6.12.0 in the /packages/nodes-base directory.

…updates

Bumps the npm_and_yarn group with 2 updates in the /packages/cli directory: [axios](https://github.com/axios/axios) and [crypto-js](https://github.com/brix/crypto-js).
Bumps the npm_and_yarn group with 1 update in the /packages/nodes-base directory: [mongodb](https://github.com/mongodb/node-mongodb-native).


Updates `axios` from 0.21.4 to 0.28.0
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.28.0/CHANGELOG.md)
- [Commits](axios/axios@v0.21.4...v0.28.0)

Updates `crypto-js` from 4.1.1 to 4.2.0
- [Commits](brix/crypto-js@4.1.1...4.2.0)

Updates `mongodb` from 4.10.0 to 6.12.0
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](mongodb/node-mongodb-native@v4.10.0...v6.12.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: crypto-js
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: mongodb
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 18, 2024
Copy link

height bot commented Dec 18, 2024

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

Copy link

sourcery-ai bot commented Dec 18, 2024

Reviewer's Guide by Sourcery

This PR updates three dependencies across two directories: axios (0.21.4 → 0.28.0) and crypto-js (4.1.1 → 4.2.0) in the CLI package, and mongodb (4.10.0 → 6.12.0) in the nodes-base package. The updates include important security fixes, bug fixes, and new features.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update axios to version 0.28.0 with security and functionality improvements
  • Fixed CVE-2023-45857 security vulnerability by adding withXSRFToken option
  • Added support for null indexes in form and params serializers
  • Fixed content-type header duplication issue
  • Added new formToJSON method and URL params serializer
  • Improved error handling and type definitions
packages/cli/package.json
Update crypto-js to version 4.2.0 with security enhancements
  • Changed default hash algorithm and iterations for PBKDF2 to prevent weak security
  • Added Blowfish cipher support
  • Updated build system dependencies
packages/cli/package.json
Major update of mongodb driver to version 6.12.0 with significant improvements
  • Added support for zstd@2.0 compression
  • Improved error handling for server descriptions and network errors
  • Added support for OIDC Kubernetes machine workflow
  • Implemented Client-Side Operations Timeout (CSOT) logic
  • Enhanced GridFS, cursor, and transaction support
packages/nodes-base/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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 (hey, dependabot[bot]!). 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.

@reconsumeralization reconsumeralization merged commit 5b1742e into master Dec 18, 2024
10 of 17 checks passed
@reconsumeralization reconsumeralization deleted the dependabot/npm_and_yarn/packages/cli/npm_and_yarn-92ebb0a0ac branch December 18, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant