GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix suppressed error order by sossost · Pull Request #16440 · babel/babel

Conversation

@sossost

@sossost sossost commented Apr 20, 2024

Copy link
Copy Markdown
Contributor
Q                       A
Fixed Issues? Fixes #16435
Patch: Bug Fix? Yes
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

The order in which errors are passed to the SuppressedError constructor has been changed.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
sossost added 3 commits April 20, 2024 14:46
@sossost
fix : Fix suppressed error order
e0da0e8
@sossost
fix : correct error handling order in async disposal
418361d
@sossost
fix : Fix suppressed error order
55f4489
@babel-bot

babel-bot commented Apr 20, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/56739

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

nicolo-ribaudo
nicolo-ribaudo reviewed Apr 20, 2024
View reviewed changes

@nicolo-ribaudo nicolo-ribaudo left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Could you re-run make build and commit packages/babel-helpers/src/helpers-generated.ts?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sossost
update helpers-generated.ts
6c41d88
@sossost

sossost commented Apr 20, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Sure! I re-run make build and committed the additional files.
However, the failed CI test does not pass.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sossost
Merge branch 'main' into fix-suppressed-error-order
8aa7dd5
JLHwung
JLHwung reviewed Apr 20, 2024
View reviewed changes
Comment thread packages/babel-helpers/src/helpers-generated.ts Outdated

