Skip to content

Globals conditional version using AudioWorkletGlobalScope trailing whitespace #17296

@therobbiedavis

Description

@therobbiedavis

💻

  • Would you like to work on a fix?

How are you using Babel?

Other (Next.js, Gatsby, vue-cli, ...)

Input code

Configuration file name

.babelrc

Configuration

{
	"presets": [
		["@babel/env", {
			"targets": {
				"browsers": ["last 2 versions", "ie > 9"]
			}
		}]
	]
}

Current and expected behavior

Currently getting an error when using eslint complaining about the trailing whitespace on AudioWorkletGlobalScope
Image
traced it back to multiple babel packages
Image
https://github.com/babel/babel/blob/main/packages/babel-traverse/package.json#L25

Environment

  • Babel version 7.27.1
  • Node version 22.14.0
  • NPM version 10.9.2
  • Windows 11

Possible solution

Updating ^11.1.0 to ^13.12.1 in order to resolve the AudioWorkletGlobalScope trailing whitespace issue.

13.12.1 release link

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    i: needs triageoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions