new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Bun · Package manager · all subjects

update

8 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

bun update basic command

Run 'bun update' to update all dependencies to their latest versions. Run 'bun update [package]' to update a specific dependency to the latest version.

bun update --interactive flag

The --interactive flag (short form: -i) opens a terminal interface for selecting which packages to update. The interface lists every outdated package with its current version, target version, and latest available version, organized by dependency type (dependencies, devDependencies, optionalDependencies, peerDependencies).

Interactive mode keyboard controls

In interactive mode: Space toggles package selection; Enter confirms selections and updates; a/A selects all packages; n/N selects none; i/I inverts selection. Arrow keys or j/k move cursor. l/L toggles between target and latest version for current package. Ctrl+C or Ctrl+D cancels without updating.

Interactive mode visual indicators

Selected packages are shown with a filled square (■), unselected with an empty square (□), and the cursor position is marked with (❯). Version changes are colored red for major, yellow for minor, and green for patch updates. The currently selected update target is underlined.

bun update --recursive flag

The --recursive flag (short form: -r) used with --interactive updates dependencies across all workspaces in a monorepo. With --recursive, the interactive interface adds a Workspace column showing which workspace each dependency belongs to.

bun update --latest flag

By default, 'bun update' updates each dependency to the latest version that satisfies the version range in package.json. The --latest flag updates to the latest version regardless of semver constraints in package.json. For example, with 'react: ^17.0.2', 'bun update' stays within 17.x, but 'bun update --latest' updates to 18.x or later. In interactive mode, press 'l' to toggle a package between target and latest version.

Interactive mode package grouping

Packages in interactive mode are organized by dependency type: dependencies (regular runtime dependencies), devDependencies (development dependencies), peerDependencies (peer dependencies), and optionalDependencies (optional dependencies). Individual packages may have a suffix indicating their type.

Interactive mode columns

The interactive interface displays four columns: Package (package name with optional suffix), Current (currently installed version), Target (version that would be installed respecting semver constraints), and Latest (latest available version).

Give your agent this brain