Skip to content

chore(deps): bump axios and @slack/webhook in /ops/functions - #2914

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ops/functions/multi-d81b94fbd0
Open

chore(deps): bump axios and @slack/webhook in /ops/functions#2914
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ops/functions/multi-d81b94fbd0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 21, 2026

Copy link
Copy Markdown
Contributor

Removes axios. It's no longer used after updating ancestor dependency @slack/webhook. These dependencies need to be updated together.

Removes axios

Updates @slack/webhook from 6.1.0 to 8.0.0

Release notes

Sourced from @​slack/webhook's releases.

@​slack/webhook@​8.0.0

Major Changes

  • fc98c8c: Drop Node.js 18 support. The minimum supported Node.js version is now 20.

  • fc98c8c: Restructured error classes to use proper Error subclasses extending a new SlackWebhookError base class.

    Breaking changes to IncomingWebhookHTTPError:

    • The original property has been removed. HTTP response details are now direct properties:
      • statusCode: number
      • statusMessage: string
      • body: string
    • Migrate from error.original.response.status to error.statusCode, error.original.response.data to error.body, etc.

    Breaking changes to IncomingWebhookRequestError:

    • The original property is now a standard Error (previously it was an AxiosError). The original error is also available via the standard cause property.

    Removed factory functions (use new with the corresponding class instead):

    • requestErrorWithOriginal()new IncomingWebhookRequestError(original)
    • httpErrorWithOriginal()new IncomingWebhookHTTPError(statusCode, statusMessage, body)
    • errorWithCode() — Use the specific error class directly.

    Migration: Replace if (error.code === ErrorCode.HTTPError) with if (error instanceof IncomingWebhookHTTPError). You can also catch all webhook errors with if (error instanceof SlackWebhookError).

    The CodedError interface is deprecated — use instanceof checks with the SlackWebhookError base class or specific error subclasses instead.

  • fc98c8c: Replaced axios with the standard Fetch API for HTTP transport.

    Removed options from IncomingWebhookDefaultArguments:

    • agent — Use the new fetch option to provide a custom fetch implementation with proxy or TLS support. For proxies, prefer the built-in http.setGlobalProxyFromEnv() or NODE_USE_ENV_PROXY=1 (Node.js 24+). For advanced use cases:
      import { fetch, Agent } from "undici";
      const webhook = new IncomingWebhook(url, {
        fetch: (url, init) =>
          fetch(url, {
            ...init,
            dispatcher: new Agent({ connect: { ca: myCA } }),
          }),
      });

    The axios dependency has been removed. The default fetch implementation is globalThis.fetch (available in Node.js 20+). The timeout option remains available and is implemented via AbortController.

Minor Changes

  • fc98c8c: feat: add WebhookTrigger class for Workflow Builder triggers and opt-in retries for IncomingWebhook and WebhookTrigger

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​slack/webhook 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Removes [axios](https://github.com/axios/axios). It's no longer used after updating ancestor dependency [@slack/webhook](https://github.com/slackapi/node-slack-sdk). These dependencies need to be updated together.


Removes `axios`

Updates `@slack/webhook` from 6.1.0 to 8.0.0
- [Release notes](https://github.com/slackapi/node-slack-sdk/releases)
- [Commits](https://github.com/slackapi/node-slack-sdk/compare/@slack/webhook@6.1.0...@slack/webhook@8.0.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version:
  dependency-type: indirect
- dependency-name: "@slack/webhook"
  dependency-version: 8.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 21, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 21, 2026
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 javascript Pull requests that update Javascript code [zube]: In Progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants