Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LW-9860] - Upgrade vulnerabilities and remove unused files #3156

Open
wants to merge 52 commits into
base: develop
Choose a base branch
from

migrated to mobx version 6

ae32ea7
Select commit
Loading
Failed to load commit list.
Open

[LW-9860] - Upgrade vulnerabilities and remove unused files #3156

migrated to mobx version 6
ae32ea7
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:installer.aarch64-darwin.selfnode failed May 11, 2024 in 1m 24s

Build dependency failed

1 failed steps

Details

Failed Steps

Step 1

Derivation

/nix/store/iyjjycbiwpvvkvfpibkchr5p4b9fww9r-daedalus.drv

Log

unpacking sources
unpacking source archive /nix/store/dq8gwwp4irbx9873dyq8m2h3p0bly5rf-source
source root is source
patching sources
updateAutotoolsGnuConfigScriptsPhase
configuring
yarn config v1.22.19
success Set "yarn-offline-mirror" to "/nix/store/prdaxjyh5jxfwakg4fsvfmvi4phglsvy-offline".
✨  Done in 0.02s.
building
patching script interpreter paths in .
./utils/windows/gen-cert: interpreter directive changed from "#!/bin/sh" to "/nix/store/kigsav1sxs4dlsnl19026sixzdalv20n-bash-5.1-p16/bin/sh"
./scripts/filter-logs.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/kigsav1sxs4dlsnl19026sixzdalv20n-bash-5.1-p16/bin/bash"
./scripts/rebuild-native-modules.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/kigsav1sxs4dlsnl19026sixzdalv20n-bash-5.1-p16/bin/bash"
Generating installer for darwin-aarch64
DarwinConfig {dcAppNameApp = "Daedalus Selfnode.app", dcAppName = "Daedalus Selfnode", dcPkgName = "org.Daedalusselfnode.pkg", dcDataDir = "${HOME}/Library/Application Support/Daedalus Selfnode"}
Creating icons ...
Installing nodejs dependencies...
   ... skip
Running electron packager script...
yarn run v1.22.19
$ ./scripts/rebuild-native-modules.sh
Deleting all current ‘*.node’ files before rebuilding for Electron’s ABI:
removed './node_modules/usb-detection/build/Release/detection.node'
removed './node_modules/blake-hash/build/Release/addon.node'
removed './node_modules/usb/build/Release/usb_bindings.node'
removed './node_modules/utf-8-validate/build/Release/validation.node'
removed './node_modules/node-hid/build/Release/HID.node'
removed './node_modules/bufferutil/build/Release/bufferutil.node'
removed './node_modules/tiny-secp256k1/build/Release/secp256k1.node'
Patching electron-rebuild to force our Node.js headers…
  → tarball=/nix/store/avixpxxmf11w2i2i63qyvpljrxqnivwc-node-v27.3.7-headers.tar.gz
  → nodedir=/nix/store/rnxm159b7dxvyh7na1z1ybyh522rhz7g-electron-headers-27.3.7
  → result=        const extraNodeGypArgs = []; extraNodeGypArgs.push('--tarball', '/nix/store/avixpxxmf11w2i2i63qyvpljrxqnivwc-node-v27.3.7-headers.tar.gz', '--nodedir', '/nix/store/rnxm159b7dxvyh7na1z1ybyh522rhz7g-electron-headers-27.3.7');
