Skip to content

Json parser reorders the keys #2776

@Polandia94

Description

@Polandia94

Environment details

  • OS: Ububtu
  • Node.js version: 24
  • npm version:
  • release-please version:5 on release-please-action

Steps to reproduce

  1. Configure extra files as
    "extra-files": [
    {
    "type": "json",
    "path": "openapi.json",
    "jsonpath": "$.info.version"
    }
    ]
  2. On openapi.json have an object with numeric keys that are not ordered.
  3. Release please will change the order
  4. If there is a number 0.0 it will be changed to 0.

Metadata

Metadata

Assignees

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type
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