Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/n/node-genfun/node-genfun_5.0.0-2_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/node-genfun-5.0.0-271vt7x3f/node-genfun_5.0.0-2_all.buildinfo Get source package info: node-genfun=5.0.0-2 Source URL: http://snapshot.notset.fr/mr/package/node-genfun/5.0.0-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.71-2 automake=1:1.16.5-1.1 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=12 base-passwd=3.5.52 bash=5.1-3.1 binutils=2.37-10 binutils-common=2.37-10 binutils-x86-64-linux-gnu=2.37-10 bsdextrautils=2.37.2-4 bsdutils=1:2.37.2-4 build-essential=12.9 bzip2=1.0.8-4 ca-certificates=20211016 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.2.0-12 dash=0.5.11+git20210903+057cd650a4ed-3 debconf=1.5.79 debhelper=13.5.2 debianutils=5.5-1 dh-autoreconf=20 dh-strip-nondeterminism=1.12.1-1 diffutils=1:3.7-5 dpkg=1.20.9 dpkg-dev=1.20.9 dwz=0.14-1 file=1:5.41-2 findutils=4.8.0-1 g++=4:11.2.0-2 g++-11=11.2.0-12 gcc=4:11.2.0-2 gcc-11=11.2.0-12 gcc-11-base=11.2.0-12 gettext=0.21-4 gettext-base=0.21-4 grep=3.7-1 groff-base=1.22.4-7 gzip=1.10-4 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libarray-unique-perl=0.08-2.1 libasan6=11.2.0-12 libatomic1=11.2.0-12 libattr1=1:2.5.1-1 libaudit-common=1:3.0.6-1 libaudit1=1:3.0.6-1+b1 libbinutils=2.37-10 libblkid1=2.37.2-4 libbrotli1=1.0.9-2+b3 libbz2-1.0=1.0.8-4 libc-ares2=1.18.1-1+b1 libc-bin=2.32-4 libc-dev-bin=2.32-4 libc6=2.32-4 libc6-dev=2.32-4 libcap-ng0=0.7.9-2.2+b1 libcap2=1:2.44-1 libcc1-0=11.2.0-12 libclass-accessor-perl=0.51-1 libcom-err2=1.46.4-1 libcrypt-dev=1:4.4.26-1 libcrypt1=1:4.4.26-1 libctf-nobfd0=2.37-10 libctf0=2.37-10 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.261 libdebhelper-perl=13.5.2 libdebian-copyright-perl=0.2-4 libdeflate0=1.8-1 libdpkg-perl=1.20.9 libelf1=0.186-1 libencode-locale-perl=1.05-1.1 liberror-perl=0.17029-1 libexporter-lite-perl=0.08-1 libffi8=3.4.2-3 libfile-listing-perl=6.14-1 libfile-stripnondeterminism-perl=1.12.1-1 libgcc-11-dev=11.2.0-12 libgcc-s1=11.2.0-12 libgcrypt20=1.9.4-3+b1 libgdbm-compat4=1.22-1 libgdbm6=1.22-1 libgdk-pixbuf-2.0-0=2.42.6+dfsg-2 libgdk-pixbuf2.0-common=2.42.6+dfsg-2 libglib2.0-0=2.70.1-1 libgmp10=2:6.2.1+dfsg-3 libgomp1=11.2.0-12 libgpg-error0=1.42-3 libgssapi-krb5-2=1.18.3-7 libhtml-parser-perl=3.76-1 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.10-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.35-1 libhttp-negotiate-perl=6.01-1 libicu67=67.1-7 libio-html-perl=1.004-2 libio-pty-perl=1:1.15-2 libio-socket-ssl-perl=2.072-1 libio-stringy-perl=2.111-3 libipc-run-perl=20200505.0-1 libisl23=0.24-2 libitm1=11.2.0-12 libjbig0=2.1-3.1+b2 libjpeg62-turbo=1:2.1.1-2 libjs-inherits=2.0.4-4 libjs-sprintf-js=1.1.2+ds1+~1.1.2-1 libjson-perl=4.03000-1 libk5crypto3=1.18.3-7 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-7 libkrb5support0=1.18.3-7 liblsan0=11.2.0-12 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.10-1 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.41-2 libmagic1=1:5.41-2 libmount1=2.37.2-4 libmpc3=1.2.1-1 libmpfr6=4.1.0-3 libnet-http-perl=6.21-1 libnet-ssleay-perl=1.90-1 libnghttp2-14=1.43.0-1 libnode72=12.22.7~dfsg-2 libnotify-bin=0.7.9-3 libnotify4=0.7.9-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-10 libpam-modules-bin=1.4.0-10 libpam-runtime=1.4.0-10 libpam0g=1.4.0-10 libparse-debcontrol-perl=2.005-4.1 libpcre2-8-0=10.39-3 libpcre3=2:8.39-13 libperl5.32=5.32.1-6 libpipeline1=1.5.4-1 libpng16-16=1.6.37-3 libquadmath0=11.2.0-12 libseccomp2=2.5.3-2 libselinux1=3.3-1+b1 libsigsegv2=2.13-1 libsmartcols1=2.37.2-4 libssl1.1=1.1.1l-1 libstdc++-11-dev=11.2.0-12 libstdc++6=11.2.0-12 libsub-name-perl=0.26-1+b1 libsub-override-perl=0.09-2 libsystemd0=249.7-1 libtie-ixhash-perl=1.23-2.1 libtiff5=4.3.0-2 libtimedate-perl=2.3300-2 libtinfo6=6.3-1 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.6-15 libtry-tiny-perl=0.30-1 libtsan0=11.2.0-12 libubsan1=11.2.0-12 libuchardet0=0.0.7-1 libudev1=249.7-1 libunistring2=0.9.10-6 liburi-perl=5.10-1 libuuid1=2.37.2-4 libuv1=1.42.0-1 libwebp6=0.6.1-2.1 libwww-perl=6.58-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.12+dfsg-5+b1 libzstd1=1.4.8+dfsg-3 linux-libc-dev=5.15.3-1 login=1:4.8.1-2 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 mocha=9.1.3+ds1+~cs31.2.38-1 ncurses-base=6.3-1 ncurses-bin=6.3-1 netbase=6.3 node-ansi-colors=4.1.1-2 node-ansi-regex=5.0.1-1 node-ansi-styles=4.3.0+~4.2.0-1 node-anymatch=3.1.2+~cs4.5.6-1 node-argparse=2.0.1-2 node-async-each=1.0.3-1 node-balanced-match=2.0.0-1 node-binary-extensions=2.2.0-2 node-brace-expansion=2.0.0-1 node-braces=3.0.2+~3.0.1-1 node-browser-stdout=1.3.1-5 node-camelcase=6.2.0-2 node-chalk=4.1.2-1 node-chokidar=3.4.3-3 node-ci-info=3.2.0+~cs4.2.0-4 node-cliui=7.0.4+repack+~cs3.1.0-2 node-clone=2.1.2-3 node-color-convert=2.0.1-1 node-color-name=1.1.4+~1.1.1-1 node-debug=4.3.2+~cs4.1.7-1 node-decamelize=4.0.0-1 node-defaults=1.0.3-2 node-diff=5.0.0~dfsg+~5.0.1-2 node-end-of-stream=1.4.4+~1.4.1-1 node-escape-string-regexp=4.0.0-1 node-esprima=4.0.1+ds+~4.0.3-2 node-execa=4.1.0+dfsg+~cs19.3.6-6 node-fill-range=7.0.1-4 node-find-up=5.0.0-2 node-fs.realpath=1.0.0-2 node-get-caller-file=2.0.5+~cs1.1.1-2 node-get-stream=6.0.0-1 node-glob=7.1.7+~cs7.5.19-2 node-glob-parent=6.0.2+~5.1.1-1 node-graceful-fs=4.2.4+repack-1 node-growl=1.10.5-3 node-has-flag=4.0.0-1 node-he=1.2.0-2.1 node-inflight=1.0.6-1.1 node-inherits=2.0.4-4 node-invert-kv=3.0.1-2 node-is-binary-path=2.1.0-3.1 node-is-buffer=2.0.5-2 node-is-extglob=2.1.1-4 node-is-glob=4.0.3-1 node-is-number=7.0.0-3 node-is-plain-obj=3.0.0-2 node-is-stream=2.0.1-1 node-isexe=2.0.0+~2.0.1-4 node-js-yaml=4.1.0+dfsg+~4.0.5-3 node-kind-of=6.0.3+dfsg-2 node-lcid=3.1.1-2 node-locate-path=6.0.0-2 node-mem=1.1.0-1.1 node-merge-stream=2.0.0+~1.1.2-2 node-mimic-fn=3.1.0-2 node-minimatch=3.0.4+~3.0.3-1 node-ms=2.1.3+~cs0.7.31-2 node-normalize-path=3.0.0-3 node-npm-run-path=2.0.2-3 node-once=1.4.0-4 node-os-locale=5.0.0-2 node-p-limit=3.1.0+~cs2.3.0-1 node-p-locate=5.0.0-2 node-path-dirname=1.0.2-2 node-path-exists=4.0.0-3 node-path-is-absolute=2.0.0-2 node-pump=3.0.0-5 node-randombytes=2.1.0-1 node-readdirp=3.6.0-1 node-repeat-string=1.6.1+repack-1 node-require-directory=2.1.1-1.1 node-require-main-filename=2.0.0-1 node-safe-buffer=5.2.1+~cs2.1.2-2 node-serialize-javascript=6.0.0-1 node-set-blocking=2.0.0-2 node-set-immediate-shim=2.0.0-2 node-shebang-command=1.2.0-1.1 node-shebang-regex=3.0.0-2 node-signal-exit=3.0.3-1 node-slice-ansi=5.0.0+~4.0.0-4 node-sprintf-js=1.1.2+ds1+~1.1.2-1 node-string-width=4.2.3+~9.2.2-1 node-strip-ansi=6.0.1-1 node-strip-json-comments=4.0.0-4 node-supports-color=8.1.1+~8.1.1-1 node-to-regex-range=5.0.1-4 node-wcwidth.js=1.0.2-1 node-which=2.0.2+~cs1.3.2-2 node-which-module=2.0.0-2 node-wide-align=1.1.3-3 node-wrap-ansi=4.0.0-5 node-wrappy=1.0.2-2 node-y18n=5.0.8-2 node-yargs=15.3.1+repack-3 node-yargs-parser=18.1.3+~15.0.0-1 nodejs=12.22.7~dfsg-2 openssl=1.1.1l-1 patch=2.7.6-7 perl=5.32.1-6 perl-base=5.32.1-6 perl-modules-5.32=5.32.1-6 perl-openssl-defaults=5 pkg-js-tools=0.9.82 po-debconf=1.0.21+nmu1 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 shared-mime-info=2.0-1 sysvinit-utils=3.00-1 tar=1.34+dfsg-1 util-linux=2.37.2-4 xz-utils=5.2.5-2 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/20211127T030531Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20211127T030531Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20211125T145258Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20211124T145842Z/ 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-genfun=5.0.0-2 && mkdir -p /build/node-genfun-m4Kl8M && dpkg-source --no-check -x /*.dsc /build/node-genfun-m4Kl8M/node-genfun-5.0.0 && chown -R builduser:builduser /build/node-genfun-m4Kl8M" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/node-genfun-m4Kl8M/node-genfun-5.0.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1637773752" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/node-genfun-m4Kl8M /tmp/node-genfun-5.0.0-271vt7x3f bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20211124T145842Z 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.dtEEADpK3r 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.dtEEADpK3r Reading package lists... Building dependency tree... util-linux is already the newest version (2.37.2-4). 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/20211124T145842Z unstable/main amd64 libfakeroot amd64 1.26-1 [47.3 kB] Get:2 http://snapshot.notset.fr/archive/debian/20211124T145842Z unstable/main amd64 fakeroot amd64 1.26-1 [87.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (1040 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 ... 4672 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.26-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.26-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.26-1_amd64.deb ... Unpacking fakeroot (1.26-1) ... Setting up libfakeroot:amd64 (1.26-1) ... Setting up fakeroot (1.26-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.32-4) ... 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/20211127T030531Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20211127T030531Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20211125T145258Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20211124T145842Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.dtEEADpK3r Get:1 http://snapshot.notset.fr/archive/debian/20211127T030531Z bookworm InRelease [129 kB] Get:2 http://snapshot.notset.fr/archive/debian/20211125T145258Z unstable InRelease [165 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20211124T145842Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20211127T030531Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20211127T030531Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20211127T030531Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20211127T030531Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20211127T030531Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20211127T030531Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20211127T030531Z bookworm/main Sources [11.7 MB] Get:5 http://snapshot.notset.fr/archive/debian/20211127T030531Z bookworm/main amd64 Packages [11.2 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20211125T145258Z unstable/main amd64 Packages Err:6 http://snapshot.notset.fr/archive/debian/20211125T145258Z unstable/main amd64 Packages 404 Not Found [IP: 10.13.0.253 80] Ign:6 http://snapshot.notset.fr/archive/debian/20211125T145258Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20211125T145258Z unstable/main amd64 Packages [12.0 MB] Fetched 35.2 MB in 29s (1216 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.dtEEADpK3r I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d node-genfun=5.0.0-2 && mkdir -p /build/node-genfun-m4Kl8M && dpkg-source --no-check -x /*.dsc /build/node-genfun-m4Kl8M/node-genfun-5.0.0 && chown -R builduser:builduser /build/node-genfun-m4Kl8M"' exec /tmp/mmdebstrap.dtEEADpK3r Reading package lists... NOTICE: 'node-genfun' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/js-team/node-genfun.git Please use: git clone https://salsa.debian.org/js-team/node-genfun.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 32.4 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20211127T030531Z bookworm/main node-genfun 5.0.0-2 (dsc) [2013 B] Get:2 http://snapshot.notset.fr/archive/debian/20211127T030531Z bookworm/main node-genfun 5.0.0-2 (tar) [25.2 kB] Get:3 http://snapshot.notset.fr/archive/debian/20211127T030531Z bookworm/main node-genfun 5.0.0-2 (diff) [5160 B] Fetched 32.4 kB in 0s (196 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'node-genfun_5.0.0-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting node-genfun in /build/node-genfun-m4Kl8M/node-genfun-5.0.0 dpkg-source: info: unpacking node-genfun_5.0.0.orig.tar.gz dpkg-source: info: unpacking node-genfun_5.0.0-2.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/node-genfun-m4Kl8M/node-genfun-5.0.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1637773752" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.dtEEADpK3r dpkg-buildpackage: info: source package node-genfun dpkg-buildpackage: info: source version 5.0.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Yadd dpkg-source --before-build . debian/rules clean dh clean dh_auto_clean --buildsystem=nodejs rm -rf ./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 dh_auto_build --buildsystem=nodejs -i No build command found, searching known files dh_auto_test --buildsystem=nodejs -i mkdir -p node_modules ln -s ../. node_modules/genfun /bin/sh -ex debian/tests/pkg-js/test + mocha genfun genfun() undefined creates a new genfun undefined calls noApplicableMethod if called without adding methods noApplicableMethod undefined throws an exception if there is no applicable method undefined includes the types of the inputs in the message undefined includes the original call arguments in the Error instance undefined includes the `this` argument in the Error instance undefined can be modified so something different happens if dispatch fails undefined is only called when dispatch fails #apply basic call semantics undefined can be called like a normal function undefined can be called using .call undefined can be called using .apply - calls noApplicableMethod if there are no methods defined nextMethod undefined allows the next applicable method to be called undefined can only be called when there is a next method available undefined calls the next method using the original arguments undefined accepts new arguments for the next method to use - allows rebinding of `this` in the next method hasNextMethod - returns true if there is a next method available - can only be called in the scope of a method noNextMethod - throws an error by default - can have methods defined on it to replace the behavior per-genfun dispatch undefined treats empty array items (`[x, ,z]`) like Object.prototype basic single dispatch undefined dispatches methods based on the prototype of its argument undefined fails if there is no method defined for the given argument undefined properly binds `this` in the method to the genfun's `this` undefined dispatches the most specific method when multiple methods apply undefined can dispatch on objects where [[Proto]] is null undefined calls noApplicableMethod correctly if [[Proto]] is null and no applicable method exists for the argument undefined handles `null` definitions and dispatch undefined handles `undefined` definitions and dispatch ToObject dispatch conversion undefined dispatches primitives based on equality undefined passes original primitive into the method function Object.prototype empty-index shorthand undefined lets you write empty array indices into dispatch array to mean Object.prototype 0-arity dispatch undefined dispatches to a single method when only one method with an empty dispatch array is defined - dispatches to the empty/default method when an arg's [[Proto]] is null multi-argument dispatch - compares all given arguments to the dispatch lists for its methods - weighs methods based on the arguments' distance to dispatch prototypes - gives greater weight to earlier arguments undefined fails dispatch when an object with null [[Proto]] with no applicable roles is involved variable arity dispatch - treats 'unfilled' spaces like Object.prototype when comparing methods with dispatch arrays of different lengths undefined handles complex interactions between all the dispatch features Genfun#add - defines a new method on the genfun undefined is accessible as a method on genfuns undefined can define methods that dispatch on objects with null [[Proto]] undefined defines and returns a noApplicableMethod method if given an empty array - errors if any of the arguments given are primitives Genfun#hasMethod undefined returns true if there are applicable methods removeMethod - undefines a previously defined method on the genfun - can remove methods that dispatch on objects with null [[Proto]] 34 passing (28ms) 15 pending Removing node_modules/genfun create-stamp debian/debhelper-build-stamp dh_prep -i dh_auto_install --buildsystem=nodejs --destdir=debian/node-genfun/ -i dh_auto_install: warning: ### Missing ./build/config.gypi, skipping Found "files" field in ./package.json, using it Parsing expression ./lib/*.js Line ./lib/*.js becomes: ^./lib/[^/]*\.js$ mkdir -p /build/node-genfun-m4Kl8M/node-genfun-5.0.0/debian/node-genfun//usr/share/nodejs/genfun/lib install -m 644 ./lib/genfun.js /build/node-genfun-m4Kl8M/node-genfun-5.0.0/debian/node-genfun//usr/share/nodejs/genfun/lib/ install -m 644 ./lib/method.js /build/node-genfun-m4Kl8M/node-genfun-5.0.0/debian/node-genfun//usr/share/nodejs/genfun/lib/ install -m 644 ./lib/role.js /build/node-genfun-m4Kl8M/node-genfun-5.0.0/debian/node-genfun//usr/share/nodejs/genfun/lib/ install -m 644 ./lib/util.js /build/node-genfun-m4Kl8M/node-genfun-5.0.0/debian/node-genfun//usr/share/nodejs/genfun/lib/ install -m 644 ./package.json /build/node-genfun-m4Kl8M/node-genfun-5.0.0/debian/node-genfun//usr/share/nodejs/genfun// install -m 644 ./package.json /build/node-genfun-m4Kl8M/node-genfun-5.0.0/debian/node-genfun//usr/share/nodejs/genfun// Set ${nodejs:Version} to 12.22.7~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-genfun: substitution variable ${nodejs:Version} unused, but is defined dh_md5sums -i dh_builddeb -i dpkg-deb: building package 'node-genfun' in '../node-genfun_5.0.0-2_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../node-genfun_5.0.0-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-genfun-m4Kl8M /tmp/node-genfun-5.0.0-271vt7x3f I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.dtEEADpK3r... I: success in 1561.9514 seconds md5: node-genfun_5.0.0-2_all.deb: OK sha1: node-genfun_5.0.0-2_all.deb: OK sha256: node-genfun_5.0.0-2_all.deb: OK Checksums: OK