From d3c7bb65d008314bd4dc60de1f049ac39866b4ea Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Fri, 25 Nov 2022 09:50:10 +0000 Subject: [PATCH] deno: 1.28.1 -> 1.28.2 --- pkgs/development/web/deno/default.nix | 6 +++--- pkgs/development/web/deno/update/librusty_v8.ts | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/web/deno/default.nix b/pkgs/development/web/deno/default.nix index 9f81fe32fc55..c27b3b645e3f 100644 --- a/pkgs/development/web/deno/default.nix +++ b/pkgs/development/web/deno/default.nix @@ -17,15 +17,15 @@ rustPlatform.buildRustPackage rec { pname = "deno"; - version = "1.28.1"; + version = "1.28.2"; src = fetchFromGitHub { owner = "denoland"; repo = pname; rev = "v${version}"; - sha256 = "sha256-pphXLH81xous4C/mTkay9mfk3PgIT7HcY+br9uckJlQ="; + sha256 = "sha256-gmDR8KNpx+M66Rv8fooTQOY42ekYl+KwIQ/5jDvYQho="; }; - cargoSha256 = "sha256-DEWLIGskfvuEZhLvtdPprlmncZRcJBBBjYRuk4oFVkk="; + cargoSha256 = "sha256-emf6Q3WQM8W0yPvuNXPeuRC7FOt8QJ/+b5kMzyd3ZCU="; postPatch = '' # upstream uses lld on aarch64-darwin for faster builds diff --git a/pkgs/development/web/deno/update/librusty_v8.ts b/pkgs/development/web/deno/update/librusty_v8.ts index 7ee4c855741f..d9d57d2908db 100644 --- a/pkgs/development/web/deno/update/librusty_v8.ts +++ b/pkgs/development/web/deno/update/librusty_v8.ts @@ -1,10 +1,8 @@ import * as toml from "https://deno.land/std@0.148.0/encoding/toml.ts"; import { - genValueRegExp, getExistingVersion, logger, run, - versionRegExp, write, } from "./common.ts"; @@ -25,9 +23,9 @@ const getLibrustyV8Version = async ( repo: string, version: string, ) => - fetch(`https://github.com/${owner}/${repo}/raw/${version}/core/Cargo.toml`) + fetch(`https://github.com/${owner}/${repo}/raw/${version}/Cargo.toml`) .then((res) => res.text()) - .then((txt) => toml.parse(txt).dependencies.v8.version); + .then((txt) => toml.parse(txt).workspace.dependencies.v8.version); const fetchArchShaTasks = (version: string, arches: Architecture[]) => arches.map(