export default Object.freeze({
// size: 1126, gzip size: 512
// size: 1126, gzip size: 511

@JLHwung JLHwung Apr 20, 2024

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect the node.js in your environment is installed by homebrew, which links to the latest zlib version 1.3.1. Can you post the result of node -e "console.log(process.versions.zlib)"?

For reference, it prints 1.2.13.1-motley-5daffc7 for the official Node.js 20 build.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@sossost sossost Apr 20, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I type node -e "console.log(process.versions.zlib)", it says 1.2.13.1-motley.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

JLHwung reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@liuxingbaoyu
update helpers-generated.ts
e8dd915
@liuxingbaoyu liuxingbaoyu added PR: Bug Fix 🐛 A type of pull request used for our changelog categories Spec: Explicit Resource Management labels Apr 20, 2024
JLHwung
JLHwung approved these changes Apr 20, 2024
View reviewed changes
@sossost
sossost requested a review from nicolo-ribaudo April 22, 2024 14:26
nicolo-ribaudo
nicolo-ribaudo approved these changes Apr 22, 2024
View reviewed changes

@nicolo-ribaudo nicolo-ribaudo left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@nicolo-ribaudo
nicolo-ribaudo merged commit ca50141 into babel:main Apr 22, 2024
@sossost

sossost commented Apr 22, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Thanks @nicolo-ribaudo, @JLHwung . Although it is a small task and I received a lot of help, this is a great motivation and accomplishment for me. I will grow into a better developer.

nicolo-ribaudo reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nicolo-ribaudo

nicolo-ribaudo commented Apr 22, 2024

Copy link
Copy Markdown
Member

If you want to contribute more we are also happy to help! For example, #16422 is also related to explicit resource management (but it's about how we transform code, rather than the runtime helper).

ynnsuis reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@davidbilling davidbilling mentioned this pull request May 20, 2024
[Snyk] Upgrade @babel/core from 7.24.4 to 7.24.5 davidbilling/ember-cli-time-input#104
Merged
@bee22193 bee22193 mentioned this pull request May 20, 2024
[Snyk] Upgrade: , bee22193/mnmlurl#1172
Open
This was referenced May 20, 2024
[Snyk] Upgrade: , nejidevelops/phase-0-intro-to-js-2-objects-lab#10
Open
[Snyk] Upgrade: , nejidevelops/phase-0-intro-to-js-2-objects-lab#11
Open
[Snyk] Upgrade: , nejidevelops/phase-1-destructuring-assignment#11
Open
@basharat-j basharat-j mentioned this pull request May 20, 2024
[Snyk] Upgrade @babel/runtime from 7.13.10 to 7.24.5 basharat-j/mb-graphql#59
Open
@ashly1111111 ashly1111111 mentioned this pull request May 20, 2024
[Snyk] Upgrade: , , , , ashly1111111/node#104
Open
@scudette scudette mentioned this pull request May 20, 2024
[Snyk] Upgrade: , Velocidex/velociraptor#3501
Closed
@AnushaSalian AnushaSalian mentioned this pull request May 20, 2024
[Snyk] Upgrade: , virtual-labs/ph3-lab-mgmt#434
Open
@nejidevelops nejidevelops mentioned this pull request May 20, 2024
[Snyk] Upgrade: , nejidevelops/phase-1-domcontentloaded#9
Open
@MelvinBot MelvinBot mentioned this pull request May 20, 2024
[Snyk] Upgrade @babel/preset-env from 7.24.4 to 7.24.5 Expensify/expensify-common#700
Closed
@davidbilling davidbilling mentioned this pull request May 20, 2024
[Snyk] Upgrade @babel/core from 7.24.4 to 7.24.5 davidbilling/ember-cli-cloudinary-light#115
Merged
This was referenced Jul 20, 2024
[Snyk] Upgrade: , tiff-es/fewpjs-adding-behavior-with-methods-dc-web-091619#200
Open
[Snyk] Upgrade @babel/preset-env from 7.10.4 to 7.24.7 tiff-es/tiffany-portfolio-responsive#444
Open
@Elenore23 Elenore23 mentioned this pull request Jul 21, 2024
[Snyk] Upgrade: , , , , Elenore23/node#1
Closed
@SpinningRecords SpinningRecords mentioned this pull request Jul 21, 2024
[Snyk] Upgrade: , SpinningRecords/markdownlint#3
Open
This was referenced Jul 21, 2024
[Snyk] Upgrade: , tiff-es/js-data-structures-objects-lab-dc-web-091619#183
Open
[Snyk] Upgrade: , tiff-es/fewpjs-fns-as-first-class-data-array-o-functions-dc-web-091619#194
Open
[Snyk] Upgrade: , tiff-es/fewpjs-fns-as-first-class-data-do-behavior-dc-web-091619#186
Open
[Snyk] Upgrade: , tiff-es/fewpjs-document-onload-dc-web-091619#190
Open
@Elenore23 Elenore23 mentioned this pull request Jul 21, 2024
[Snyk] Upgrade @babel/runtime from 7.21.5 to 7.24.7 Elenore23/solflare-snap#1
Draft
@bee22193 bee22193 mentioned this pull request Jul 21, 2024
[Snyk] Upgrade: , bee22193/mnmlurl#1219
Open
@anandgupta193 anandgupta193 mentioned this pull request Jul 21, 2024
[Snyk] Upgrade: , anandgupta193/sortNsuffle-react#1094
Open
@mdfkbtc mdfkbtc mentioned this pull request Jul 21, 2024
[Snyk] Upgrade @babel/preset-env from 7.5.0 to 7.24.7 mdfkbtc/veles-mobile-wallet-mdfkbtc#1782
Open
@richyhoopd richyhoopd mentioned this pull request Jul 21, 2024
[Snyk] Upgrade: , , richyhoopd/RichyFlix#890
Open
This was referenced Jul 21, 2024
[Snyk] Upgrade: , tiff-es/fewpjs-document-onload-dc-web-091619#191
Open
[Snyk] Upgrade: , tiff-es/js-looping-and-iteration-looping-code-along-dc-web-091619#196
Open
[Snyk] Upgrade: , tiff-es/fewpjs-getter-and-setter-methods-dc-web-091619#201
Open
[Snyk] Upgrade: , tiff-es/fewpjs-acting-on-events-dc-web-091619#189
Open
[Snyk] Upgrade @babel/preset-env from 7.10.4 to 7.24.7 tiff-es/tiffany-portfolio-responsive#447
Open
[Snyk] Upgrade: , tiff-es/fewpjs-adding-behavior-with-methods-dc-web-091619#201
Open
[Snyk] Upgrade: , tiff-es/js-data-structures-objects-lab-dc-web-091619#184
Open
[Snyk] Upgrade: , tiff-es/fewpjs-class-extensions-super-lab-online-web-sp-000#190
Open
@AnushaSalian AnushaSalian mentioned this pull request Jul 22, 2024
[Snyk] Upgrade: , virtual-labs/ph3-lab-mgmt#482
Open
This was referenced Jul 22, 2024
[Snyk] Upgrade: , tiff-es/fewpjs-document-onload-dc-web-091619#192
Open
[Snyk] Upgrade: , tiff-es/fewpjs-fns-as-first-class-data-array-o-functions-dc-web-091619#195
Open
[Snyk] Upgrade: , tiff-es/fewpjs-adding-behavior-with-methods-dc-web-091619#202
Open
[Snyk] Upgrade: , tiff-es/fewpjs-getter-and-setter-methods-dc-web-091619#202
Open
@Elenore23 Elenore23 mentioned this pull request Jul 23, 2024
[Snyk] Upgrade @babel/runtime from 7.21.5 to 7.24.7 Elenore23/solflare-snap#4
Open
@tiff-es tiff-es mentioned this pull request Jul 23, 2024
[Snyk] Upgrade: , tiff-es/js-looping-and-iteration-looping-code-along-dc-web-091619#197
Open
@github-actions github-actions Bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jul 23, 2024
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@JLHwung JLHwung JLHwung approved these changes
@nicolo-ribaudo nicolo-ribaudo nicolo-ribaudo approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Bug Fix 🐛 A type of pull request used for our changelog categories Spec: Explicit Resource Management

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug]: babel compile proposal-explicit-resource-management different from tsc

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@sossost @babel-bot @nicolo-ribaudo @JLHwung @liuxingbaoyu
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.