From 2253cba0a55b9d07f15f230b17d65e2d8ac65495 Mon Sep 17 00:00:00 2001 From: Daniel Boll Date: Sun, 6 Oct 2024 17:00:48 -0300 Subject: [PATCH 1/2] feat(ci): adding build of musl target to the project Signed-off-by: Daniel Boll --- .github/workflows/CI.yml | 85 +- Cargo.toml | 5 +- index.d.ts | 277 ++++--- index.js | 639 ++++++++------- npm/darwin-arm64/package.json | 15 +- npm/darwin-universal/package.json | 15 +- npm/darwin-x64/package.json | 15 +- npm/linux-x64-gnu/package.json | 13 +- npm/linux-x64-musl/README.md | 3 + npm/linux-x64-musl/package.json | 28 + npm/win32-x64-msvc/package.json | 5 + package.json | 17 +- yarn.lock | 1245 +++++++++++++++++++++++++++-- 13 files changed, 1815 insertions(+), 547 deletions(-) create mode 100644 npm/linux-x64-musl/README.md create mode 100644 npm/linux-x64-musl/package.json diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5f984dd..304e666 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -3,6 +3,7 @@ env: DEBUG: napi:* APP_NAME: scylladb # MACOSX_DEPLOYMENT_TARGET: "10.13" + CARGO_INCREMENTAL: "1" permissions: contents: write id-token: write @@ -45,39 +46,59 @@ jobs: fail-fast: false matrix: settings: - # NOTE: https://github.com/Daniel-Boll/scylla-javascript-driver/actions/runs/11087794843/job/30806888759 something went wrong, gotta fix that later - # - host: macos-latest # target: x86_64-apple-darwin - # build: | - # yarn build --target x86_64-apple-darwin - # strip -x *.node - # - host: macos-latest - # target: aarch64-apple-darwin - # build: | - # yarn build --target aarch64-apple-darwin - # strip -x *.node + # build: pnpm build --target x86_64-apple-darwin # - host: windows-latest - # build: yarn build + # build: pnpm build --target x86_64-pc-windows-msvc # target: x86_64-pc-windows-msvc + # - host: windows-latest + # build: pnpm build --target i686-pc-windows-msvc + # target: i686-pc-windows-msvc - host: ubuntu-latest target: x86_64-unknown-linux-gnu - docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian - build: |- - set -e && - yarn build --target x86_64-unknown-linux-gnu && - strip *.node - name: stable - ${{ matrix.settings.target }} - node@18 + build: pnpm build --target x86_64-unknown-linux-gnu --use-napi-cross + - host: ubuntu-latest + target: x86_64-unknown-linux-musl + build: pnpm build --target x86_64-unknown-linux-musl -x + + # NOTE: https://github.com/Daniel-Boll/scylla-javascript-driver/actions/runs/11087794843/job/30806888759 something went wrong, gotta fix that later + # - host: macos-latest + # target: aarch64-apple-darwin + # build: pnpm build --target aarch64-apple-darwin + + # - host: ubuntu-latest + # target: aarch64-unknown-linux-gnu + # build: pnpm build --target aarch64-unknown-linux-gnu --use-napi-cross + # - host: ubuntu-latest + # target: armv7-unknown-linux-gnueabihf + # build: pnpm build --target armv7-unknown-linux-gnueabihf --use-napi-cross + # - host: ubuntu-latest + # target: aarch64-linux-android + # build: pnpm build --target aarch64-linux-android + # - host: ubuntu-latest + # target: armv7-linux-androideabi + # build: pnpm build --target armv7-linux-androideabi + # - host: ubuntu-latest + # target: aarch64-unknown-linux-musl + # build: pnpm build --target aarch64-unknown-linux-musl -x + # - host: windows-latest + # target: aarch64-pc-windows-msvc + # build: pnpm build --target aarch64-pc-windows-msvc + # - host: ubuntu-latest + # target: wasm32-wasip1-threads + # build: pnpm build --target wasm32-wasip1-threads + name: stable - ${{ matrix.settings.target }} - node@20 runs-on: ${{ matrix.settings.host }} outputs: OPENSSL_DIR: ${{ steps.install_openssl.outputs.OPENSSL_DIR }} OPENSSL_STATIC: ${{ steps.install_openssl.outputs.OPENSSL_STATIC }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 if: ${{ !matrix.settings.docker }} with: - node-version: 18 + node-version: 20 check-latest: true cache: yarn - name: Install @@ -87,19 +108,27 @@ jobs: toolchain: stable targets: ${{ matrix.settings.target }} - name: Cache cargo - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ + ~/.napi-rs .cargo-cache target/ key: ${{ matrix.settings.target }}-cargo-${{ matrix.settings.host }} - uses: goto-bus-stop/setup-zig@v2 - if: ${{ matrix.settings.target == 'armv7-unknown-linux-gnueabihf' }} + if: ${{ contains(matrix.settings.target, 'musl') }} with: - version: 0.10.1 + version: 0.13.0 + - name: Install cargo-zigbuild + uses: taiki-e/install-action@v2 + if: ${{ contains(matrix.settings.target, 'musl') }} + env: + GITHUB_TOKEN: ${{ github.token }} + with: + tool: cargo-zigbuild - name: Setup toolchain run: ${{ matrix.settings.setup }} if: ${{ matrix.settings.setup }} @@ -111,10 +140,10 @@ jobs: - name: Install dependencies run: yarn install - name: Setup node x86 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 if: matrix.settings.target == 'i686-pc-windows-msvc' with: - node-version: 18 + node-version: 20 check-latest: true cache: yarn architecture: x86 @@ -254,9 +283,9 @@ jobs: # - test-linux-x64-gnu-binding - build steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 check-latest: true @@ -264,7 +293,7 @@ jobs: - name: Install dependencies run: yarn install - name: Download all artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: artifacts - name: Move artifacts diff --git a/Cargo.toml b/Cargo.toml index 9d1ef98..593bec7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,10 +25,11 @@ scylla = { version = "0.13.1", features = [ uuid = { version = "1.4.1", features = ["serde", "v4", "fast-rng"] } serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } -openssl = { version = "0.10", features = ["vendored"] } +openssl = { version = "0.10.66", features = ["vendored"] } [build-dependencies] napi-build = "2.0.1" [profile.release] -lto = true \ No newline at end of file +lto = true + diff --git a/index.d.ts b/index.d.ts index d96ad44..6f3c25b 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,112 +1,5 @@ -/* tslint:disable */ -/* eslint-disable */ - /* auto-generated by NAPI-RS */ - -export const enum Compression { - None = 0, - Lz4 = 1, - Snappy = 2 -} -export interface ClusterConfig { - nodes: Array - compression?: Compression - defaultExecutionProfile?: ExecutionProfile - keyspace?: string - auth?: Auth - ssl?: Ssl - /** The driver automatically awaits schema agreement after a schema-altering query is executed. Waiting for schema agreement more than necessary is never a bug, but might slow down applications which do a lot of schema changes (e.g. a migration). For instance, in case where somebody wishes to create a keyspace and then a lot of tables in it, it makes sense only to wait after creating a keyspace and after creating all the tables rather than after every query. */ - autoAwaitSchemaAgreement?: boolean - /** If the schema is not agreed upon, the driver sleeps for a duration in seconds before checking it again. The default value is 0.2 (200 milliseconds) */ - schemaAgreementInterval?: number -} -export const enum Consistency { - Any = 0, - One = 1, - Two = 2, - Three = 3, - Quorum = 4, - All = 5, - LocalQuorum = 6, - EachQuorum = 7, - LocalOne = 10, - Serial = 8, - LocalSerial = 9 -} -export const enum SerialConsistency { - Serial = 8, - LocalSerial = 9 -} -export interface ExecutionProfile { - consistency?: Consistency - serialConsistency?: SerialConsistency - requestTimeout?: number -} -export interface ConnectionOptions { - keyspace?: string - auth?: Auth - ssl?: Ssl -} -export interface Auth { - username: string - password: string -} -export interface Ssl { - enabled: boolean - caFilepath?: string - privateKeyFilepath?: string - truststoreFilepath?: string - verifyMode?: VerifyMode -} -export const enum VerifyMode { - None = 0, - Peer = 1 -} -export interface QueryOptions { - prepare?: boolean -} -export interface ScyllaKeyspace { - strategy: ScyllaStrategy - tables: Record - views: Record -} -export interface ScyllaStrategy { - kind: string - data?: SimpleStrategy | NetworkTopologyStrategy | Other -} -export interface SimpleStrategy { - replicationFactor: number -} -export interface NetworkTopologyStrategy { - datacenterRepfactors: Record -} -export interface Other { - name: string - data: Record -} -export interface ScyllaTable { - columns: Array - partitionKey: Array - clusteringKey: Array - partitioner?: string -} -export interface ScyllaMaterializedView { - viewMetadata: ScyllaTable - baseTableName: string -} -export type ScyllaCluster = Cluster -export class Cluster { - /** - * Object config is in the format: - * { - * nodes: Array, - * } - */ - constructor(clusterConfig: ClusterConfig) - /** Connect to the cluster */ - connect(keyspaceOrOptions?: string | ConnectionOptions | undefined | null, options?: ConnectionOptions | undefined | null): Promise -} -export type ScyllaBatchStatement = BatchStatement +/* eslint-disable */ /** * Batch statements * @@ -114,7 +7,7 @@ export type ScyllaBatchStatement = BatchStatement * These statements can be simple or prepared. * Only INSERT, UPDATE and DELETE statements are allowed. */ -export class BatchStatement { +export declare class BatchStatement { constructor() /** * Appends a statement to the batch. @@ -124,17 +17,22 @@ export class BatchStatement { */ appendStatement(statement: Query | PreparedStatement): void } -export class PreparedStatement { - setConsistency(consistency: Consistency): void - setSerialConsistency(serialConsistency: SerialConsistency): void -} -export class Query { - constructor(query: string) - setConsistency(consistency: Consistency): void - setSerialConsistency(serialConsistency: SerialConsistency): void - setPageSize(pageSize: number): void +export type ScyllaBatchStatement = BatchStatement + +export declare class Cluster { + /** + * Object config is in the format: + * { + * nodes: Array, + * } + */ + constructor(clusterConfig: ClusterConfig) + /** Connect to the cluster */ + connect(keyspaceOrOptions?: string | ConnectionOptions | undefined | null, options?: ConnectionOptions | undefined | null): Promise } -export class Metrics { +export type ScyllaCluster = Cluster + +export declare class Metrics { /** Returns counter for nonpaged queries */ getQueriesNum(): bigint /** Returns counter for pages requested in paged queries */ @@ -154,7 +52,28 @@ export class Metrics { */ getLatencyPercentileMs(percentile: number): bigint } -export class ScyllaSession { + +export declare class PreparedStatement { + setConsistency(consistency: Consistency): void + setSerialConsistency(serialConsistency: SerialConsistency): void +} + +export declare class Query { + constructor(query: string) + setConsistency(consistency: Consistency): void + setSerialConsistency(serialConsistency: SerialConsistency): void + setPageSize(pageSize: number): void +} + +export declare class ScyllaClusterData { + /** + * Access keyspaces details collected by the driver Driver collects various schema details like + * tables, partitioners, columns, types. They can be read using this method + */ + getKeyspaceInfo(): Record | null +} + +export declare class ScyllaSession { metrics(): Metrics getClusterData(): Promise executeWithTracing(query: string | Query | PreparedStatement, parameters?: Array> | undefined | null, options?: QueryOptions | undefined | null): Promise @@ -284,14 +203,8 @@ export class ScyllaSession { awaitSchemaAgreement(): Promise checkSchemaAgreement(): Promise } -export class ScyllaClusterData { - /** - * Access keyspaces details collected by the driver Driver collects various schema details like - * tables, partitioners, columns, types. They can be read using this method - */ - getKeyspaceInfo(): Record | null -} -export class Uuid { + +export declare class Uuid { /** Generates a random UUID v4. */ static randomV4(): Uuid /** Parses a UUID from a string. It may fail if the string is not a valid UUID. */ @@ -299,3 +212,111 @@ export class Uuid { /** Returns the string representation of the UUID. */ toString(): string } + +export interface Auth { + username: string + password: string +} + +export interface ClusterConfig { + nodes: Array + compression?: Compression + defaultExecutionProfile?: ExecutionProfile + keyspace?: string + auth?: Auth + ssl?: Ssl + /** The driver automatically awaits schema agreement after a schema-altering query is executed. Waiting for schema agreement more than necessary is never a bug, but might slow down applications which do a lot of schema changes (e.g. a migration). For instance, in case where somebody wishes to create a keyspace and then a lot of tables in it, it makes sense only to wait after creating a keyspace and after creating all the tables rather than after every query. */ + autoAwaitSchemaAgreement?: boolean + /** If the schema is not agreed upon, the driver sleeps for a duration in seconds before checking it again. The default value is 0.2 (200 milliseconds) */ + schemaAgreementInterval?: number +} + +export declare const enum Compression { + None = 0, + Lz4 = 1, + Snappy = 2 +} + +export interface ConnectionOptions { + keyspace?: string + auth?: Auth + ssl?: Ssl +} + +export declare const enum Consistency { + Any = 0, + One = 1, + Two = 2, + Three = 3, + Quorum = 4, + All = 5, + LocalQuorum = 6, + EachQuorum = 7, + LocalOne = 10, + Serial = 8, + LocalSerial = 9 +} + +export interface ExecutionProfile { + consistency?: Consistency + serialConsistency?: SerialConsistency + requestTimeout?: number +} + +export interface NetworkTopologyStrategy { + datacenterRepfactors: Record +} + +export interface Other { + name: string + data: Record +} + +export interface QueryOptions { + prepare?: boolean +} + +export interface ScyllaKeyspace { + strategy: ScyllaStrategy + tables: Record + views: Record +} + +export interface ScyllaMaterializedView { + viewMetadata: ScyllaTable + baseTableName: string +} + +export interface ScyllaStrategy { + kind: string + data?: SimpleStrategy | NetworkTopologyStrategy | Other +} + +export interface ScyllaTable { + columns: Array + partitionKey: Array + clusteringKey: Array + partitioner?: string +} + +export declare const enum SerialConsistency { + Serial = 8, + LocalSerial = 9 +} + +export interface SimpleStrategy { + replicationFactor: number +} + +export interface Ssl { + enabled: boolean + caFilepath?: string + privateKeyFilepath?: string + truststoreFilepath?: string + verifyMode?: VerifyMode +} + +export declare const enum VerifyMode { + None = 0, + Peer = 1 +} diff --git a/index.js b/index.js index 38f933a..9381b0a 100644 --- a/index.js +++ b/index.js @@ -1,329 +1,380 @@ -/* tslint:disable */ +// prettier-ignore /* eslint-disable */ -/* prettier-ignore */ - /* auto-generated by NAPI-RS */ -const { existsSync, readFileSync } = require('fs') -const { join } = require('path') - -const { platform, arch } = process +const { readFileSync } = require('fs') let nativeBinding = null -let localFileExisted = false -let loadError = null +const loadErrors = [] -function isMusl() { - // For Node 10 - if (!process.report || typeof process.report.getReport !== 'function') { - try { - const lddPath = require('child_process').execSync('which ldd').toString().trim() - return readFileSync(lddPath, 'utf8').includes('musl') - } catch (e) { +const isMusl = () => { + let musl = false + if (process.platform === 'linux') { + musl = isMuslFromFilesystem() + if (musl === null) { + musl = isMuslFromReport() + } + if (musl === null) { + musl = isMuslFromChildProcess() + } + } + return musl +} + +const isFileMusl = (f) => f.includes('libc.musl-') || f.includes('ld-musl-') + +const isMuslFromFilesystem = () => { + try { + return readFileSync('/usr/bin/ldd', 'utf-8').includes('musl') + } catch { + return null + } +} + +const isMuslFromReport = () => { + const report = typeof process.report.getReport === 'function' ? process.report.getReport() : null + if (!report) { + return null + } + if (report.header && report.header.glibcVersionRuntime) { + return false + } + if (Array.isArray(report.sharedObjects)) { + if (report.sharedObjects.some(isFileMusl)) { return true } - } else { - const { glibcVersionRuntime } = process.report.getReport().header - return !glibcVersionRuntime } + return false } -switch (platform) { - case 'android': - switch (arch) { - case 'arm64': - localFileExisted = existsSync(join(__dirname, 'scylladb.android-arm64.node')) +const isMuslFromChildProcess = () => { + try { + return require('child_process').execSync('ldd --version', { encoding: 'utf8' }).includes('musl') + } catch (e) { + // If we reach this case, we don't know if the system is musl or not, so is better to just fallback to false + return false + } +} + +function requireNative() { + if (process.platform === 'android') { + if (process.arch === 'arm64') { + try { + return require('./scylladb.android-arm64.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-android-arm64') + } catch (e) { + loadErrors.push(e) + } + + } else if (process.arch === 'arm') { + try { + return require('./scylladb.android-arm-eabi.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-android-arm-eabi') + } catch (e) { + loadErrors.push(e) + } + + } else { + loadErrors.push(new Error(`Unsupported architecture on Android ${process.arch}`)) + } + } else if (process.platform === 'win32') { + if (process.arch === 'x64') { + try { + return require('./scylladb.win32-x64-msvc.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-win32-x64-msvc') + } catch (e) { + loadErrors.push(e) + } + + } else if (process.arch === 'ia32') { + try { + return require('./scylladb.win32-ia32-msvc.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-win32-ia32-msvc') + } catch (e) { + loadErrors.push(e) + } + + } else if (process.arch === 'arm64') { + try { + return require('./scylladb.win32-arm64-msvc.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-win32-arm64-msvc') + } catch (e) { + loadErrors.push(e) + } + + } else { + loadErrors.push(new Error(`Unsupported architecture on Windows: ${process.arch}`)) + } + } else if (process.platform === 'darwin') { + try { + return require('./scylladb.darwin-universal.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-darwin-universal') + } catch (e) { + loadErrors.push(e) + } + + if (process.arch === 'x64') { + try { + return require('./scylladb.darwin-x64.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-darwin-x64') + } catch (e) { + loadErrors.push(e) + } + + } else if (process.arch === 'arm64') { + try { + return require('./scylladb.darwin-arm64.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-darwin-arm64') + } catch (e) { + loadErrors.push(e) + } + + } else { + loadErrors.push(new Error(`Unsupported architecture on macOS: ${process.arch}`)) + } + } else if (process.platform === 'freebsd') { + if (process.arch === 'x64') { + try { + return require('./scylladb.freebsd-x64.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-freebsd-x64') + } catch (e) { + loadErrors.push(e) + } + + } else if (process.arch === 'arm64') { + try { + return require('./scylladb.freebsd-arm64.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-freebsd-arm64') + } catch (e) { + loadErrors.push(e) + } + + } else { + loadErrors.push(new Error(`Unsupported architecture on FreeBSD: ${process.arch}`)) + } + } else if (process.platform === 'linux') { + if (process.arch === 'x64') { + if (isMusl()) { try { - if (localFileExisted) { - nativeBinding = require('./scylladb.android-arm64.node') - } else { - nativeBinding = require('@lambda-group/scylladb-android-arm64') - } - } catch (e) { - loadError = e - } - break - case 'arm': - localFileExisted = existsSync(join(__dirname, 'scylladb.android-arm-eabi.node')) + return require('./scylladb.linux-x64-musl.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-linux-x64-musl') + } catch (e) { + loadErrors.push(e) + } + + } else { try { - if (localFileExisted) { - nativeBinding = require('./scylladb.android-arm-eabi.node') - } else { - nativeBinding = require('@lambda-group/scylladb-android-arm-eabi') - } - } catch (e) { - loadError = e - } - break - default: - throw new Error(`Unsupported architecture on Android ${arch}`) - } - break - case 'win32': - switch (arch) { - case 'x64': - localFileExisted = existsSync( - join(__dirname, 'scylladb.win32-x64-msvc.node') - ) + return require('./scylladb.linux-x64-gnu.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-linux-x64-gnu') + } catch (e) { + loadErrors.push(e) + } + + } + } else if (process.arch === 'arm64') { + if (isMusl()) { try { - if (localFileExisted) { - nativeBinding = require('./scylladb.win32-x64-msvc.node') - } else { - nativeBinding = require('@lambda-group/scylladb-win32-x64-msvc') - } - } catch (e) { - loadError = e - } - break - case 'ia32': - localFileExisted = existsSync( - join(__dirname, 'scylladb.win32-ia32-msvc.node') - ) + return require('./scylladb.linux-arm64-musl.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-linux-arm64-musl') + } catch (e) { + loadErrors.push(e) + } + + } else { try { - if (localFileExisted) { - nativeBinding = require('./scylladb.win32-ia32-msvc.node') - } else { - nativeBinding = require('@lambda-group/scylladb-win32-ia32-msvc') - } - } catch (e) { - loadError = e - } - break - case 'arm64': - localFileExisted = existsSync( - join(__dirname, 'scylladb.win32-arm64-msvc.node') - ) + return require('./scylladb.linux-arm64-gnu.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-linux-arm64-gnu') + } catch (e) { + loadErrors.push(e) + } + + } + } else if (process.arch === 'arm') { + if (isMusl()) { try { - if (localFileExisted) { - nativeBinding = require('./scylladb.win32-arm64-msvc.node') - } else { - nativeBinding = require('@lambda-group/scylladb-win32-arm64-msvc') - } - } catch (e) { - loadError = e - } - break - default: - throw new Error(`Unsupported architecture on Windows: ${arch}`) - } - break - case 'darwin': - localFileExisted = existsSync(join(__dirname, 'scylladb.darwin-universal.node')) - try { - if (localFileExisted) { - nativeBinding = require('./scylladb.darwin-universal.node') + return require('./scylladb.linux-arm-musleabihf.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-linux-arm-musleabihf') + } catch (e) { + loadErrors.push(e) + } + } else { - nativeBinding = require('@lambda-group/scylladb-darwin-universal') + try { + return require('./scylladb.linux-arm-gnueabihf.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-linux-arm-gnueabihf') + } catch (e) { + loadErrors.push(e) } - break - } catch {} - switch (arch) { - case 'x64': - localFileExisted = existsSync(join(__dirname, 'scylladb.darwin-x64.node')) + + } + } else if (process.arch === 'riscv64') { + if (isMusl()) { try { - if (localFileExisted) { - nativeBinding = require('./scylladb.darwin-x64.node') - } else { - nativeBinding = require('@lambda-group/scylladb-darwin-x64') - } - } catch (e) { - loadError = e - } - break - case 'arm64': - localFileExisted = existsSync( - join(__dirname, 'scylladb.darwin-arm64.node') - ) + return require('./scylladb.linux-riscv64-musl.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-linux-riscv64-musl') + } catch (e) { + loadErrors.push(e) + } + + } else { try { - if (localFileExisted) { - nativeBinding = require('./scylladb.darwin-arm64.node') - } else { - nativeBinding = require('@lambda-group/scylladb-darwin-arm64') - } - } catch (e) { - loadError = e - } - break - default: - throw new Error(`Unsupported architecture on macOS: ${arch}`) + return require('./scylladb.linux-riscv64-gnu.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-linux-riscv64-gnu') + } catch (e) { + loadErrors.push(e) + } + + } + } else if (process.arch === 'ppc64') { + try { + return require('./scylladb.linux-ppc64-gnu.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-linux-ppc64-gnu') + } catch (e) { + loadErrors.push(e) + } + + } else if (process.arch === 's390x') { + try { + return require('./scylladb.linux-s390x-gnu.node') + } catch (e) { + loadErrors.push(e) + } + try { + return require('@lambda-group/scylladb-linux-s390x-gnu') + } catch (e) { + loadErrors.push(e) + } + + } else { + loadErrors.push(new Error(`Unsupported architecture on Linux: ${process.arch}`)) } - break - case 'freebsd': - if (arch !== 'x64') { - throw new Error(`Unsupported architecture on FreeBSD: ${arch}`) + } else { + loadErrors.push(new Error(`Unsupported OS: ${process.platform}, architecture: ${process.arch}`)) + } +} + +nativeBinding = requireNative() + +if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) { + try { + nativeBinding = require('./scylladb.wasi.cjs') + } catch (err) { + if (process.env.NAPI_RS_FORCE_WASI) { + loadErrors.push(err) } - localFileExisted = existsSync(join(__dirname, 'scylladb.freebsd-x64.node')) + } + if (!nativeBinding) { try { - if (localFileExisted) { - nativeBinding = require('./scylladb.freebsd-x64.node') - } else { - nativeBinding = require('@lambda-group/scylladb-freebsd-x64') + nativeBinding = require('@lambda-group/scylladb-wasm32-wasi') + } catch (err) { + if (process.env.NAPI_RS_FORCE_WASI) { + loadErrors.push(err) } - } catch (e) { - loadError = e } - break - case 'linux': - switch (arch) { - case 'x64': - if (isMusl()) { - localFileExisted = existsSync( - join(__dirname, 'scylladb.linux-x64-musl.node') - ) - try { - if (localFileExisted) { - nativeBinding = require('./scylladb.linux-x64-musl.node') - } else { - nativeBinding = require('@lambda-group/scylladb-linux-x64-musl') - } - } catch (e) { - loadError = e - } - } else { - localFileExisted = existsSync( - join(__dirname, 'scylladb.linux-x64-gnu.node') - ) - try { - if (localFileExisted) { - nativeBinding = require('./scylladb.linux-x64-gnu.node') - } else { - nativeBinding = require('@lambda-group/scylladb-linux-x64-gnu') - } - } catch (e) { - loadError = e - } - } - break - case 'arm64': - if (isMusl()) { - localFileExisted = existsSync( - join(__dirname, 'scylladb.linux-arm64-musl.node') - ) - try { - if (localFileExisted) { - nativeBinding = require('./scylladb.linux-arm64-musl.node') - } else { - nativeBinding = require('@lambda-group/scylladb-linux-arm64-musl') - } - } catch (e) { - loadError = e - } - } else { - localFileExisted = existsSync( - join(__dirname, 'scylladb.linux-arm64-gnu.node') - ) - try { - if (localFileExisted) { - nativeBinding = require('./scylladb.linux-arm64-gnu.node') - } else { - nativeBinding = require('@lambda-group/scylladb-linux-arm64-gnu') - } - } catch (e) { - loadError = e - } - } - break - case 'arm': - if (isMusl()) { - localFileExisted = existsSync( - join(__dirname, 'scylladb.linux-arm-musleabihf.node') - ) - try { - if (localFileExisted) { - nativeBinding = require('./scylladb.linux-arm-musleabihf.node') - } else { - nativeBinding = require('@lambda-group/scylladb-linux-arm-musleabihf') - } - } catch (e) { - loadError = e - } - } else { - localFileExisted = existsSync( - join(__dirname, 'scylladb.linux-arm-gnueabihf.node') - ) - try { - if (localFileExisted) { - nativeBinding = require('./scylladb.linux-arm-gnueabihf.node') - } else { - nativeBinding = require('@lambda-group/scylladb-linux-arm-gnueabihf') - } - } catch (e) { - loadError = e - } - } - break - case 'riscv64': - if (isMusl()) { - localFileExisted = existsSync( - join(__dirname, 'scylladb.linux-riscv64-musl.node') - ) - try { - if (localFileExisted) { - nativeBinding = require('./scylladb.linux-riscv64-musl.node') - } else { - nativeBinding = require('@lambda-group/scylladb-linux-riscv64-musl') - } - } catch (e) { - loadError = e - } - } else { - localFileExisted = existsSync( - join(__dirname, 'scylladb.linux-riscv64-gnu.node') - ) - try { - if (localFileExisted) { - nativeBinding = require('./scylladb.linux-riscv64-gnu.node') - } else { - nativeBinding = require('@lambda-group/scylladb-linux-riscv64-gnu') - } - } catch (e) { - loadError = e - } - } - break - case 's390x': - localFileExisted = existsSync( - join(__dirname, 'scylladb.linux-s390x-gnu.node') - ) - try { - if (localFileExisted) { - nativeBinding = require('./scylladb.linux-s390x-gnu.node') - } else { - nativeBinding = require('@lambda-group/scylladb-linux-s390x-gnu') - } - } catch (e) { - loadError = e - } - break - default: - throw new Error(`Unsupported architecture on Linux: ${arch}`) - } - break - default: - throw new Error(`Unsupported OS: ${platform}, architecture: ${arch}`) + } } if (!nativeBinding) { - if (loadError) { - throw loadError + if (loadErrors.length > 0) { + // TODO Link to documentation with potential fixes + // - The package owner could build/publish bindings for this arch + // - The user may need to bundle the correct files + // - The user may need to re-install node_modules to get new packages + throw new Error('Failed to load native binding', { cause: loadErrors }) } throw new Error(`Failed to load native binding`) } -const { Compression, Consistency, SerialConsistency, Cluster, VerifyMode, BatchStatement, PreparedStatement, Query, Metrics, ScyllaSession, ScyllaClusterData, Uuid } = nativeBinding - -module.exports.Compression = Compression -module.exports.Consistency = Consistency -module.exports.SerialConsistency = SerialConsistency -module.exports.Cluster = Cluster -module.exports.VerifyMode = VerifyMode -module.exports.BatchStatement = BatchStatement -module.exports.PreparedStatement = PreparedStatement -module.exports.Query = Query -module.exports.Metrics = Metrics -module.exports.ScyllaSession = ScyllaSession -module.exports.ScyllaClusterData = ScyllaClusterData -module.exports.Uuid = Uuid +module.exports.BatchStatement = nativeBinding.BatchStatement +module.exports.ScyllaBatchStatement = nativeBinding.ScyllaBatchStatement +module.exports.Cluster = nativeBinding.Cluster +module.exports.ScyllaCluster = nativeBinding.ScyllaCluster +module.exports.Metrics = nativeBinding.Metrics +module.exports.PreparedStatement = nativeBinding.PreparedStatement +module.exports.Query = nativeBinding.Query +module.exports.ScyllaClusterData = nativeBinding.ScyllaClusterData +module.exports.ScyllaSession = nativeBinding.ScyllaSession +module.exports.Uuid = nativeBinding.Uuid +module.exports.Compression = nativeBinding.Compression +module.exports.Consistency = nativeBinding.Consistency +module.exports.SerialConsistency = nativeBinding.SerialConsistency +module.exports.VerifyMode = nativeBinding.VerifyMode const customInspectSymbol = Symbol.for('nodejs.util.inspect.custom') diff --git a/npm/darwin-arm64/package.json b/npm/darwin-arm64/package.json index 5714eae..8882e5b 100644 --- a/npm/darwin-arm64/package.json +++ b/npm/darwin-arm64/package.json @@ -1,9 +1,6 @@ { "name": "@lambda-group/scylladb-darwin-arm64", "version": "0.6.1", - "os": [ - "darwin" - ], "cpu": [ "arm64" ], @@ -12,9 +9,17 @@ "scylladb.darwin-arm64.node" ], "description": "๐Ÿš€ JavaScript driver for ScyllaDB, harnessing Rust's power through napi-rs for top performance. Pre-release stage. ๐Ÿงช๐Ÿ”ง", + "author": { + "name": "Daniel Boll", + "email": "danielboll.dev@proton.me", + "url": "https://daniel-boll.me" + }, "license": "MIT", "engines": { "node": ">= 10" }, - "repository": "https://github.com/Daniel-Boll/scylla-javascript-driver" -} \ No newline at end of file + "repository": "https://github.com/Daniel-Boll/scylla-javascript-driver", + "os": [ + "darwin" + ] +} diff --git a/npm/darwin-universal/package.json b/npm/darwin-universal/package.json index 7abbf32..673713d 100644 --- a/npm/darwin-universal/package.json +++ b/npm/darwin-universal/package.json @@ -1,17 +1,22 @@ { "name": "@lambda-group/scylladb-darwin-universal", "version": "0.6.1", - "os": [ - "darwin" - ], "main": "scylladb.darwin-universal.node", "files": [ "scylladb.darwin-universal.node" ], "description": "๐Ÿš€ JavaScript driver for ScyllaDB, harnessing Rust's power through napi-rs for top performance. Pre-release stage. ๐Ÿงช๐Ÿ”ง", + "author": { + "name": "Daniel Boll", + "email": "danielboll.dev@proton.me", + "url": "https://daniel-boll.me" + }, "license": "MIT", "engines": { "node": ">= 10" }, - "repository": "https://github.com/Daniel-Boll/scylla-javascript-driver" -} \ No newline at end of file + "repository": "https://github.com/Daniel-Boll/scylla-javascript-driver", + "os": [ + "darwin" + ] +} diff --git a/npm/darwin-x64/package.json b/npm/darwin-x64/package.json index 91f3cd0..6bcfa21 100644 --- a/npm/darwin-x64/package.json +++ b/npm/darwin-x64/package.json @@ -1,9 +1,6 @@ { "name": "@lambda-group/scylladb-darwin-x64", "version": "0.6.1", - "os": [ - "darwin" - ], "cpu": [ "x64" ], @@ -12,9 +9,17 @@ "scylladb.darwin-x64.node" ], "description": "๐Ÿš€ JavaScript driver for ScyllaDB, harnessing Rust's power through napi-rs for top performance. Pre-release stage. ๐Ÿงช๐Ÿ”ง", + "author": { + "name": "Daniel Boll", + "email": "danielboll.dev@proton.me", + "url": "https://daniel-boll.me" + }, "license": "MIT", "engines": { "node": ">= 10" }, - "repository": "https://github.com/Daniel-Boll/scylla-javascript-driver" -} \ No newline at end of file + "repository": "https://github.com/Daniel-Boll/scylla-javascript-driver", + "os": [ + "darwin" + ] +} diff --git a/npm/linux-x64-gnu/package.json b/npm/linux-x64-gnu/package.json index 0698397..5bf2fe3 100644 --- a/npm/linux-x64-gnu/package.json +++ b/npm/linux-x64-gnu/package.json @@ -1,9 +1,6 @@ { "name": "@lambda-group/scylladb-linux-x64-gnu", "version": "0.6.1", - "os": [ - "linux" - ], "cpu": [ "x64" ], @@ -12,12 +9,20 @@ "scylladb.linux-x64-gnu.node" ], "description": "๐Ÿš€ JavaScript driver for ScyllaDB, harnessing Rust's power through napi-rs for top performance. Pre-release stage. ๐Ÿงช๐Ÿ”ง", + "author": { + "name": "Daniel Boll", + "email": "danielboll.dev@proton.me", + "url": "https://daniel-boll.me" + }, "license": "MIT", "engines": { "node": ">= 10" }, "repository": "https://github.com/Daniel-Boll/scylla-javascript-driver", + "os": [ + "linux" + ], "libc": [ "glibc" ] -} \ No newline at end of file +} diff --git a/npm/linux-x64-musl/README.md b/npm/linux-x64-musl/README.md new file mode 100644 index 0000000..084b456 --- /dev/null +++ b/npm/linux-x64-musl/README.md @@ -0,0 +1,3 @@ +# `@lambda-group/scylladb-linux-x64-musl` + +This is the **x86_64-unknown-linux-musl** binary for `@lambda-group/scylladb` diff --git a/npm/linux-x64-musl/package.json b/npm/linux-x64-musl/package.json new file mode 100644 index 0000000..205d692 --- /dev/null +++ b/npm/linux-x64-musl/package.json @@ -0,0 +1,28 @@ +{ + "name": "@lambda-group/scylladb-linux-x64-musl", + "version": "0.6.1", + "cpu": [ + "x64" + ], + "main": "scylladb.linux-x64-musl.node", + "files": [ + "scylladb.linux-x64-musl.node" + ], + "description": "๐Ÿš€ JavaScript driver for ScyllaDB, harnessing Rust's power through napi-rs for top performance. Pre-release stage. ๐Ÿงช๐Ÿ”ง", + "author": { + "name": "Daniel Boll", + "email": "danielboll.dev@proton.me", + "url": "https://daniel-boll.me" + }, + "license": "MIT", + "engines": { + "node": ">= 10" + }, + "repository": "https://github.com/Daniel-Boll/scylla-javascript-driver", + "os": [ + "linux" + ], + "libc": [ + "musl" + ] +} diff --git a/npm/win32-x64-msvc/package.json b/npm/win32-x64-msvc/package.json index e578ae5..c5ce59d 100644 --- a/npm/win32-x64-msvc/package.json +++ b/npm/win32-x64-msvc/package.json @@ -12,6 +12,11 @@ "scylladb.win32-x64-msvc.node" ], "description": "๐Ÿš€ JavaScript driver for ScyllaDB, harnessing Rust's power through napi-rs for top performance. Pre-release stage. ๐Ÿงช๐Ÿ”ง", + "author": { + "name": "Daniel Boll", + "email": "danielboll.dev@proton.me", + "url": "https://daniel-boll.me" + }, "license": "MIT", "engines": { "node": ">= 10" diff --git a/package.json b/package.json index 2055728..2952ba0 100644 --- a/package.json +++ b/package.json @@ -20,17 +20,18 @@ "version": "napi version" }, "napi": { - "name": "scylladb", - "triples": { - "additional": [ - "aarch64-apple-darwin", - "universal-apple-darwin" - ] - } + "binaryName": "scylladb", + "targets": [ + "x86_64-unknown-linux-gnu", + "aarch64-apple-darwin", + "universal-apple-darwin", + "x86_64-apple-darwin", + "x86_64-unknown-linux-musl" + ] }, "license": "MIT", "devDependencies": { - "@napi-rs/cli": "^2.18.3", + "@napi-rs/cli": "3.0.0-alpha.63", "@swc-node/register": "^1.10.0", "@swc/core": "^1.6.6", "@types/node": "^20.14.9", diff --git a/yarn.lock b/yarn.lock index 9f2eefc..a77699b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,6 +5,34 @@ __metadata: version: 8 cacheKey: 10 +"@emnapi/core@npm:^1.1.0": + version: 1.3.0 + resolution: "@emnapi/core@npm:1.3.0" + dependencies: + "@emnapi/wasi-threads": "npm:1.0.1" + tslib: "npm:^2.4.0" + checksum: 10/6a6db6640a056b502d2ae24755780b2add2a199c605aad1cc115a3e08faab9d05a2513f890cabc092f75318c39b8eef12e21c714f97eeb0737711a3823eeca53 + languageName: node + linkType: hard + +"@emnapi/runtime@npm:^1.1.0": + version: 1.3.0 + resolution: "@emnapi/runtime@npm:1.3.0" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10/f4b9c4d7e4f7a21757f48e06b2904320602dfc4ca2d590e32e72a676bae32f36dd76b67ae477976575fc838df791e6f344baa8ffa0bb53f48179c38a5ee2eeb1 + languageName: node + linkType: hard + +"@emnapi/wasi-threads@npm:1.0.1": + version: 1.0.1 + resolution: "@emnapi/wasi-threads@npm:1.0.1" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10/949f8bdcb11153d530652516b11d4b11d8c6ed48a692b4a59cbaa4305327aed59a61f0d87c366085c20ad0b0336c3b50eaddbddeeb3e8c55e7e82b583b9d98fb + languageName: node + linkType: hard + "@esbuild/aix-ppc64@npm:0.21.5": version: 0.21.5 resolution: "@esbuild/aix-ppc64@npm:0.21.5" @@ -131,94 +159,819 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/openbsd-x64@npm:0.21.5" - conditions: os=openbsd & cpu=x64 +"@esbuild/openbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/openbsd-x64@npm:0.21.5" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/sunos-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/sunos-x64@npm:0.21.5" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/win32-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-arm64@npm:0.21.5" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/win32-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-ia32@npm:0.21.5" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/win32-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-x64@npm:0.21.5" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@inquirer/checkbox@npm:^3.0.1": + version: 3.0.1 + resolution: "@inquirer/checkbox@npm:3.0.1" + dependencies: + "@inquirer/core": "npm:^9.2.1" + "@inquirer/figures": "npm:^1.0.6" + "@inquirer/type": "npm:^2.0.0" + ansi-escapes: "npm:^4.3.2" + yoctocolors-cjs: "npm:^2.1.2" + checksum: 10/23dccf5a058f8e96e632335532a54f564ec620a1494b61eb9c99b0c6b5a96932a5f7d4cdd4f05f2e7f0e5311ea5cde15948323a6223041de7421df657987902a + languageName: node + linkType: hard + +"@inquirer/confirm@npm:^4.0.1": + version: 4.0.1 + resolution: "@inquirer/confirm@npm:4.0.1" + dependencies: + "@inquirer/core": "npm:^9.2.1" + "@inquirer/type": "npm:^2.0.0" + checksum: 10/9f80834fcba308b047f4953abee4ff3837693400402797bd160dee64c019a63d9d9d866bbbf03d56f4aae8013c27991a0d405765120fe49aea2a57103af53426 + languageName: node + linkType: hard + +"@inquirer/core@npm:^9.2.1": + version: 9.2.1 + resolution: "@inquirer/core@npm:9.2.1" + dependencies: + "@inquirer/figures": "npm:^1.0.6" + "@inquirer/type": "npm:^2.0.0" + "@types/mute-stream": "npm:^0.0.4" + "@types/node": "npm:^22.5.5" + "@types/wrap-ansi": "npm:^3.0.0" + ansi-escapes: "npm:^4.3.2" + cli-width: "npm:^4.1.0" + mute-stream: "npm:^1.0.0" + signal-exit: "npm:^4.1.0" + strip-ansi: "npm:^6.0.1" + wrap-ansi: "npm:^6.2.0" + yoctocolors-cjs: "npm:^2.1.2" + checksum: 10/bf35e46e70add8ffa9e9d4ae6b528ac660484afca082bca31af95ce8a145a2f8c8d0d07cc7a8627771452e68ade9849c9c9c450a004133ed10ac2d6730900452 + languageName: node + linkType: hard + +"@inquirer/editor@npm:^3.0.1": + version: 3.0.1 + resolution: "@inquirer/editor@npm:3.0.1" + dependencies: + "@inquirer/core": "npm:^9.2.1" + "@inquirer/type": "npm:^2.0.0" + external-editor: "npm:^3.1.0" + checksum: 10/ae2539a4ef62abba58bbf6e18b0dcd36b3f84ccbf38f6c0c0ba6348639bdcc1d4216406528aecfd75c68efab71f3edd5505d741ee5b2bb23ba482f44c115bb8f + languageName: node + linkType: hard + +"@inquirer/expand@npm:^3.0.1": + version: 3.0.1 + resolution: "@inquirer/expand@npm:3.0.1" + dependencies: + "@inquirer/core": "npm:^9.2.1" + "@inquirer/type": "npm:^2.0.0" + yoctocolors-cjs: "npm:^2.1.2" + checksum: 10/d2450c1818fedf2e4a0741f953439e27a7dec5d63d35d96483f962cd66defbf53db3c4d223b7bb73e0c1a9076f11c82a32f1501274218c23a35acf70952f53b4 + languageName: node + linkType: hard + +"@inquirer/figures@npm:^1.0.6": + version: 1.0.6 + resolution: "@inquirer/figures@npm:1.0.6" + checksum: 10/1b9023d331c41f09d0848b8920885d535cdaf52edd782009e003b2f3b2df6a6a6a26fb8ecd05eb3c3df3df9d080e042ca525438a1513cdcc4410f3eefce3e4e0 + languageName: node + linkType: hard + +"@inquirer/input@npm:^3.0.1": + version: 3.0.1 + resolution: "@inquirer/input@npm:3.0.1" + dependencies: + "@inquirer/core": "npm:^9.2.1" + "@inquirer/type": "npm:^2.0.0" + checksum: 10/b778a2e01fd81d7b85a37dc8a56ddcc99e1b5de8616163824f6583646ddac831546df2ad23f1e49e79874f293942261f292e0c1bea242a3f8c5e4c66a38cbb27 + languageName: node + linkType: hard + +"@inquirer/number@npm:^2.0.1": + version: 2.0.1 + resolution: "@inquirer/number@npm:2.0.1" + dependencies: + "@inquirer/core": "npm:^9.2.1" + "@inquirer/type": "npm:^2.0.0" + checksum: 10/e49ea241927cacee0f329766890b39b1d818e6d4f5c7f088875bf9c2dd3da7ff7db34102b47e8a3d6eb36ae96b5a7c7a50fcae47c749142ecd4aaa649642b772 + languageName: node + linkType: hard + +"@inquirer/password@npm:^3.0.1": + version: 3.0.1 + resolution: "@inquirer/password@npm:3.0.1" + dependencies: + "@inquirer/core": "npm:^9.2.1" + "@inquirer/type": "npm:^2.0.0" + ansi-escapes: "npm:^4.3.2" + checksum: 10/b55add900c0d7f1cf7db5523e1786c120e9ab5c6cf49084b68aa887807b2aa98fd6f52b16159a57676056d62e42f51ad7bf81a0417b17bab3a5f3c79e0245eb2 + languageName: node + linkType: hard + +"@inquirer/prompts@npm:^6.0.0": + version: 6.0.1 + resolution: "@inquirer/prompts@npm:6.0.1" + dependencies: + "@inquirer/checkbox": "npm:^3.0.1" + "@inquirer/confirm": "npm:^4.0.1" + "@inquirer/editor": "npm:^3.0.1" + "@inquirer/expand": "npm:^3.0.1" + "@inquirer/input": "npm:^3.0.1" + "@inquirer/number": "npm:^2.0.1" + "@inquirer/password": "npm:^3.0.1" + "@inquirer/rawlist": "npm:^3.0.1" + "@inquirer/search": "npm:^2.0.1" + "@inquirer/select": "npm:^3.0.1" + checksum: 10/336af7d9e02fac0e3bccc0abda0f2e5c501ee12c3097befb51f2afa3e992dac8696bf77b0923c0fef0b97a51faf987e03fce3f583b379bfeba91d0387990ec96 + languageName: node + linkType: hard + +"@inquirer/rawlist@npm:^3.0.1": + version: 3.0.1 + resolution: "@inquirer/rawlist@npm:3.0.1" + dependencies: + "@inquirer/core": "npm:^9.2.1" + "@inquirer/type": "npm:^2.0.0" + yoctocolors-cjs: "npm:^2.1.2" + checksum: 10/c50646c567d9722142a20b6d13a53782719a3e8e9050471c91900b4f5abdaca81e59cb79c25c5e3fbaa663a7944ff269352b00b3c1e17e5acbf175ff87fa24a3 + languageName: node + linkType: hard + +"@inquirer/search@npm:^2.0.1": + version: 2.0.1 + resolution: "@inquirer/search@npm:2.0.1" + dependencies: + "@inquirer/core": "npm:^9.2.1" + "@inquirer/figures": "npm:^1.0.6" + "@inquirer/type": "npm:^2.0.0" + yoctocolors-cjs: "npm:^2.1.2" + checksum: 10/0be277fe6ca7b1f486de47dbacf0afc303eaa1f15b7ff032d84143aee175f82a477e856ee2b5e768bb6ac6a0835e0e7671d6b100eca972c583e9782bc054268c + languageName: node + linkType: hard + +"@inquirer/select@npm:^3.0.1": + version: 3.0.1 + resolution: "@inquirer/select@npm:3.0.1" + dependencies: + "@inquirer/core": "npm:^9.2.1" + "@inquirer/figures": "npm:^1.0.6" + "@inquirer/type": "npm:^2.0.0" + ansi-escapes: "npm:^4.3.2" + yoctocolors-cjs: "npm:^2.1.2" + checksum: 10/83513cd6a7cc6dd9c16aa36565d53cfe697a80697cb2991b8bfb5feedb783ff486e6e8c44f1484e2bd7c3e709ab0b4216172f93fe5c8a2ad9c4af4bd30b020f8 + languageName: node + linkType: hard + +"@inquirer/type@npm:^2.0.0": + version: 2.0.0 + resolution: "@inquirer/type@npm:2.0.0" + dependencies: + mute-stream: "npm:^1.0.0" + checksum: 10/e85f359866c28cce06272d2d51cc17788a5c9de9fda7f181c27775dd26821de0dacbc947b521cfe2009cd2965ec54696799035ef3a25a9a5794e47d8e8bdf794 + languageName: node + linkType: hard + +"@isaacs/cliui@npm:^8.0.2": + version: 8.0.2 + resolution: "@isaacs/cliui@npm:8.0.2" + dependencies: + string-width: "npm:^5.1.2" + string-width-cjs: "npm:string-width@^4.2.0" + strip-ansi: "npm:^7.0.1" + strip-ansi-cjs: "npm:strip-ansi@^6.0.1" + wrap-ansi: "npm:^8.1.0" + wrap-ansi-cjs: "npm:wrap-ansi@^7.0.0" + checksum: 10/e9ed5fd27c3aec1095e3a16e0c0cf148d1fee55a38665c35f7b3f86a9b5d00d042ddaabc98e8a1cb7463b9378c15f22a94eb35e99469c201453eb8375191f243 + languageName: node + linkType: hard + +"@lambda-group/scylladb@workspace:.": + version: 0.0.0-use.local + resolution: "@lambda-group/scylladb@workspace:." + dependencies: + "@napi-rs/cli": "npm:3.0.0-alpha.63" + "@swc-node/register": "npm:^1.10.0" + "@swc/core": "npm:^1.6.6" + "@types/node": "npm:^20.14.9" + ava: "npm:^6.1.3" + tsx: "npm:^4.16.0" + typescript: "npm:^5.5.2" + languageName: unknown + linkType: soft + +"@mapbox/node-pre-gyp@npm:^1.0.5": + version: 1.0.11 + resolution: "@mapbox/node-pre-gyp@npm:1.0.11" + dependencies: + detect-libc: "npm:^2.0.0" + https-proxy-agent: "npm:^5.0.0" + make-dir: "npm:^3.1.0" + node-fetch: "npm:^2.6.7" + nopt: "npm:^5.0.0" + npmlog: "npm:^5.0.1" + rimraf: "npm:^3.0.2" + semver: "npm:^7.3.5" + tar: "npm:^6.1.11" + bin: + node-pre-gyp: bin/node-pre-gyp + checksum: 10/59529a2444e44fddb63057152452b00705aa58059079191126c79ac1388ae4565625afa84ed4dd1bf017d1111ab6e47907f7c5192e06d83c9496f2f3e708680a + languageName: node + linkType: hard + +"@napi-rs/cli@npm:3.0.0-alpha.63": + version: 3.0.0-alpha.63 + resolution: "@napi-rs/cli@npm:3.0.0-alpha.63" + dependencies: + "@inquirer/prompts": "npm:^6.0.0" + "@napi-rs/cross-toolchain": "npm:^0.0.16" + "@napi-rs/wasm-tools": "npm:^0.0.2" + "@octokit/rest": "npm:^21.0.0" + clipanion: "npm:^3.2.1" + colorette: "npm:^2.0.20" + debug: "npm:^4.3.4" + emnapi: "npm:^1.2.0" + js-yaml: "npm:^4.1.0" + lodash-es: "npm:^4.17.21" + semver: "npm:^7.5.4" + toml: "npm:^3.0.0" + typanion: "npm:^3.14.0" + wasm-sjlj: "npm:^1.0.5" + peerDependencies: + "@emnapi/runtime": ^1.1.0 + emnapi: ^1.1.0 + peerDependenciesMeta: + "@emnapi/runtime": + optional: true + emnapi: + optional: true + bin: + napi: ./dist/cli.js + napi-raw: ./cli.mjs + checksum: 10/c660fd64117bf294aa3f5cb236adfbc3ab93efa3fb7b7bcf74dc459775c407e2993577df70db4dd8734543fcc35a9ce69e368eea65202af3b6d35a77b20e2046 + languageName: node + linkType: hard + +"@napi-rs/cross-toolchain@npm:^0.0.16": + version: 0.0.16 + resolution: "@napi-rs/cross-toolchain@npm:0.0.16" + dependencies: + "@napi-rs/lzma": "npm:^1.3.1" + "@napi-rs/tar": "npm:^0.1.1" + debug: "npm:^4.3.4" + peerDependencies: + "@napi-rs/cross-toolchain-arm64-target-aarch64": ^0.0.16 + "@napi-rs/cross-toolchain-arm64-target-armv7": ^0.0.16 + "@napi-rs/cross-toolchain-arm64-target-x86_64": ^0.0.16 + "@napi-rs/cross-toolchain-x64-target-aarch64": ^0.0.16 + "@napi-rs/cross-toolchain-x64-target-armv7": ^0.0.16 + "@napi-rs/cross-toolchain-x64-target-x86_64": ^0.0.16 + peerDependenciesMeta: + "@napi-rs/cross-toolchain-arm64-target-aarch64": + optional: true + "@napi-rs/cross-toolchain-arm64-target-armv7": + optional: true + "@napi-rs/cross-toolchain-arm64-target-x86_64": + optional: true + "@napi-rs/cross-toolchain-x64-target-aarch64": + optional: true + "@napi-rs/cross-toolchain-x64-target-armv7": + optional: true + "@napi-rs/cross-toolchain-x64-target-x86_64": + optional: true + checksum: 10/4c721d460f347085c4009185ad500b1f7fd66332f3d575f6fbfb877528f6d603d52a3bb79c61f854b177d8b525843d86bd3b85b8a92f84ae2dea27fc5a6981ff + languageName: node + linkType: hard + +"@napi-rs/lzma-android-arm-eabi@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-android-arm-eabi@npm:1.4.1" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@napi-rs/lzma-android-arm64@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-android-arm64@npm:1.4.1" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@napi-rs/lzma-darwin-arm64@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-darwin-arm64@npm:1.4.1" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@napi-rs/lzma-darwin-x64@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-darwin-x64@npm:1.4.1" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@napi-rs/lzma-freebsd-x64@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-freebsd-x64@npm:1.4.1" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@napi-rs/lzma-linux-arm-gnueabihf@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-linux-arm-gnueabihf@npm:1.4.1" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@napi-rs/lzma-linux-arm64-gnu@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-linux-arm64-gnu@npm:1.4.1" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@napi-rs/lzma-linux-arm64-musl@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-linux-arm64-musl@npm:1.4.1" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@napi-rs/lzma-linux-ppc64-gnu@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-linux-ppc64-gnu@npm:1.4.1" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + +"@napi-rs/lzma-linux-riscv64-gnu@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-linux-riscv64-gnu@npm:1.4.1" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + +"@napi-rs/lzma-linux-s390x-gnu@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-linux-s390x-gnu@npm:1.4.1" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@napi-rs/lzma-linux-x64-gnu@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-linux-x64-gnu@npm:1.4.1" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@napi-rs/lzma-linux-x64-musl@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-linux-x64-musl@npm:1.4.1" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@napi-rs/lzma-wasm32-wasi@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-wasm32-wasi@npm:1.4.1" + dependencies: + "@napi-rs/wasm-runtime": "npm:^0.2.4" + conditions: cpu=wasm32 + languageName: node + linkType: hard + +"@napi-rs/lzma-win32-arm64-msvc@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-win32-arm64-msvc@npm:1.4.1" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@napi-rs/lzma-win32-ia32-msvc@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-win32-ia32-msvc@npm:1.4.1" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@napi-rs/lzma-win32-x64-msvc@npm:1.4.1": + version: 1.4.1 + resolution: "@napi-rs/lzma-win32-x64-msvc@npm:1.4.1" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@napi-rs/lzma@npm:^1.3.1": + version: 1.4.1 + resolution: "@napi-rs/lzma@npm:1.4.1" + dependencies: + "@napi-rs/lzma-android-arm-eabi": "npm:1.4.1" + "@napi-rs/lzma-android-arm64": "npm:1.4.1" + "@napi-rs/lzma-darwin-arm64": "npm:1.4.1" + "@napi-rs/lzma-darwin-x64": "npm:1.4.1" + "@napi-rs/lzma-freebsd-x64": "npm:1.4.1" + "@napi-rs/lzma-linux-arm-gnueabihf": "npm:1.4.1" + "@napi-rs/lzma-linux-arm64-gnu": "npm:1.4.1" + "@napi-rs/lzma-linux-arm64-musl": "npm:1.4.1" + "@napi-rs/lzma-linux-ppc64-gnu": "npm:1.4.1" + "@napi-rs/lzma-linux-riscv64-gnu": "npm:1.4.1" + "@napi-rs/lzma-linux-s390x-gnu": "npm:1.4.1" + "@napi-rs/lzma-linux-x64-gnu": "npm:1.4.1" + "@napi-rs/lzma-linux-x64-musl": "npm:1.4.1" + "@napi-rs/lzma-wasm32-wasi": "npm:1.4.1" + "@napi-rs/lzma-win32-arm64-msvc": "npm:1.4.1" + "@napi-rs/lzma-win32-ia32-msvc": "npm:1.4.1" + "@napi-rs/lzma-win32-x64-msvc": "npm:1.4.1" + dependenciesMeta: + "@napi-rs/lzma-android-arm-eabi": + optional: true + "@napi-rs/lzma-android-arm64": + optional: true + "@napi-rs/lzma-darwin-arm64": + optional: true + "@napi-rs/lzma-darwin-x64": + optional: true + "@napi-rs/lzma-freebsd-x64": + optional: true + "@napi-rs/lzma-linux-arm-gnueabihf": + optional: true + "@napi-rs/lzma-linux-arm64-gnu": + optional: true + "@napi-rs/lzma-linux-arm64-musl": + optional: true + "@napi-rs/lzma-linux-ppc64-gnu": + optional: true + "@napi-rs/lzma-linux-riscv64-gnu": + optional: true + "@napi-rs/lzma-linux-s390x-gnu": + optional: true + "@napi-rs/lzma-linux-x64-gnu": + optional: true + "@napi-rs/lzma-linux-x64-musl": + optional: true + "@napi-rs/lzma-wasm32-wasi": + optional: true + "@napi-rs/lzma-win32-arm64-msvc": + optional: true + "@napi-rs/lzma-win32-ia32-msvc": + optional: true + "@napi-rs/lzma-win32-x64-msvc": + optional: true + checksum: 10/70131088ba34e3a6b4286331f22c09dd64516b8aa8d7f94487161066fe1574861d2cd83bb73f8ad5138db62bf911fe714ecb8c42830ea96121f124ff7f289f9b + languageName: node + linkType: hard + +"@napi-rs/tar-android-arm-eabi@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-android-arm-eabi@npm:0.1.4" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@napi-rs/tar-android-arm64@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-android-arm64@npm:0.1.4" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@napi-rs/tar-darwin-arm64@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-darwin-arm64@npm:0.1.4" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@napi-rs/tar-darwin-x64@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-darwin-x64@npm:0.1.4" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@napi-rs/tar-freebsd-x64@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-freebsd-x64@npm:0.1.4" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@napi-rs/tar-linux-arm-gnueabihf@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-linux-arm-gnueabihf@npm:0.1.4" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@napi-rs/tar-linux-arm64-gnu@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-linux-arm64-gnu@npm:0.1.4" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@napi-rs/tar-linux-arm64-musl@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-linux-arm64-musl@npm:0.1.4" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@napi-rs/tar-linux-ppc64-gnu@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-linux-ppc64-gnu@npm:0.1.4" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + +"@napi-rs/tar-linux-s390x-gnu@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-linux-s390x-gnu@npm:0.1.4" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@napi-rs/tar-linux-x64-gnu@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-linux-x64-gnu@npm:0.1.4" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@napi-rs/tar-linux-x64-musl@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-linux-x64-musl@npm:0.1.4" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@napi-rs/tar-wasm32-wasi@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-wasm32-wasi@npm:0.1.4" + dependencies: + "@napi-rs/wasm-runtime": "npm:^0.2.4" + conditions: cpu=wasm32 + languageName: node + linkType: hard + +"@napi-rs/tar-win32-arm64-msvc@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-win32-arm64-msvc@npm:0.1.4" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@napi-rs/tar-win32-ia32-msvc@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-win32-ia32-msvc@npm:0.1.4" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@napi-rs/tar-win32-x64-msvc@npm:0.1.4": + version: 0.1.4 + resolution: "@napi-rs/tar-win32-x64-msvc@npm:0.1.4" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@napi-rs/tar@npm:^0.1.1": + version: 0.1.4 + resolution: "@napi-rs/tar@npm:0.1.4" + dependencies: + "@napi-rs/tar-android-arm-eabi": "npm:0.1.4" + "@napi-rs/tar-android-arm64": "npm:0.1.4" + "@napi-rs/tar-darwin-arm64": "npm:0.1.4" + "@napi-rs/tar-darwin-x64": "npm:0.1.4" + "@napi-rs/tar-freebsd-x64": "npm:0.1.4" + "@napi-rs/tar-linux-arm-gnueabihf": "npm:0.1.4" + "@napi-rs/tar-linux-arm64-gnu": "npm:0.1.4" + "@napi-rs/tar-linux-arm64-musl": "npm:0.1.4" + "@napi-rs/tar-linux-ppc64-gnu": "npm:0.1.4" + "@napi-rs/tar-linux-s390x-gnu": "npm:0.1.4" + "@napi-rs/tar-linux-x64-gnu": "npm:0.1.4" + "@napi-rs/tar-linux-x64-musl": "npm:0.1.4" + "@napi-rs/tar-wasm32-wasi": "npm:0.1.4" + "@napi-rs/tar-win32-arm64-msvc": "npm:0.1.4" + "@napi-rs/tar-win32-ia32-msvc": "npm:0.1.4" + "@napi-rs/tar-win32-x64-msvc": "npm:0.1.4" + dependenciesMeta: + "@napi-rs/tar-android-arm-eabi": + optional: true + "@napi-rs/tar-android-arm64": + optional: true + "@napi-rs/tar-darwin-arm64": + optional: true + "@napi-rs/tar-darwin-x64": + optional: true + "@napi-rs/tar-freebsd-x64": + optional: true + "@napi-rs/tar-linux-arm-gnueabihf": + optional: true + "@napi-rs/tar-linux-arm64-gnu": + optional: true + "@napi-rs/tar-linux-arm64-musl": + optional: true + "@napi-rs/tar-linux-ppc64-gnu": + optional: true + "@napi-rs/tar-linux-s390x-gnu": + optional: true + "@napi-rs/tar-linux-x64-gnu": + optional: true + "@napi-rs/tar-linux-x64-musl": + optional: true + "@napi-rs/tar-wasm32-wasi": + optional: true + "@napi-rs/tar-win32-arm64-msvc": + optional: true + "@napi-rs/tar-win32-ia32-msvc": + optional: true + "@napi-rs/tar-win32-x64-msvc": + optional: true + checksum: 10/b53def6564be07ef40c7e5929a9ee8eeb27cc4ae1d8356ea6708927838a1afb642a30b4fe2db3979e3a02831afba7a9efe13e357abb3c886d2d77b25b8ccb940 + languageName: node + linkType: hard + +"@napi-rs/wasm-runtime@npm:^0.2.3, @napi-rs/wasm-runtime@npm:^0.2.4": + version: 0.2.5 + resolution: "@napi-rs/wasm-runtime@npm:0.2.5" + dependencies: + "@emnapi/core": "npm:^1.1.0" + "@emnapi/runtime": "npm:^1.1.0" + "@tybys/wasm-util": "npm:^0.9.0" + checksum: 10/c84b96bae4e6c952a6d75d808bfc357d6bcaf0025febab4ec4e54877502f377b399bd6d8026ead96c618979c3fbef4066b3df81773acc93dc9af91a334f25106 + languageName: node + linkType: hard + +"@napi-rs/wasm-tools-android-arm-eabi@npm:0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools-android-arm-eabi@npm:0.0.2" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@napi-rs/wasm-tools-android-arm64@npm:0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools-android-arm64@npm:0.0.2" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@napi-rs/wasm-tools-darwin-arm64@npm:0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools-darwin-arm64@npm:0.0.2" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@napi-rs/wasm-tools-darwin-x64@npm:0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools-darwin-x64@npm:0.0.2" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@napi-rs/wasm-tools-freebsd-x64@npm:0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools-freebsd-x64@npm:0.0.2" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@napi-rs/wasm-tools-linux-arm64-gnu@npm:0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools-linux-arm64-gnu@npm:0.0.2" + conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/sunos-x64@npm:0.21.5" - conditions: os=sunos & cpu=x64 +"@napi-rs/wasm-tools-linux-arm64-musl@npm:0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools-linux-arm64-musl@npm:0.0.2" + conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/win32-arm64@npm:0.21.5" - conditions: os=win32 & cpu=arm64 +"@napi-rs/wasm-tools-linux-x64-gnu@npm:0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools-linux-x64-gnu@npm:0.0.2" + conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/win32-ia32@npm:0.21.5" - conditions: os=win32 & cpu=ia32 +"@napi-rs/wasm-tools-linux-x64-musl@npm:0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools-linux-x64-musl@npm:0.0.2" + conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.21.5": - version: 0.21.5 - resolution: "@esbuild/win32-x64@npm:0.21.5" - conditions: os=win32 & cpu=x64 +"@napi-rs/wasm-tools-wasm32-wasi@npm:0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools-wasm32-wasi@npm:0.0.2" + dependencies: + "@napi-rs/wasm-runtime": "npm:^0.2.3" + conditions: cpu=wasm32 languageName: node linkType: hard -"@isaacs/cliui@npm:^8.0.2": - version: 8.0.2 - resolution: "@isaacs/cliui@npm:8.0.2" - dependencies: - string-width: "npm:^5.1.2" - string-width-cjs: "npm:string-width@^4.2.0" - strip-ansi: "npm:^7.0.1" - strip-ansi-cjs: "npm:strip-ansi@^6.0.1" - wrap-ansi: "npm:^8.1.0" - wrap-ansi-cjs: "npm:wrap-ansi@^7.0.0" - checksum: 10/e9ed5fd27c3aec1095e3a16e0c0cf148d1fee55a38665c35f7b3f86a9b5d00d042ddaabc98e8a1cb7463b9378c15f22a94eb35e99469c201453eb8375191f243 +"@napi-rs/wasm-tools-win32-arm64-msvc@npm:0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools-win32-arm64-msvc@npm:0.0.2" + conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@lambda-group/scylladb@workspace:.": - version: 0.0.0-use.local - resolution: "@lambda-group/scylladb@workspace:." - dependencies: - "@napi-rs/cli": "npm:^2.18.3" - "@swc-node/register": "npm:^1.10.0" - "@swc/core": "npm:^1.6.6" - "@types/node": "npm:^20.14.9" - ava: "npm:^6.1.3" - tsx: "npm:^4.16.0" - typescript: "npm:^5.5.2" - languageName: unknown - linkType: soft +"@napi-rs/wasm-tools-win32-ia32-msvc@npm:0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools-win32-ia32-msvc@npm:0.0.2" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard -"@mapbox/node-pre-gyp@npm:^1.0.5": - version: 1.0.11 - resolution: "@mapbox/node-pre-gyp@npm:1.0.11" - dependencies: - detect-libc: "npm:^2.0.0" - https-proxy-agent: "npm:^5.0.0" - make-dir: "npm:^3.1.0" - node-fetch: "npm:^2.6.7" - nopt: "npm:^5.0.0" - npmlog: "npm:^5.0.1" - rimraf: "npm:^3.0.2" - semver: "npm:^7.3.5" - tar: "npm:^6.1.11" - bin: - node-pre-gyp: bin/node-pre-gyp - checksum: 10/59529a2444e44fddb63057152452b00705aa58059079191126c79ac1388ae4565625afa84ed4dd1bf017d1111ab6e47907f7c5192e06d83c9496f2f3e708680a +"@napi-rs/wasm-tools-win32-x64-msvc@npm:0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools-win32-x64-msvc@npm:0.0.2" + conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@napi-rs/cli@npm:^2.18.3": - version: 2.18.3 - resolution: "@napi-rs/cli@npm:2.18.3" - bin: - napi: scripts/index.js - checksum: 10/1400e14351f8315ef76f14dccdae4944b3755d9816d74a7d9e4fed5d634d28702493af7ea96d0297da114b88e952535f63c948887f4e1a8cfad189b5feccdec0 +"@napi-rs/wasm-tools@npm:^0.0.2": + version: 0.0.2 + resolution: "@napi-rs/wasm-tools@npm:0.0.2" + dependencies: + "@napi-rs/wasm-tools-android-arm-eabi": "npm:0.0.2" + "@napi-rs/wasm-tools-android-arm64": "npm:0.0.2" + "@napi-rs/wasm-tools-darwin-arm64": "npm:0.0.2" + "@napi-rs/wasm-tools-darwin-x64": "npm:0.0.2" + "@napi-rs/wasm-tools-freebsd-x64": "npm:0.0.2" + "@napi-rs/wasm-tools-linux-arm64-gnu": "npm:0.0.2" + "@napi-rs/wasm-tools-linux-arm64-musl": "npm:0.0.2" + "@napi-rs/wasm-tools-linux-x64-gnu": "npm:0.0.2" + "@napi-rs/wasm-tools-linux-x64-musl": "npm:0.0.2" + "@napi-rs/wasm-tools-wasm32-wasi": "npm:0.0.2" + "@napi-rs/wasm-tools-win32-arm64-msvc": "npm:0.0.2" + "@napi-rs/wasm-tools-win32-ia32-msvc": "npm:0.0.2" + "@napi-rs/wasm-tools-win32-x64-msvc": "npm:0.0.2" + dependenciesMeta: + "@napi-rs/wasm-tools-android-arm-eabi": + optional: true + "@napi-rs/wasm-tools-android-arm64": + optional: true + "@napi-rs/wasm-tools-darwin-arm64": + optional: true + "@napi-rs/wasm-tools-darwin-x64": + optional: true + "@napi-rs/wasm-tools-freebsd-x64": + optional: true + "@napi-rs/wasm-tools-linux-arm64-gnu": + optional: true + "@napi-rs/wasm-tools-linux-arm64-musl": + optional: true + "@napi-rs/wasm-tools-linux-x64-gnu": + optional: true + "@napi-rs/wasm-tools-linux-x64-musl": + optional: true + "@napi-rs/wasm-tools-wasm32-wasi": + optional: true + "@napi-rs/wasm-tools-win32-arm64-msvc": + optional: true + "@napi-rs/wasm-tools-win32-ia32-msvc": + optional: true + "@napi-rs/wasm-tools-win32-x64-msvc": + optional: true + checksum: 10/748024f30b645cfc431ab6c8a36d4605d80f4396425ab7104624fb5531b182409ec2380ef457aa4c579f933e825957f5a17d4860ac0bab05b8db12f020a37afe languageName: node linkType: hard @@ -258,6 +1011,129 @@ __metadata: languageName: node linkType: hard +"@octokit/auth-token@npm:^5.0.0": + version: 5.1.1 + resolution: "@octokit/auth-token@npm:5.1.1" + checksum: 10/956ee8166ad1b623478ac5168529a081658bceb16e267102b149b44366a9280b5104a0346a4f1c5de12981d2dedb767f7b71d7e1b1ddd1ccb591efa8c6c06f94 + languageName: node + linkType: hard + +"@octokit/core@npm:^6.1.2": + version: 6.1.2 + resolution: "@octokit/core@npm:6.1.2" + dependencies: + "@octokit/auth-token": "npm:^5.0.0" + "@octokit/graphql": "npm:^8.0.0" + "@octokit/request": "npm:^9.0.0" + "@octokit/request-error": "npm:^6.0.1" + "@octokit/types": "npm:^13.0.0" + before-after-hook: "npm:^3.0.2" + universal-user-agent: "npm:^7.0.0" + checksum: 10/ef8cc502790142d892b97b92a6e398323f1e4be777e5675681d5985d4681855f4e6f02a7b16466984af702ecdffed0ab923610d59c07c540c3e243160818eaec + languageName: node + linkType: hard + +"@octokit/endpoint@npm:^10.0.0": + version: 10.1.1 + resolution: "@octokit/endpoint@npm:10.1.1" + dependencies: + "@octokit/types": "npm:^13.0.0" + universal-user-agent: "npm:^7.0.2" + checksum: 10/6b8991b278ba7e63ddf95e7396f54e5f1347237f11fb845322ec25101764336ed0994ccb197c449b4fd4bc00ec5b78780ccbc3a0b48ba0620dcc115027a3add1 + languageName: node + linkType: hard + +"@octokit/graphql@npm:^8.0.0": + version: 8.1.1 + resolution: "@octokit/graphql@npm:8.1.1" + dependencies: + "@octokit/request": "npm:^9.0.0" + "@octokit/types": "npm:^13.0.0" + universal-user-agent: "npm:^7.0.0" + checksum: 10/d8b3941e6afa724fba0cff79c71c839971aed6f87777833e1f6facc816c5fcd9a5b637dad779462cd723aa7490151f69fc6634758ca5bfe76f2cce298df934a1 + languageName: node + linkType: hard + +"@octokit/openapi-types@npm:^22.2.0": + version: 22.2.0 + resolution: "@octokit/openapi-types@npm:22.2.0" + checksum: 10/0471b0c789fada5aa2390e6f82ba477738228ef7d2d986dda9aab0cb625d1562bd178ba0ba4d2655ce841079cd5efff9e58ece2077c27e569ea22109ea301830 + languageName: node + linkType: hard + +"@octokit/plugin-paginate-rest@npm:^11.0.0": + version: 11.3.5 + resolution: "@octokit/plugin-paginate-rest@npm:11.3.5" + dependencies: + "@octokit/types": "npm:^13.6.0" + peerDependencies: + "@octokit/core": ">=6" + checksum: 10/daa911bb370818d8cd561a7d449d164cbad6e9e29c11c666054f1ecc19d2ea9fbdc9ef8c65f33a1102096eb671847d343ae57acbeb17185e64447741ffdfde3e + languageName: node + linkType: hard + +"@octokit/plugin-request-log@npm:^5.3.1": + version: 5.3.1 + resolution: "@octokit/plugin-request-log@npm:5.3.1" + peerDependencies: + "@octokit/core": ">=6" + checksum: 10/a27e163282c8d0ba8feee4d3cbbd1b62e1aa89a892877f7a9876fc17ddde3e1e1af922e6664221a0cabae99b8a7a2a5215b9ec2ee5222edb50e06298e99022b0 + languageName: node + linkType: hard + +"@octokit/plugin-rest-endpoint-methods@npm:^13.0.0": + version: 13.2.6 + resolution: "@octokit/plugin-rest-endpoint-methods@npm:13.2.6" + dependencies: + "@octokit/types": "npm:^13.6.1" + peerDependencies: + "@octokit/core": ">=6" + checksum: 10/368aee8b3f638faefc1426e77c138a2784fb56d0bec4e71bb128c2a46f90903b800ac2c8373c217c364f0efc403f1504e041ddba2168803a27af5c55a9fd921e + languageName: node + linkType: hard + +"@octokit/request-error@npm:^6.0.1": + version: 6.1.5 + resolution: "@octokit/request-error@npm:6.1.5" + dependencies: + "@octokit/types": "npm:^13.0.0" + checksum: 10/a0891df29957d9911ef34281fefffac4a98baa96ffffeb1a2b8f0c8e229911ca3da2be42e5bbe6a4b994a12fd100f4d0d86be095fada60384cd6728705eae859 + languageName: node + linkType: hard + +"@octokit/request@npm:^9.0.0": + version: 9.1.3 + resolution: "@octokit/request@npm:9.1.3" + dependencies: + "@octokit/endpoint": "npm:^10.0.0" + "@octokit/request-error": "npm:^6.0.1" + "@octokit/types": "npm:^13.1.0" + universal-user-agent: "npm:^7.0.2" + checksum: 10/b445f263157a2c608d8cfa89162be5f5d39551607d0ec973c3fdf9d3fd3753e33861c4e34942f5dbf47576ac91a99238ed482f2d6c6af3f9070e0b190b3f07a2 + languageName: node + linkType: hard + +"@octokit/rest@npm:^21.0.0": + version: 21.0.2 + resolution: "@octokit/rest@npm:21.0.2" + dependencies: + "@octokit/core": "npm:^6.1.2" + "@octokit/plugin-paginate-rest": "npm:^11.0.0" + "@octokit/plugin-request-log": "npm:^5.3.1" + "@octokit/plugin-rest-endpoint-methods": "npm:^13.0.0" + checksum: 10/f67fbb1b3e9568f352933c55703cd33354183e48710a146f6a1c5930419006d2d97c08f5b0a29a56fffc9e53f01b34bae2681a577f604172f4331644b85a9779 + languageName: node + linkType: hard + +"@octokit/types@npm:^13.0.0, @octokit/types@npm:^13.1.0, @octokit/types@npm:^13.6.0, @octokit/types@npm:^13.6.1": + version: 13.6.1 + resolution: "@octokit/types@npm:13.6.1" + dependencies: + "@octokit/openapi-types": "npm:^22.2.0" + checksum: 10/9ea6189839439e1085799cc16ee699292538d9c14dd15e9e45462377287f863b6be93455d2ad9acffd561018a0c35adbb9d1437e92075c9058d6c6d69ff2f503 + languageName: node + linkType: hard + "@pkgjs/parseargs@npm:^0.11.0": version: 0.11.0 resolution: "@pkgjs/parseargs@npm:0.11.0" @@ -458,6 +1334,33 @@ __metadata: languageName: node linkType: hard +"@tybys/wasm-util@npm:^0.9.0": + version: 0.9.0 + resolution: "@tybys/wasm-util@npm:0.9.0" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10/aa58e64753a420ad1eefaf7bacef3dda61d74f9336925943d9244132d5b48d9242f734f1e707fd5ccfa6dd1d8ec8e6debc234b4dedb3a5b0d8486d1f373350b2 + languageName: node + linkType: hard + +"@types/mute-stream@npm:^0.0.4": + version: 0.0.4 + resolution: "@types/mute-stream@npm:0.0.4" + dependencies: + "@types/node": "npm:*" + checksum: 10/af8d83ad7b68ea05d9357985daf81b6c9b73af4feacb2f5c2693c7fd3e13e5135ef1bd083ce8d5bdc8e97acd28563b61bb32dec4e4508a8067fcd31b8a098632 + languageName: node + linkType: hard + +"@types/node@npm:*, @types/node@npm:^22.5.5": + version: 22.7.4 + resolution: "@types/node@npm:22.7.4" + dependencies: + undici-types: "npm:~6.19.2" + checksum: 10/19ddab80c4eba2253c855ed67c9bbc47417183049d01e59010a738bd80d47338bab79fd1f44ae51516bd63a1db4bf21ddb38b16bf6401a2e93252068ec52e88b + languageName: node + linkType: hard + "@types/node@npm:^20.14.9": version: 20.14.9 resolution: "@types/node@npm:20.14.9" @@ -467,6 +1370,13 @@ __metadata: languageName: node linkType: hard +"@types/wrap-ansi@npm:^3.0.0": + version: 3.0.0 + resolution: "@types/wrap-ansi@npm:3.0.0" + checksum: 10/8aa644946ca4e859668c36b8e2bcf2ac4bdee59dac760414730ea57be8a93ae9166ebd40a088f2ab714843aaea2a2a67f0e6e6ec11cfc9c8701b2466ca1c4089 + languageName: node + linkType: hard + "@vercel/nft@npm:^0.26.2": version: 0.26.5 resolution: "@vercel/nft@npm:0.26.5" @@ -551,6 +1461,15 @@ __metadata: languageName: node linkType: hard +"ansi-escapes@npm:^4.3.2": + version: 4.3.2 + resolution: "ansi-escapes@npm:4.3.2" + dependencies: + type-fest: "npm:^0.21.3" + checksum: 10/8661034456193ffeda0c15c8c564a9636b0c04094b7f78bd01517929c17c504090a60f7a75f949f5af91289c264d3e1001d91492c1bd58efc8e100500ce04de2 + languageName: node + linkType: hard + "ansi-regex@npm:^5.0.1": version: 5.0.1 resolution: "ansi-regex@npm:5.0.1" @@ -617,6 +1536,13 @@ __metadata: languageName: node linkType: hard +"argparse@npm:^2.0.1": + version: 2.0.1 + resolution: "argparse@npm:2.0.1" + checksum: 10/18640244e641a417ec75a9bd38b0b2b6b95af5199aa241b131d4b2fb206f334d7ecc600bd194861610a5579084978bfcbb02baa399dbe442d56d0ae5e60dbaef + languageName: node + linkType: hard + "array-find-index@npm:^1.0.1": version: 1.0.2 resolution: "array-find-index@npm:1.0.2" @@ -707,6 +1633,13 @@ __metadata: languageName: node linkType: hard +"before-after-hook@npm:^3.0.2": + version: 3.0.2 + resolution: "before-after-hook@npm:3.0.2" + checksum: 10/57dfee78930276a740559552460a83f31c605e0164f02f170f71352aa1f4f5fb2c1632ac3bcba06ba711c32bd88b7e3c82431428e0c4984fbd2336faa78cf08c + languageName: node + linkType: hard + "bindings@npm:^1.4.0": version: 1.5.0 resolution: "bindings@npm:1.5.0" @@ -810,6 +1743,13 @@ __metadata: languageName: node linkType: hard +"chardet@npm:^0.7.0": + version: 0.7.0 + resolution: "chardet@npm:0.7.0" + checksum: 10/b0ec668fba5eeec575ed2559a0917ba41a6481f49063c8445400e476754e0957ee09e44dc032310f526182b8f1bf25e9d4ed371f74050af7be1383e06bc44952 + languageName: node + linkType: hard + "chownr@npm:^2.0.0": version: 2.0.0 resolution: "chownr@npm:2.0.0" @@ -855,6 +1795,24 @@ __metadata: languageName: node linkType: hard +"cli-width@npm:^4.1.0": + version: 4.1.0 + resolution: "cli-width@npm:4.1.0" + checksum: 10/b58876fbf0310a8a35c79b72ecfcf579b354e18ad04e6b20588724ea2b522799a758507a37dfe132fafaf93a9922cafd9514d9e1598e6b2cd46694853aed099f + languageName: node + linkType: hard + +"clipanion@npm:^3.2.1": + version: 3.2.1 + resolution: "clipanion@npm:3.2.1" + dependencies: + typanion: "npm:^3.8.0" + peerDependencies: + typanion: "*" + checksum: 10/fdc4d066e6b4683a5264d22851039d41ffcd159eed6888e5aea9744a637effd7a19601fe630c1ab849f22e35620850c5681fe48f12e43c58db1f7ca93ef7bb72 + languageName: node + linkType: hard + "cliui@npm:^8.0.1": version: 8.0.1 resolution: "cliui@npm:8.0.1" @@ -1020,6 +1978,18 @@ __metadata: languageName: node linkType: hard +"emnapi@npm:^1.2.0": + version: 1.3.0 + resolution: "emnapi@npm:1.3.0" + peerDependencies: + node-addon-api: ">= 6.1.0" + peerDependenciesMeta: + node-addon-api: + optional: true + checksum: 10/a054590069750284ca0f6f01bbe3645f58291ccaa8c1d11c01eaeddf704403c4417073e3b5d1097c7f55dd5920f48908cce5999609312dd642e5c2d970ee5ca4 + languageName: node + linkType: hard + "emoji-regex@npm:^10.3.0": version: 10.3.0 resolution: "emoji-regex@npm:10.3.0" @@ -1196,6 +2166,17 @@ __metadata: languageName: node linkType: hard +"external-editor@npm:^3.1.0": + version: 3.1.0 + resolution: "external-editor@npm:3.1.0" + dependencies: + chardet: "npm:^0.7.0" + iconv-lite: "npm:^0.4.24" + tmp: "npm:^0.0.33" + checksum: 10/776dff1d64a1d28f77ff93e9e75421a81c062983fd1544279d0a32f563c0b18c52abbb211f31262e2827e48edef5c9dc8f960d06dd2d42d1654443b88568056b + languageName: node + linkType: hard + "fast-diff@npm:^1.2.0": version: 1.3.0 resolution: "fast-diff@npm:1.3.0" @@ -1479,6 +2460,15 @@ __metadata: languageName: node linkType: hard +"iconv-lite@npm:^0.4.24": + version: 0.4.24 + resolution: "iconv-lite@npm:0.4.24" + dependencies: + safer-buffer: "npm:>= 2.1.2 < 3" + checksum: 10/6d3a2dac6e5d1fb126d25645c25c3a1209f70cceecc68b8ef51ae0da3cdc078c151fade7524a30b12a3094926336831fca09c666ef55b37e2c69638b5d6bd2e3 + languageName: node + linkType: hard + "iconv-lite@npm:^0.6.2": version: 0.6.3 resolution: "iconv-lite@npm:0.6.3" @@ -1658,6 +2648,17 @@ __metadata: languageName: node linkType: hard +"js-yaml@npm:^4.1.0": + version: 4.1.0 + resolution: "js-yaml@npm:4.1.0" + dependencies: + argparse: "npm:^2.0.1" + bin: + js-yaml: bin/js-yaml.js + checksum: 10/c138a34a3fd0d08ebaf71273ad4465569a483b8a639e0b118ff65698d257c2791d3199e3f303631f2cb98213fa7b5f5d6a4621fd0fff819421b990d30d967140 + languageName: node + linkType: hard + "load-json-file@npm:^7.0.1": version: 7.0.1 resolution: "load-json-file@npm:7.0.1" @@ -1665,6 +2666,13 @@ __metadata: languageName: node linkType: hard +"lodash-es@npm:^4.17.21": + version: 4.17.21 + resolution: "lodash-es@npm:4.17.21" + checksum: 10/03f39878ea1e42b3199bd3f478150ab723f93cc8730ad86fec1f2804f4a07c6e30deaac73cad53a88e9c3db33348bb8ceeb274552390e7a75d7849021c02df43 + languageName: node + linkType: hard + "lodash@npm:^4.17.15": version: 4.17.21 resolution: "lodash@npm:4.17.21" @@ -1913,6 +2921,13 @@ __metadata: languageName: node linkType: hard +"mute-stream@npm:^1.0.0": + version: 1.0.0 + resolution: "mute-stream@npm:1.0.0" + checksum: 10/36fc968b0e9c9c63029d4f9dc63911950a3bdf55c9a87f58d3a266289b67180201cade911e7699f8b2fa596b34c9db43dad37649e3f7fdd13c3bb9edb0017ee7 + languageName: node + linkType: hard + "negotiator@npm:^0.6.3": version: 0.6.3 resolution: "negotiator@npm:0.6.3" @@ -2035,6 +3050,13 @@ __metadata: languageName: node linkType: hard +"os-tmpdir@npm:~1.0.2": + version: 1.0.2 + resolution: "os-tmpdir@npm:1.0.2" + checksum: 10/5666560f7b9f10182548bf7013883265be33620b1c1b4a4d405c25be2636f970c5488ff3e6c48de75b55d02bde037249fe5dbfbb4c0fb7714953d56aed062e6d + languageName: node + linkType: hard + "p-map@npm:^4.0.0": version: 4.0.0 resolution: "p-map@npm:4.0.0" @@ -2237,7 +3259,7 @@ __metadata: languageName: node linkType: hard -"safer-buffer@npm:>= 2.1.2 < 3.0.0": +"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" checksum: 10/7eaf7a0cf37cc27b42fb3ef6a9b1df6e93a1c6d98c6c6702b02fe262d5fcbd89db63320793b99b21cb5348097d0a53de81bd5f4e8b86e20cc9412e3f1cfb4e83 @@ -2264,6 +3286,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.5.4": + version: 7.6.3 + resolution: "semver@npm:7.6.3" + bin: + semver: bin/semver.js + checksum: 10/36b1fbe1a2b6f873559cd57b238f1094a053dbfd997ceeb8757d79d1d2089c56d1321b9f1069ce263dc64cfa922fa1d2ad566b39426fe1ac6c723c1487589e10 + languageName: node + linkType: hard + "serialize-error@npm:^7.0.1": version: 7.0.1 resolution: "serialize-error@npm:7.0.1" @@ -2303,7 +3334,7 @@ __metadata: languageName: node linkType: hard -"signal-exit@npm:^4.0.1": +"signal-exit@npm:^4.0.1, signal-exit@npm:^4.1.0": version: 4.1.0 resolution: "signal-exit@npm:4.1.0" checksum: 10/c9fa63bbbd7431066174a48ba2dd9986dfd930c3a8b59de9c29d7b6854ec1c12a80d15310869ea5166d413b99f041bfa3dd80a7947bcd44ea8e6eb3ffeabfa1f @@ -2497,6 +3528,15 @@ __metadata: languageName: node linkType: hard +"tmp@npm:^0.0.33": + version: 0.0.33 + resolution: "tmp@npm:0.0.33" + dependencies: + os-tmpdir: "npm:~1.0.2" + checksum: 10/09c0abfd165cff29b32be42bc35e80b8c64727d97dedde6550022e88fa9fd39a084660415ed8e3ebaa2aca1ee142f86df8b31d4196d4f81c774a3a20fd4b6abf + languageName: node + linkType: hard + "to-regex-range@npm:^5.0.1": version: 5.0.1 resolution: "to-regex-range@npm:5.0.1" @@ -2506,6 +3546,13 @@ __metadata: languageName: node linkType: hard +"toml@npm:^3.0.0": + version: 3.0.0 + resolution: "toml@npm:3.0.0" + checksum: 10/cfef0966868d552bd02e741f30945a611f70841b7cddb07ea2b17441fe32543985bc0a7c0dcf7971af26fcaf8a17712a485d911f46bfe28644536e9a71a2bd09 + languageName: node + linkType: hard + "tr46@npm:~0.0.3": version: 0.0.3 resolution: "tr46@npm:0.0.3" @@ -2513,6 +3560,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.4.0": + version: 2.7.0 + resolution: "tslib@npm:2.7.0" + checksum: 10/9a5b47ddac65874fa011c20ff76db69f97cf90c78cff5934799ab8894a5342db2d17b4e7613a087046bc1d133d21547ddff87ac558abeec31ffa929c88b7fce6 + languageName: node + linkType: hard + "tslib@npm:^2.6.2": version: 2.6.3 resolution: "tslib@npm:2.6.3" @@ -2536,6 +3590,13 @@ __metadata: languageName: node linkType: hard +"typanion@npm:^3.14.0, typanion@npm:^3.8.0": + version: 3.14.0 + resolution: "typanion@npm:3.14.0" + checksum: 10/5e88d9e6121ff0ec543f572152fdd1b70e9cca35406d79013ec8e08defa8ef96de5fec9e98da3afbd1eb4426b9e8e8fe423163d0b482e34a40103cab1ef29abd + languageName: node + linkType: hard + "type-fest@npm:^0.13.1": version: 0.13.1 resolution: "type-fest@npm:0.13.1" @@ -2543,6 +3604,13 @@ __metadata: languageName: node linkType: hard +"type-fest@npm:^0.21.3": + version: 0.21.3 + resolution: "type-fest@npm:0.21.3" + checksum: 10/f4254070d9c3d83a6e573bcb95173008d73474ceadbbf620dd32d273940ca18734dff39c2b2480282df9afe5d1675ebed5499a00d791758748ea81f61a38961f + languageName: node + linkType: hard + "typescript@npm:^5.5.2": version: 5.5.2 resolution: "typescript@npm:5.5.2" @@ -2570,6 +3638,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~6.19.2": + version: 6.19.8 + resolution: "undici-types@npm:6.19.8" + checksum: 10/cf0b48ed4fc99baf56584afa91aaffa5010c268b8842f62e02f752df209e3dea138b372a60a963b3b2576ed932f32329ce7ddb9cb5f27a6c83040d8cd74b7a70 + languageName: node + linkType: hard + "unicorn-magic@npm:^0.1.0": version: 0.1.0 resolution: "unicorn-magic@npm:0.1.0" @@ -2595,6 +3670,13 @@ __metadata: languageName: node linkType: hard +"universal-user-agent@npm:^7.0.0, universal-user-agent@npm:^7.0.2": + version: 7.0.2 + resolution: "universal-user-agent@npm:7.0.2" + checksum: 10/3f02cb6de0bb9fbaf379566bd0320d8e46af6e4358a2e88fce7e70687ed7b48b37f479d728bb22f4204a518e363f3038ac4841c033af1ee2253f6428a6c67e53 + languageName: node + linkType: hard + "util-deprecate@npm:^1.0.1": version: 1.0.2 resolution: "util-deprecate@npm:1.0.2" @@ -2602,6 +3684,15 @@ __metadata: languageName: node linkType: hard +"wasm-sjlj@npm:^1.0.5": + version: 1.0.5 + resolution: "wasm-sjlj@npm:1.0.5" + dependencies: + node-gyp: "npm:latest" + checksum: 10/9d301ef7f7af3a770fdf30ca6231decb441897f9cd4f9bafffccdd621ca7795bd2c4d4215c3c9262ea45534bf94700c841684a441b181ca7b9d4005e893409a8 + languageName: node + linkType: hard + "webidl-conversions@npm:^3.0.0": version: 3.0.1 resolution: "webidl-conversions@npm:3.0.1" @@ -2657,6 +3748,17 @@ __metadata: languageName: node linkType: hard +"wrap-ansi@npm:^6.2.0": + version: 6.2.0 + resolution: "wrap-ansi@npm:6.2.0" + dependencies: + ansi-styles: "npm:^4.0.0" + string-width: "npm:^4.1.0" + strip-ansi: "npm:^6.0.0" + checksum: 10/0d64f2d438e0b555e693b95aee7b2689a12c3be5ac458192a1ce28f542a6e9e59ddfecc37520910c2c88eb1f82a5411260566dba5064e8f9895e76e169e76187 + languageName: node + linkType: hard + "wrap-ansi@npm:^8.1.0": version: 8.1.0 resolution: "wrap-ansi@npm:8.1.0" @@ -2720,3 +3822,10 @@ __metadata: checksum: 10/abb3e37678d6e38ea85485ed86ebe0d1e3464c640d7d9069805ea0da12f69d5a32df8e5625e370f9c96dd1c2dc088ab2d0a4dd32af18222ef3c4224a19471576 languageName: node linkType: hard + +"yoctocolors-cjs@npm:^2.1.2": + version: 2.1.2 + resolution: "yoctocolors-cjs@npm:2.1.2" + checksum: 10/d731e3ba776a0ee19021d909787942933a6c2eafb2bbe85541f0c59aa5c7d475ce86fcb860d5803105e32244c3dd5ba875b87c4c6bf2d6f297da416aa54e556f + languageName: node + linkType: hard From eb4bae5ec5e776c14f00e6c33ff309a14d0f9231 Mon Sep 17 00:00:00 2001 From: Daniel Boll Date: Sun, 6 Oct 2024 17:05:40 -0300 Subject: [PATCH 2/2] chore(ci): bump checkout to @v4 too Signed-off-by: Daniel Boll --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 304e666..15ae2b1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -28,7 +28,7 @@ jobs: should_publish: ${{ steps.check-commit.outputs.should_publish }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Check commit message for version id: check-commit run: |