Skip to content

[BUG] Class private methods are not enabled. Please add @babel/plugin-proposal-private-methods to your configuration. #163

Description

@sibelius

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js: Class private methods are not enabled. Please add @babel/plugin-proposal-private-methods to your configuration.
210 | this.#emitter.count -= 1;
211 | }

212 | #processReallyExit(code) {
| ^
213 | /* c8 ignore start */
214 | if (!processOk(this.#process)) {
215 | return 0;

Expected Behavior

it should not require @babel/plugin-proposal-private-methods

Steps To Reproduce

try to use write-file-atomic in a jscodeshift env

Environment

  • npm: 9.6.4
  • Node: 20.1.0
  • OS: os x
  • platform: macbook pro

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds an initial review

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions