Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/n/node-yargs/node-yargs_15.3.1+repack-2_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/node-yargs-15.3.1+repack-24qopzsds/node-yargs_15.3.1+repack-2_all.buildinfo Get source package info: node-yargs=15.3.1+repack-2 Source URL: http://snapshot.notset.fr/mr/package/node-yargs/15.3.1+repack-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.3-1 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.48 bash=5.1~rc3-1 binutils=2.35.1-3 binutils-common=2.35.1-3 binutils-x86-64-linux-gnu=2.35.1-3 bsdextrautils=2.36.1-2 bsdutils=1:2.36.1-2 build-essential=12.8 bzip2=1.0.8-4 ca-certificates=20200601 chai=4.2.0+ds+~4.2.14-1 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.0-19 dash=0.5.11+git20200708+dd9ef66-2 debconf=1.5.74 debhelper=13.2.1 debianutils=4.11.2 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.39-3 findutils=4.7.0+git20201010-2 g++=4:10.2.0-1 g++-10=10.2.0-19 gcc=4:10.2.0-1 gcc-10=10.2.0-19 gcc-10-base=10.2.0-19 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.59 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libarray-unique-perl=0.08-2 libasan6=10.2.0-19 libatomic1=10.2.0-19 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3.1 libaudit1=1:2.8.5-3.1 libbinutils=2.35.1-3 libblkid1=2.36.1-2 libbrotli1=1.0.9-2+b1 libbz2-1.0=1.0.8-4 libc-ares2=1.17.1-1 libc-bin=2.31-5 libc-dev-bin=2.31-5 libc6=2.31-5 libc6-dev=2.31-5 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.0-19 libclass-accessor-perl=0.51-1 libcom-err2=1.45.6-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-3 libctf0=2.35.1-3 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.255 libdebhelper-perl=13.2.1 libdebian-copyright-perl=0.2-4 libdpkg-perl=1.20.5 libelf1=0.182-1 libencode-locale-perl=1.05-1 liberror-perl=0.17029-1 libexporter-lite-perl=0.08-1 libffi7=3.3-5 libfile-listing-perl=6.14-1 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.0-19 libgcc-s1=10.2.0-19 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libgdk-pixbuf-2.0-0=2.40.0+dfsg-8 libgdk-pixbuf2.0-common=2.40.0+dfsg-8 libglib2.0-0=2.66.3-2 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.0-19 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libhtml-parser-perl=3.75-1+b1 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.09-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.26-1 libhttp-negotiate-perl=6.01-1 libicu67=67.1-4 libio-html-perl=1.001-1 libio-pty-perl=1:1.15-2 libio-socket-ssl-perl=2.068-1 libio-stringy-perl=2.111-3 libipc-run-perl=20200505.0-1 libisl23=0.23-1 libitm1=10.2.0-19 libjbig0=2.1-3.1+b2 libjpeg62-turbo=1:2.0.5-1.1 libjs-inherits=2.0.4-1 libjs-sprintf-js=1.1.2+ds1-1 libjson-perl=4.02000-2 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 liblsan0=10.2.0-19 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.09-1 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-2 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnet-http-perl=6.19-1 libnet-ssleay-perl=1.88-3+b1 libnghttp2-14=1.42.0-1 libnode72=12.19.0~dfsg-1 libnotify-bin=0.7.9-2 libnotify4=0.7.9-2 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libparse-debcontrol-perl=2.005-4 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.32=5.32.0-5 libpipeline1=1.5.3-1 libpng16-16=1.6.37-3 libquadmath0=10.2.0-19 libseccomp2=2.5.0-3 libselinux1=3.1-2+b1 libsigsegv2=2.12-2 libsmartcols1=2.36.1-2 libssl1.1=1.1.1h-1 libstdc++-10-dev=10.2.0-19 libstdc++6=10.2.0-19 libsub-name-perl=0.26-1+b1 libsub-override-perl=0.09-2 libsystemd0=246.6-5 libtie-ixhash-perl=1.23-2 libtiff5=4.1.0+git191117-2 libtimedate-perl=2.3300-1 libtinfo6=6.2+20201114-1 libtirpc-common=1.2.6-3 libtirpc-dev=1.2.6-3 libtirpc3=1.2.6-3 libtool=2.4.6-14 libtry-tiny-perl=0.30-1 libtsan0=10.2.0-19 libubsan1=10.2.0-19 libuchardet0=0.0.7-1 libudev1=246.6-5 libunistring2=0.9.10-4 liburi-perl=5.05-1 libuuid1=2.36.1-2 libwebp6=0.6.1-2+b1 libwww-perl=6.49-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.10+dfsg-6.3 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.9.11-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 mocha=7.0.1+ds1+~cs28.9.11-1 ncurses-base=6.2+20201114-1 ncurses-bin=6.2+20201114-1 netbase=6.2 node-ansi-colors=4.1.1-2 node-ansi-regex=5.0.0-1 node-ansi-styles=4.2.1-1 node-anymatch=3.1.1+~2.2.2-1 node-argparse=2.0.1-1 node-arrify=2.0.1-1 node-assertion-error=1.1.0-1 node-async-each=1.0.3-1 node-balanced-match=1.0.0-1 node-binary-extensions=2.1.0-1 node-brace-expansion=2.0.0-1 node-braces=3.0.2+~3.0.0-1 node-browser-stdout=1.3.1-2 node-camelcase=5.3.1-1 node-chalk=4.1.0-1 node-check-error=1.0.2-3 node-chokidar=3.4.3-3 node-cliui=4.1.0-2 node-clone=2.1.2-2 node-color-convert=1.9.3-1 node-color-name=1.1.4-1 node-commander=4.1.1-3 node-cpr=3.0.1-3 node-debug=4.3.1+~cs4.1.5-1 node-decamelize=4.0.0-1 node-deep-eql=4.0.0-2 node-defaults=1.0.3-2 node-define-properties=1.1.3-1 node-diff=4.0.2~dfsg-2 node-end-of-stream=1.4.4-1 node-es6-promise=4.2.8-7 node-escape-string-regexp=4.0.0-1 node-esprima=4.0.1+ds+~4.0.2-1 node-execa=4.1.0+dfsg+~cs19.3.6-2 node-fill-range=7.0.1-2 node-find-up=5.0.0-1 node-fs.realpath=1.0.0-1 node-function-bind=1.1.1+repack-1 node-get-caller-file=1.0.2-1 node-get-func-name=2.0.0+dfsg-1 node-get-stream=4.1.0-1 node-glob=7.1.6+~7.1.3-1 node-glob-parent=5.1.1+~5.1.0-1 node-graceful-fs=4.2.4+repack-1 node-growl=1.10.5-2 node-has-flag=4.0.0-1 node-hashish=0.0.4+git34dfe43-1 node-he=1.2.0-1 node-inflight=1.0.6-1 node-inherits=2.0.4-1 node-invert-kv=3.0.1-1 node-is-binary-path=2.1.0-1 node-is-buffer=1.1.6-1 node-is-extglob=2.1.1-1 node-is-glob=4.0.1-1 node-is-number=7.0.0-1 node-is-plain-obj=1.1.0-1 node-is-stream=2.0.0-1 node-isexe=2.0.0-4 node-js-yaml=3.14.0+dfsg-2 node-kind-of=6.0.3+dfsg-1 node-lcid=3.1.1-1 node-locate-path=6.0.0-1 node-lodash=4.17.20+dfsg+~cs8.31.170-1 node-lodash-packages=4.17.20+dfsg+~cs8.31.170-1 node-mem=1.1.0-1 node-merge-stream=2.0.0-1 node-mimic-fn=3.0.0-1 node-minimatch=3.0.4+~3.0.3-1 node-minimist=1.2.5+~cs5.3.1-2 node-mkdirp=1.0.4-3 node-ms=2.1.2+~cs0.7.31-1 node-normalize-path=3.0.0-2 node-npm-run-path=2.0.2-2 node-once=1.4.0-3 node-os-locale=4.0.0-1 node-p-limit=3.1.0+~cs2.3.0-1 node-p-locate=5.0.0-1 node-path-dirname=1.0.2-1 node-path-exists=4.0.0-2 node-path-is-absolute=2.0.0-1 node-pathval=1.1.0-4 node-pump=3.0.0-4 node-readdirp=3.5.0-2 node-repeat-string=1.6.1-1 node-require-directory=2.1.1-1 node-require-main-filename=2.0.0-1 node-rimraf=3.0.2-1 node-set-blocking=2.0.0-1 node-set-immediate-shim=2.0.0-1 node-shebang-command=1.2.0-1 node-shebang-regex=3.0.0-1 node-signal-exit=3.0.3-1 node-sprintf-js=1.1.2+ds1-1 node-string-width=4.2.0-1 node-strip-ansi=6.0.0-2 node-strip-json-comments=3.1.1-1 node-supports-color=6.1.0-2 node-to-regex-range=5.0.1-2 node-traverse=0.6.6-2 node-type-detect=4.0.0-1 node-wcwidth.js=1.0.0-1 node-which=2.0.2-2 node-which-module=2.0.0-1 node-wide-align=1.1.3-1 node-wrap-ansi=4.0.0-2 node-wrappy=1.0.2-1 node-y18n=4.0.0-3 node-yargs=15.3.1+repack-1 node-yargs-parser=18.1.3-1 nodejs=12.19.0~dfsg-1 openssl=1.1.1h-1 patch=2.7.6-6 perl=5.32.0-5 perl-base=5.32.0-5 perl-modules-5.32=5.32.0-5 perl-openssl-defaults=5 pkg-js-tools=0.9.53 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 shared-mime-info=2.0-1 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 util-linux=2.36.1-2 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201216T025313Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201202T205335Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d node-yargs=15.3.1+repack-2 && mkdir -p /build/node-yargs-TwAmEb && dpkg-source --no-check -x /*.dsc /build/node-yargs-TwAmEb/node-yargs-15.3.1+repack && chown -R builduser:builduser /build/node-yargs-TwAmEb" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/node-yargs-TwAmEb/node-yargs-15.3.1+repack && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1607188041" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/node-yargs-TwAmEb /tmp/node-yargs-15.3.1+repack-24qopzsds bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20201202T205335Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.ePveXHZmLn as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.ePveXHZmLn Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-2). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20201202T205335Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201202T205335Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (987 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4614 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-5) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201216T025313Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201202T205335Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.ePveXHZmLn Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201216T025313Z unstable InRelease [153 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20201202T205335Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20201216T025313Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201216T025313Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201216T025313Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20201216T025313Z unstable/main amd64 Packages [11.6 MB] Fetched 34.3 MB in 28s (1225 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.ePveXHZmLn I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d node-yargs=15.3.1+repack-2 && mkdir -p /build/node-yargs-TwAmEb && dpkg-source --no-check -x /*.dsc /build/node-yargs-TwAmEb/node-yargs-15.3.1+repack && chown -R builduser:builduser /build/node-yargs-TwAmEb"' exec /tmp/mmdebstrap.ePveXHZmLn Reading package lists... NOTICE: 'node-yargs' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/js-team/node-yargs.git Please use: git clone https://salsa.debian.org/js-team/node-yargs.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 370 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main node-yargs 15.3.1+repack-2 (dsc) [2882 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main node-yargs 15.3.1+repack-2 (tar) [12.9 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main node-yargs 15.3.1+repack-2 (tar) [349 kB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main node-yargs 15.3.1+repack-2 (diff) [4828 B] Fetched 370 kB in 0s (883 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'node-yargs_15.3.1+repack-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting node-yargs in /build/node-yargs-TwAmEb/node-yargs-15.3.1+repack dpkg-source: info: unpacking node-yargs_15.3.1+repack.orig.tar.gz dpkg-source: info: unpacking node-yargs_15.3.1+repack.orig-types-yargs.tar.gz dpkg-source: info: unpacking node-yargs_15.3.1+repack-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying disable-failing-window-size-tests.patch dpkg-source: info: applying disable-yargs-test-extends.patch dpkg-source: info: applying disable-new-mocha.patch dpkg-source: info: applying remove-cross-spawn.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/node-yargs-TwAmEb/node-yargs-15.3.1+repack && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1607188041" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.ePveXHZmLn dpkg-buildpackage: info: source package node-yargs dpkg-buildpackage: info: source version 15.3.1+repack-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Xavier Guimard dpkg-source --before-build . debian/rules clean dh clean dh_auto_clean --buildsystem=nodejs rm -rf ./node_modules/.cache rm -rf types-yargs/node_modules/.cache dh_clean debian/rules binary-indep dh binary-indep dh_update_autotools_config -i dh_autoreconf -i dh_auto_configure --buildsystem=nodejs -i mkdir node_modules mkdir -p node_modules/\@types ln -s ../../types-yargs node_modules/\@types/yargs dh_auto_build --buildsystem=nodejs -i No build command found, searching known files No build command found, searching known files dh_auto_test --buildsystem=nodejs -i ln -s ../. node_modules/yargs /bin/sh -ex debian/tests/pkg-js/test + mocha --require ./test/before.js --timeout=30000 --check-leaks ✓ should expose yargs-parser as Parser (39ms) Argsert ✓ does not warn if optional argument is not provided ✓ warn if wrong type is provided for optional argument ✓ does not warn if optional argument is valid ✓ warns if required argument is not provided ✓ warns if required argument is of wrong type ✓ supports a combination of required and optional arguments ✓ warns if too many arguments are provided ✓ warn with argument position if wrong type is provided for argument ✓ warn with generic argument position if wrong type is provided for seventh or greater argument ✓ configures function to accept 0 parameters, if only arguments object is provided ✓ allows for any type if * is provided ✓ should ignore trailing undefined values ✓ should not ignore undefined values that are not trailing ✓ supports null as special type Command ✓ preserves top-level envPrefix ✓ respects order of positional arguments when matching commands ✓ handles positional arguments if command is invoked using .parse() ✓ invokes command handler repeatedly if parse() is called multiple times ✓ allows command handler to be invoked repeatedly when help is enabled ✓ does not require builder function to return ✓ allows builder function to parse argv without returning ✓ allows builder function to return parsed argv ✓ ignores extra spaces in command string ✓ executes a command via alias ✓ should kick along [demand] configuration to commands (48ms) ✓ should support numeric commands ✓ should not execute command if it is proceeded by another positional argument ✓ should allow positional arguments for inner commands in strict mode, when no handler is provided ✓ does not coerce number from positional with leading "+" positional arguments ✓ parses command string and populates optional and required positional arguments ✓ populates inner argv with positional arguments ✓ populates outer argv with positional arguments when unknown-options-as-args is not set ✓ populates outer argv with positional arguments when unknown-options-as-args is set ✓ populates argv with camel-case variants of arguments when possible ✓ populates argv with camel-case variants of variadic args when possible ✓ populates subcommand's inner argv with positional arguments ✓ ignores positional args for aliases ✓ does not overwrite existing values in argv for keys that are not positional ✓ does not load config twice when command executed ✓ handles -- in conjunction with positional arguments ✓ continues to support populate-- for commands, post #1457 variadic ✓ allows required arguments to be variadic ✓ allows optional arguments to be variadic ✓ fails if required arguments are missing ✓ does not fail if zero optional arguments are provided ✓ only allows the last argument to be variadic ✓ allows camel-case, variadic arguments, and strict mode to be combined missing positional arguments ✓ fails if a required argument is missing ✓ does not fail if optional argument is missing API ✓ accepts string, string as first 2 arguments ✓ accepts array, string as first 2 arguments ✓ accepts string, boolean as first 2 arguments ✓ accepts array, boolean as first 2 arguments ✓ accepts function as 3rd argument ✓ accepts options object as 3rd argument ✓ accepts module (with builder function and handler function) as 3rd argument ✓ accepts module (with builder object and handler function) as 3rd argument ✓ accepts module (describe key, builder function) as 1st argument ✓ accepts module (description key, builder function) as 1st argument ✓ accepts module (desc key, builder function) as 1st argument ✓ accepts module (false describe, builder function) as 1st argument ✓ accepts module (missing describe, builder function) as 1st argument ✓ accepts module (describe key, builder object) as 1st argument ✓ accepts module (missing handler function) as 1st argument ✓ accepts module (with command array) as 1st argument ✓ accepts module (with command string and aliases array) as 1st argument ✓ accepts module (with command array and aliases array) as 1st argument ✓ accepts module (with command string and aliases string) as 1st argument commandDir ✓ supports relative dirs (65ms) ✓ supports nested subcommands ✓ supports a "recurse" boolean option (81ms) ✓ supports a "visit" function option ✓ detects and ignores cyclic dir references ✓ derives 'command' string from filename when not exported help command ✓ displays command help appropriately positional aliases ✓ allows an alias to be defined for a required positional argument ✓ allows an alias to be defined for an optional positional argument ✓ allows variadic and positional arguments to be combined global parsing hints config ✓ does not load config for command if global is false ✓ loads config for command by default validation ✓ resets implies logic for command if global is false ✓ applies conflicts logic for command by default ✓ resets conflicts logic for command if global is false ✓ applies custom checks globally by default ✓ resets custom check if global is false ✓ applies demandOption globally strict ✓ defaults to false when not called ✓ can be enabled just for a command ✓ applies strict globally by default ✓ does not fail strict check due to postional command arguments ✓ does not fail strict check due to postional command arguments in nested commands ✓ allows a command to override global` ✓ does not fire command if validation fails types ✓ applies array type globally ✓ allows global setting to be disabled for array type ✓ applies choices type globally aliases ✓ defaults to applying aliases globally ✓ allows global application of alias to be disabled coerce ✓ defaults to applying coerce rules globally ✓ should bubble errors thrown by coerce function inside commands defaults ✓ applies defaults globally describe ✓ flags an option as global if a description is set help ✓ applies help globally version ✓ applies version globally groups ✓ should apply custom option groups globally default commands ✓ executes default command if no positional arguments given ✓ executes default command if undefined positional arguments and only command ✓ executes default command if defined positional arguments and only command ✓ allows $0 as an alias for a default command ✓ does not execute default command if another command is provided ✓ allows default command to be set as alias ✓ allows command to be run when alias is default command ✓ the last default command set should take precedence strict ✓ executes default command when strict mode is enabled ✓ allows default command aliases, when strict mode is enabled usage ✓ allows you to configure a default command ✓ throws exception if default command does not have leading $0 async ✓ fails when the promise returned by the command handler rejects ✓ succeeds when the promise returned by the command handler resolves ✓ displays error and appropriate help message when handler fails Completion default completion behavior ✓ avoids repeating already included commands ✓ avoids repeating already included options ✓ avoids repeating options whose aliases are already included ✓ completes short options with a single dash when the user did not already enter two dashes ✓ completes short options with two dashes when the user already entered two dashes ✓ completes single digit options with two dashes ✓ completes with no- prefix flags defaulting to true when boolean-negation is set ✓ avoids repeating flags whose negated counterparts are already included ✓ ignores no- prefix flags when boolean-negation is not set ✓ completes options for the correct command ✓ does not complete hidden commands (51ms) ✓ does not include positional arguments ✓ works if command has no options ✓ returns arguments as completion suggestion, if next contains '-' generateCompletionScript() ✓ replaces completion command variable with custom completion command in script ✓ if $0 has a .js extension, a ./ prefix is added ✓ allows $0 and cmd to be set completion() ✓ shows completion script if command registered with completion(cmd) is called ✓ allows a custom function to be registered for completion ✓ passes current arg for completion and the parsed arguments thus far to custom function ✓ if a promise is returned, completions can be asynchronous ✓ if a promise is returned, errors are handled ✓ if a callback parameter is provided, completions can be asynchronous bash ✓ returns a list of commands as completion suggestions ✓ avoids interruption from command recommendations ✓ avoids interruption from default command ✓ completes options for a command ✓ does not apply validation when --get-yargs-completions is passed in generateCompletionScript() ✓ replaces application variable with $0 in script getCompletion() ✓ returns default completion to callback ✓ returns default completion to callback for options zsh ✓ returns a list of commands as completion suggestions ✓ avoids interruption from command recommendations ✓ avoids interruption from default command ✓ completes options for a command ✓ replaces application variable with $0 in script ✓ does not apply validation when --get-yargs-completions is passed in ✓ bails out early when full command matches getCompletion() ✓ returns default completion to callback integration tests ✓ should run as a shell script with no arguments (403ms) ✓ should run as a shell script with arguments (375ms) ✓ should run as a node script with no arguments (337ms) ✓ should run as a node script with arguments (357ms) ✓ allows --help to be completed without returning help message (317ms) ✓ flushes all output when --help is executed (3956ms) ✓ correctly fills positional command args with preceding option (299ms) ✓ correctly fills positional command args with = assignment in preceding option (333ms) path returned by "which" ✓ should match the actual path to the script file (304ms) ✓ should match the actual path to the script file, with arguments (298ms) load root package.json version # ✓ defaults to appropriate version # when yargs is installed normally (284ms) ✓ defaults to appropriate version # when yargs is symlinked (308ms) parser settings ✓ reads parser config settings when yargs is installed normally (297ms) ✓ reads parser config settings when yargs is installed as a symlink (362ms) ✓ reads parser config settings when somebody obscures require.main (280ms) ✓ reads parser config settings when entry file has no extension (359ms) isPromise ✓ returns `false` on non promise value ✓ returns `true` on es6 promise ✓ returns `true` on some other thenable ✓ returns `false` if some falsy value is passed ✓ returns `false` if passed object has no `then` property ✓ returns `false` if `then` is not a function middleware ✓ should add a list of callbacks to global middleware ✓ should throw exception if middleware is not a function ✓ should add a single callback to global middleware ✓ runs the middleware before reaching the handler ✓ runs all middleware before reaching the handler ✓ should be able to register middleware regardless of when middleware is called ✓ doesn't modify globalMiddleware array when executing middleware ✓ allows middleware to be added in builder ✓ passes yargs object to middleware ✓ applies aliases before middleware is called async ✓ fails when the promise returned by the middleware rejects ✓ calls the command handler when all middleware promises resolve (66ms) ✓ calls an async middleware only once for nested subcommands applyBeforeValidation=true ✓ runs before validation ✓ throws an error if promise returned and applyBeforeValidation enabled ✓ runs before validation, when middleware is added in builder ✓ applies aliases before middleware is called, for global middleware ✓ applies aliases before middleware is called, when middleware is added in builder ObjFilter ✓ returns a new reference to the original object if no filter function is given usage tests ✓ should return valid values when check passes ✓ should display missing arguments when check fails with a thrown exception ✓ should display missing arguments when check fails with a return value ✓ should return a valid result when check condition passes ✓ should display a failed message when check condition fails ✓ should return a valid result when demanding a count of non-hyphenated values ✓ should return a failure message when not enough non-hyphenated arguments are found after a demand count ✓ should return a custom failure message when not enough non-hyphenated arguments are found after a demand count ✓ should return a valid result when setting defaults for singles ✓ should return a valid result when default is set for an alias ✓ should print a single line when failing and default is set for an alias ✓ should allow you to set default values for a hash of options ✓ should display example on fail ✓ should succeed when rebase ✓ should not print usage string if help() is called without arguments ✓ should add --help as an option for printing usage text if help() is called without arguments (50ms) demand options ✓ should show an error along with a custom message on demand fail ✓ should return valid values when demand passes ✓ should not show a custom message if msg is null using .demand() ✓ should show an error along with the missing arguments on demand fail ✓ missing argument message given if one command, but an argument not on the list is provided ✓ missing command message if all the required arguments exist, but not enough commands are provided ✓ no failure occurs if the required arguments and the required number of commands are provided ✓ missing command message if all the required arguments exist, but not enough commands are provided using .require() ✓ should show an error along with the missing arguments on demand fail ✓ missing argument message given if one command and an argument not on the list are provided (58ms) min/max demanded count ✓ does not output an error if '_' count is within the min/max range ✓ outputs an error if '_' count is above max ✓ outputs an error if '_' count is below min ✓ allows a customer error message to be provided ✓ shouldn't interpret the second argument as a max when it is an array deprecate options using .option(x, {deprecate: [boolean|string]}) ✓ {deprecated: true} should show [deprecated] ✓ {deprecated: string} should show [deprecated: string] ✓ {deprecated: boolean} in sub-command ✓ {deprecated: string} in sub-command using .deprecateOption(x, [string]) ✓ .deprecateOption(x) should show [deprecated] ✓ .deprecateOption(x, string) should show [deprecated: string] ✓ .deprecateOption(x) in a sub-command ✓ .deprecateOption(x, string) in a sub-command when exitProcess is false when check fails with a thrown exception ✓ should display missing arguments once fail() ✓ is called with the original error message as the first parameter ✓ is invoked with yargs instance as third argument when check() throws error ✓ fail() is called with the original error object as the second parameter when command() throws error ✓ fail() is called with the original error object as the second parameter required arguments ✓ still requires argument if 'type' hints are given with options object ✓ should show a failure message if a required option is missing ✓ should show a failure message if more than one required option is missing with requiresArg method ✓ should show a failure message if a required option is missing with strict() option set ✓ should fail given an option argument that is not demanded ✓ should fail given an option argument without a corresponding description ✓ should fail given multiple option arguments without corresponding descriptions ✓ should pass given option arguments with corresponding descriptions with hyphens in options ✓ fails when an invalid argument is provided ✓ accepts valid options ✓ works with aliases ✓ accepts mixed options with values demand option with boolean flag ✓ should not report missing required arguments when given an alias with demand option ✓ should report missing required arguments with required option ✓ should report missing required arguments help option ✓ should display usage ✓ should not show both dashed and camelCase aliases ✓ should use 2 dashes for general 1-digit usage ✓ should use single dashes for 1-digit boolean key usage ✓ should use single dashes for 1-digit boolean alias usage ✓ should use 2 dashes for multiple-digit alias usage when exitProcess is false ✓ should not validate arguments (required argument) ✓ should not validate arguments (nargs) version option ✓ should display version ✓ accepts version option as first argument, and version number as second argument ✓ should default to 'version' as version option when exitProcess is false ✓ should not validate arguments (required argument) ✓ should not validate arguments (nargs) showHelpOnFail ✓ should display user supplied message (41ms) exitProcess ✓ should not call process.exit on error if disabled scriptName ✓ should display user supplied scriptName ✓ should not alter the user supplied scriptName wrap ✓ should wrap argument descriptions onto multiple lines ✓ should not raise an exception when long default and description are provided ✓ should wrap the left-hand-column if it takes up more than 50% of the screen ✓ should not wrap left-hand-column if no description is provided ✓ should wrap the usage string ✓ should align span columns when ansi colors are not used in a description ✓ should align span columns when ansi colors are used in a description commands ✓ should output a list of available commands ✓ should not show hidden commands ✓ allows completion command to be hidden (44ms) ✓ preserves global wrap() for commands that do not override it ✓ allows a command to override global wrap() ✓ resets groups for a command handler, respecting order ✓ allows global option to be disabled ✓ can add to preserved groups ✓ can bump up preserved groups ✓ should display global non empty groups for commands ✓ should display global non empty groups for subcommands ✓ should list a module command only once ✓ allows a builder function to override default usage() string ✓ allows a builder function to disable default usage() with null ✓ displays given command chain with positional args in default usage for subcommand with builder object ✓ displays given command chain with positional args in default usage for subcommand with builder function (42ms) ✓ displays aliases for commands that have them (no wrap) ✓ displays aliases for commands that have them (with wrap) ✓ allows a builder to add more than one usage with mutiple usage calls ✓ allows a builder to disable usage with null after mutiple usage calls ✓ does not display $0 twice when default commands are enabled epilogue ✓ should display an epilog message at the end of the usage instructions ✓ supports multiple epilogs ✓ replaces $0 in epilog string default ✓ should indicate that the default is a generated-value, if function is provided ✓ if a named function is provided, should use name rather than (generated-value) ✓ default-description take precedence if one is provided ✓ serializes object and array defaults defaultDescription using option() without default() ✓ should output given desc with default value ✓ should output given desc without default value ✓ should prefer given desc over function desc using option() with default() ✓ should prefer default() desc when given last ✓ should prefer option() desc when given last ✓ should prefer option() desc over default() function using positional() without default() ✓ should output given desc with default value ✓ should output given desc without default value ✓ should prefer given desc over function desc using positional() with default() ✓ should prefer default() desc when given last ✓ should prefer positional() desc when given last ✓ should prefer positional() desc over default() function normalizeAliases ✓ should display 'description' string in help message if set for alias ✓ should display 'required' string in help message if set for alias ✓ should display 'type' string in help message if set for alias (57ms) ✓ should display 'type' number in help message if set for alias showHelp ✓ should show help regardless of whether argv has been called ✓ should print the help using console.error when no arguments were specified ✓ should call the correct console.log method when specified ✓ should call the callback to print when specified $0 ✓ is detected correctly for a basic script ✓ is detected correctly when argv contains "node" ✓ is detected correctly when dirname contains "node" ✓ is detected correctly when dirname and argv contain "node" ✓ is detected correctly when argv contains "iojs" ✓ is detected correctly when dirname contains "iojs" ✓ is detected correctly when dirname and argv contain "iojs" ✓ is detected correctly when argv contains "node.exe" ✓ is detected correctly when argv contains "iojs.exe" ✓ is resolved to the relative path if it is shorter ✓ is not resolved to the relative path if it is larger choices ✓ should output choices when defined for non-hidden options ✓ should not output choices when defined for hidden options count ✓ should indicate when an option is a count array ✓ should indicate when an option is an array group ✓ allows an an option to be placed in an alternative group ✓ does not print the 'Options:' group if no keys are in it (41ms) ✓ displays alias keys appropriately within a grouping ✓ allows a group to be provided as the only information about an option ✓ allows multiple options to be grouped at the same time ✓ allows group to be provided in the options object ✓ only displays a duplicated option once per group cjk ✓ should calculate width of cjk text correctly default command ✓ should display top-level help with no command given ✓ should display top-level help with sorting with no command given if sorting enabled (66ms) ✓ should display default command as ./$0 if it has no aliases ✓ should display positionals that have been configured ✓ should display options that have been configured positional ✓ should display help section for positionals ✓ shows that variadic positional arguments are arrays ✓ indicates that positional arguments are required (59ms) ✓ displays aliases appropriately ✓ displays type information ✓ displays choices array (64ms) hidden options ✓ --help should display all options except for hidden ones ✓ --help should display all options except for hidden ones even with a default ✓ --help should display all options except for hidden ones even in a group ✓ --help should display all groups except for ones with only hidden options ✓ --help should display all options (including hidden ones) with --show-hidden ✓ --help should display all groups (including ones with only hidden options) with --show-hidden ✓ --help should display --custom-show-hidden ✓ --help should display all options with --custom-show-hidden help message caching ✓ should display proper usage when an async handler fails (108ms) ✓ should not display a cached help message for the next parsing (113ms) validation tests implies ✓ fails if '_' populated, and implied argument not set ✓ fails if key implies values in '_', but '_' is not populated ✓ fails if either implied argument is not set and displays only failed ✓ fails if --no-foo's implied argument is not set ✓ fails if a key is set, along with a key that it implies should not be set ✓ fails if implied key (with "no" in the name) is not set ✓ doesn't fail if implied key (with "no" in the name) is set ✓ fails if implied key (with "no" in the name) is given when it should not ✓ doesn't fail if implied key (with "no" in the name) that should not be given is not set ✓ allows key to be specified with option shorthand conflicts ✓ fails if both arguments are supplied ✓ fails if argument is supplied along with either conflicting argument ✓ should not fail if no conflicting arguments are provided ✓ should not fail if argument with conflict is provided, but not the argument it conflicts with ✓ should not fail if conflicting argument is provided, without argument with conflict ✓ allows an object to be provided defining conflicting option pairs ✓ takes into account aliases when applying conflicts logic ✓ allows key to be specified with option shorthand ✓ should fail if alias of conflicting argument is provided ✓ should fail if alias of argument with conflict is provided ✓ should use appropriate translation demand ✓ fails with standard error message if msg is not defined ✓ fails in strict mode with invalid command ✓ fails in strict mode with extra positionals ✓ does not fail in strict mode when no commands configured ✓ should recognize context variables in strict mode ✓ should recognize context variables in strict mode, when running sub-commands ✓ fails when a required argument is missing ✓ fails when required arguments are present, but a command is missing ✓ fails without a message if msg is null ✓ custom failure message should be printed for both min and max constraints ✓ interprets min relative to command ✓ interprets max relative to command requiresArg ✓ fails when a required argument value of type number is missing ✓ fails when a required argument value of type string is missing ✓ fails when a required argument value of type boolean is missing ✓ fails when a required argument value of type array is missing ✓ does not fail if argument with required value is not provided ✓ does not fail if argument with required value is not provided to subcommand choices ✓ fails with one invalid value ✓ fails with one valid and one invalid value ✓ fails with multiple invalid values for same argument ✓ fails with case-insensitive value ✓ fails with multiple invalid arguments ✓ fails when demandOption is true and choice is not provided ✓ succeeds when demandOption is false and no choice is provided ✓ succeeds when demandOption is not provided and no choice is provided config ✓ should raise an appropriate error if JSON file is not found ✓ should not raise an exception if config file is set as default argument value ✓ should be displayed in the help message ✓ should be displayed in the help message with its default name ✓ should allow help message to be overridden ✓ outputs an error returned by the parsing function ✓ outputs an error if thrown by the parsing function defaults ✓ should not fail when demanded options with defaults are missing strict mode ✓ does not fail when command with subcommands called ✓ does not fail for hidden options ✓ does not fail if an alias is provided, rather than option itself ✓ does not fail when unrecognized option is passed after -- demandOption ✓ allows an array of options to be demanded ✓ allows demandOption in option shorthand demandCommand ✓ should return a custom failure message when too many non-hyphenated arguments are found after a demand count ✓ allows a custom min message to be provided ✓ allows a custom min and max message to be provided ✓ defaults to demanding 1 command strictCommands ✓ succeeds in parse if command is known ✓ succeeds in parse if top level and inner command are known ✓ fails with error if command is unknown ✓ fails with error if inner command is unknown ✓ does not apply implicit strictCommands to inner commands ✓ allows strictCommands to be applied to inner commands yargs dsl tests ✓ should use bin name for $0, eliminating path ✓ should not remove the 1st argument of bundled electron apps ✓ should remove the 1st argument of unbundled electron apps ✓ accepts an object for aliases ✓ do not populates argv with placeholder keys for unset options ✓ accepts an object for implies ✓ accepts an object for describes ✓ a function can be provided, to execute when a parsing failure occurs ✓ should set alias to string if option is string ✓ should allow a valid choice ✓ should ignore a missing array choice with an empty default ✓ should allow defaultDescription to be set with .option() ✓ should not require config object for an option ✓ should not fail if command handler freezes object ✓ should allow array and requires arg to be used in conjunction hide ✓ should add the key to hiddenOptions showHidden ✓ should have a default show-hidden private option pre-configured ✓ should not have show-hidden as an actual option described by default ✓ should set show-hidden option ✓ should set custom-show-hidden option showHelpOnFail ✓ should display custom failure message, if string is provided as first argument ✓ calling with no arguments should default to displaying help exitProcess ✓ should set exit process to true, if no argument provided when exitProcess is set to false and a failure occurs ✓ should throw an exception (53ms) ✓ should output the errors to stderr once reset ✓ should put yargs back into its initial state ✓ does not invoke parse with an error if reset has been called and option is not global command ✓ executes command handler with parsed argv ✓ runs all middleware before reaching the handler ✓ recommends a similar command if no command handler is found ✓ does not recommend a similiar command if no similar command exists ✓ recommends the longest match first ✓ does not print command recommendation if help message will be shown ✓ skips executing root-level command if builder's help is executed ✓ executes top-level help if no handled command is provided ✓ accepts an object for describing a command's options ✓ accepts a module with a 'builder' and 'handler' key ✓ accepts a module with a keys 'command', 'describe', 'builder', and 'handler' ✓ derives 'command' string from filename when missing ✓ throws error for non-module command object missing 'command' string number ✓ accepts number arguments when a number type is specified ✓ should expose an options short-hand for numbers choices ✓ accepts an object ✓ accepts a string and array ✓ accepts a string and single value locale ✓ uses english as a default locale ✓ detects the operating system's locale ✓ should not detect the OS locale if detectLocale is 'false' ✓ allows a locale other than the default 'en' to be specified ✓ handles a missing locale ✓ properly translates a region-specific locale file ✓ uses locale string for help option default desc on .locale().help() ✓ uses locale string for help option default desc on .help().locale() updateLocale ✓ allows you to override the default locale strings ✓ allows you to use updateStrings() as an alias for updateLocale() env ✓ translates no arg as empty prefix (parser applies all env vars) ✓ accepts true as a valid prefix (parser applies all env vars) ✓ accepts empty string as a valid prefix (parser applies all env vars) ✓ accepts a string prefix ✓ translates false as undefined prefix (disables parsing of env vars) parse ✓ parses a simple string ✓ parses a quoted string ✓ parses an array ✓ ignores implicit help command (with short-circuit) ✓ allows an optional context object to be provided ✓ overrides parsed value of argv with context object ✓ parses process.parse() if no arguments are provided ✓ can be called multiple times with the same behavior parsed ✓ should be false before parsing ✓ should not be false after parsing function passed as second argument to parse ✓ does not print to stdout ✓ gets passed error as first argument ✓ gets passed argv as second argument ✓ gets passed output as third argument ✓ reinstates original exitProcess setting after invocation ✓ does not call callback if subsequently called without callback ✓ resets error state between calls to parse commands ✓ does not invoke command handler if output is populated ✓ invokes command handler normally if no output is populated ✓ allows context object to be passed to parse (40ms) ✓ does not fail if context object has cyclical reference ✓ allows nested sub-commands to be invoked multiple times ✓ overwrites the prior context object, when parse is called multiple times ✓ populates argv appropriately when parse is called multiple times ✓ populates output appropriately when parse is called multiple times (50ms) ✓ resets errors when parse is called multiple times ✓ preserves top-level config when parse is called multiple times config ✓ allows a parsing function to be provided as a second argument ✓ allows key to be specified with option shorthand ✓ can be disabled with option shorthand ✓ allows to pass a configuration object extends ✓ applies default configurations when given config object ✓ protects against circular extended configurations ✓ handles aboslute paths ✓ tolerates null prototype config objects ✓ ignores an extends key that does not look like a path or module ✓ allows files with .*rc extension to be extended ✓ deep merges configs when extending when deep-merge-config=true ✓ deep merges multiple configs when extending when deep-merge-config=true ✓ does not deep merge objects by default normalize ✓ normalizes paths passed as arguments ✓ normalizes path when when it is updated ✓ allows key to be specified with option shorthand ✓ can be disabled with option shorthand narg ✓ accepts a key as the first argument and a count as the second ✓ accepts a hash of keys and counts ✓ allows key to be specified with option shorthand global ✓ does not reset a global options when reset is called ✓ does not reset alias of global option ✓ should set help to global option by default ✓ should set version to global option by default ✓ should not reset usage descriptions of global options ✓ should not reset implications of global options ✓ should expose an options short-hand for declaring global options pkgConf ✓ uses values from package.json ✓ combines yargs defaults with package.json values ✓ should use value from package.json, if argv value is using default value ✓ should apply value from config object to all aliases ✓ is cool with a key not existing ✓ allows an alternative cwd to be specified ✓ doesn't mess up other pkg lookups when cwd is specified ✓ handles an invalid package.json ✓ should apply default configurations from extended packages ✓ should apply extended configurations from cwd when no path is given parserConfiguration ✓ overrides the default parser configuration ✓ supports --unknown-options-as-args skipValidation ✓ skips validation if an option with skipValidation is present ✓ does not skip validation if no option with skipValidation is present ✓ allows key to be specified with option shorthand ✓ allows having an option that skips validation but not skipping validation if that option is not used .help() ✓ enables `--help` option and `help` command without arguments ✓ enables `--help` option and `help` command with `true` argument ✓ enables given string as help option and command with string argument ✓ enables given string as help option and command with custom description with two string arguments ✓ enables given string as help option and command with custom description with two string arguments and `true` argument .help() with .alias() ✓ uses multi-char (but not single-char) help alias as command .coerce() ✓ supports string and function args (as option key and coerce function) ✓ supports object arg (as map of multiple options) ✓ supports array and function args (as option keys and coerce function) ✓ allows an error to be handled by fail() handler ✓ supports an option alias ✓ supports a global option within command ✓ is supported by .option() ✓ supports positional and variadic args for a command ✓ returns camelcase args for a command ✓ allows an error from positional arg to be handled by fail() handler stop parsing ✓ populates argv._ with unparsed arguments after "--" yargs context ✓ should begin with initial state ✓ should track number of resets ✓ should track commands being executed positional ✓ defaults array with no arguments to [] ✓ populates array with appropriate arguments ✓ allows a conflicting argument to be specified ✓ allows a default to be set ✓ allows a defaultDescription to be set ✓ allows an implied argument to be specified ✓ allows an alias to be provided ✓ allows normalize to be specified ✓ allows a choices array to be specified ✓ allows a coerce method to be provided ✓ allows a boolean type to be specified ✓ allows a number type to be specified ✓ allows a string type to be specified ✓ allows positional arguments for subcommands to be configured ✓ can only be used as part of a command's builder function ✓ does not parse large scientific notation values, when type string onFinishCommand ✓ use with promise ✓ use without promise (41ms) "nargs" with "array" ✓ should not consume more than nargs items ✓ should apply nargs with higher precedence than requiresArg: true ✓ should apply nargs with higher precedence than requiresArg() ✓ should raise error if not enough values follow nargs key should not pollute the prototype ✓ does not pollute, when .parse() is called ✓ does not pollute, when .argv is called ✓ does not pollute, when options are set 622 passing (18s) Removing node_modules/yargs create-stamp debian/debhelper-build-stamp dh_testroot -i dh_prep -i dh_auto_install --buildsystem=nodejs -i dh_auto_install: warning: ./package.json#files: completion.sh.hbs does not exists dh_auto_install: warning: ./package.json#files: completion.zsh.hbs does not exists dh_auto_install: warning: ### Missing ./completion.sh.hbs, skipping dh_auto_install: warning: ### Missing ./completion.zsh.hbs, skipping dh_auto_install: warning: ### Missing ./build/config.gypi, skipping Found "files" field in ./package.json, using it mkdir -p /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/ cp --reflink=auto -a ./index.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs// cp --reflink=auto -a ./yargs.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs// mkdir -p /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib cp --reflink=auto -a ./lib/levenshtein.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib/ cp --reflink=auto -a ./lib/yerror.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib/ cp --reflink=auto -a ./lib/usage.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib/ cp --reflink=auto -a ./lib/middleware.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib/ cp --reflink=auto -a ./lib/argsert.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib/ cp --reflink=auto -a ./lib/completion-templates.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib/ cp --reflink=auto -a ./lib/is-promise.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib/ cp --reflink=auto -a ./lib/command.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib/ cp --reflink=auto -a ./lib/obj-filter.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib/ cp --reflink=auto -a ./lib/completion.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib/ cp --reflink=auto -a ./lib/apply-extends.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib/ cp --reflink=auto -a ./lib/process-argv.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib/ cp --reflink=auto -a ./lib/validation.js /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/lib/ mkdir -p /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales cp --reflink=auto -a ./locales/nn.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/nl.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/ko.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/fi.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/es.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/id.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/ja.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/ru.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/zh_TW.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/en.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/de.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/zh_CN.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/hi.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/fr.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/tr.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/th.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/pt.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/be.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/hu.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/pl.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/it.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/nb.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/pt_BR.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./locales/pirate.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs/locales/ cp --reflink=auto -a ./package.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/yargs// dh_auto_install: warning: ### Missing types-yargs/build/config.gypi, skipping No "files" field in types-yargs/package.json, install all files mkdir -p /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/\@types/yargs/ cp --reflink=auto -a types-yargs/package.json /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/\@types/yargs// cp --reflink=auto -a types-yargs/index.d.ts /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/\@types/yargs// cp --reflink=auto -a types-yargs/yargs.d.ts /build/node-yargs-TwAmEb/node-yargs-15.3.1\+repack/debian/node-yargs//usr/share/nodejs/\@types/yargs// Populate ${nodejs:Provides}: + node-types-yargs (= 15.0.9) Set ${nodejs:Version} to 12.19.0~dfsg dh_installdocs -i dh_installchangelogs -i dh_installexamples -i dh_perl -i dh_link -i dh_strip_nondeterminism -i dh_compress -i dh_fixperms -i dh_missing -i dh_installdeb -i dh_gencontrol -i dpkg-gencontrol: warning: package node-yargs: substitution variable ${nodejs:Version} unused, but is defined dh_md5sums -i dh_builddeb -i dpkg-deb: building package 'node-yargs' in '../node-yargs_15.3.1+repack-2_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../node-yargs_15.3.1+repack-2_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/node-yargs-TwAmEb /tmp/node-yargs-15.3.1+repack-24qopzsds I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.ePveXHZmLn... I: success in 399.0296 seconds md5: node-yargs_15.3.1+repack-2_all.deb: OK sha1: node-yargs_15.3.1+repack-2_all.deb: OK sha256: node-yargs_15.3.1+repack-2_all.deb: OK Checksums: OK