Merge pull request #202819 from 06kellyjac/deno

deno: 1.28.1 -> 1.28.2
This commit is contained in:
Maximilian Bosch 2022-11-25 12:07:37 +01:00 committed by GitHub
commit b1fab71cd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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(