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

Bump the npm group with 3 updates #2023

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2023

Bumps the npm group with 3 updates: @octokit/types, ava and typescript.

Updates @octokit/types from 12.3.0 to 12.4.0

Release notes

Sourced from @​octokit/types's releases.

v12.4.0

12.4.0 (2023-12-04)

Features

  • permissions.organization_custom_properties (#598) (ff98468)
Commits
  • ff98468 feat: permissions.organization_custom_properties (#598)
  • 1397259 build(deps): lock file maintenance
  • 623cc63 refactor: replace NodeJS internal module imports with node: specifier impor...
  • 5e9a891 don't run immediate response on Actions- or octokitbot-driven changes (#596)
  • See full diff in compare view

Updates ava from 5.3.1 to 6.0.1

Release notes

Sourced from ava's releases.

v6.0.1

What's Changed

Full Changelog: avajs/ava@v6.0.0...v6.0.1

v6.0.0

Breaking Changes

  • AVA now requires Node.js versions 18.18, 20.8 or 21. Versions 14 and 16 are no longer supported. #3251 #3216

  • When tests finish, worker threads or child processes are no longer exited through proces.exit(). If your test file does not exit on its own, the test run will time out. #3260

  • Changes to watch mode #3218:

    • Watch mode can no longer be started via the ava.config.* or package.json configuration.
    • The ignoredByWatcher configuration has moved to the watchMode object, under the ignoreChanges key.
    • Watch mode now uses the built-in fs.watch() in recursive mode. This is supported on Linux in Node.js 20 or newer, and MacOS and Windows in Node.js 18 as well. There are caveats to keep in mind.
  • Failed assertions now throw, meaning that any subsequent code is not executed. This also impacts the type definitions. #3246

  • Only native errors are now considered errors by the t.throws() and t.throwsAsync() assertions. Object.create(https://github.com/avajs/ava/blob/HEAD/Error.prototype) is not a native error. #3229

  • Changes to modules loaded through the require configuration #3184:

    • If such modules export a default function, this function is now invoked.
    • Local files are loaded through @ava/typescript if necessary.

Improvements

Rewritten watcher

The watcher has been rewritten. It’s now built on fs.watch() in recursive mode.

@vercel/nft is used to perform static dependency analysis, supporting ESM and CJS imports for JavaScript & TypeScript source files. This is a huge improvement over the previous runtime tracking of CJS imports, which did not support ESM.

Integration with @ava/typescript has been improved. The watcher can now detect a change to a TypeScript source file, then wait for the corresponding build output to change before re-running tests.

The ignoredByWatcher configuration has moved to the watchMode object, under the ignoreChanges key.

See #3218 and #3257.

Failed assertions now throw

Assertions now throw a TestFailure error when they fail. This error is not exported or documented and should not be used or thrown manually. You cannot catch this error in order to recover from a failure, use t.try() instead.

All assertions except for t.throws() and t.throwsAsync() now return true when they pass. This is useful for some of the assertions in TypeScript where they can be used as a type guard.

Committing a failed t.try() result now also throws.

See #3246.

t.throws() and t.throwsAsync() can now expect any error

By default, the thrown error (or rejection reason) must be a native error. You can change the assertion to expect any kind of error by setting any: true in the expectation object:

... (truncated)

Commits
  • 5975b60 6.0.1
  • 32f282f Ensure watch mode works outside of its integration tests
  • cf7a288 6.0.0
  • af5684d Don't force-exit after tests have completed
  • 88e4333 Update dependencies & other minor tweaks
  • cac1d1f Tweak README
  • 0492d32 Fix external assertions tests for Node.js 21
  • adbfcde Experimentally expose internal events for custom reporters
  • 6790d50 Update memoize dependency
  • e07179b Remove ability to select AVA 5 watcher
  • Additional commits viewable in compare view

Updates typescript from 5.3.2 to 5.3.3

Release notes

Sourced from typescript's releases.

TypeScript 5.3.3

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

Commits

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
@octokit/types [< 7, > 6.21.1]

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

Bumps the npm group with 3 updates: [@octokit/types](https://github.com/octokit/types.ts), [ava](https://github.com/avajs/ava) and [typescript](https://github.com/Microsoft/TypeScript).


Updates `@octokit/types` from 12.3.0 to 12.4.0
- [Release notes](https://github.com/octokit/types.ts/releases)
- [Commits](octokit/types.ts@v12.3.0...v12.4.0)

Updates `ava` from 5.3.1 to 6.0.1
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](avajs/ava@v5.3.1...v6.0.1)

Updates `typescript` from 5.3.2 to 5.3.3
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.3.2...v5.3.3)

---
updated-dependencies:
- dependency-name: "@octokit/types"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: ava
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner December 11, 2023 17:08
@dependabot dependabot bot added the Update dependencies Trigger PR workflow to update dependencies label Dec 11, 2023
@github-actions github-actions bot removed the Update dependencies Trigger PR workflow to update dependencies label Dec 11, 2023
Copy link
Contributor

Pushed a commit to update the checked-in dependencies. Please mark the PR as ready for review to trigger PR checks.

@github-actions github-actions bot marked this pull request as draft December 11, 2023 17:11
@angelapwen angelapwen marked this pull request as ready for review December 12, 2023 20:43
@angelapwen
Copy link
Contributor

Hm.. looks like the unit test failures with this bump are genuine:

  ✘ Timed out while running tests
  Failed to exit when running src/analyze-action-env.test.ts
  Failed to exit when running src/analyze-action-input.test.ts
  Failed to exit when running src/util.test.ts

all unit tests in those files passed, but looks like the tests don't exit when expected. For the first two, it might be due to our use of analyzeAction.runPromise.

@henrymercer
Copy link
Contributor

Looking at the release notes, I think Ava v6 drops support for Node 16.

@henrymercer
Copy link
Contributor

@dependabot ignore ava major version

Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 13, 2023

OK, I won't notify you about version 6.x.x of ava again, unless you unignore it.

Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 13, 2023

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Dec 13, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/npm-77a55ab9df branch December 13, 2023 10:52
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.

2 participants