#deno #version #channel #different #binaries #rc #run-time

bin+lib patchver

Tool to promote exisiting Deno binaries to a different version

2 unstable releases

0.2.0 Oct 1, 2024
0.1.0 Aug 16, 2024

#34 in #rc

Download history 147/week @ 2024-08-15 3/week @ 2024-08-22 14/week @ 2024-09-12 7/week @ 2024-09-19 168/week @ 2024-09-26 33/week @ 2024-10-03 7/week @ 2024-10-10 2/week @ 2024-10-17

211 downloads per month

MIT license

6KB
58 lines

Tool to promote exisiting Deno binaries to a different version.

Install

cargo install patchver

Usage

Modify your code to use sui to get current version at run-time.

use once_cell::sync::Lazy;

static CHANNEL: Lazy<&str> = Lazy::new(|| {
    libsui::find_section("denover")
        .unwrap_or("stable")
});

Promote to new channel:

patchver deno deno_new --channel rc

Dependencies

~3–13MB
~99K SLoC