Skip to content

build(deps-dev): bump counterfact from 2.1.0 to 2.2.1 in the npm-dependencies group#416

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/npm-dependencies-1a4e6e517f
Open

build(deps-dev): bump counterfact from 2.1.0 to 2.2.1 in the npm-dependencies group#416
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/npm-dependencies-1a4e6e517f

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 20, 2026

Bumps the npm-dependencies group with 1 update: counterfact.

Updates counterfact from 2.1.0 to 2.2.1

Release notes

Sourced from counterfact's releases.

v2.2.1

Patch Changes

  • 304cbfe: Add example(name) method to response builder for selecting named OpenAPI examples

    Developers can now select a specific named example from the OpenAPI specification using the strongly-typed example() method on a response builder:

    return $.response[200].example("namedExample1");

    The method is fully type-safe: TypeScript will autocomplete the example names defined in the OpenAPI document and report a type error if an unknown name is used.

    Example names are collected from the examples field of each media type in the response content (OpenAPI 3.x). The method can be chained with other response builder methods:

    return $.response[200]
      .example("namedExample1")
      .header("some-header", "some-value");

v2.2.0

Minor Changes

  • 008f133: Admin API and Agent Skill
  • 23b219b: format JSON in HTTP responses for readability

Patch Changes

  • c92f975: Fixed Midleware matching all routes is not executed #1515
  • 86f1de2: Return HTTP 405 (Method Not Allowed) with an Allow header when the requested path is registered but the HTTP method has no handler. Previously these requests returned 404, making it impossible to distinguish "path not found" from "method not allowed".
Changelog

Sourced from counterfact's changelog.

2.2.1

Patch Changes

  • 304cbfe: Add example(name) method to response builder for selecting named OpenAPI examples

    Developers can now select a specific named example from the OpenAPI specification using the strongly-typed example() method on a response builder:

    return $.response[200].example("namedExample1");

    The method is fully type-safe: TypeScript will autocomplete the example names defined in the OpenAPI document and report a type error if an unknown name is used.

    Example names are collected from the examples field of each media type in the response content (OpenAPI 3.x). The method can be chained with other response builder methods:

    return $.response[200]
      .example("namedExample1")
      .header("some-header", "some-value");

2.2.0

Minor Changes

  • 008f133: Admin API and Agent Skill
  • 23b219b: format JSON in HTTP responses for readability

Patch Changes

  • c92f975: Fixed Midleware matching all routes is not executed #1515
  • 86f1de2: Return HTTP 405 (Method Not Allowed) with an Allow header when the requested path is registered but the HTTP method has no handler. Previously these requests returned 404, making it impossible to distinguish "path not found" from "method not allowed".
Commits
  • bf994d4 Merge pull request #1549 from pmcelhaney/changeset-release/main
  • c43e4dc Version Packages
  • 945bd42 Merge pull request #1551 from pmcelhaney/copilot/add-readme-and-design-princi...
  • 50dc8c3 Update typescript-generator README with file table and architecture diagram
  • 754fa75 Add README files for each source directory and design principles document
  • d43303f Initial plan
  • aca4d5b chore(deps): update actions/github-script action to v8 (#1548)
  • f68a4c3 Merge pull request #1545 from pmcelhaney/copilot/update-openapi-examples-output
  • 773b5eb Merge branch 'main' into copilot/update-openapi-examples-output
  • 3f32cbe Merge pull request #1547 from pmcelhaney/copilot/automate-changesets-for-reno...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <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

Bumps the npm-dependencies group with 1 update: [counterfact](https://github.com/pmcelhaney/counterfact).


Updates `counterfact` from 2.1.0 to 2.2.1
- [Release notes](https://github.com/pmcelhaney/counterfact/releases)
- [Changelog](https://github.com/pmcelhaney/counterfact/blob/main/CHANGELOG.md)
- [Commits](pmcelhaney/counterfact@v2.1.0...v2.2.1)

---
updated-dependencies:
- dependency-name: counterfact
  dependency-version: 2.2.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-dependencies
...

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 Mar 20, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants