oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.07k stars 2.67k forks source link

bun outdated doesn't update peer deps #13509

Open bjon opened 2 weeks ago

bjon commented 2 weeks ago

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

dylan-conway commented 2 weeks ago

Could you share your package.json?

bjon commented 2 weeks ago

@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"]
}