⠋ Searching dependency tree⠙ Searching dependency tree⠹ Searching dependency tree⠸ Searching dependency tree⠼ Searching dependency tree⠴ Searching dependency tree⠦ Building module: bigint-buffer, Completed: 0⠧ Building module: bigint-buffer, Completed: 0⠇ Building module: bigint-buffer, Completed: 0⠏ Building module: bigint-buffer, Completed: 0⠋ Building module: bigint-buffer, Completed: 0⠙ Building module: bigint-buffer, Completed: 0⠹ Building module: bigint-buffer, Completed: 0⠸ Building module: bigint-buffer, Completed: 0⠼ Building module: bigint-buffer, Completed: 0⠴ Building module: bigint-buffer, Completed: 0⠦ Building module: bigint-buffer, Completed: 0⠧ Building module: bigint-buffer, Completed: 0⠇ Building module: bigint-buffer, Completed: 0⠏ Building module: bigint-buffer, Completed: 0⠋ Building module: bigint-buffer, Completed: 0⠙ Building module: bigint-buffer, Completed: 0⠹ Building module: bigint-buffer, Completed: 0⠸ Building module: bigint-buffer, Completed: 0⠼ Building module: bigint-buffer, Completed: 0⠴ Building module: bigint-buffer, Completed: 0⠦ Building module: bigint-buffer, Completed: 0⠧ Building module: bigint-buffer, Completed: 0⠇ Building module: bigint-buffer, Completed: 0⠏ Building module: bigint-buffer, Completed: 0⠋ Building module: bigint-buffer, Completed: 0⠙ Building module: bigint-buffer, Completed: 0⠹ Building module: bigint-buffer, Completed: 0⠸ Building module: bigint-buffer, Completed: 0⠼ Building module: bigint-buffer, Completed: 0⠴ Building module: bigint-buffer, Completed: 0⠦ Building module: bigint-buffer, Completed: 0⠧ Building module: bigint-buffer, Completed: 0⠇ Building module: bigint-buffer, Completed: 0⠏ Building module: bigint-buffer, Completed: 0⠋ Building module: bigint-buffer, Completed: 0⠙ Building module: bigint-buffer, Completed: 0⠹ Building module: bigint-buffer, Completed: 0⠸ Building module: blake-hash, Completed: 1⠼ Building module: blake-hash, Completed: 1⠴ Building module: blake-hash, Completed: 1⠦ Building module: blake-hash, Completed: 1⠧ Building module: blake-hash, Completed: 1⠇ Building module: blake-hash, Completed: 1⠏ Building module: blake-hash, Completed: 1⠋ Building module: blake-hash, Completed: 1⠙ Building module: blake-hash, Completed: 1⠹ Building module: blake-hash, Completed: 1⠸ Building module: blake-hash, Completed: 1⠼ Building module: blake-hash, Completed: 1⠴ Building module: blake-hash, Completed: 1⠦ Building module: blake-hash, Completed: 1⠧ Building module: blake-hash, Completed: 1⠇ Building module: blake-hash, Completed: 1⠏ Building module: blake-hash, Completed: 1⠋ Building module: blake-hash, Completed: 1⠙ Building module: blake-hash, Completed: 1⠹ Building module: blake-hash, Completed: 1⠸ Building module: blake-hash, Completed: 1⠼ Building module: blake-hash, Completed: 1⠴ Building module: bufferutil, Completed: 2⠦ Building module: bufferutil, Completed: 2⠧ Building module: bufferutil, Completed: 2⠇ Building module: bufferutil, Completed: 2⠏ Building module: bufferutil, Completed: 2⠋ Building module: bufferutil, Completed: 2⠙ Building module: bufferutil, Completed: 2⠹ Building module: node-hid, Completed: 3⠸ Building module: node-hid, Completed: 3⠼ Building module: node-hid, Completed: 3⠴ Building module: node-hid, Completed: 3⠦ Building module: node-hid, Completed: 3⠧ Building module: node-hid, Completed: 3⠇ Building module: node-hid, Completed: 3⠏ Building module: node-hid, Completed: 3⠋ Building module: node-hid, Completed: 3⠙ Building module: node-hid, Completed: 3⠹ Building module: node-hid, Completed: 3⠸ Building module: node-hid, Completed: 3⠼ Building module: node-hid, Completed: 3⠴ Building module: node-hid, Completed: 3⠦ Building module: node-hid, Completed: 3⠧ Building module: node-hid, Completed: 3⠇ Building module: node-hid, Completed: 3⠏ Building module: node-hid, Completed: 3⠋ Building module: node-hid, Completed: 3⠙ Building module: node-hid, Completed: 3⠹ Building module: node-hid, Completed: 3⠸ Building module: node-hid, Completed: 3⠼ Building module: node-hid, Completed: 3⠴ Building module: node-hid, Completed: 3⠦ Building module: node-hid, Completed: 3⠧ Building module: node-hid, Completed: 3⠇ Building module: tiny-secp256k1, Completed: 4⠏ Building module: tiny-secp256k1, Completed: 4⠋ Building module: tiny-secp256k1, Completed: 4⠙ Building module: tiny-secp256k1, Completed: 4⠹ Building module: tiny-secp256k1, Completed: 4⠸ Building module: tiny-secp256k1, Completed: 4⠼ Building module: tiny-secp256k1, Completed: 4⠴ Building module: tiny-secp256k1, Completed: 4⠦ Building module: tiny-secp256k1, Completed: 4⠧ Building module: tiny-secp256k1, Completed: 4⠇ Building module: tiny-secp256k1, Completed: 4⠏ Building module: tiny-secp256k1, Completed: 4⠋ Building module: tiny-secp256k1, Completed: 4⠙ Building module: tiny-secp256k1, Completed: 4⠹ Building module: tiny-secp256k1, Completed: 4⠸ Building module: tiny-secp256k1, Completed: 4⠼ Building module: tiny-secp256k1, Completed: 4⠴ Building module: tiny-secp256k1, Completed: 4⠦ Building module: tiny-secp256k1, Completed: 4⠧ Building module: tiny-secp256k1, Completed: 4⠇ Building module: tiny-secp256k1, Completed: 4⠏ Building module: tiny-secp256k1, Completed: 4⠋ Building module: tiny-secp256k1, Completed: 4⠙ Building module: tiny-secp256k1, Completed: 4⠹ Building module: tiny-secp256k1, Completed: 4⠸ Building module: tiny-secp256k1, Completed: 4⠼ Building module: tiny-secp256k1, Completed: 4⠴ Building module: tiny-secp256k1, Completed: 4⠦ Building module: tiny-secp256k1, Completed: 4⠧ Building module: tiny-secp256k1, Completed: 4⠇ Building module: tiny-secp256k1, Completed: 4⠏ Building module: tiny-secp256k1, Completed: 4⠋ Building module: tiny-secp256k1, Completed: 4⠙ Building module: tiny-secp256k1, Completed: 4⠹ Building module: tiny-secp256k1, Completed: 4⠸ Building module: tiny-secp256k1, Completed: 4⠼ Building module: tiny-secp256k1, Completed: 4⠴ Building module: usb, Completed: 5⠦ Building module: usb, Completed: 5⠧ Building module: usb, Completed: 5⠇ Building module: usb, Completed: 5⠏ Building module: usb, Completed: 5⠋ Building module: usb, Completed: 5⠙ Building module: usb, Completed: 5⠹ Building module: usb, Completed: 5⠸ Building module: usb, Completed: 5⠼ Building module: usb, Completed: 5⠴ Building module: usb, Completed: 5⠦ Building module: usb, Completed: 5⠧ Building module: usb, Completed: 5⠇ Building module: usb, Completed: 5⠏ Building module: usb, Completed: 5⠋ Building module: usb, Completed: 5⠙ Building module: usb, Completed: 5⠹ Building module: usb, Completed: 5⠸ Building module: usb, Completed: 5⠼ Building module: usb, Completed: 5⠴ Building module: usb, Completed: 5⠦ Building module: usb, Completed: 5⠧ Building module: usb, Completed: 5⠇ Building module: usb, Completed: 5⠏ Building module: usb, Completed: 5⠋ Building module: usb, Completed: 5⠙ Building module: usb, Completed: 5⠹ Building module: usb, Completed: 5⠸ Building module: usb, Completed: 5⠼ Building module: usb, Completed: 5⠴ Building module: usb, Completed: 5⠦ Building module: usb, Completed: 5⠧ Building module: usb, Completed: 5⠇ Building module: usb, Completed: 5⠏ Building module: usb, Completed: 5⠋ Building module: usb, Completed: 5⠙ Building module: usb, Completed: 5⠹ Building module: usb, Completed: 5⠸ Building module: usb, Completed: 5⠼ Building module: usb, Completed: 5⠴ Building module: usb, Completed: 5⠦ Building module: usb, Completed: 5⠧ Building module: usb, Completed: 5⠇ Building module: usb, Completed: 5⠏ Building module: usb, Completed: 5⠋ Building module: usb, Completed: 5⠙ Building module: usb, Completed: 5⠹ Building module: usb, Completed: 5⠸ Building module: usb, Completed: 5⠼ Building module: usb, Completed: 5⠴ Building module: usb, Completed: 5⠦ Building module: usb, Completed: 5⠧ Building module: usb, Completed: 5⠇ Building module: usb, Completed: 5⠏ Building module: usb, Completed: 5⠋ Building module: usb, Completed: 5⠙ Building module: usb, Completed: 5⠹ Building module: usb, Completed: 5⠸ Building module: usb, Completed: 5⠼ Building module: usb, Completed: 5⠴ Building module: usb, Completed: 5⠦ Building module: usb, Completed: 5⠧ Building module: usb-detection, Completed: 6⠇ Building module: usb-detection, Completed: 6⠏ Building module: usb-detection, Completed: 6⠋ Building module: usb-detection, Completed: 6⠙ Building module: usb-detection, Completed: 6⠹ Building module: usb-detection, Completed: 6⠸ Building module: usb-detection, Completed: 6⠼ Building module: usb-detection, Completed: 6⠴ Building module: usb-detection, Completed: 6⠦ Building module: usb-detection, Completed: 6⠧ Building module: usb-detection, Completed: 6⠇ Building module: usb-detection, Completed: 6⠏ Building module: usb-detection, Completed: 6⠋ Building module: usb-detection, Completed: 6⠙ Building module: usb-detection, Completed: 6⠹ Building module: usb-detection, Completed: 6⠸ Building module: usb-detection, Completed: 6⠼ Building module: usb-detection, Completed: 6⠴ Building module: usb-detection, Completed: 6⠦ Building module: usb-detection, Completed: 6⠧ Building module: usb-detection, Completed: 6⠇ Building module: usb-detection, Completed: 6⠏ Building module: usb-detection, Completed: 6⠋ Building module: usb-detection, Completed: 6⠙ Building module: utf-8-validate, Completed: 7⠹ Building module: utf-8-validate, Completed: 7⠸ Building module: utf-8-validate, Completed: 7⠼ Building module: utf-8-validate, Completed: 7⠴ Building module: utf-8-validate, Completed: 7✔ Rebuild Complete
⠋ Searching dependency tree⠙ Searching dependency tree⠹ Searching dependency tree⠸ Searching dependency tree⠼ Searching dependency tree⠴ Searching dependency tree⠦ Building module: bigint-buffer, Completed: 0⠧ Building module: bigint-buffer, Completed: 0⠇ Building module: bigint-buffer, Completed: 0⠏ Building module: bigint-buffer, Completed: 0⠋ Building module: bigint-buffer, Completed: 0⠙ Building module: bigint-buffer, Completed: 0⠹ Building module: blake-hash, Completed: 1⠸ Building module: blake-hash, Completed: 1⠼ Building module: blake-hash, Completed: 1⠴ Building module: blake-hash, Completed: 1⠦ Building module: blake-hash, Completed: 1⠧ Building module: blake-hash, Completed: 1⠇ Building module: blake-hash, Completed: 1⠏ Building module: blake-hash, Completed: 1⠋ Building module: blake-hash, Completed: 1⠙ Building module: blake-hash, Completed: 1⠹ Building module: blake-hash, Completed: 1⠸ Building module: blake-hash, Completed: 1⠼ Building module: blake-hash, Completed: 1⠴ Building module: blake-hash, Completed: 1⠦ Building module: blake-hash, Completed: 1⠧ Building module: blake-hash, Completed: 1⠇ Building module: blake-hash, Completed: 1⠏ Building module: blake-hash, Completed: 1⠋ Building module: blake-hash, Completed: 1⠙ Building module: blake-hash, Completed: 1⠹ Building module: bufferutil, Completed: 2⠸ Building module: bufferutil, Completed: 2⠼ Building module: bufferutil, Completed: 2⠴ Building module: bufferutil, Completed: 2⠦ Building module: bufferutil, Completed: 2⠧ Building module: bufferutil, Completed: 2⠇ Building module: node-hid, Completed: 3⠏ Building module: node-hid, Completed: 3⠋ Building module: node-hid, Completed: 3⠙ Building module: node-hid, Completed: 3⠹ Building module: node-hid, Completed: 3⠸ Building module: node-hid, Completed: 3⠼ Building module: node-hid, Completed: 3⠴ Building module: node-hid, Completed: 3⠦ Building module: node-hid, Completed: 3⠧ Building module: node-hid, Completed: 3⠇ Building module: node-hid, Completed: 3⠏ Building module: node-hid, Completed: 3⠋ Building module: node-hid, Completed: 3⠙ Building module: node-hid, Completed: 3⠹ Building module: node-hid, Completed: 3⠸ Building module: node-hid, Completed: 3⠼ Building module: node-hid, Completed: 3⠴ Building module: node-hid, Completed: 3⠦ Building module: node-hid, Completed: 3⠧ Building module: node-hid, Completed: 3⠇ Building module: node-hid, Completed: 3⠏ Building module: node-hid, Completed: 3⠋ Building module: node-hid, Completed: 3⠙ Building module: node-hid, Completed: 3⠹ Building module: tiny-secp256k1, Completed: 4⠸ Building module: tiny-secp256k1, Completed: 4⠼ Building module: tiny-secp256k1, Completed: 4⠴ Building module: tiny-secp256k1, Completed: 4⠦ Building module: tiny-secp256k1, Completed: 4⠧ Building module: tiny-secp256k1, Completed: 4⠇ Building module: tiny-secp256k1, Completed: 4⠏ Building module: tiny-secp256k1, Completed: 4⠋ Building module: tiny-secp256k1, Completed: 4⠙ Building module: tiny-secp256k1, Completed: 4⠹ Building module: tiny-secp256k1, Completed: 4⠸ Building module: tiny-secp256k1, Completed: 4⠼ Building module: tiny-secp256k1, Completed: 4⠴ Building module: tiny-secp256k1, Completed: 4⠦ Building module: tiny-secp256k1, Completed: 4⠧ Building module: tiny-secp256k1, Completed: 4⠇ Building module: tiny-secp256k1, Completed: 4⠏ Building module: tiny-secp256k1, Completed: 4⠋ Building module: tiny-secp256k1, Completed: 4⠙ Building module: tiny-secp256k1, Completed: 4⠹ Building module: tiny-secp256k1, Completed: 4⠸ Building module: tiny-secp256k1, Completed: 4⠼ Building module: tiny-secp256k1, Completed: 4⠴ Building module: tiny-secp256k1, Completed: 4⠦ Building module: tiny-secp256k1, Completed: 4⠧ Building module: tiny-secp256k1, Completed: 4⠇ Building module: tiny-secp256k1, Completed: 4⠏ Building module: tiny-secp256k1, Completed: 4⠋ Building module: tiny-secp256k1, Completed: 4⠙ Building module: tiny-secp256k1, Completed: 4⠹ Building module: tiny-secp256k1, Completed: 4⠸ Building module: tiny-secp256k1, Completed: 4⠼ Building module: tiny-secp256k1, Completed: 4⠴ Building module: tiny-secp256k1, Completed: 4⠦ Building module: tiny-secp256k1, Completed: 4⠧ Building module: tiny-secp256k1, Completed: 4⠇ Building module: usb, Completed: 5⠏ Building module: usb, Completed: 5⠋ Building module: usb, Completed: 5⠙ Building module: usb, Completed: 5⠹ Building module: usb, Completed: 5⠸ Building module: usb, Completed: 5⠼ Building module: usb, Completed: 5⠴ Building module: usb, Completed: 5⠦ Building module: usb, Completed: 5⠧ Building module: usb, Completed: 5⠇ Building module: usb, Completed: 5⠏ Building module: usb, Completed: 5⠋ Building module: usb, Completed: 5⠙ Building module: usb, Completed: 5⠹ Building module: usb, Completed: 5⠸ Building module: usb, Completed: 5⠼ Building module: usb, Completed: 5⠴ Building module: usb, Completed: 5⠦ Building module: usb, Completed: 5⠧ Building module: usb, Completed: 5⠇ Building module: usb, Completed: 5⠏ Building module: usb, Completed: 5⠋ Building module: usb, Completed: 5⠙ Building module: usb, Completed: 5⠹ Building module: usb, Completed: 5⠸ Building module: usb, Completed: 5⠼ Building module: usb, Completed: 5⠴ Building module: usb, Completed: 5⠦ Building module: usb, Completed: 5⠧ Building module: usb, Completed: 5⠇ Building module: usb, Completed: 5⠏ Building module: usb, Completed: 5⠋ Building module: usb, Completed: 5⠙ Building module: usb, Completed: 5⠹ Building module: usb, Completed: 5⠸ Building module: usb, Completed: 5⠼ Building module: usb, Completed: 5⠴ Building module: usb, Completed: 5⠦ Building module: usb, Completed: 5⠧ Building module: usb, Completed: 5⠇ Building module: usb, Completed: 5⠏ Building module: usb, Completed: 5⠋ Building module: usb, Completed: 5⠙ Building module: usb, Completed: 5⠹ Building module: usb, Completed: 5⠸ Building module: usb, Completed: 5⠼ Building module: usb, Completed: 5⠴ Building module: usb, Completed: 5⠦ Building module: usb, Completed: 5⠧ Building module: usb, Completed: 5⠇ Building module: usb, Completed: 5⠏ Building module: usb, Completed: 5⠋ Building module: usb, Completed: 5⠙ Building module: usb, Completed: 5⠹ Building module: usb, Completed: 5⠸ Building module: usb, Completed: 5⠼ Building module: usb, Completed: 5⠴ Building module: usb, Completed: 5⠦ Building module: usb, Completed: 5⠧ Building module: usb, Completed: 5⠇ Building module: usb, Completed: 5⠏ Building module: usb-detection, Completed: 6⠋ Building module: usb-detection, Completed: 6⠙ Building module: usb-detection, Completed: 6⠹ Building module: usb-detection, Completed: 6⠸ Building module: usb-detection, Completed: 6⠼ Building module: usb-detection, Completed: 6⠴ Building module: usb-detection, Completed: 6⠦ Building module: usb-detection, Completed: 6⠧ Building module: usb-detection, Completed: 6⠇ Building module: usb-detection, Completed: 6⠏ Building module: usb-detection, Completed: 6⠋ Building module: usb-detection, Completed: 6⠙ Building module: usb-detection, Completed: 6⠹ Building module: usb-detection, Completed: 6⠸ Building module: usb-detection, Completed: 6⠼ Building module: usb-detection, Completed: 6⠴ Building module: usb-detection, Completed: 6⠦ Building module: usb-detection, Completed: 6⠧ Building module: usb-detection, Completed: 6⠇ Building module: usb-detection, Completed: 6⠏ Building module: usb-detection, Completed: 6⠋ Building module: usb-detection, Completed: 6⠙ Building module: usb-detection, Completed: 6⠹ Building module: usb-detection, Completed: 6⠸ Building module: utf-8-validate, Completed: 7⠼ Building module: utf-8-validate, Completed: 7⠴ Building module: utf-8-validate, Completed: 7⠦ Building module: utf-8-validate, Completed: 7⠧ Building module: utf-8-validate, Completed: 7✔ Rebuild Complete
===== all *.node files after ‘electron-rebuild’: =====
488ebecfbd6a118c5893bb428d443b6f6e12ba2e  ./node_modules/@swc/core-darwin-arm64/swc.darwin-arm64.node
7a58bc3751928e7d64c8f0ded24c072509e2765e  ./node_modules/bigint-buffer/bin/darwin-arm64-118/bigint-buffer.node
7a58bc3751928e7d64c8f0ded24c072509e2765e  ./node_modules/bigint-buffer/build/Release/bigint_buffer.node
205dec39708ef9ef5321329951eaae08d112c13a  ./node_modules/blake-hash/bin/darwin-arm64-118/blake-hash.node
205dec39708ef9ef5321329951eaae08d112c13a  ./node_modules/blake-hash/build/Release/addon.node
da7e16ad4dc18093844c234774da774cd5e29e15  ./node_modules/bufferutil/bin/darwin-arm64-118/bufferutil.node
da7e16ad4dc18093844c234774da774cd5e29e15  ./node_modules/bufferutil/build/Release/bufferutil.node
2609d7244b8987efcaa882b1589c4e11ea5960b7  ./node_modules/node-hid/bin/darwin-arm64-118/node-hid.node
2609d7244b8987efcaa882b1589c4e11ea5960b7  ./node_modules/node-hid/build/Release/HID.node
7807d5295231ef36957cc0a4ba72027e52d8b2d7  ./node_modules/tiny-secp256k1/bin/darwin-arm64-118/tiny-secp256k1.node
7807d5295231ef36957cc0a4ba72027e52d8b2d7  ./node_modules/tiny-secp256k1/build/Release/secp256k1.node
a2ba649005874602942d5c1d68750a1293ff994e  ./node_modules/usb-detection/bin/darwin-arm64-118/usb-detection.node
a2ba649005874602942d5c1d68750a1293ff994e  ./node_modules/usb-detection/build/Release/detection.node
3f838ab3385023b7117337f3b2789f32c9be562e  ./node_modules/usb/bin/darwin-arm64-118/usb.node
3f838ab3385023b7117337f3b2789f32c9be562e  ./node_modules/usb/build/Release/usb_bindings.node
d00f14be18e49d464dab017661358fe16326c310  ./node_modules/utf-8-validate/bin/darwin-arm64-118/utf-8-validate.node
d00f14be18e49d464dab017661358fe16326c310  ./node_modules/utf-8-validate/build/Release/validation.node
========================================================
'Debug/usb_bindings.node' -> '/private/tmp/nix-build-daedalus.drv-0/source/node_modules/usb/build/Release/usb_bindings.node'
'Release/usb_bindings.node' -> '/private/tmp/nix-build-daedalus.drv-0/source/node_modules/usb/build/Release/usb_bindings.node'
'Debug/detection.node' -> '/private/tmp/nix-build-daedalus.drv-0/source/node_modules/usb-detection/build/Release/detection.node'
'Release/detection.node' -> '/private/tmp/nix-build-daedalus.drv-0/source/node_modules/usb-detection/build/Release/detection.node'
'Debug/validation.node' -> '/private/tmp/nix-build-daedalus.drv-0/source/node_modules/utf-8-validate/build/Release/validation.node'
'Release/validation.node' -> '/private/tmp/nix-build-daedalus.drv-0/source/node_modules/utf-8-validate/build/Release/validation.node'
'Debug/HID.node' -> '/private/tmp/nix-build-daedalus.drv-0/source/node_modules/node-hid/build/Release/HID.node'
'Release/HID.node' -> '/private/tmp/nix-build-daedalus.drv-0/source/node_modules/node-hid/build/Release/HID.node'
✨  Done in 37.31s.
yarn run v1.22.19
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ cross-env NODE_ENV=production yarn build && cross-env NODE_ENV=production yarn node-swc scripts/package.js --name 'Daedalus Selfnode'
$ yarn build:cleanup && yarn build:main && yarn build:renderer
$ rimraf ./dist
$ yarn webpack -c source/main/webpack.config.js --progress --no-cache
$ /private/tmp/nix-build-daedalus.drv-0/source/node_modules/.bin/webpack -c source/main/webpack.config.js --progress --no-cache
assets by path assets/ 25.6 MiB2K2K[2K
  assets by path assets/*.png 1.91 MiB
    asset assets/4043d234cb3262e466bb.png 1.21 MiB [emitted] [immutable] [from: source/common/assets/pdf/paper-wallet-certificate-background.png] (auxiliary name: index)
    asset assets/28b7c90d4e0bd5237fc2.png 264 KiB [emitted] [immutable] [from: source/common/assets/pdf/paper-wallet-certificate-page-2-testnet.png] (auxiliary name: index)
    asset assets/f4a779ce58ec6ff1030e.png 241 KiB [emitted] [immutable] [from: source/common/assets/pdf/paper-wallet-certificate-page-1-testnet.png] (auxiliary name: index)
    asset assets/facf01265e1b62547f85.png 104 KiB [emitted] [immutable] [from: source/common/assets/pdf/paper-wallet-certificate-page-1.png] (auxiliary name: index)
    asset assets/e0648dd61e579e876594.png 104 KiB [emitted] [immutable] [from: source/common/assets/pdf/paper-wallet-certificate-page-2.png] (auxiliary name: index)
  assets by path assets/*.ttf 23.7 MiB
    asset assets/d41d14b5c4bdb9cb716d.ttf 23 MiB [emitted] [immutable] [from: source/common/assets/pdf/paper-wallet-certificate-font.ttf] (auxiliary name: index)
    asset assets/d230ef0486164f923991.ttf 306 KiB [emitted] [immutable] [from: source/common/assets/pdf/NotoSans-Medium.ttf] (auxiliary name: index)
    asset assets/e962f548522aa99bb8f9.ttf 306 KiB [emitted] [immutable] [from: source/common/assets/pdf/NotoSans-Regular.ttf] (auxiliary name: index)
    asset assets/473137234b890954c09c.ttf 112 KiB [emitted] [immutable] [from: source/common/assets/pdf/RobotoMono-Regular.ttf] (auxiliary name: index)
assets by path *.js 7.09 MiB
  asset index.js 6.48 MiB [emitted] (name: index) 1 related asset
  asset preload.js 629 KiB [emitted] (name: preload) 1 related asset
orphan modules 727 KiB [orphan] 188 modules
runtime modules 2.94 KiB 11 modules
modules by path ./node_modules/ 5.64 MiB
  javascript modules 5.34 MiB 973 modules
  json modules 306 KiB
    optional modules 159 KiB [optional] 10 modules
    modules by path ./node_modules/conf/ 3.07 KiB 2 modules
    + 2 modules
modules by path ./source/ 766 KiB (javascript) 48.6 MiB (asset)
  cacheable modules 7.65 KiB (javascript) 48.6 MiB (asset) 12 modules
  javascript modules 758 KiB
    ./source/main/index.ts + 186 modules 732 KiB [not cacheable] [built] [code generated]
    + 2 modules
+ 22 modules
webpack 5.91.0 compiled successfully in 3040 ms
$ yarn webpack -c source/renderer/webpack.config.js --progress --no-cache
$ /private/tmp/nix-build-daedalus.drv-0/source/node_modules/.bin/webpack -c source/renderer/webpack.config.js --progress --no-cache
assets by path assets/ 97.6 MiB2Km
  assets by status 97.1 MiB [big] 16 assets
  assets by path assets/*.svg 4.41 KiB
    asset assets/c03825682722275db42e.svg 921 bytes [emitted] [immutable] [from: source/renderer/app/assets/images/spinner-light.svg] (auxiliary name: index)
    asset assets/305cc635b0ddb89427ce.svg 846 bytes [emitted] [immutable] [from: source/renderer/react-polymorph/themes/simple/assets/search.svg] (auxiliary name: index)
    + 5 assets
  + 12 assets
assets by path *.js 15.6 MiB
  asset index.js 15.6 MiB [emitted] [big] (name: index) 1 related asset
  asset 331.js 44.9 KiB [emitted] (id hint: vendors) 1 related asset
asset af5f5547c18c61e35e24.module.wasm 957 KiB [emitted] [immutable] [big] (auxiliary id hint: vendors)
asset styles.css 531 KiB [emitted] [big] (name: index) 1 related asset
asset index.html 475 bytes [emitted]
Entrypoint index [big] 16.1 MiB (117 MiB) = styles.css 531 KiB index.js 15.6 MiB 37 auxiliary assets
orphan modules 6.77 MiB (javascript) 4.41 KiB (asset) 268 KiB (runtime) [orphan] 3215 modules
runtime modules 14.4 KiB 17 modules
built modules 15.4 MiB (javascript) 957 KiB (webassembly) 532 KiB (css/mini-extract) 97.6 MiB (asset) [built]
  modules by path ./node_modules/ 9.14 MiB (javascript) 957 KiB (webassembly)
    javascript modules 8.97 MiB 1389 modules
    json modules 173 KiB 17 modules
    ./node_modules/@iohk-jormungandr/wallet-js/wallet_bg.wasm 200 bytes (javascript) 957 KiB (webassembly) [built] [code generated]
  modules by path ./source/renderer/ 532 KiB (css/mini-extract) 6.25 MiB (javascript) 97.6 MiB (asset)
    css modules 532 KiB 290 modules
    modules by layer 6.25 MiB (javascript) 97.6 MiB (asset) 157 modules
  modules by path ./lib/*./lib/locales (ignored) 30 bytes
    ./lib/locales (ignored) 15 bytes [built] [code generated]
    ./lib/locales (ignored) 15 bytes [built] [code generated]
  + 12 modules

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  styles.css (531 KiB)
  index.js (15.6 MiB)
  assets/fb178663acd186d93482.ttf (308 KiB)
  assets/82b1a58ddf26951345dc.ttf (306 KiB)
  assets/515554149b92c45b493b.ttf (307 KiB)
  assets/498462e802f4e80f49a6.ttf (306 KiB)
  assets/ec4d9e9279b29533ed19.ttf (304 KiB)
  assets/d230ef0486164f923991.ttf (306 KiB)
  assets/e962f548522aa99bb8f9.ttf (306 KiB)
  assets/a75c33f62863bf1248a7.ttf (306 KiB)
  assets/c15a57c160d66cffbacf.ttf (307 KiB)
  assets/709a3a2dd064d0d7c80d.otf (16.5 MiB)
  assets/7c06e0f4174e104cd157.otf (16.2 MiB)
  assets/811c9d2609a13462ee28.otf (15.5 MiB)
  assets/b4a6c8f91e3ec16aeb95.otf (15.7 MiB)
  assets/5385eecebb537f4b5854.otf (15.7 MiB)
  assets/f0cdbee40213d78e4c30.otf (14.5 MiB)
  assets/52e2181827f854ebb3b6.png (317 KiB)
  af5f5547c18c61e35e24.module.wasm (957 KiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  index (16.1 MiB)
      styles.css
      index.js


webpack 5.91.0 compiled with 2 warnings in 9886 ms
$ node -r @swc-node/register scripts/package.js --name 'Daedalus Selfnode'
Convert compiler options from json failed, Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'esnext', 'dom', 'dom.iterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.sharedmemory', 'es2022.string', 'esnext.array', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref'.
/private/tmp/nix-build-daedalus.drv-0/source/scripts/package.js:121
}
      ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /private/tmp/nix-build-daedalus.drv-0/source/node_modules/del/index.js from /private/tmp/nix-build-daedalus.drv-0/source/scripts/package.js not supported.
Instead change the require of index.js in /private/tmp/nix-build-daedalus.drv-0/source/scripts/package.js to a dynamic import() which is available in all CommonJS modules.
    at Object.newLoader [as .js] (/private/tmp/nix-build-daedalus.drv-0/source/node_modules/pirates/lib/index.js:121:7)
    at Object.<anonymous> (/private/tmp/nix-build-daedalus.drv-0/source/scripts/package.js:4:13)
    at Module._compile (/private/tmp/nix-build-daedalus.drv-0/source/node_modules/pirates/lib/index.js:117:24)
    at Object.newLoader [as .js] (/private/tmp/nix-build-daedalus.drv-0/source/node_modules/pirates/lib/index.js:121:7) {
  code: 'ERR_REQUIRE_ESM'
}

Node.js v18.12.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
make-installer: ProcFailed {procCommand = "yarn", procArguments = ["run","package","--","--name","Daedalus Selfnode"], procExitCode = ExitFailure 1}