Skip to content

Releases

0.3.2

Choose a tag to compare

@Hexagon Hexagon released this 25 Mar 20:16

Changes

  • Fix imports

Full Changelog: 0.3.1...0.3.2

0.3.1

Choose a tag to compare

@Hexagon Hexagon released this 25 Mar 20:08

Changes

  • Proposed fix to import problem

0.3.0

Choose a tag to compare

@Hexagon Hexagon released this 25 Mar 19:41

@check/self - Initial release

Initial release of the JSR version checking utility for Deno.

  • Easily determine if users are running the latest version of your jsr.io published programs.
  • Includes error handling for common issues (ConfigNotFoundError, PackageConfigError, JsrLookupError).

Quick example:

deno add @check/self

import { checkJsrVersion } from "@check/self";

try {
  const result = await checkJsrVersion();
  if (!result.isUpToDate) {
    console.warn(`'${result.currentVersion}' is outdated, upgrade to '${result.latestVersion}'.`);
  }
} catch (_e) { /* Ignore */ }

console.log("The program is running!");