From f4a1f85ddeeccedad77bf50bb37bba009b01d61a Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Sat, 4 Mar 2023 20:16:14 +0100 Subject: [PATCH] node-print: upgrade to 10 --- node-print/APKBUILD | 4 ++-- node-print/index.js | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/node-print/APKBUILD b/node-print/APKBUILD index 53dc686..3af34f1 100644 --- a/node-print/APKBUILD +++ b/node-print/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=node-print -pkgver=9 +pkgver=10 pkgrel=0 pkgdesc="another terrible javascript engine wrapper" url="https://git.ddd.rip/ptrcnull/ptrcports" @@ -43,5 +43,5 @@ package() { sha512sums=" b3dfdeb49637be33d2e2718c5abcf35a87dd55023918c99341273c3b38bd6685189d1f786451a742c47c5f3bc3b58555decb58e2a3a018c9b9ee92043f8fac03 np -78e8f576fe7d13394c08fc7746817cfaf61ff76fd779f09fb0ace9ac72a5fd7202479624b50f1b4b03375aae86685a8da9d7e7c034dc69ee4b5fb336ee37fdb1 index.js +85ad9dfdfc32afa606855d0484fa43bdc52c0d2f66e8702e98ebc37621e3f961a3939fdb4b21e4518505160b9fb1a52c70ad9185c81e484374f94b52b4f26a13 index.js " diff --git a/node-print/index.js b/node-print/index.js index c39f20d..d334de8 100644 --- a/node-print/index.js +++ b/node-print/index.js @@ -55,6 +55,12 @@ global.exec = (command, args, options) => { return res } +global.execnc = (command, args, options) => { + if (!options) options = {} + if (!options.stdio) options.stdio = 'inherit' + return exec(command, args, options) +} + /* wow it's almost like it's my own package and i can include whatever garbage i want :) */ /* not writing a test for that tho */ global.apkindex = () => stdin()