Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2025

Bumps serialize-error from 8.1.0 to 12.0.0.

Release notes

Sourced from serialize-error's releases.

v12.0.0

Breaking

  • Require Node.js 18+ (#100) 98bbe4e
  • Avoid breaking with bad custom constructors (#104) e593d37

Improvements

  • Add support for AggregateError (#103) b6ff2eb
  • Tighten Error determination (#101) 7fc2898

Fixes

  • Stop making non-Error properties non-enumerable (#102) 1d8395b
  • Fix return type for unknown input (#105) 64ce883

sindresorhus/serialize-error@v11.0.3...v12.0.0

v11.0.3

  • Improve compatibility with Next.js (#94) 6729be5

sindresorhus/serialize-error@v11.0.2...v11.0.3

v11.0.2

  • Fix compatibility with DOMException 26fc52b

sindresorhus/serialize-error@v11.0.1...v11.0.2

v11.0.1

  • Fix handling of non-extensible objects fdfe034

sindresorhus/serialize-error@v11.0.0...v11.0.1

v11.0.0

Breaking

  • Expect a message property at a minimum to be interpreted as an Error (#77) 0720121

Improvements

  • Actually serialize nested errors (#73) 0af9fe8

sindresorhus/serialize-error@v10.0.0...v11.0.0

v10.0.0

Breaking

  • Require Node.js 14 22b9bd4

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the pr: dependencies relates to dependencies label Apr 1, 2025
@ybiquitous
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/serialize-error-12.0.0 branch from d4a088a to 31fe416 Compare April 2, 2025 02:50
@ybiquitous
Copy link
Member

Should we wait for microsoft/vscode#130367?

@adalinesimonian
Copy link
Member

Should we wait for microsoft/vscode#130367?

serialize-error has no top-level await, and for a short while now Node.js on versions 20 22, 23, and 24 has been supporting requiring ESM modules without needing to convert the whole project to ESM. Right now, the first version of VS Code to release with a version of Node.js that supports this, is 1.101, the May 2025 update.

However, this extension currently supports VS Code as old as 1.83, which is from September 2023. May 2025 may be a bit too soon if we want to support a wide breadth of versions, but perhaps at some point when May 2025 isn't that soon anymore, we could just bump the supported version and this should work.

The only thing that would block us is jestjs/jest#15716; I ran some tests and tried it and it turns out Jest hasn't been updated to take the require(esm) pattern into account yet.

@ybiquitous
Copy link
Member

if we want to support a wide breadth of versions

I wonder if we would need to support so many versions. 🤔

@adalinesimonian
Copy link
Member

I wonder if we would need to support so many versions. 🤔

I don't think we do. In situations like this it holds us back (though in this specific case even if we were only supporting the latest VS Code we'd still run into that problem with Jest). But I think we probably should support at least several months of versions of VS Code.

@ybiquitous
Copy link
Member

ybiquitous commented Jul 4, 2025

I think we probably should support at least several months of versions of VS Code.

Sounds good. I'd suggest creating the support policy to prevent us from outdated dependencies issue:

  • VS Code versions
    • Along with Node.js versions?
  • Stylelint versions
    • E.g. supporting only 2 last major versions

@ybiquitous
Copy link
Member

@dependabot rebase

Bumps [serialize-error](https://github.com/sindresorhus/serialize-error) from 8.1.0 to 12.0.0.
- [Release notes](https://github.com/sindresorhus/serialize-error/releases)
- [Commits](sindresorhus/serialize-error@v8.1.0...v12.0.0)

---
updated-dependencies:
- dependency-name: serialize-error
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/serialize-error-12.0.0 branch from 31fe416 to ba1141d Compare September 18, 2025 11:34
@dependabot dependabot bot requested a review from a team as a code owner September 18, 2025 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: dependencies relates to dependencies

Development

Successfully merging this pull request may close these issues.

3 participants