René's URL Explorer Experiment


Title: Ability to suppress warnings by type (or just experimental warnings) · Issue #30810 · nodejs/node · GitHub

Open Graph Title: Ability to suppress warnings by type (or just experimental warnings) · Issue #30810 · nodejs/node

X Title: Ability to suppress warnings by type (or just experimental warnings) · Issue #30810 · nodejs/node

Description: Is your feature request related to a problem? Please describe. I'd like to suppress experimental warnings while still seeing any other errors. In particular when I am using native ES modules I do not want the experimental warning printed...

Open Graph Description: Is your feature request related to a problem? Please describe. I'd like to suppress experimental warnings while still seeing any other errors. In particular when I am using native ES modules I do n...

X Description: Is your feature request related to a problem? Please describe. I'd like to suppress experimental warnings while still seeing any other errors. In particular when I am using native ES modules I ...

Opengraph URL: https://github.com/nodejs/node/issues/30810

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ability to suppress warnings by type (or just experimental warnings)","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nI'd like to suppress experimental warnings while still seeing any other errors.  In particular when I am using native ES modules I do not want the experimental warning printed for every process, but I do want unrelated warnings to still be printed.\r\n\r\n**Describe the solution you'd like**\r\nAllow `--no-warnings` to optionally accept an option string such as `--no-warnings=type1,type2`.  Using `--no-warnings` without any option would continue to disable all warnings.  This would allow `--no-warnings=ExperimentalWarning` to suppress ExperimentalWarning only.\r\n\r\n**Describe alternatives you've considered**\r\n`--no-experimental-warnings` or a similarly named new flag could be created.  This has the drawback that `node --no-experimental-warnings` on node.js 13.3.0 exit with an error where `--no-warnings=ExperimentalWarnings` will not currently error (it causes all warnings to be ignored).\r\n\r\nIn my own repo which uses ES modules I've created `suppress-experimental.cjs` which gets loaded with `NODE_OPTIONS='--require=./suppress-experimental.cjs'`:\r\n```js\r\n'use strict';\r\n\r\nconst {emitWarning} = process;\r\n\r\nprocess.emitWarning = (warning, ...args) =\u003e {\r\n\tif (args[0] === 'ExperimentalWarning') {\r\n\t\treturn;\r\n\t}\r\n\r\n\tif (args[0] \u0026\u0026 typeof args[0] === 'object' \u0026\u0026 args[0].type === 'ExperimentalWarning') {\r\n\t\treturn;\r\n\t}\r\n\r\n\treturn emitWarning(warning, ...args);\r\n};\r\n```\r\n\r\nObviously patching node.js internals like this is undesirable but it accomplishes my goal.","author":{"url":"https://github.com/coreyfarrell","@type":"Person","name":"coreyfarrell"},"datePublished":"2019-12-05T18:00:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":36},"url":"https://github.com/30810/node/issues/30810"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d4767988-dc40-6669-cc7a-daafa0678b51
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCBF8:2635C7:294F12:36F27B:6969C133
html-safe-nonceb2138ad89337e402eac7501939274f1f5b93bfb9c645b5317ebc750ab3d68cd9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkY4OjI2MzVDNzoyOTRGMTI6MzZGMjdCOjY5NjlDMTMzIiwidmlzaXRvcl9pZCI6IjIyMzUwOTIzMDI0NzgwMzMyMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac60f8461680cc4537582f192910b54a1b5d8e02f7e70ca19c90a9d94247c1af31
hovercard-subject-tagissue:533506790
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/30810/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3f13741473d02385149e33566ea9c55116c6c48f49ae5d0305e183f39f22c895/nodejs/node/issues/30810
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3f13741473d02385149e33566ea9c55116c6c48f49ae5d0305e183f39f22c895/nodejs/node/issues/30810
og:image:altIs your feature request related to a problem? Please describe. I'd like to suppress experimental warnings while still seeing any other errors. In particular when I am using native ES modules I do n...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecoreyfarrell
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/issues/30810#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F30810
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F30810
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/30810
Reloadhttps://github.com/nodejs/node/issues/30810
Reloadhttps://github.com/nodejs/node/issues/30810
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/issues/30810
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 34.4k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 115k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.7k https://github.com/nodejs/node/issues
Pull requests 697 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects 3 https://github.com/nodejs/node/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/nodejs/node/security
Please reload this pagehttps://github.com/nodejs/node/issues/30810
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/30810
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/30810
#50661https://github.com/nodejs/node/pull/50661
Ability to suppress warnings by type (or just experimental warnings)https://github.com/nodejs/node/issues/30810#top
#50661https://github.com/nodejs/node/pull/50661
feature requestIssues that request new features to be added to Node.js.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22feature%20request%22
processIssues and PRs related to the process subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22process%22
https://github.com/coreyfarrell
https://github.com/coreyfarrell
coreyfarrellhttps://github.com/coreyfarrell
on Dec 5, 2019https://github.com/nodejs/node/issues/30810#issue-533506790
feature requestIssues that request new features to be added to Node.js.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22feature%20request%22
processIssues and PRs related to the process subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22process%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.