node-print: upgrade to 10

This commit is contained in:
ptrcnull 2023-03-04 20:16:14 +01:00
parent 5a6654b2c1
commit f4a1f85dde
Signed by: ptrcnull
GPG key ID: 411F7B30801DD9CA
2 changed files with 8 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# Contributor: Patrycja Rosa <alpine@ptrcnull.me> # Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me> # Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=node-print pkgname=node-print
pkgver=9 pkgver=10
pkgrel=0 pkgrel=0
pkgdesc="another terrible javascript engine wrapper" pkgdesc="another terrible javascript engine wrapper"
url="https://git.ddd.rip/ptrcnull/ptrcports" url="https://git.ddd.rip/ptrcnull/ptrcports"
@ -43,5 +43,5 @@ package() {
sha512sums=" sha512sums="
b3dfdeb49637be33d2e2718c5abcf35a87dd55023918c99341273c3b38bd6685189d1f786451a742c47c5f3bc3b58555decb58e2a3a018c9b9ee92043f8fac03 np b3dfdeb49637be33d2e2718c5abcf35a87dd55023918c99341273c3b38bd6685189d1f786451a742c47c5f3bc3b58555decb58e2a3a018c9b9ee92043f8fac03 np
78e8f576fe7d13394c08fc7746817cfaf61ff76fd779f09fb0ace9ac72a5fd7202479624b50f1b4b03375aae86685a8da9d7e7c034dc69ee4b5fb336ee37fdb1 index.js 85ad9dfdfc32afa606855d0484fa43bdc52c0d2f66e8702e98ebc37621e3f961a3939fdb4b21e4518505160b9fb1a52c70ad9185c81e484374f94b52b4f26a13 index.js
" "

View file

@ -55,6 +55,12 @@ global.exec = (command, args, options) => {
return res 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 :) */ /* 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 */ /* not writing a test for that tho */
global.apkindex = () => stdin() global.apkindex = () => stdin()