Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bundleDependencies property is rewritten incorrectly #62

Open
djcsdy opened this issue Nov 18, 2022 · 0 comments
Open

bundleDependencies property is rewritten incorrectly #62

djcsdy opened this issue Nov 18, 2022 · 0 comments

Comments

@djcsdy
Copy link
Contributor

djcsdy commented Nov 18, 2022

Input:

{
  "name": "awesome-web-framework",
  "version": "1.0.0",
  "bundleDependencies": [
    "renderized",
    "super-streams"
  ]
}

Output:

{
  "name": "awesome-web-framework",
  "version": "1.0.0",
  "bundleDependencies": {
    "0": "renderized",
    "1": "super-streams"
  }
}

Expected output: same as input.

The bundleDependencies field is defined as an array, see: https://docs.npmjs.com/cli/v8/configuring-npm/package-json#bundledependencies

It can also be spelled bundledDependencies (with an extra d), in which case the same problem occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant