Skip to content

[Bug]: Typo on babel/plugin-proposal-private-private-property-in-object package name #13236

@aancer-rca

Description

@aancer-rca

💻

  • Would you like to work on a fix?

How are you using Babel?

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

Input code

Bug occurs on a npm install with @babel/preset-env preset set.

Configuration file name

No response

Configuration

No response

Current and expected behavior

Npm provides the correct babel plugin name to install babel/plugin-proposal-private-property-in-object and not babel/plugin-proposal-private-private-property-in-object

Environment

System:
OS: macOS 11.2.3
Binaries:
Node: 15.14.0 - ~/.nvm/versions/node/v15.14.0/bin/node
Yarn: 1.22.10 - ~/node_modules/.bin/yarn
npm: 7.11.2 - ~/Repositories/shared-ui-components/node_modules/.bin/npm
npmPackages:
@babel/core: ^7.9.0 => 7.14.0
@babel/plugin-proposal-private-property-in-object: ^7.14.0 => 7.14.0
@babel/preset-env: ^7.10.2 => 7.14.0
babel-jest: ^26.0.1 => 26.6.3
babel-loader: ^8.1.0 => 8.2.2
eslint: ^7.25.0 => 7.25.0
jest: ^26.0.1 => 26.6.3

Possible solution

Replace line:

"@babel/plugin-proposal-private-private-property-in-object",

with

"@babel/plugin-proposal-private-property-in-object",

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