bun icon indicating copy to clipboard operation
bun copied to clipboard

bun outdated doesn't update peer deps

Open bjon opened this issue 1 year ago • 2 comments

What version of Bun is running?

1.1.26+0a37423ba

What platform is your computer?

Linux 5.15.153.1-microsoft-standard-WSL2 x86_64 x86_64

What steps can reproduce the bug?

Run bun outdated

image

Run bun update

What is the expected behavior?

typescript peer dep should be updated

What do you see instead?

Typescript wasn't updated.

image

Additional information

No response

bjon avatar Aug 24 '24 13:08 bjon

Could you share your package.json?

dylan-conway avatar Aug 24 '24 18:08 dylan-conway

@dylan-conway sure

{
  "name": "[removed]",
  "version": "0.12.0-7",
  "module": "src/index.ts",
  "type": "module",
  "scripts": {
    // removed
  },
  "devDependencies": {
    "@biomejs/biome": "^1.8.3",
    "@types/bun": "~1.1.7",
    "@types/cookie": "^0.6.0",
    "lefthook": "^1.7.14"
  },
  "peerDependencies": {
    "typescript": "^5.5.2"
  },
  "dependencies": {
    "cookie": "^0.6.0",
    "gnablib": "^0.4.41"
  },
  "trustedDependencies": ["@biomejs/biome"]
}

bjon avatar Aug 24 '24 18:08 bjon