Skip to main content
Deno 2 is finally here 🎉️
Learn more

boywithkeyboard’s updater

Warning

This project is currently in public beta and is therefore not yet stable.

CLI

Note

The entry point can be either a directory or file. You can also specify multiple files and/or directories.

deno run -Ar https://den.ooo/updater ./deno.json

Options:

  • --breaking / -b : allow breaking updates (major releases)
  • --unstable / -u : allow unstable updates (prereleases)
  • --changelog / -c : create changelog (updates_changelog.md)
  • --dry-run / --readonly : don’t apply updates

Symbols

  • ⚠️ breaking
    This update might break your code.
  • 🚧 unstable
    This is a prerelease and might therefore come with unwanted issues.
  • 🤞 early
    This module doesn’t strictly adhere to semver yet, so this version might break your code.

GitHub workflow

View example

Advanced usage

  • Pin a dependency

    To ignore a particular import, you can append #pin to the url.

    import * as semver from 'https://deno.land/std@0.200.0/semver/mod.ts#pin'
  • Specify a version range

    To override the default behavior, you can append a SemVer range to the url.

    import cheetah from 'https://deno.land/x/cheetah@v1.5.2/mod.ts#~v1.5'

Supported registries