From 0900db5b21a69c3a720885248ab157907513f91a Mon Sep 17 00:00:00 2001 From: Otavio Jacobi Date: Wed, 30 Oct 2024 14:48:29 -0300 Subject: [PATCH] Build standalone without pkg Change-type: major --- .github/actions/publish/action.yml | 4 +- .mocharc.js | 2 +- INSTALL-LINUX.md | 14 +- automation/build-bin.ts | 331 +----- automation/run.ts | 6 +- automation/utils.ts | 63 -- npm-shrinkwrap.json | 998 +----------------- package.json | 26 - patches/all/open+7.4.2.patch | 16 - patches/unix/node-gyp-build+4.6.0.patch | 14 - patches/win32/windosu+0.3.0.patch | 38 - src/app.ts | 8 +- src/utils/bootstrap.ts | 37 - tests/helpers.ts | 92 +- .../pkg/expected-warnings-darwin-arm64.txt | 382 ------- .../pkg/expected-warnings-darwin-x64.txt | 382 ------- .../pkg/expected-warnings-linux-arm64.txt | 382 ------- .../pkg/expected-warnings-linux-x64.txt | 382 ------- .../pkg/expected-warnings-win32-x64.txt | 382 ------- 19 files changed, 182 insertions(+), 3377 deletions(-) delete mode 100644 patches/all/open+7.4.2.patch delete mode 100644 patches/unix/node-gyp-build+4.6.0.patch delete mode 100644 patches/win32/windosu+0.3.0.patch delete mode 100644 tests/test-data/pkg/expected-warnings-darwin-arm64.txt delete mode 100644 tests/test-data/pkg/expected-warnings-darwin-x64.txt delete mode 100644 tests/test-data/pkg/expected-warnings-linux-arm64.txt delete mode 100644 tests/test-data/pkg/expected-warnings-linux-x64.txt delete mode 100644 tests/test-data/pkg/expected-warnings-win32-x64.txt diff --git a/.github/actions/publish/action.yml b/.github/actions/publish/action.yml index 31fa9e9acd..d33bfd3f58 100644 --- a/.github/actions/publish/action.yml +++ b/.github/actions/publish/action.yml @@ -138,6 +138,8 @@ runs: uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 with: name: gh-release-${{ github.event.pull_request.head.sha || github.event.head_commit.id }}-${{ strategy.job-index }} - path: dist + path: | + dist + !dist/balena retention-days: 1 if-no-files-found: error diff --git a/.mocharc.js b/.mocharc.js index b818113699..86b4b46516 100644 --- a/.mocharc.js +++ b/.mocharc.js @@ -2,7 +2,7 @@ module.exports = { reporter: 'spec', require: 'ts-node/register/transpile-only', file: './tests/config-tests', - timeout: 12000, + timeout: 48000, // To test only, say, 'push.spec.ts', do it as follows so that // requests are authenticated: // spec: ['tests/auth/*.spec.ts', 'tests/**/deploy.spec.ts'], diff --git a/INSTALL-LINUX.md b/INSTALL-LINUX.md index 10b9dc5183..1122be9a6c 100644 --- a/INSTALL-LINUX.md +++ b/INSTALL-LINUX.md @@ -8,15 +8,15 @@ method. Selected operating system: **Linux** -1. Download the latest zip file from the [latest release +1. Download the latest tar.gz file from the [latest release page](https://github.com/balena-io/balena-cli/releases/latest). Look for a file name that ends - with "-standalone.zip", for example: - `balena-cli-vX.Y.Z-linux-x64-standalone.zip` + with "-standalone.tar.gz", for example: + `balena-cli-vX.Y.Z-linux-x64-standalone.tar.gz` -2. Extract the zip file contents to any folder you choose, for example `/home/james`. - The extracted contents will include a `balena-cli` folder. +2. Extract the tar.gz file contents to any folder you choose, for example `/home/james`. + The extracted contents will include a `balena/bin` folder. -3. Add that folder (e.g. `/home/james/balena-cli`) to the `PATH` environment variable. +3. Add that folder (e.g. `/home/james/balena/bin`) to the `PATH` environment variable. Check this [StackOverflow post](https://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux-unix) for instructions. Close and reopen the terminal window so that the changes to `PATH` @@ -27,7 +27,7 @@ Selected operating system: **Linux** * `balena version` - should print the CLI's version * `balena help` - should print a list of available commands -To update the balena CLI to a new version, download a new release zip file and replace the previous +To update the balena CLI to a new version, download a new release tar.gz file and replace the previous installation folder. To uninstall, simply delete the folder and edit the PATH environment variable as described above. diff --git a/automation/build-bin.ts b/automation/build-bin.ts index f0c03f6fb3..b4a06bdec0 100644 --- a/automation/build-bin.ts +++ b/automation/build-bin.ts @@ -15,29 +15,17 @@ * limitations under the License. */ -import type { JsonVersions } from '../src/commands/version/index'; - import { run as oclifRun } from '@oclif/core'; -import * as archiver from 'archiver'; import { exec, execFile } from 'child_process'; -import * as filehound from 'filehound'; import type { Stats } from 'fs'; import * as fs from 'fs-extra'; import * as klaw from 'klaw'; import * as path from 'path'; import * as rimraf from 'rimraf'; -import * as semver from 'semver'; import { promisify } from 'util'; import { notarize } from '@electron/notarize'; -import { stripIndent } from '../build/utils/lazy'; -import { - diffLines, - loadPackageJson, - ROOT, - StdOutTap, - whichSpawn, -} from './utils'; +import { loadPackageJson, ROOT, whichSpawn } from './utils'; const execFileAsync = promisify(execFile); const execAsync = promisify(exec); @@ -55,12 +43,6 @@ interface PathByPlatform { [platform: string]: string; } -const standaloneZips: PathByPlatform = { - linux: dPath(`balena-cli-${version}-linux-${arch}-standalone.zip`), - darwin: dPath(`balena-cli-${version}-macOS-${arch}-standalone.zip`), - win32: dPath(`balena-cli-${version}-windows-${arch}-standalone.zip`), -}; - const getOclifInstallersOriginalNames = async (): Promise => { const { stdout } = await execAsync('git rev-parse --short HEAD'); const sha = stdout.trim(); @@ -75,260 +57,26 @@ const renamedOclifInstallers: PathByPlatform = { win32: dPath(`balena-cli-${version}-windows-${arch}-installer.exe`), }; -export const finalReleaseAssets: { [platform: string]: string[] } = { - win32: [standaloneZips['win32'], renamedOclifInstallers['win32']], - darwin: [standaloneZips['darwin'], renamedOclifInstallers['darwin']], - linux: [standaloneZips['linux']], -}; - -/** - * Given the output of `pkg` as a string (containing warning messages), - * diff it against previously saved output of known "safe" warnings. - * Throw an error if the diff is not empty. - */ -async function diffPkgOutput(pkgOut: string) { - const { monochrome } = await import('../tests/helpers'); - const relSavedPath = path.join( - 'tests', - 'test-data', - 'pkg', - `expected-warnings-${process.platform}-${arch}.txt`, - ); - const absSavedPath = path.join(ROOT, relSavedPath); - const ignoreStartsWith = [ - '> pkg@', - '> Fetching base Node.js binaries', - ' fetched-', - 'prebuild-install WARN install No prebuilt binaries found', - ]; - const modulesRE = - process.platform === 'win32' - ? /(?<=[ '])([A-Z]:)?\\.+?\\node_modules(?=\\)/ - : /(?<=[ '])\/.+?\/node_modules(?=\/)/; - const buildRE = - process.platform === 'win32' - ? /(?<=[ '])([A-Z]:)?\\.+\\build(?=\\)/ - : /(?<=[ '])\/.+\/build(?=\/)/; - - const cleanLines = (chunks: string | string[]) => { - const lines = typeof chunks === 'string' ? chunks.split('\n') : chunks; - return lines - .map((line: string) => monochrome(line)) // remove ASCII colors - .filter((line: string) => !/^\s*$/.test(line)) // blank lines - .filter((line: string) => - ignoreStartsWith.every((i) => !line.startsWith(i)), - ) - .map((line: string) => { - // replace absolute paths with relative paths - let replaced = line.replace(modulesRE, 'node_modules'); - if (replaced === line) { - replaced = line.replace(buildRE, 'build'); - } - return replaced; - }); +const getOclifStandaloneOriginalNames = async (): Promise => { + const { stdout } = await execAsync('git rev-parse --short HEAD'); + const sha = stdout.trim(); + return { + linux: dPath(`balena-${version}-${sha}-linux-${arch}.tar.gz`), + darwin: dPath(`balena-${version}-${sha}-darwin-${arch}.tar.gz`), + win32: dPath(`balena-${version}-${sha}-win32-${arch}.tar.gz`), }; +}; - pkgOut = cleanLines(pkgOut).join('\n'); - const { readFile } = (await import('fs')).promises; - const expectedOut = cleanLines(await readFile(absSavedPath, 'utf8')).join( - '\n', - ); - if (expectedOut !== pkgOut) { - const sep = - '================================================================================'; - const diff = diffLines(expectedOut, pkgOut); - const msg = `pkg output does not match expected output from "${relSavedPath}" -Diff: -${sep} -${diff} -${sep} -Check whether the new or changed pkg warnings are safe to ignore, then update -"${relSavedPath}" -and share the result of your investigation as comments on the pull request. -Hint: the fix is often a matter of updating the 'pkg.scripts' or 'pkg.assets' -sections in the CLI's 'package.json' file, or a matter of updating the -'buildPkg' function in 'automation/build-bin.ts'. Sometimes it requires -patching dependencies: See for example 'patches/all/open+7.0.2.patch'. -${sep} -`; - throw new Error(msg); - } -} - -/** - * Call `pkg.exec` to generate the standalone zip file, capturing its warning - * messages (stdout and stderr) in order to call diffPkgOutput(). - */ -async function execPkg(...args: any[]) { - const { exec: pkgExec } = await import('@yao-pkg/pkg'); - const outTap = new StdOutTap(true); - try { - outTap.tap(); - await (pkgExec as any)(...args); - } catch (err) { - outTap.untap(); - console.log(outTap.stdoutBuf.join('')); - console.error(outTap.stderrBuf.join('')); - throw err; - } - outTap.untap(); - await diffPkgOutput(outTap.allBuf.join('')); -} - -/** - * Use the 'pkg' module to create a single large executable file with - * the contents of 'node_modules' and the CLI's javascript code. - * Also copy a number of native modules (binary '.node' files) that are - * compiled during 'npm install' to the 'build-bin' folder, alongside - * the single large executable file created by pkg. (This is necessary - * because of a pkg limitation that does not allow binary executables - * to be directly executed from inside another binary executable.) - */ -async function buildPkg() { - // https://github.com/vercel/pkg#targets - let targets = `linux-${arch}`; - if (process.platform === 'darwin') { - targets = `macos-${arch}`; - } - // TBC: not yet possible to build for Windows arm64 on x64 nodes - if (process.platform === 'win32') { - targets = `win-x64`; - } - const args = [ - '--targets', - targets, - '--output', - 'build-bin/balena', - 'package.json', - ]; - console.log('======================================================='); - console.log(`execPkg ${args.join(' ')}`); - console.log(`cwd="${process.cwd()}" ROOT="${ROOT}"`); - console.log('======================================================='); - - await execPkg(args); - - const paths: Array<[string, string[], string[]]> = [ - // [platform, [source path], [destination path]] - ['*', ['open', 'xdg-open'], ['xdg-open']], - ['darwin', ['denymount', 'bin', 'denymount'], ['denymount']], - ]; - await Promise.all( - paths.map(([platform, source, dest]) => { - if (platform === '*' || platform === process.platform) { - // eg copy from node_modules/open/xdg-open to build-bin/xdg-open - return fs.copy( - path.join(ROOT, 'node_modules', ...source), - path.join(ROOT, 'build-bin', ...dest), - ); - } - }), - ); - const nativeExtensionPaths: string[] = await filehound - .create() - .paths(path.join(ROOT, 'node_modules')) - .ext(['node', 'dll']) - .find(); - - console.log(`\nCopying to build-bin:\n${nativeExtensionPaths.join('\n')}`); - - await Promise.all( - nativeExtensionPaths.map((extPath) => - fs.copy( - extPath, - extPath.replace( - path.join(ROOT, 'node_modules'), - path.join(ROOT, 'build-bin'), - ), - ), - ), - ); -} - -/** - * Run some basic tests on the built pkg executable. - * TODO: test more than just `balena version -j`; integrate with the - * existing mocha/chai CLI command testing. - */ -async function testPkg() { - const pkgBalenaPath = path.join( - ROOT, - 'build-bin', - process.platform === 'win32' ? 'balena.exe' : 'balena', - ); - console.log(`Testing standalone package "${pkgBalenaPath}"...`); - // Run `balena version -j`, parse its stdout as JSON, and check that the - // reported Node.js major version matches semver.major(process.version) - let { stdout, stderr } = await execFileAsync(pkgBalenaPath, [ - 'version', - '-j', - ]); - const { filterCliOutputForTests } = await import('../tests/helpers'); - const filtered = filterCliOutputForTests({ - err: stderr.split(/\r?\n/), - out: stdout.split(/\r?\n/), - }); - stdout = filtered.out.join('\n'); - stderr = filtered.err.join('\n'); - let pkgNodeVersion = ''; - let pkgNodeMajorVersion = 0; - try { - const balenaVersions: JsonVersions = JSON.parse(stdout); - pkgNodeVersion = balenaVersions['Node.js']; - pkgNodeMajorVersion = semver.major(pkgNodeVersion); - } catch (err) { - throw new Error(stripIndent` - Error parsing JSON output of "balena version -j": ${err} - Original output: "${stdout}"`); - } - if (semver.major(process.version) !== pkgNodeMajorVersion) { - throw new Error( - `Mismatched major version: built-in pkg Node version="${pkgNodeVersion}" vs process.version="${process.version}"`, - ); - } - if (filtered.err.length > 0) { - const err = filtered.err.join('\n'); - throw new Error(`"${pkgBalenaPath}": non-empty stderr "${err}"`); - } - console.log('Success! (standalone package test successful)'); -} - -/** - * Create the zip file for the standalone 'pkg' bundle previously created - * by the buildPkg() function in 'build-bin.ts'. - */ -async function zipPkg() { - const outputFile = standaloneZips[process.platform]; - if (!outputFile) { - throw new Error( - `Standalone installer unavailable for platform "${process.platform}"`, - ); - } - await fs.mkdirp(path.dirname(outputFile)); - await new Promise((resolve, reject) => { - console.log(`Zipping standalone package to "${outputFile}"...`); - - const archive = archiver('zip', { - zlib: { level: 7 }, - }); - archive.directory(path.join(ROOT, 'build-bin'), 'balena-cli'); - - const outputStream = fs.createWriteStream(outputFile); - - outputStream.on('close', resolve); - outputStream.on('error', reject); - - archive.on('error', reject); - archive.on('warning', console.warn); - - archive.pipe(outputStream); - archive.finalize().catch(reject); - }); -} +const renamedOclifStandalone: PathByPlatform = { + linux: dPath(`balena-cli-${version}-linux-${arch}-standalone.tar.gz`), + darwin: dPath(`balena-cli-${version}-macOS-${arch}-standalone.tar.gz`), + win32: dPath(`balena-cli-${version}-windows-${arch}-standalone.tar.gz`), +}; export async function signFilesForNotarization() { console.log('Signing files for notarization'); - if (process.platform !== 'darwin') { + if (process.platform !== 'darwin' || !process.env.CSC_LINK) { + console.log('Skipping signing for notarization'); return; } console.log('Deleting unneeded zip files...'); @@ -416,20 +164,39 @@ export async function signFilesForNotarization() { ]); } -export async function buildStandaloneZip() { - console.log(`Building standalone zip package for CLI ${version}`); +export async function buildStandalone() { + console.log(`Building standalone tarball for CLI ${version}`); + fs.rmSync('./tmp', { recursive: true, force: true }); + fs.rmSync('./dist', { recursive: true, force: true }); + fs.mkdirSync('./dist'); try { - await buildPkg(); - await testPkg(); - await zipPkg(); - console.log(`Standalone zip package build completed`); + let packOpts = ['-r', ROOT, '--no-xz']; + if (process.platform === 'darwin') { + packOpts = packOpts.concat('--targets', `darwin-${arch}`); + } else if (process.platform === 'win32') { + packOpts = packOpts.concat('--targets', 'win32-x64'); + } else if (process.platform === 'linux') { + packOpts = packOpts.concat('--targets', `linux-${arch}`); + } + + console.log(`Building oclif installer for CLI ${version}`); + const packCmd = `pack:tarballs`; + console.log('======================================================='); + console.log(`oclif ${packCmd} ${packOpts.join(' ')}`); + console.log(`cwd="${process.cwd()}" ROOT="${ROOT}"`); + console.log('======================================================='); + const oclifPath = path.join(ROOT, 'node_modules', 'oclif'); + await oclifRun([packCmd].concat(...packOpts), oclifPath); + await renameStandalone(); + + console.log(`Standalone tarball package build completed`); } catch (error) { - console.error(`Error creating or testing standalone zip package`); + console.error(`Error creating or testing standalone tarball package`); throw error; } } -async function renameInstallerFiles() { +async function renameInstallers() { const oclifInstallers = await getOclifInstallersOriginalNames(); if (await fs.pathExists(oclifInstallers[process.platform])) { await fs.rename( @@ -439,6 +206,16 @@ async function renameInstallerFiles() { } } +async function renameStandalone() { + const oclifStandalone = await getOclifStandaloneOriginalNames(); + if (await fs.pathExists(oclifStandalone[process.platform])) { + await fs.rename( + oclifStandalone[process.platform], + renamedOclifStandalone[process.platform], + ); + } +} + /** * If the CSC_LINK and CSC_KEY_PASSWORD env vars are set, digitally sign the * executable installer using Microsoft SignTool.exe (Sign Tool) @@ -525,7 +302,7 @@ export async function buildOclifInstaller() { console.log('======================================================='); const oclifPath = path.join(ROOT, 'node_modules', 'oclif'); await oclifRun([packCmd].concat(...packOpts), oclifPath); - await renameInstallerFiles(); + await renameInstallers(); // The Windows installer is explicitly signed here (oclif doesn't do it). // The macOS installer is automatically signed by oclif (which runs the // `pkgbuild` tool), using the certificate name given in package.json diff --git a/automation/run.ts b/automation/run.ts index b0986f4358..9e5af74c25 100644 --- a/automation/run.ts +++ b/automation/run.ts @@ -19,7 +19,7 @@ import * as _ from 'lodash'; import { buildOclifInstaller, - buildStandaloneZip, + buildStandalone, catchUncommitted, signFilesForNotarization, testShrinkwrap, @@ -36,7 +36,7 @@ process.env.DEBUG = ['0', 'no', 'false', '', undefined].includes( * Trivial command-line parser. Check whether the command-line argument is one * of the following strings, then call the appropriate functions: * 'build:installer' (to build a native oclif installer) - * 'build:standalone' (to build a standalone pkg package) + * 'build:standalone' (to build a standalone package) * * @param args Arguments to parse (default is process.argv.slice(2)) */ @@ -49,7 +49,7 @@ async function parse(args?: string[]) { } const commands: { [cmd: string]: () => void | Promise } = { 'build:installer': buildOclifInstaller, - 'build:standalone': buildStandaloneZip, + 'build:standalone': buildStandalone, 'sign:binaries': signFilesForNotarization, 'catch-uncommitted': catchUncommitted, 'test-shrinkwrap': testShrinkwrap, diff --git a/automation/utils.ts b/automation/utils.ts index c4c8cb4313..a5dcd2b79e 100644 --- a/automation/utils.ts +++ b/automation/utils.ts @@ -18,73 +18,10 @@ import { spawn } from 'child_process'; import * as path from 'path'; import * as fs from 'fs'; -import { diffTrimmedLines } from 'diff'; import * as whichMod from 'which'; export const ROOT = path.join(__dirname, '..'); -/** Tap and buffer this process' stdout and stderr */ -export class StdOutTap { - public stdoutBuf: string[] = []; - public stderrBuf: string[] = []; - public allBuf: string[] = []; // both stdout and stderr - - protected origStdoutWrite: typeof process.stdout.write; - protected origStderrWrite: typeof process.stdout.write; - - constructor(protected printDots = false) {} - - tap() { - this.origStdoutWrite = process.stdout.write; - this.origStderrWrite = process.stderr.write; - - process.stdout.write = (chunk: string, ...args: any[]): boolean => { - this.stdoutBuf.push(chunk); - this.allBuf.push(chunk); - const str = this.printDots ? '.' : chunk; - return this.origStdoutWrite.call(process.stdout, str, ...args); - }; - - process.stderr.write = (chunk: string, ...args: any[]): boolean => { - this.stderrBuf.push(chunk); - this.allBuf.push(chunk); - const str = this.printDots ? '.' : chunk; - return this.origStderrWrite.call(process.stderr, str, ...args); - }; - } - - untap() { - process.stdout.write = this.origStdoutWrite; - process.stderr.write = this.origStderrWrite; - if (this.printDots) { - console.error(''); - } - } -} - -/** - * Diff strings by line, using the 'diff' npm package: - * https://www.npmjs.com/package/diff - */ -export function diffLines(str1: string, str2: string): string { - const diffObjs = diffTrimmedLines(str1, str2); - const prefix = (chunk: string, char: string) => - chunk - .split('\n') - .map((line: string) => `${char} ${line}`) - .join('\n'); - const diffStr = diffObjs - .map((part: any) => { - return part.added - ? prefix(part.value, '+') - : part.removed - ? prefix(part.value, '-') - : prefix(part.value, ' '); - }) - .join('\n'); - return diffStr; -} - export function loadPackageJson() { const packageJsonPath = path.join(ROOT, 'package.json'); diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 6bd543b6cb..0cdd6973da 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -92,14 +92,12 @@ "devDependencies": { "@balena/lint": "^9.1.3", "@electron/notarize": "^2.0.0", - "@types/archiver": "^6.0.2", "@types/bluebird": "^3.5.36", "@types/body-parser": "^1.19.2", "@types/chai": "^4.3.0", "@types/chai-as-promised": "^7.1.4", "@types/cli-truncate": "^2.0.0", "@types/common-tags": "^1.8.1", - "@types/diff": "^5.0.3", "@types/dockerode": "3.3.23", "@types/ejs": "^3.1.0", "@types/express": "^4.17.13", @@ -138,16 +136,12 @@ "@types/update-notifier": "^4.1.1", "@types/which": "^2.0.1", "@types/window-size": "^1.1.1", - "@yao-pkg/pkg": "^5.11.1", - "archiver": "^7.0.1", "catch-uncommitted": "^2.0.0", "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "cross-env": "^7.0.3", "deep-object-diff": "^1.1.0", - "diff": "^5.0.0", "ent": "^2.2.0", - "filehound": "^1.17.5", "fs-extra": "^11.2.0", "http-proxy": "^1.18.1", "husky": "^9.1.5", @@ -1144,21 +1138,6 @@ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "dev": true }, - "node_modules/@babel/generator": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", - "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", - "dev": true, - "dependencies": { - "@babel/types": "^7.23.0", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", - "jsesc": "^2.5.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-environment-visitor": { "version": "7.22.20", "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", @@ -1295,19 +1274,6 @@ "node": ">=6.0.0" } }, - "node_modules/@babel/parser/node_modules/@babel/types": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.3.tgz", - "integrity": "sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==", - "dev": true, - "dependencies": { - "@babel/helper-string-parser": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/template": { "version": "7.24.0", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.0.tgz", @@ -1322,19 +1288,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/template/node_modules/@babel/types": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.3.tgz", - "integrity": "sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==", - "dev": true, - "dependencies": { - "@babel/helper-string-parser": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/traverse": { "version": "7.24.0", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.0.tgz", @@ -1372,7 +1325,7 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/traverse/node_modules/@babel/types": { + "node_modules/@babel/types": { "version": "7.26.3", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.3.tgz", "integrity": "sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==", @@ -1385,32 +1338,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/traverse/node_modules/jsesc": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", - "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@babel/types": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", - "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", - "dev": true, - "dependencies": { - "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.20", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@balena/abstract-sql-compiler": { "version": "9.2.0", "resolved": "https://registry.npmjs.org/@balena/abstract-sql-compiler/-/abstract-sql-compiler-9.2.0.tgz", @@ -1518,17 +1445,6 @@ "through": "^2.3.8" } }, - "node_modules/@balena/compose/node_modules/jsesc": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", - "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/@balena/compose/node_modules/stream-to-promise": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/stream-to-promise/-/stream-to-promise-3.0.0.tgz", @@ -5169,15 +5085,6 @@ "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==", "dev": true }, - "node_modules/@types/archiver": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/@types/archiver/-/archiver-6.0.2.tgz", - "integrity": "sha512-KmROQqbQzKGuaAbmK+ZcytkJ51+YqDa7NmbXjmtC5YBLSyQYo21YaUnQ3HbaPFKL1ooo6RQ6OPYPIDyxfpDDXw==", - "dev": true, - "dependencies": { - "@types/readdir-glob": "*" - } - }, "node_modules/@types/bluebird": { "version": "3.5.36", "resolved": "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.36.tgz", @@ -5257,12 +5164,6 @@ "@types/node": "*" } }, - "node_modules/@types/diff": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@types/diff/-/diff-5.0.3.tgz", - "integrity": "sha512-amrLbRqTU9bXMCc6uX0sWpxsQzRIo9z6MJPkH1pkez/qOxuqSZVuryJAWoBRq94CeG8JxY+VK4Le9HtjQR5T9A==", - "dev": true - }, "node_modules/@types/docker-modem": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/@types/docker-modem/-/docker-modem-3.0.2.tgz", @@ -5558,15 +5459,6 @@ "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==", "dev": true }, - "node_modules/@types/readdir-glob": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/@types/readdir-glob/-/readdir-glob-1.1.5.tgz", - "integrity": "sha512-raiuEPUYqXu+nvtY2Pe8s8FEmZ3x5yAH4VkLdihcPdalvsHltomrRC9BzuStrJ9yk06470hS0Crw0f1pXqD+Hg==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/request": { "version": "2.48.12", "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.12.tgz", @@ -6071,129 +5963,6 @@ "integrity": "sha512-PuJe7vDIi6VYSinuEbUIQgMIRZGgM8e4R+G+/dQTk0X1NEdvgvvgv7m+rfmDH1gZzyA1OjjoWskvHlfRNfQf3g==", "dev": true }, - "node_modules/@yao-pkg/pkg": { - "version": "5.12.0", - "resolved": "https://registry.npmjs.org/@yao-pkg/pkg/-/pkg-5.12.0.tgz", - "integrity": "sha512-KZVpiDKRi2gtrVtKwhz/ZUKBOicVNggxaYQzPBjULuOLJ/UypTmAz5a2g+utLMn+WogbLE3vLfmC+TWp8v3+aQ==", - "dev": true, - "dependencies": { - "@babel/generator": "7.23.0", - "@babel/parser": "7.23.0", - "@babel/types": "7.23.0", - "@yao-pkg/pkg-fetch": "3.5.9", - "chalk": "^4.1.2", - "fs-extra": "^9.1.0", - "globby": "^11.1.0", - "into-stream": "^6.0.0", - "is-core-module": "2.9.0", - "minimatch": "9.0.4", - "minimist": "^1.2.6", - "multistream": "^4.1.0", - "prebuild-install": "7.1.1", - "resolve": "^1.22.0", - "stream-meter": "^1.0.4" - }, - "bin": { - "pkg": "lib-es5/bin.js" - } - }, - "node_modules/@yao-pkg/pkg-fetch": { - "version": "3.5.9", - "resolved": "https://registry.npmjs.org/@yao-pkg/pkg-fetch/-/pkg-fetch-3.5.9.tgz", - "integrity": "sha512-usMwwqFCd2B7k+V87u6kiTesyDSlw+3LpiuYBWe+UgryvSOk/NXjx3XVCub8hQoi0bCREbdQ6NDBqminyHJJrg==", - "dev": true, - "dependencies": { - "chalk": "^4.1.2", - "fs-extra": "^9.1.0", - "https-proxy-agent": "^5.0.0", - "node-fetch": "^2.6.6", - "progress": "^2.0.3", - "semver": "^7.3.5", - "tar-fs": "^2.1.1", - "yargs": "^16.2.0" - }, - "bin": { - "pkg-fetch": "lib-es5/bin.js" - } - }, - "node_modules/@yao-pkg/pkg-fetch/node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@yao-pkg/pkg/node_modules/@babel/parser": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", - "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", - "dev": true, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@yao-pkg/pkg/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/@yao-pkg/pkg/node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@yao-pkg/pkg/node_modules/is-core-module": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", - "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", - "dev": true, - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/@yao-pkg/pkg/node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/@yarnpkg/lockfile": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", @@ -6205,18 +5974,6 @@ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "optional": true }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dev": true, - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, "node_modules/abortcontroller-polyfill": { "version": "1.7.5", "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.5.tgz", @@ -6395,262 +6152,6 @@ "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" }, - "node_modules/archiver": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/archiver/-/archiver-7.0.1.tgz", - "integrity": "sha512-ZcbTaIqJOfCc03QwD468Unz/5Ir8ATtvAHsK+FdXbDIbGfihqh9mrvdcYunQzqn4HrvWWaFyaxJhGZagaJJpPQ==", - "dev": true, - "dependencies": { - "archiver-utils": "^5.0.2", - "async": "^3.2.4", - "buffer-crc32": "^1.0.0", - "readable-stream": "^4.0.0", - "readdir-glob": "^1.1.2", - "tar-stream": "^3.0.0", - "zip-stream": "^6.0.1" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/archiver-utils": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-5.0.2.tgz", - "integrity": "sha512-wuLJMmIBQYCsGZgYLTy5FIB2pF6Lfb6cXMSF8Qywwk3t20zWnAi7zLcQFdKQmIB8wyZpY5ER38x08GbwtR2cLA==", - "dev": true, - "dependencies": { - "glob": "^10.0.0", - "graceful-fs": "^4.2.0", - "is-stream": "^2.0.1", - "lazystream": "^1.0.0", - "lodash": "^4.17.15", - "normalize-path": "^3.0.0", - "readable-stream": "^4.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/archiver-utils/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/archiver-utils/node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/archiver-utils/node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", - "dev": true, - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^3.1.2", - "minimatch": "^9.0.4", - "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", - "path-scurry": "^1.11.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/archiver-utils/node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/archiver-utils/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/archiver-utils/node_modules/readable-stream": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.6.0.tgz", - "integrity": "sha512-cbAdYt0VcnpN2Bekq7PU+k363ZRsPwJoEEJOEtSJQlJXzwaxt3FIo/uL+KeDSGIjJqtkwyge4KQgD2S2kd+CQw==", - "dev": true, - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10", - "string_decoder": "^1.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/archiver-utils/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/archiver-utils/node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/archiver/node_modules/async": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", - "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", - "dev": true - }, - "node_modules/archiver/node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/archiver/node_modules/buffer-crc32": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-1.0.0.tgz", - "integrity": "sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==", - "dev": true, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/archiver/node_modules/readable-stream": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.6.0.tgz", - "integrity": "sha512-cbAdYt0VcnpN2Bekq7PU+k363ZRsPwJoEEJOEtSJQlJXzwaxt3FIo/uL+KeDSGIjJqtkwyge4KQgD2S2kd+CQw==", - "dev": true, - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10", - "string_decoder": "^1.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/archiver/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/archiver/node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/archiver/node_modules/tar-stream": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", - "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", - "dev": true, - "dependencies": { - "b4a": "^1.6.4", - "fast-fifo": "^1.2.0", - "streamx": "^2.15.0" - } - }, "node_modules/are-docs-informative": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/are-docs-informative/-/are-docs-informative-0.0.2.tgz", @@ -8163,138 +7664,28 @@ "node": ">= 10" } }, - "node_modules/comment-parser": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz", - "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==", - "dev": true, - "engines": { - "node": ">= 12.0.0" - } - }, - "node_modules/common-tags": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.2.tgz", - "integrity": "sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==", - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/compare-versions": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz", - "integrity": "sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==" - }, - "node_modules/compress-commons": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-6.0.2.tgz", - "integrity": "sha512-6FqVXeETqWPoGcfzrXb37E50NP0LXT8kAMu5ooZayhWWdgEY4lBEEcbQNXtkuKQsGduxiIcI4gOTsxTmuq/bSg==", - "dev": true, - "dependencies": { - "crc-32": "^1.2.0", - "crc32-stream": "^6.0.0", - "is-stream": "^2.0.1", - "normalize-path": "^3.0.0", - "readable-stream": "^4.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/compress-commons/node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/compress-commons/node_modules/crc32-stream": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-6.0.0.tgz", - "integrity": "sha512-piICUB6ei4IlTv1+653yq5+KoqfBYmj9bw6LqXoOneTMDXk5nM1qt12mFW1caG3LlJXEKW1Bp0WggEmIfQB34g==", - "dev": true, - "dependencies": { - "crc-32": "^1.2.0", - "readable-stream": "^4.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/compress-commons/node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/compress-commons/node_modules/readable-stream": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.6.0.tgz", - "integrity": "sha512-cbAdYt0VcnpN2Bekq7PU+k363ZRsPwJoEEJOEtSJQlJXzwaxt3FIo/uL+KeDSGIjJqtkwyge4KQgD2S2kd+CQw==", - "dev": true, - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10", - "string_decoder": "^1.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/compress-commons/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/compress-commons/node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "node_modules/comment-parser": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz", + "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==", "dev": true, - "dependencies": { - "safe-buffer": "~5.2.0" + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/common-tags": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.2.tgz", + "integrity": "sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==", + "engines": { + "node": ">=4.0.0" } }, + "node_modules/compare-versions": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz", + "integrity": "sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==" + }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -9460,12 +8851,6 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, - "node_modules/err-code": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz", - "integrity": "sha512-CJAN+O0/yA1CKfRn9SXOGctSpEM7DCon/r/5r2eXFMY2zCCJBasFhcM5I+1kh3Ap11FsQCX+vGHceNPvpWKhoA==", - "dev": true - }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -10306,30 +9691,12 @@ "through": "^2.3.8" } }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/eventemitter3": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz", "integrity": "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ==", "dev": true }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "dev": true, - "engines": { - "node": ">=0.8.x" - } - }, "node_modules/execa": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", @@ -10697,17 +10064,6 @@ "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/file-js": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/file-js/-/file-js-0.3.0.tgz", - "integrity": "sha1-+rRr94I0bJKUSZ8fDSrQfYOPJdE=", - "dev": true, - "dependencies": { - "bluebird": "^3.4.7", - "minimatch": "^3.0.3", - "proper-lockfile": "^1.2.0" - } - }, "node_modules/file-type": { "version": "16.5.4", "resolved": "https://registry.npmjs.org/file-type/-/file-type-16.5.4.tgz", @@ -10729,20 +10085,6 @@ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" }, - "node_modules/filehound": { - "version": "1.17.5", - "resolved": "https://registry.npmjs.org/filehound/-/filehound-1.17.5.tgz", - "integrity": "sha512-BsNTM3xoscYKgv0quE9RWPVhu5ZTb7BNu3H/IbZQbOfQeA7ZyOV/hIYfo60H3Jhorw/J5vbg59KHS1UCHt4FAw==", - "dev": true, - "dependencies": { - "bluebird": "^3.7.2", - "file-js": "0.3.0", - "lodash": "^4.17.21", - "minimatch": "^3.0.4", - "moment": "^2.29.1", - "unit-compare": "^1.0.1" - } - }, "node_modules/filelist": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", @@ -11081,16 +10423,6 @@ "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz", "integrity": "sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=" }, - "node_modules/from2": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", - "integrity": "sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==", - "dev": true, - "dependencies": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.0" - } - }, "node_modules/fs-constants": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", @@ -11683,18 +11015,6 @@ "node": ">=6" } }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/has-ansi": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", @@ -12480,22 +11800,6 @@ "node": ">= 0.4" } }, - "node_modules/into-stream": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-6.0.0.tgz", - "integrity": "sha512-XHbaOAvP+uFKUFsOgoNPRjLkwB+I22JFPFe5OjTkQ0nwgj6+pSjb4NmB6VMxaPshLiOf+zcpOCBQuLwC1KHhZA==", - "dev": true, - "dependencies": { - "from2": "^2.3.0", - "p-is-promise": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/io-ts": { "version": "2.2.20", "resolved": "https://registry.npmjs.org/io-ts/-/io-ts-2.2.20.tgz", @@ -13182,15 +12486,14 @@ } }, "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true, + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", "bin": { "jsesc": "bin/jsesc" }, "engines": { - "node": ">=4" + "node": ">=6" } }, "node_modules/json-buffer": { @@ -13434,18 +12737,6 @@ "node": ">=8" } }, - "node_modules/lazystream": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz", - "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==", - "dev": true, - "dependencies": { - "readable-stream": "^2.0.5" - }, - "engines": { - "node": ">= 0.6.3" - } - }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -14417,15 +13708,6 @@ "node": ">=0.10.0" } }, - "node_modules/moment": { - "version": "2.30.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", - "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", - "dev": true, - "engines": { - "node": "*" - } - }, "node_modules/mountutils": { "version": "1.3.21", "resolved": "https://registry.npmjs.org/mountutils/-/mountutils-1.3.21.tgz", @@ -14601,44 +13883,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/multistream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/multistream/-/multistream-4.1.0.tgz", - "integrity": "sha512-J1XDiAmmNpRCBfIWJv+n0ymC4ABcf/Pl+5YvC5B/D2f/2+8PtHvCNxMPKiQcZyi922Hq69J2YOpb1pTywfifyw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "once": "^1.4.0", - "readable-stream": "^3.6.0" - } - }, - "node_modules/multistream/node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/mute-stream": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.6.tgz", @@ -15468,15 +14712,6 @@ "node": ">=4" } }, - "node_modules/p-is-promise": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-3.0.0.tgz", - "integrity": "sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -16200,9 +15435,9 @@ } }, "node_modules/prebuild-install": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz", - "integrity": "sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.2.tgz", + "integrity": "sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==", "dependencies": { "detect-libc": "^2.0.0", "expand-template": "^2.0.3", @@ -16291,29 +15526,11 @@ "node": ">=0.8" } }, - "node_modules/process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", - "dev": true, - "engines": { - "node": ">= 0.6.0" - } - }, "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" }, - "node_modules/progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "dev": true, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/progress-bar-formatter": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/progress-bar-formatter/-/progress-bar-formatter-2.0.1.tgz", @@ -16351,18 +15568,6 @@ "node": ">= 8" } }, - "node_modules/proper-lockfile": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-1.2.0.tgz", - "integrity": "sha1-zv9d2J0+XxD7deHo52vHWAGlnDQ=", - "dev": true, - "dependencies": { - "err-code": "^1.0.0", - "extend": "^3.0.0", - "graceful-fs": "^4.1.2", - "retry": "^0.10.0" - } - }, "node_modules/proto-list": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", @@ -16602,36 +15807,6 @@ "node": ">= 6" } }, - "node_modules/readdir-glob": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/readdir-glob/-/readdir-glob-1.1.3.tgz", - "integrity": "sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==", - "dev": true, - "dependencies": { - "minimatch": "^5.1.0" - } - }, - "node_modules/readdir-glob/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/readdir-glob/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", @@ -17170,15 +16345,6 @@ "node": ">=0.10.0" } }, - "node_modules/retry": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.10.1.tgz", - "integrity": "sha512-ZXUSQYTHdl3uS7IuCehYfMzKyIDBNoAuUblvy5oGO5UJSUTmStUUVPXbA9Qxd173Bgre53yCQczQuHgRWAdvJQ==", - "dev": true, - "engines": { - "node": "*" - } - }, "node_modules/reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", @@ -18074,15 +17240,6 @@ "through": "~2.3.4" } }, - "node_modules/stream-meter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/stream-meter/-/stream-meter-1.0.4.tgz", - "integrity": "sha512-4sOEtrbgFotXwnEuzzsQBYEV1elAeFSO8rSGeTwabuX1RRn/kEq9JVH7I0MRBhKVRR0sJkr0M0QCH7yOLf9fhQ==", - "dev": true, - "dependencies": { - "readable-stream": "^2.1.4" - } - }, "node_modules/stream-shift": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", @@ -18776,15 +17933,6 @@ "resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz", "integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg==" }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/to-readable-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", @@ -19187,15 +18335,6 @@ "node": ">=8" } }, - "node_modules/unit-compare": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unit-compare/-/unit-compare-1.0.1.tgz", - "integrity": "sha1-DHRZ8OW/U2N+qHPKPO4Y3i7so4Y=", - "dev": true, - "dependencies": { - "moment": "^2.14.1" - } - }, "node_modules/universalify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", @@ -20011,89 +19150,6 @@ "engines": { "node": ">=16" } - }, - "node_modules/zip-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-6.0.1.tgz", - "integrity": "sha512-zK7YHHz4ZXpW89AHXUPbQVGKI7uvkd3hzusTdotCg1UxyaVtg0zFJSTfW/Dq5f7OBBVnq6cZIaC8Ti4hb6dtCA==", - "dev": true, - "dependencies": { - "archiver-utils": "^5.0.0", - "compress-commons": "^6.0.2", - "readable-stream": "^4.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/zip-stream/node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/zip-stream/node_modules/readable-stream": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.6.0.tgz", - "integrity": "sha512-cbAdYt0VcnpN2Bekq7PU+k363ZRsPwJoEEJOEtSJQlJXzwaxt3FIo/uL+KeDSGIjJqtkwyge4KQgD2S2kd+CQw==", - "dev": true, - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10", - "string_decoder": "^1.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/zip-stream/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/zip-stream/node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.2.0" - } } } } diff --git a/package.json b/package.json index 78c441e677..8908534e01 100644 --- a/package.json +++ b/package.json @@ -24,26 +24,6 @@ "bin": { "balena": "./bin/run.js" }, - "pkg": { - "scripts": [ - "build/**/*.js", - "node_modules/balena-sdk/es2018/index.js", - "node_modules/pinejs-client-request/node_modules/pinejs-client-core/es2018/index.js", - "node_modules/@balena/compose/dist/parse/schemas/*.json" - ], - "assets": [ - "build/auth/pages/*.ejs", - "node_modules/balena-sdk/node_modules/balena-pine/**/*", - "node_modules/balena-pine/**/*", - "node_modules/pinejs-client-core/**/*", - "node_modules/open/xdg-open", - "node_modules/windosu/*.bat", - "node_modules/windosu/*.cmd", - "node_modules/axios/**/*", - "npm-shrinkwrap.json", - "oclif.manifest.json" - ] - }, "scripts": { "postinstall": "node patches/apply-patches.js", "prebuild": "rimraf build/ build-bin/", @@ -113,14 +93,12 @@ "devDependencies": { "@balena/lint": "^9.1.3", "@electron/notarize": "^2.0.0", - "@types/archiver": "^6.0.2", "@types/bluebird": "^3.5.36", "@types/body-parser": "^1.19.2", "@types/chai": "^4.3.0", "@types/chai-as-promised": "^7.1.4", "@types/cli-truncate": "^2.0.0", "@types/common-tags": "^1.8.1", - "@types/diff": "^5.0.3", "@types/dockerode": "3.3.23", "@types/ejs": "^3.1.0", "@types/express": "^4.17.13", @@ -159,16 +137,12 @@ "@types/update-notifier": "^4.1.1", "@types/which": "^2.0.1", "@types/window-size": "^1.1.1", - "@yao-pkg/pkg": "^5.11.1", - "archiver": "^7.0.1", "catch-uncommitted": "^2.0.0", "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "cross-env": "^7.0.3", "deep-object-diff": "^1.1.0", - "diff": "^5.0.0", "ent": "^2.2.0", - "filehound": "^1.17.5", "fs-extra": "^11.2.0", "http-proxy": "^1.18.1", "husky": "^9.1.5", diff --git a/patches/all/open+7.4.2.patch b/patches/all/open+7.4.2.patch deleted file mode 100644 index 02ce03fc6a..0000000000 --- a/patches/all/open+7.4.2.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/node_modules/open/index.js b/node_modules/open/index.js -index 13147d0..ff161dd 100644 ---- a/node_modules/open/index.js -+++ b/node_modules/open/index.js -@@ -10,7 +10,10 @@ const pAccess = promisify(fs.access); - const pReadFile = promisify(fs.readFile); - - // Path to included `xdg-open`. --const localXdgOpenPath = path.join(__dirname, 'xdg-open'); -+const localXdgOpenPath = process.pkg -+ ? path.join(path.dirname(process.execPath), 'xdg-open') -+ : path.join(__dirname, 'xdg-open'); -+ - - /** - Get the mount point for fixed drives in WSL. diff --git a/patches/unix/node-gyp-build+4.6.0.patch b/patches/unix/node-gyp-build+4.6.0.patch deleted file mode 100644 index 4bdcd97492..0000000000 --- a/patches/unix/node-gyp-build+4.6.0.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/node_modules/node-gyp-build/node-gyp-build.js b/node_modules/node-gyp-build/node-gyp-build.js -index 61b398e..3cc3be8 100644 ---- a/node_modules/node-gyp-build/node-gyp-build.js -+++ b/node_modules/node-gyp-build/node-gyp-build.js -@@ -30,6 +30,9 @@ load.resolve = load.path = function (dir) { - if (process.env[name + '_PREBUILD']) dir = process.env[name + '_PREBUILD'] - } catch (err) {} - -+ // pkg fix: native node modules are located externally to the pkg executable -+ dir = dir.replace(/^\/snapshot\/.+?\/node_modules\//, path.dirname(process.execPath) + path.sep) -+ - if (!prebuildsOnly) { - var release = getFirst(path.join(dir, 'build/Release'), matchBuild) - if (release) return release diff --git a/patches/win32/windosu+0.3.0.patch b/patches/win32/windosu+0.3.0.patch deleted file mode 100644 index d55d5ab797..0000000000 --- a/patches/win32/windosu+0.3.0.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git a/node_modules/windosu/lib/pipe.js b/node_modules/windosu/lib/pipe.js -index dc81fa5..a381cc7 100644 ---- a/node_modules/windosu/lib/pipe.js -+++ b/node_modules/windosu/lib/pipe.js -@@ -42,7 +42,8 @@ function pipe(path, options) { - return d.promise; - } - module.exports = pipe; --if (module === require.main) { -+ -+function main() { - if (!process.argv[4]) { - console.error('Incorrect arguments!'); - process.exit(-1); -@@ -52,3 +53,8 @@ if (module === require.main) { - serve: process.argv[3] == 'server' - }); - } -+module.exports.main = main; -+ -+if (module === require.main) { -+ main(); -+} -diff --git a/node_modules/windosu/lib/windosu.js b/node_modules/windosu/lib/windosu.js -index 6502812..dd0391a 100644 ---- a/node_modules/windosu/lib/windosu.js -+++ b/node_modules/windosu/lib/windosu.js -@@ -16,7 +16,9 @@ module.exports.exec = function (command, options, callback) { - temp: temp, - command: command, - cliWidth: cliWidth(), -- pipe: '"' + process.execPath + '" "' + path.join(__dirname, 'pipe.js') + '"', -+ pipe: process.pkg -+ ? '"' + process.execPath + '" pkgExec "' + path.join(__dirname, 'pipe.js') + '::main"' -+ : '"' + process.execPath + '" "' + path.join(__dirname, 'pipe.js') + '"', - input: inputName = id + '-in', - output: outputName = id + '-out', - stderr_redir: process.stdout.isTTY ? '2>&1' : '2> %ERROR%' diff --git a/src/app.ts b/src/app.ts index 13b3e5b5a4..f2ec228223 100644 --- a/src/app.ts +++ b/src/app.ts @@ -159,18 +159,12 @@ async function oclifRun(command: string[], options: AppOptions) { /** CLI entrypoint. Called by the `bin/run.js` and `bin/dev.js` scripts. */ export async function run(cliArgs = process.argv, options: AppOptions) { try { - const { setOfflineModeEnvVars, normalizeEnvVars, pkgExec } = await import( + const { setOfflineModeEnvVars, normalizeEnvVars } = await import( './utils/bootstrap' ); setOfflineModeEnvVars(); normalizeEnvVars(); - // The 'pkgExec' special/internal command provides a Node.js interpreter - // for use of the standalone zip package. See pkgExec function. - if (cliArgs.length > 3 && cliArgs[2] === 'pkgExec') { - return pkgExec(cliArgs[3], cliArgs.slice(4)); - } - await init(); // Look for commands that have been removed and if so, exit with a notice diff --git a/src/utils/bootstrap.ts b/src/utils/bootstrap.ts index 679e66f30e..f4a3213685 100644 --- a/src/utils/bootstrap.ts +++ b/src/utils/bootstrap.ts @@ -83,43 +83,6 @@ export function setOfflineModeEnvVars() { } } -/** - * Implements the 'pkgExec' command, used as a way to provide a Node.js - * interpreter for child_process.spawn()-like operations when the CLI is - * executing as a standalone zip package (built-in Node interpreter) and - * the system may not have a separate Node.js installation. A present use - * case is a patched version of the 'windosu' package that requires a - * Node.js interpreter to spawn a privileged child process. - * - * @param modFunc Path to a JS module that will be executed via require(). - * The modFunc argument may optionally contain a function name separated - * by '::', for example '::main' in: - * 'C:\\snapshot\\balena-cli\\node_modules\\windosu\\lib\\pipe.js::main' - * in which case that function is executed in the require'd module. - * @param args Optional arguments to passed through process.argv and as - * arguments to the function specified via modFunc. - */ -export async function pkgExec(modFunc: string, args: string[]) { - const [modPath, funcName] = modFunc.split('::'); - let replacedModPath = modPath; - const match = modPath - .replace(/\\/g, '/') - .match(/\/snapshot\/balena-cli\/(.+)/); - if (match) { - replacedModPath = `../${match[1]}`; - } - process.argv = [process.argv[0], process.argv[1], ...args]; - try { - const mod: any = await import(replacedModPath); - if (funcName) { - await mod[funcName](...args); - } - } catch (err) { - console.error(`Error executing pkgExec "${modFunc}" [${args.join()}]`); - console.error(err); - } -} - export interface CachedUsername { token: string; username: string; diff --git a/tests/helpers.ts b/tests/helpers.ts index bbce468118..39a69f8fe0 100644 --- a/tests/helpers.ts +++ b/tests/helpers.ts @@ -17,13 +17,21 @@ import * as _ from 'lodash'; import * as path from 'path'; +import * as fs from 'fs'; +import { createGunzip } from 'zlib'; import * as packageJSON from '../package.json'; import { getNodeEngineVersionWarn } from '../build/utils/messages'; import { warnify } from '../build/utils/messages'; -const balenaExe = process.platform === 'win32' ? 'balena.exe' : 'balena'; -const standalonePath = path.resolve(__dirname, '..', 'build-bin', balenaExe); +const standalonePath = path.resolve( + __dirname, + '..', + 'dist', + 'balena', + 'bin', + 'balena', +); export interface TestOutput { err: string[]; // stderr @@ -164,11 +172,21 @@ async function runCommandInSubprocess( // override default proxy exclusion to allow proxying of requests to 127.0.0.1 BALENARC_DO_PROXY: '127.0.0.1,localhost', }; - const { execFile } = await import('child_process'); + const { exec } = await import('child_process'); + + // check if standalonePath exists and print its content + if (!fs.existsSync(standalonePath)) { + console.error('standalonePath does not exist'); + } else { + console.error('file exists!'); + } + await new Promise((resolve) => { - const child = execFile( - standalonePath, - cmd.split(' ').filter((c) => c), + const child = exec( + `${standalonePath} ${cmd + .split(' ') + .filter((c) => c) + .join(' ')}`, { env: { ...process.env, ...addedEnvs } }, ($error, $stdout, $stderr) => { stderr = $stderr || ''; @@ -213,6 +231,67 @@ ${$error}`; }; } +async function extractTarStream() { + if ( + fs.existsSync(path.join(__dirname, '..', 'dist', 'balena', 'bin', 'balena')) + ) { + return; + } + + const tar = await import('tar-stream'); + + const version = 'v' + packageJSON.version; + const arch = process.arch; + const platform = + process.platform === 'win32' + ? 'windows' + : process.platform === 'darwin' + ? 'macOS' + : process.platform; + + const sourceFile = path.join( + __dirname, + '..', + 'dist', + `balena-cli-${version}-${platform}-${arch}-standalone.tar.gz`, + ); + const destinationDir = path.join(__dirname, '..', 'dist'); + + const extract = tar.extract(); + + return new Promise((resolve, reject) => { + extract.on('entry', (header, stream, next) => { + const outputPath = path.join(destinationDir, header.name); + + if (header.type === 'directory') { + fs.mkdirSync(outputPath, { recursive: true }); + next(); + } else { + fs.mkdirSync(path.dirname(outputPath), { recursive: true }); + const fileStream = fs.createWriteStream(outputPath); + + stream.pipe(fileStream); + + fileStream.on('close', () => { + if (header.mode) { + fs.chmodSync(outputPath, header.mode); // Set file permissions + } + next(); + }); + fileStream.on('error', reject); + } + }); + + extract.on('finish', resolve); + extract.on('error', reject); + + fs.createReadStream(sourceFile) + .pipe(createGunzip()) + .pipe(extract) + .on('error', reject); + }); +} + /** * Run a CLI command and capture its stdout, stderr and exit code for testing. * If the BALENA_CLI_TEST_TYPE env var is set to 'standalone', then the command @@ -223,6 +302,7 @@ ${$error}`; */ export async function runCommand(cmd: string): Promise { if (process.env.BALENA_CLI_TEST_TYPE === 'standalone') { + await extractTarStream(); const semver = await import('semver'); if (semver.lt(process.version, '10.16.0')) { throw new Error( diff --git a/tests/test-data/pkg/expected-warnings-darwin-arm64.txt b/tests/test-data/pkg/expected-warnings-darwin-arm64.txt deleted file mode 100644 index 45651ed9d7..0000000000 --- a/tests/test-data/pkg/expected-warnings-darwin-arm64.txt +++ /dev/null @@ -1,382 +0,0 @@ -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/app.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/app.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/help.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/common-args.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/common-flags.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/compose_ts.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/docker.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/env-common.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/helpers.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/lazy.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/api-key/generate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/api-key/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/api-key/revoke.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/app/create.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/block/create.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/generate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/inject.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/read.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/reconfigure.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/write.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/deploy/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/deactivate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/detect.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/identify.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/init.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/local-mode.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/logs.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/move.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/note.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/os-update.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/pin.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/public-url.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/purge.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/reboot.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/register.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/restart.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/shutdown.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/ssh.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/start-service.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/stop-service.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/track-fleet.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/tunnel.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device-type/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/set.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/create.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/pin.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/purge.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/restart.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/track-latest.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/internal/osinit.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/join/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/leave/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/local/configure.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/local/flash.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/login/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/logout/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/organization/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/build-config.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/configure.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/download.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/initialize.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/versions.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/preload/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/push/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/finalize.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/invalidate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/validate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/settings/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/add.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/support/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/tag/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/tag/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/tag/set.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/util/available-drives.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/version/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/whoami/index.js -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/open/xdg-open - %2: path-to-executable/xdg-open -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/open/xdg-open - %2: path-to-executable/xdg-open -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot resolve 'path' - node_modules/@balena/compose/dist/parse/schemas/index.js - Dynamic require may fail at run time, because the requested file - is unknown at compilation time and not included into executable. - Use a string literal as an argument for 'require', or leave it - as is and specify the resolved file name in 'scripts' option. -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/axios.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/utils.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/adapters/adapters.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/adapters/http.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/adapters/xhr.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/cancel/CancelToken.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/cancel/CanceledError.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/cancel/isCancel.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/Axios.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/AxiosError.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/AxiosHeaders.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/InterceptorManager.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/buildFullPath.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/dispatchRequest.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/mergeConfig.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/settle.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/transformData.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/defaults/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/defaults/transitional.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/env/data.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/AxiosTransformStream.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/AxiosURLSearchParams.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/HttpStatusCode.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/bind.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/buildURL.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/callbackify.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/combineURLs.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/cookies.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/formDataToJSON.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/formDataToStream.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/fromDataURI.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/isAbsoluteURL.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/isAxiosError.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/isURLSameOrigin.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/parseHeaders.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/parseProtocol.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/readBlob.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/speedometer.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/spread.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/throttle.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/toFormData.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/toURLEncodedForm.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/validator.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/common/utils.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/node/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/node/classes/FormData.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/node/classes/URLSearchParams.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/form-data-encoder/lib/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/formdata-node/lib/form-data.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/string-width/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js \ No newline at end of file diff --git a/tests/test-data/pkg/expected-warnings-darwin-x64.txt b/tests/test-data/pkg/expected-warnings-darwin-x64.txt deleted file mode 100644 index 0af993116d..0000000000 --- a/tests/test-data/pkg/expected-warnings-darwin-x64.txt +++ /dev/null @@ -1,382 +0,0 @@ -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/app.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/app.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/help.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/common-args.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/common-flags.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/compose_ts.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/docker.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/env-common.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/helpers.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/lazy.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/api-key/generate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/api-key/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/api-key/revoke.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/app/create.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/block/create.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/generate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/inject.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/read.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/reconfigure.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/write.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/deploy/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/deactivate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/detect.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/identify.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/init.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/local-mode.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/logs.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/move.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/note.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/os-update.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/pin.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/public-url.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/purge.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/reboot.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/register.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/restart.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/shutdown.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/ssh.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/start-service.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/stop-service.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/track-fleet.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/tunnel.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device-type/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/set.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/create.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/pin.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/purge.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/restart.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/track-latest.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/internal/osinit.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/join/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/leave/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/local/configure.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/local/flash.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/login/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/logout/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/organization/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/build-config.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/configure.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/download.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/initialize.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/versions.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/preload/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/push/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/finalize.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/invalidate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/validate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/settings/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/add.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/support/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/tag/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/tag/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/tag/set.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/util/available-drives.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/version/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/whoami/index.js -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/open/xdg-open - %2: path-to-executable/xdg-open -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/open/xdg-open - %2: path-to-executable/xdg-open -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot resolve 'path' - node_modules/@balena/compose/dist/parse/schemas/index.js - Dynamic require may fail at run time, because the requested file - is unknown at compilation time and not included into executable. - Use a string literal as an argument for 'require', or leave it - as is and specify the resolved file name in 'scripts' option. -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/axios.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/utils.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/adapters/adapters.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/adapters/http.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/adapters/xhr.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/cancel/CancelToken.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/cancel/CanceledError.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/cancel/isCancel.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/Axios.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/AxiosError.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/AxiosHeaders.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/InterceptorManager.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/buildFullPath.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/dispatchRequest.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/mergeConfig.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/settle.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/transformData.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/defaults/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/defaults/transitional.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/env/data.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/AxiosTransformStream.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/AxiosURLSearchParams.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/HttpStatusCode.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/bind.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/buildURL.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/callbackify.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/combineURLs.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/cookies.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/formDataToJSON.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/formDataToStream.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/fromDataURI.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/isAbsoluteURL.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/isAxiosError.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/isURLSameOrigin.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/parseHeaders.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/parseProtocol.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/readBlob.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/speedometer.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/spread.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/throttle.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/toFormData.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/toURLEncodedForm.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/validator.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/common/utils.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/node/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/node/classes/FormData.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/node/classes/URLSearchParams.js -> Warning Failed to make bytecode node20-x64 for file node_modules/form-data-encoder/lib/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/formdata-node/lib/form-data.js -> Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/string-width/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js \ No newline at end of file diff --git a/tests/test-data/pkg/expected-warnings-linux-arm64.txt b/tests/test-data/pkg/expected-warnings-linux-arm64.txt deleted file mode 100644 index 45651ed9d7..0000000000 --- a/tests/test-data/pkg/expected-warnings-linux-arm64.txt +++ /dev/null @@ -1,382 +0,0 @@ -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/app.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/app.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/help.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/common-args.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/common-flags.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/compose_ts.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/docker.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/env-common.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/helpers.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/lazy.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/api-key/generate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/api-key/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/api-key/revoke.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/app/create.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/block/create.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/generate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/inject.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/read.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/reconfigure.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/write.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/deploy/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/deactivate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/detect.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/identify.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/init.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/local-mode.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/logs.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/move.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/note.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/os-update.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/pin.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/public-url.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/purge.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/reboot.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/register.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/restart.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/shutdown.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/ssh.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/start-service.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/stop-service.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/track-fleet.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/tunnel.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device-type/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/set.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/create.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/pin.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/purge.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/restart.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/track-latest.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/internal/osinit.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/join/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/leave/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/local/configure.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/local/flash.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/login/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/logout/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/organization/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/build-config.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/configure.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/download.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/initialize.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/versions.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/preload/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/push/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/finalize.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/invalidate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/validate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/settings/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/add.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/support/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/tag/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/tag/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/tag/set.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/util/available-drives.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/version/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/whoami/index.js -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/open/xdg-open - %2: path-to-executable/xdg-open -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/open/xdg-open - %2: path-to-executable/xdg-open -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot resolve 'path' - node_modules/@balena/compose/dist/parse/schemas/index.js - Dynamic require may fail at run time, because the requested file - is unknown at compilation time and not included into executable. - Use a string literal as an argument for 'require', or leave it - as is and specify the resolved file name in 'scripts' option. -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/axios.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/utils.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/adapters/adapters.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/adapters/http.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/adapters/xhr.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/cancel/CancelToken.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/cancel/CanceledError.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/cancel/isCancel.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/Axios.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/AxiosError.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/AxiosHeaders.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/InterceptorManager.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/buildFullPath.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/dispatchRequest.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/mergeConfig.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/settle.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/core/transformData.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/defaults/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/defaults/transitional.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/env/data.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/AxiosTransformStream.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/AxiosURLSearchParams.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/HttpStatusCode.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/bind.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/buildURL.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/callbackify.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/combineURLs.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/cookies.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/formDataToJSON.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/formDataToStream.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/fromDataURI.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/isAbsoluteURL.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/isAxiosError.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/isURLSameOrigin.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/parseHeaders.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/parseProtocol.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/readBlob.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/speedometer.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/spread.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/throttle.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/toFormData.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/toURLEncodedForm.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/helpers/validator.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/common/utils.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/node/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/node/classes/FormData.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/node/classes/URLSearchParams.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/form-data-encoder/lib/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/formdata-node/lib/form-data.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/string-width/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js \ No newline at end of file diff --git a/tests/test-data/pkg/expected-warnings-linux-x64.txt b/tests/test-data/pkg/expected-warnings-linux-x64.txt deleted file mode 100644 index 0af993116d..0000000000 --- a/tests/test-data/pkg/expected-warnings-linux-x64.txt +++ /dev/null @@ -1,382 +0,0 @@ -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/app.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/app.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/help.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/common-args.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/common-flags.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/compose_ts.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/docker.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/env-common.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/helpers.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/utils/lazy.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/api-key/generate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/api-key/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/api-key/revoke.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/app/create.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/block/create.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/generate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/inject.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/read.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/reconfigure.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/config/write.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/deploy/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/deactivate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/detect.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/identify.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/init.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/local-mode.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/logs.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/move.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/note.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/os-update.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/pin.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/public-url.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/purge.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/reboot.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/register.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/restart.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/shutdown.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/ssh.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/start-service.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/stop-service.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/track-fleet.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device/tunnel.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/device-type/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/env/set.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/create.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/pin.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/purge.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/restart.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/fleet/track-latest.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/internal/osinit.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/join/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/leave/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/local/configure.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/local/flash.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/login/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/logout/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/organization/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/build-config.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/configure.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/download.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/initialize.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/os/versions.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/preload/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/push/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/finalize.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/invalidate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/release/validate.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/settings/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/add.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/ssh-key/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/support/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/tag/list.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/tag/rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/tag/set.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/util/available-drives.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/version/index.js -> Warning Entry 'main' not found in %1 - %1: node_modules/@oclif/core/package.json - %2: build/commands/whoami/index.js -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/open/xdg-open - %2: path-to-executable/xdg-open -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/open/xdg-open - %2: path-to-executable/xdg-open -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot resolve 'path' - node_modules/@balena/compose/dist/parse/schemas/index.js - Dynamic require may fail at run time, because the requested file - is unknown at compilation time and not included into executable. - Use a string literal as an argument for 'require', or leave it - as is and specify the resolved file name in 'scripts' option. -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/axios.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/utils.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/adapters/adapters.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/adapters/http.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/adapters/xhr.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/cancel/CancelToken.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/cancel/CanceledError.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/cancel/isCancel.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/Axios.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/AxiosError.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/AxiosHeaders.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/InterceptorManager.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/buildFullPath.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/dispatchRequest.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/mergeConfig.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/settle.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/core/transformData.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/defaults/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/defaults/transitional.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/env/data.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/AxiosTransformStream.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/AxiosURLSearchParams.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/HttpStatusCode.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/bind.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/buildURL.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/callbackify.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/combineURLs.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/cookies.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/formDataToJSON.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/formDataToStream.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/fromDataURI.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/isAbsoluteURL.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/isAxiosError.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/isURLSameOrigin.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/parseHeaders.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/parseProtocol.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/readBlob.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/speedometer.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/spread.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/throttle.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/toFormData.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/toURLEncodedForm.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/helpers/validator.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/common/utils.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/node/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/node/classes/FormData.js -> Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/node/classes/URLSearchParams.js -> Warning Failed to make bytecode node20-x64 for file node_modules/form-data-encoder/lib/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/formdata-node/lib/form-data.js -> Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/string-width/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js \ No newline at end of file diff --git a/tests/test-data/pkg/expected-warnings-win32-x64.txt b/tests/test-data/pkg/expected-warnings-win32-x64.txt deleted file mode 100644 index 787007e19d..0000000000 --- a/tests/test-data/pkg/expected-warnings-win32-x64.txt +++ /dev/null @@ -1,382 +0,0 @@ -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\app.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\app.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\help.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\utils\common-args.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\utils\common-flags.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\utils\compose_ts.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\utils\docker.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\utils\env-common.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\utils\helpers.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\utils\lazy.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\api-key\generate.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\api-key\list.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\api-key\revoke.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\app\create.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\block\create.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\config\generate.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\config\inject.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\config\read.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\config\reconfigure.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\config\write.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\deploy\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\deactivate.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\detect.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\identify.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\init.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\list.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\local-mode.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\logs.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\move.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\note.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\os-update.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\pin.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\public-url.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\purge.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\reboot.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\register.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\restart.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\shutdown.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\ssh.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\start-service.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\stop-service.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\track-fleet.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device\tunnel.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\device-type\list.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\env\list.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\env\rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\env\rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\env\set.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\fleet\create.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\fleet\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\fleet\list.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\fleet\pin.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\fleet\purge.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\fleet\rename.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\fleet\restart.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\fleet\rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\fleet\track-latest.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\internal\osinit.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\join\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\leave\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\local\configure.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\local\flash.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\login\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\logout\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\organization\list.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\os\build-config.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\os\configure.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\os\download.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\os\initialize.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\os\versions.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\preload\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\push\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\release\finalize.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\release\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\release\invalidate.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\release\list.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\release\validate.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\settings\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\ssh-key\add.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\ssh-key\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\ssh-key\list.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\ssh-key\rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\support\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\tag\list.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\tag\rm.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\tag\set.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\util\available-drives.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\version\index.js -> Warning Entry 'main' not found in %1 - %1: node_modules\@oclif\core\package.json - %2: build\commands\whoami\index.js -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\open\xdg-open - %2: path-to-executable/xdg-open -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\open\xdg-open - %2: path-to-executable/xdg-open -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\build\Release\drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\scripts\darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\scripts\linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\scripts\win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\build\Release\drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\scripts\darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\scripts\linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\scripts\win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot resolve 'path' - node_modules\@balena\compose\dist\parse\schemas\index.js - Dynamic require may fail at run time, because the requested file - is unknown at compilation time and not included into executable. - Use a string literal as an argument for 'require', or leave it - as is and specify the resolved file name in 'scripts' option. -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\index.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\axios.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\utils.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\adapters\adapters.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\adapters\http.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\adapters\xhr.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\cancel\CanceledError.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\cancel\CancelToken.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\cancel\isCancel.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\core\Axios.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\core\AxiosError.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\core\AxiosHeaders.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\core\buildFullPath.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\core\dispatchRequest.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\core\InterceptorManager.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\core\mergeConfig.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\core\settle.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\core\transformData.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\defaults\index.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\defaults\transitional.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\env\data.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\AxiosTransformStream.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\AxiosURLSearchParams.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\bind.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\buildURL.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\callbackify.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\combineURLs.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\cookies.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\formDataToJSON.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\formDataToStream.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\fromDataURI.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\HttpStatusCode.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\isAbsoluteURL.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\isAxiosError.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\isURLSameOrigin.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\parseHeaders.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\parseProtocol.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\readBlob.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\speedometer.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\spread.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\throttle.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\toFormData.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\toURLEncodedForm.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\validator.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\helpers\ZlibHeaderTransformStream.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\platform\index.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\platform\common\utils.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\platform\node\index.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\platform\node\classes\FormData.js -> Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\platform\node\classes\URLSearchParams.js -> Warning Failed to make bytecode node20-x64 for file node_modules\form-data-encoder\lib\index.js -> Warning Failed to make bytecode node20-x64 for file node_modules\formdata-node\lib\form-data.js -> Warning Failed to make bytecode node20-x64 for file node_modules\@isaacs\cliui\node_modules\string-width\index.js -> Warning Failed to make bytecode node20-x64 for file node_modules\@isaacs\cliui\node_modules\strip-ansi\index.js -> Warning Failed to make bytecode node20-x64 for file node_modules\@isaacs\cliui\node_modules\wrap-ansi\index.js -> Warning Failed to make bytecode node20-x64 for file node_modules\@isaacs\cliui\node_modules\ansi-regex\index.js -> Warning Failed to make bytecode node20-x64 for file node_modules\@isaacs\cliui\node_modules\ansi-styles\index.js