Skip to content

[BUG] this.#rawContent is not updated on save #138

@LoveofRedMoon

Description

@LoveofRedMoon

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Subsequent calls to .save() will not write to package.json when the content matches that of the very first .load().

Expected Behavior

save success

Steps To Reproduce

  1. modify dependencies
  2. save
  3. restore raw dependencies
  4. save

Environment

  • npm: 10.9.0
  • Node: v22.12.0
  • OS: win11
  • platform: windows

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions