From 0a5226c4be9065a2d873c3535c7b286bf56611bd Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Mon, 18 Mar 2024 09:59:38 +0800 Subject: [PATCH] chore: upgrade slonik --- packages/cli/package.json | 4 +- .../cli/src/commands/database/seed/tables.ts | 5 +- .../cli/src/commands/database/seed/tenant.ts | 3 +- packages/cli/src/database.ts | 13 +- packages/core/package.json | 4 +- packages/core/src/env-set/create-pool.ts | 16 +- .../1.0.0_rc.0-1674032095.5-multi-tenancy.ts | 11 +- ...1.0.0_rc.1-1675788753-multi-tenancy-rls.ts | 3 +- .../1.0.0_rc.1-1676115897-add-admin-tenant.ts | 3 +- packages/schemas/package.json | 3 +- pnpm-lock.yaml | 469 ++---------------- 11 files changed, 74 insertions(+), 460 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index 8c68d17a4..d8824de61 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -65,9 +65,7 @@ "pg-protocol": "^1.6.0", "roarr": "^7.11.0", "semver": "^7.3.8", - "@silverhand/slonik": "31.0.0-beta.0", - "slonik-interceptor-preset": "^1.2.10", - "slonik-sql-tag-raw": "^1.1.4", + "@silverhand/slonik": "31.0.0-beta.2", "tar": "^6.1.11", "typescript": "^5.3.3", "yargs": "^17.6.0", diff --git a/packages/cli/src/commands/database/seed/tables.ts b/packages/cli/src/commands/database/seed/tables.ts index 233d3312e..9ad254d78 100644 --- a/packages/cli/src/commands/database/seed/tables.ts +++ b/packages/cli/src/commands/database/seed/tables.ts @@ -31,7 +31,6 @@ import { Tenants } from '@logto/schemas/models'; import { generateStandardId } from '@logto/shared'; import type { DatabaseTransactionConnection } from '@silverhand/slonik'; import { sql } from '@silverhand/slonik'; -import { raw } from 'slonik-sql-tag-raw'; import { insertInto } from '../../../database.js'; import { getDatabaseName } from '../../../queries/database.js'; @@ -105,7 +104,7 @@ export const createTables = async ( if (query) { await connection.query( - sql`${raw( + sql`${sql.raw( /* eslint-disable no-template-curly-in-string */ query .replaceAll('${name}', parameters.name ?? '') @@ -129,7 +128,7 @@ export const createTables = async ( /* eslint-disable no-await-in-loop */ for (const [file, query] of sorted) { - await connection.query(sql`${raw(query)}`); + await connection.query(sql`${sql.raw(query)}`); if (!query.includes('/* no_after_each */')) { await runLifecycleQuery('after_each', { name: file.split('.')[0], database }); diff --git a/packages/cli/src/commands/database/seed/tenant.ts b/packages/cli/src/commands/database/seed/tenant.ts index c85c0548b..092fe3a8a 100644 --- a/packages/cli/src/commands/database/seed/tenant.ts +++ b/packages/cli/src/commands/database/seed/tenant.ts @@ -19,7 +19,6 @@ import { generateStandardId } from '@logto/shared'; import { assert } from '@silverhand/essentials'; import type { CommonQueryMethods, DatabaseTransactionConnection } from '@silverhand/slonik'; import { sql } from '@silverhand/slonik'; -import { raw } from 'slonik-sql-tag-raw'; import { insertInto } from '../../../database.js'; import { getDatabaseName } from '../../../queries/database.js'; @@ -37,7 +36,7 @@ export const createTenant = async (pool: CommonQueryMethods, tenantId: string) = await pool.query(insertInto(createTenant, 'tenants')); await pool.query(sql` create role ${sql.identifier([role])} with inherit login - password '${raw(password)}' + password '${sql.raw(password)}' in role ${sql.identifier([parentRole])}; `); }; diff --git a/packages/cli/src/database.ts b/packages/cli/src/database.ts index 7cdd88731..f639ce823 100644 --- a/packages/cli/src/database.ts +++ b/packages/cli/src/database.ts @@ -1,9 +1,14 @@ import type { SchemaLike } from '@logto/schemas'; import { assert } from '@silverhand/essentials'; -import { createPool, parseDsn, sql, stringifyDsn } from '@silverhand/slonik'; +import { + createPool, + parseDsn, + sql, + stringifyDsn, + createInterceptorsPreset, +} from '@silverhand/slonik'; import decamelize from 'decamelize'; import { DatabaseError } from 'pg-protocol'; -import { createInterceptors } from 'slonik-interceptor-preset'; import { convertToPrimitiveOrSql } from './sql.js'; import { ConfigKey, consoleLog, getCliConfigWithPrompt } from './utils.js'; @@ -22,7 +27,7 @@ export const createPoolFromConfig = async () => { assert(parseDsn(databaseUrl).databaseName, new Error('Database name is required in URL')); return createPool(databaseUrl, { - interceptors: createInterceptors(), + interceptors: createInterceptorsPreset(), }); }; @@ -49,7 +54,7 @@ export const createPoolAndDatabaseIfNeeded = async () => { // - It will throw error when creating database using '?' const databaseName = dsn.databaseName ?? '?'; const maintenancePool = await createPool(stringifyDsn({ ...dsn, databaseName: 'postgres' }), { - interceptors: createInterceptors(), + interceptors: createInterceptorsPreset(), }); await maintenancePool.query(sql` create database ${sql.identifier([databaseName])} diff --git a/packages/core/package.json b/packages/core/package.json index 739448f0c..bd1f2c781 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -85,9 +85,7 @@ "roarr": "^7.11.0", "samlify": "2.8.10", "semver": "^7.3.8", - "@silverhand/slonik": "31.0.0-beta.0", - "slonik-interceptor-preset": "^1.2.10", - "slonik-sql-tag-raw": "^1.1.4", + "@silverhand/slonik": "31.0.0-beta.2", "snake-case": "^3.0.4", "snakecase-keys": "^6.0.0", "zod": "^3.22.4" diff --git a/packages/core/src/env-set/create-pool.ts b/packages/core/src/env-set/create-pool.ts index 8da01be56..6dce0f532 100644 --- a/packages/core/src/env-set/create-pool.ts +++ b/packages/core/src/env-set/create-pool.ts @@ -1,6 +1,11 @@ import { assert } from '@silverhand/essentials'; -import { createMockPool, createMockQueryResult, createPool, parseDsn } from '@silverhand/slonik'; -import { createInterceptors } from 'slonik-interceptor-preset'; +import { + createMockPool, + createMockQueryResult, + createPool, + parseDsn, + createInterceptorsPreset, +} from '@silverhand/slonik'; const createPoolByEnv = async ( databaseDsn: string, @@ -12,11 +17,12 @@ const createPoolByEnv = async ( return createMockPool({ query: async () => createMockQueryResult([]) }); } - const interceptors = [...createInterceptors()]; - assert(parseDsn(databaseDsn).databaseName, new Error('Database name is required')); - return createPool(databaseDsn, { interceptors, maximumPoolSize: poolSize }); + return createPool(databaseDsn, { + interceptors: createInterceptorsPreset(), + maximumPoolSize: poolSize, + }); }; export default createPoolByEnv; diff --git a/packages/schemas/alterations/1.0.0_rc.0-1674032095.5-multi-tenancy.ts b/packages/schemas/alterations/1.0.0_rc.0-1674032095.5-multi-tenancy.ts index 0e059e0db..2538f6ff4 100644 --- a/packages/schemas/alterations/1.0.0_rc.0-1674032095.5-multi-tenancy.ts +++ b/packages/schemas/alterations/1.0.0_rc.0-1674032095.5-multi-tenancy.ts @@ -1,5 +1,4 @@ import { sql } from '@silverhand/slonik'; -import { raw } from 'slonik-sql-tag-raw'; import type { AlterationScript } from '../lib/types/alteration.js'; @@ -121,7 +120,7 @@ const alteration: AlterationScript = { on ${getId(table)} ( ${tenantId}, ${sql.join( - columns.map((column) => raw(column)), + columns.map((column) => sql.raw(column)), sql`, ` )} ); @@ -147,7 +146,7 @@ const alteration: AlterationScript = { add constraint ${indexName} unique ( ${tenantId}, ${sql.join( - columns.map((column) => raw(column)), + columns.map((column) => sql.raw(column)), sql`, ` )} ); @@ -171,7 +170,7 @@ const alteration: AlterationScript = { create unique index ${indexName} on ${getId(table)} ( ${sql.join( - columns.map((column) => raw(column)), + columns.map((column) => sql.raw(column)), sql`, ` )} ) @@ -180,7 +179,7 @@ const alteration: AlterationScript = { alter table ${getId(table)} add constraint ${indexName} unique ( ${sql.join( - columns.map((column) => raw(column)), + columns.map((column) => sql.raw(column)), sql`, ` )} ); @@ -203,7 +202,7 @@ const alteration: AlterationScript = { create index ${indexName} on ${getId(table)} ( ${sql.join( - columns.map((column) => raw(column)), + columns.map((column) => sql.raw(column)), sql`, ` )} ); diff --git a/packages/schemas/alterations/1.0.0_rc.1-1675788753-multi-tenancy-rls.ts b/packages/schemas/alterations/1.0.0_rc.1-1675788753-multi-tenancy-rls.ts index 4dd22b936..dc15876f2 100644 --- a/packages/schemas/alterations/1.0.0_rc.1-1675788753-multi-tenancy-rls.ts +++ b/packages/schemas/alterations/1.0.0_rc.1-1675788753-multi-tenancy-rls.ts @@ -1,7 +1,6 @@ import { generateStandardId } from '@logto/shared/universal'; import type { CommonQueryMethods } from '@silverhand/slonik'; import { sql } from '@silverhand/slonik'; -import { raw } from 'slonik-sql-tag-raw'; import type { AlterationScript } from '../lib/types/alteration.js'; @@ -123,7 +122,7 @@ const alteration: AlterationScript = { `); await pool.query(sql` create role ${sql.identifier([role])} with inherit login - password '${raw(password)}' + password '${sql.raw(password)}' in role ${sql.identifier([baseRole])}; `); }, diff --git a/packages/schemas/alterations/1.0.0_rc.1-1676115897-add-admin-tenant.ts b/packages/schemas/alterations/1.0.0_rc.1-1676115897-add-admin-tenant.ts index 11533fe5c..f6767435b 100644 --- a/packages/schemas/alterations/1.0.0_rc.1-1676115897-add-admin-tenant.ts +++ b/packages/schemas/alterations/1.0.0_rc.1-1676115897-add-admin-tenant.ts @@ -1,7 +1,6 @@ import { generateStandardId } from '@logto/shared/universal'; import type { CommonQueryMethods } from '@silverhand/slonik'; import { sql } from '@silverhand/slonik'; -import { raw } from 'slonik-sql-tag-raw'; import type { AlterationScript } from '../lib/types/alteration.js'; @@ -154,7 +153,7 @@ const alteration: AlterationScript = { `); await pool.query(sql` create role ${getId(role)} with inherit login - password '${raw(password)}' + password '${sql.raw(password)}' in role ${getId(baseRole)}; `); diff --git a/packages/schemas/package.json b/packages/schemas/package.json index 257487297..81c346625 100644 --- a/packages/schemas/package.json +++ b/packages/schemas/package.json @@ -55,8 +55,7 @@ "pluralize": "^8.0.0", "prettier": "^3.0.0", "roarr": "^7.11.0", - "@silverhand/slonik": "31.0.0-beta.0", - "slonik-sql-tag-raw": "^1.1.4", + "@silverhand/slonik": "31.0.0-beta.2", "typescript": "^5.3.3" }, "eslintConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3b3645236..86c857370 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -128,8 +128,8 @@ importers: specifier: ^2.9.0 version: 2.9.0 '@silverhand/slonik': - specifier: 31.0.0-beta.0 - version: 31.0.0-beta.0 + specifier: 31.0.0-beta.2 + version: 31.0.0-beta.2 chalk: specifier: ^5.0.0 version: 5.1.2 @@ -172,12 +172,6 @@ importers: semver: specifier: ^7.3.8 version: 7.5.2 - slonik-interceptor-preset: - specifier: ^1.2.10 - version: 1.2.10 - slonik-sql-tag-raw: - specifier: ^1.1.4 - version: 1.1.4(roarr@7.11.0)(slonik@30.4.0) tar: specifier: ^6.1.11 version: 6.1.11 @@ -3267,8 +3261,8 @@ importers: specifier: ^2.9.0 version: 2.9.0 '@silverhand/slonik': - specifier: 31.0.0-beta.0 - version: 31.0.0-beta.0 + specifier: 31.0.0-beta.2 + version: 31.0.0-beta.2 '@simplewebauthn/server': specifier: ^9.0.0 version: 9.0.1 @@ -3392,12 +3386,6 @@ importers: semver: specifier: ^7.3.8 version: 7.5.2 - slonik-interceptor-preset: - specifier: ^1.2.10 - version: 1.2.10 - slonik-sql-tag-raw: - specifier: ^1.1.4 - version: 1.1.4(roarr@7.11.0)(slonik@30.4.0) snake-case: specifier: ^3.0.4 version: 3.0.4 @@ -4013,8 +4001,8 @@ importers: specifier: ^2.9.0 version: 2.9.0 '@silverhand/slonik': - specifier: 31.0.0-beta.0 - version: 31.0.0-beta.0 + specifier: 31.0.0-beta.2 + version: 31.0.0-beta.2 '@silverhand/ts-config': specifier: 5.0.0 version: 5.0.0(typescript@5.3.3) @@ -4054,9 +4042,6 @@ importers: roarr: specifier: ^7.11.0 version: 7.11.0 - slonik-sql-tag-raw: - specifier: ^1.1.4 - version: 1.1.4(roarr@7.11.0)(slonik@30.4.0) typescript: specifier: ^5.3.3 version: 5.3.3 @@ -6129,6 +6114,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/highlight': 7.22.5 + dev: true /@babel/compat-data@7.20.1: resolution: {integrity: sha512-EWZ4mE2diW3QALKvDMiXnbZpRvlj+nayZ112nK93SnhqOtpdsbVD4W+2tEoT3YNBAG9RBR0ISY758ZkOgsn6pQ==} @@ -6273,10 +6259,12 @@ packages: /@babel/helper-string-parser@7.19.4: resolution: {integrity: sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==} engines: {node: '>=6.9.0'} + dev: true /@babel/helper-validator-identifier@7.22.5: resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==} engines: {node: '>=6.9.0'} + dev: true /@babel/helper-validator-option@7.18.6: resolution: {integrity: sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==} @@ -6301,6 +6289,7 @@ packages: '@babel/helper-validator-identifier': 7.22.5 chalk: 2.4.2 js-tokens: 4.0.0 + dev: true /@babel/parser@7.20.3: resolution: {integrity: sha512-OP/s5a94frIPXwjzEcv5S/tpQfc6XhxYUnmWpgdqMWGgYCuErA3SzozaRAMQgSZWKeTJxht9aWAkUY+0UzvOFg==} @@ -6531,6 +6520,7 @@ packages: '@babel/helper-string-parser': 7.19.4 '@babel/helper-validator-identifier': 7.22.5 to-fast-properties: 2.0.0 + dev: true /@bcoe/v8-coverage@0.2.3: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} @@ -9397,11 +9387,12 @@ packages: resolution: {integrity: sha512-n9mSO/gsLj0GRFXBRNhaQLRK6qbn6pBnKjMQdFwweKgT12ODBXpgkpXohpOBqSofnoaCQWqiDAT6xpCy/5dMIg==} engines: {node: ^18.12.0 || ^20.9.0, pnpm: ^8.0.0} - /@silverhand/slonik@31.0.0-beta.0: - resolution: {integrity: sha512-5T3T9duiUNSwKEKLCBiJ3Ri6FlfkhGelfoqBLXmj4pNy6nMt5sGLFDISm63LdgXj+I+j9ziYCLUgNYqT8fK0MQ==} + /@silverhand/slonik@31.0.0-beta.2: + resolution: {integrity: sha512-4IM57Er5We8+hT8IY9z5La1JAGNRFZ63tp3N0XYUYTNV9fLfUXF78yT+PoW4arnf4qc+4n498bMmKgFmt/mo9Q==} engines: {node: ^20.9.0} dependencies: '@types/pg': 8.11.2 + camelcase: 8.0.0 fast-safe-stringify: 2.1.1 get-stack-trace: 2.1.1 iso8601-duration: 2.1.2 @@ -10227,6 +10218,7 @@ packages: /@types/parse-json@4.0.0: resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==} + dev: true /@types/parse5@5.0.3: resolution: {integrity: sha512-kUNnecmtkunAoQ3CnjmMkzNU/gtxG8guhi+Fk2U/kOpIKjIMKnXGp4IJCgQJrXSgMsWYimYG4TGjz/UzbGEBTw==} @@ -10751,11 +10743,6 @@ packages: type-fest: 3.13.1 dev: false - /ansi-regex@4.1.1: - resolution: {integrity: sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==} - engines: {node: '>=6'} - dev: false - /ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} @@ -10928,11 +10915,6 @@ packages: tslib: 2.6.2 dev: true - /astral-regex@1.0.0: - resolution: {integrity: sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==} - engines: {node: '>=4'} - dev: false - /astral-regex@2.0.0: resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} engines: {node: '>=8'} @@ -11054,14 +11036,6 @@ packages: '@types/babel__traverse': 7.18.2 dev: true - /babel-plugin-macros@2.8.0: - resolution: {integrity: sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==} - dependencies: - '@babel/runtime': 7.21.0 - cosmiconfig: 6.0.0 - resolve: 1.22.2 - dev: false - /babel-preset-current-node-syntax@1.0.1(@babel/core@7.20.2): resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==} peerDependencies: @@ -11139,13 +11113,6 @@ packages: engines: {node: '>=8'} dev: true - /bl@4.1.0: - resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} - dependencies: - buffer: 5.7.1 - inherits: 2.0.4 - readable-stream: 3.6.2 - /bl@5.1.0: resolution: {integrity: sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==} dependencies: @@ -11228,6 +11195,7 @@ packages: /buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + dev: true /buffer-writer@2.0.0: resolution: {integrity: sha512-a7ZpuTZU1TRtnwyCNW3I5dc0wWNC3VR9S++Ewyk2HHZdrO3CQJqSpd+95Us590V6AL7JqUAH2IwZ/398PmNFgw==} @@ -11238,6 +11206,7 @@ packages: dependencies: base64-js: 1.5.1 ieee754: 1.2.1 + dev: true /buffer@6.0.3: resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} @@ -11246,10 +11215,6 @@ packages: ieee754: 1.2.1 dev: false - /bufferput@0.1.3: - resolution: {integrity: sha512-nmPV88vDNzf0VMU1bdQ4A1oBlRR9y+CXfwWKfyKUgI2ZIkvreNzLMM3tkz0Lapb6f+Cz1V001UWRBsoGVCjqdw==} - engines: {node: '>=0.3.0'} - /builtin-modules@3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} @@ -11301,6 +11266,7 @@ packages: /callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} + dev: true /camelcase-css@2.0.1: resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} @@ -11685,15 +11651,6 @@ packages: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} dev: true - /concat-stream@2.0.0: - resolution: {integrity: sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==} - engines: {'0': node >= 6.0} - dependencies: - buffer-from: 1.1.2 - inherits: 2.0.4 - readable-stream: 3.6.2 - typedarray: 0.0.6 - /confusing-browser-globals@1.0.11: resolution: {integrity: sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==} dev: true @@ -11767,6 +11724,7 @@ packages: /core-js@3.34.0: resolution: {integrity: sha512-aDdvlDder8QmY91H88GzNi9EtQi2TjvQhpCX6B1v/dAZHU1AuLgHvRh54RiOerpEhEW46Tkf+vgAViB/CWC0ag==} requiresBuild: true + dev: true /cosmiconfig-typescript-loader@5.0.0(@types/node@20.11.20)(cosmiconfig@8.3.6)(typescript@5.0.2): resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==} @@ -11782,17 +11740,6 @@ packages: typescript: 5.0.2 dev: true - /cosmiconfig@6.0.0: - resolution: {integrity: sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==} - engines: {node: '>=8'} - dependencies: - '@types/parse-json': 4.0.0 - import-fresh: 3.3.0 - parse-json: 5.2.0 - path-type: 4.0.0 - yaml: 1.10.2 - dev: false - /cosmiconfig@7.1.0: resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==} engines: {node: '>=10'} @@ -11856,11 +11803,6 @@ packages: typescript: 5.3.3 dev: true - /crack-json@1.3.0: - resolution: {integrity: sha512-JfZ9NPLsU9ejTYgZ7fM+5TIMfTwROTxpi2Twh597GxmiVDwIGZSjaor+zsQBKZ0mmCKOFb9EZZLVeKNf/5UaGg==} - engines: {node: '>=8.0'} - dev: false - /create-eslint-index@1.0.0: resolution: {integrity: sha512-nXvJjnfDytOOaPOonX0h0a1ggMoqrhdekGeZkD6hkcWYvlCWhU719tKFVh8eU04CnMwu3uwe1JjwuUF2C3k2qg==} engines: {node: '>=4.0.0'} @@ -12267,11 +12209,6 @@ packages: esprima: 4.0.1 dev: true - /delay@4.4.1: - resolution: {integrity: sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ==} - engines: {node: '>=6'} - dev: false - /delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} @@ -12329,10 +12266,6 @@ packages: engines: {node: '>=8'} dev: true - /detect-node@2.1.0: - resolution: {integrity: sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==} - dev: false - /devlop@1.1.0: resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} dependencies: @@ -12535,10 +12468,6 @@ packages: resolution: {integrity: sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==} dev: false - /emoji-regex@7.0.3: - resolution: {integrity: sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==} - dev: false - /emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -12595,6 +12524,7 @@ packages: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} dependencies: is-arrayish: 0.2.1 + dev: true /es-abstract@1.20.4: resolution: {integrity: sha512-0UtvRN79eMe2L+UNEF1BwRe364sj/DXhQ/k5FmivgoSdpM90b8Jc0mDzKMGo7QS0BVbOP/bTwBKNnDc9rNzaPA==} @@ -12641,9 +12571,6 @@ packages: is-symbol: 1.0.4 dev: true - /es6-error@4.1.1: - resolution: {integrity: sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==} - /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} @@ -14434,12 +14361,6 @@ packages: hasBin: true dev: true - /hyperid@2.3.1: - resolution: {integrity: sha512-mIbI7Ymn6MCdODaW1/6wdf5lvvXzmPsARN4zTLakMmcziBOuP4PxCBJvHF6kbAIHX6H4vAELx/pDmt0j6Th5RQ==} - dependencies: - uuid: 8.3.2 - uuid-parse: 1.1.0 - /i18next-browser-languagedetector@7.0.1: resolution: {integrity: sha512-Pa5kFwaczXJAeHE56CHG2aWzFBMJNUNghf0Pm4SwSrEMps/PTKqW90EYWlIvhuYStf3Sn1K0vw+gH3+TLdkH1g==} dependencies: @@ -14515,6 +14436,7 @@ packages: dependencies: parent-module: 1.0.1 resolve-from: 4.0.0 + dev: true /import-in-the-middle@1.3.5: resolution: {integrity: sha512-yzHlBqi1EBFrkieAnSt8eTgO5oLSl+YJ7qaOpUH/PMqQOMZoQ/RmDlwnTLQrwYto+gHYjRG+i/IbsB1eDx32NQ==} @@ -14592,13 +14514,6 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: true - /inline-loops.macro@1.2.2: - resolution: {integrity: sha512-w5cOGQGnNoBTSibg6IzaIG2OG9sbXJxTn3uzYP717C/SvcJVEFz5Zu1dJwvCLlnwtBWQgcfnV2BNEQaRoIAfIw==} - dependencies: - '@babel/types': 7.20.2 - babel-plugin-macros: 2.8.0 - dev: false - /inline-style-parser@0.1.1: resolution: {integrity: sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==} dev: true @@ -14624,10 +14539,6 @@ packages: wrap-ansi: 8.0.1 dev: false - /int64-buffer@0.99.1007: - resolution: {integrity: sha512-XDBEu44oSTqlvCSiOZ/0FoUkpWu/vwjJLGSKDabNISPQNZ5wub1FodGHBljRsrR0IXRPq7SslshZYMuA55CgTQ==} - engines: {node: '>= 4.5.0'} - /internal-slot@1.0.3: resolution: {integrity: sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==} engines: {node: '>= 0.4'} @@ -14667,6 +14578,7 @@ packages: /is-arrayish@0.2.1: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + dev: true /is-arrayish@0.3.2: resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} @@ -14743,11 +14655,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /is-fullwidth-code-point@2.0.0: - resolution: {integrity: sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==} - engines: {node: '>=4'} - dev: false - /is-fullwidth-code-point@3.0.0: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} @@ -14857,6 +14764,7 @@ packages: /is-plain-object@5.0.0: resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==} engines: {node: '>=0.10.0'} + dev: true /is-potential-custom-element-name@1.0.1: resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} @@ -14974,9 +14882,6 @@ packages: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} dev: true - /iso8601-duration@1.3.0: - resolution: {integrity: sha512-K4CiUBzo3YeWk76FuET/dQPH03WE04R94feo5TSKQCXpoXQt9E4yx2CnY737QZnSAI3PI4WlKo/zfqizGx52QQ==} - /iso8601-duration@2.1.2: resolution: {integrity: sha512-yXteYUiKv6x8seaDzyBwnZtPpmx766KfvQuaVNyPifYOjmPdOo3ajd4phDNa7Y5mTQGnXsNEcXFtVun1FjYXxQ==} @@ -15891,6 +15796,7 @@ packages: /json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + dev: true /json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} @@ -15905,6 +15811,7 @@ packages: /json-stringify-safe@5.0.1: resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==} + dev: true /json5@1.0.1: resolution: {integrity: sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==} @@ -16321,6 +16228,7 @@ packages: /lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + dev: true /lint-staged@15.0.2: resolution: {integrity: sha512-vnEy7pFTHyVuDmCAIFKR5QDO8XLVlPFQQyujQ/STOxe40ICWqJ6knS2wSJ/ffX/Lw0rz83luRDh+ET7toN+rOw==} @@ -17285,9 +17193,6 @@ packages: msgpackr-extract: 3.0.2 dev: true - /multi-fork@0.0.2: - resolution: {integrity: sha1-gFiuxGFBJMftqhWBm4juiJ0+tOA=} - /mute-stream@0.0.8: resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==} dev: false @@ -17811,10 +17716,6 @@ packages: resolution: {integrity: sha512-wBowNApzd45EIKdO1LaU+LrMBwAcjfPaYtVzV3lmfM3gf8Z4CHZsiIqlM8TZZ8okYvh5A1cP6gTfCRQtwUpaUg==} engines: {node: '>=14.16'} - /p-defer@3.0.0: - resolution: {integrity: sha512-ugZxsxmtTln604yeYd29EGrNhazN2lywetzpKhfmQjW/VJmhpDmWbiX+h0zL8V91R0UXkhb3KtPmyq9PZw3aYw==} - engines: {node: '>=8'} - /p-defer@4.0.0: resolution: {integrity: sha512-Vb3QRvQ0Y5XnF40ZUWW7JfLogicVh/EnA5gBIvKDJoYpeI82+1E3AlB9yOcKFS0AhHrWVnAQO39fbR0G99IVEQ==} engines: {node: '>=12'} @@ -17976,6 +17877,7 @@ packages: engines: {node: '>=6'} dependencies: callsites: 3.1.0 + dev: true /parse-entities@2.0.0: resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==} @@ -17996,11 +17898,7 @@ packages: error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 - - /parse-ms@2.1.0: - resolution: {integrity: sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==} - engines: {node: '>=6'} - dev: false + dev: true /parse-passwd@1.0.0: resolution: {integrity: sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==} @@ -18069,6 +17967,7 @@ packages: /path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} + dev: true /pend@1.2.0: resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==} @@ -18081,31 +17980,11 @@ packages: /pg-connection-string@2.5.0: resolution: {integrity: sha512-r5o/V/ORTA6TmUnyWZR9nCj1klXCO2CEKNRlVuJptZe85QuhFayC7WeMic7ndayT5IRIR0S0xFxFi2ousartlQ==} + dev: true /pg-connection-string@2.6.2: resolution: {integrity: sha512-ch6OwaeaPYcova4kKZ15sbJ2hKb/VP48ZD2gE7i1J+L4MspCtBMAx8nMgz7bksc7IojCIIWuEhHibSMFH8m8oA==} - /pg-copy-streams-binary@2.2.0: - resolution: {integrity: sha512-jPCWgTR8004wz5XOI2sc09+IMwE7YMeINYCabwPMCPtlgj2ay81VLCClMkj/u+xOeisRcN8vCrIZ4FrqlaTyBQ==} - dependencies: - bl: 4.1.0 - bufferput: 0.1.3 - ieee754: 1.2.1 - int64-buffer: 0.99.1007 - multi-fork: 0.0.2 - through2: 3.0.2 - - /pg-copy-streams@5.1.1: - resolution: {integrity: sha512-ieW6JuiIo/4WQ7n+Wevr9zYvpM1AwUs6EwNCCA0VgKZ6ZQ7Y9k3IW00vqc6svX9FtENhbaTbLN7MxekraCrbfg==} - dependencies: - obuf: 1.1.2 - dev: false - - /pg-copy-streams@6.0.6: - resolution: {integrity: sha512-Z+Dd2C2NIDTsjyFKmc6a9QLlpM8tjpERx+43RSx0WmL7j3uNChERi3xSvZUL0hWJ1oRUn4S3fhyt3apdSrTyKQ==} - dependencies: - obuf: 1.1.2 - /pg-cursor@2.10.3(pg@8.11.3): resolution: {integrity: sha512-rDyBVoqPVnx/PTmnwQAYgusSeAKlTL++gmpf5klVK+mYMFEqsOc6VHHZnPKc/4lOvr4r6fiMuoxSFuBF1dx4FQ==} peerDependencies: @@ -18113,21 +17992,6 @@ packages: dependencies: pg: 8.11.3 - /pg-cursor@2.10.3(pg@8.8.0): - resolution: {integrity: sha512-rDyBVoqPVnx/PTmnwQAYgusSeAKlTL++gmpf5klVK+mYMFEqsOc6VHHZnPKc/4lOvr4r6fiMuoxSFuBF1dx4FQ==} - peerDependencies: - pg: ^8 - dependencies: - pg: 8.8.0 - - /pg-cursor@2.7.3(pg@8.8.0): - resolution: {integrity: sha512-vmjXRMD4jZK/oHaaYk6clTypgHNlzCCAqyLCO5d/UeI42egJVE5H4ZfZWACub3jzkHUXXyvibH207zAJg9iBOw==} - peerDependencies: - pg: ^8 - dependencies: - pg: 8.8.0 - dev: false - /pg-formatter@1.3.0: resolution: {integrity: sha512-y1kNdgD+QWzhmYCm91z/k7VGyx6BekQg6ww/krFEEhw1IIB4zEk2xaB0pmueTcc59YFetpiHIKECgHEuw6gyvg==} engines: {node: '>=10.0'} @@ -18135,6 +17999,7 @@ packages: dependencies: shell-quote: 1.7.3 yargs: 17.7.2 + dev: true /pg-int8@1.0.1: resolution: {integrity: sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==} @@ -18150,6 +18015,7 @@ packages: pg: '>=8.0' dependencies: pg: 8.8.0 + dev: true /pg-pool@3.6.1(pg@8.11.3): resolution: {integrity: sha512-jizsIzhkIitxCGfPRzJn1ZdcosIt3pz9Sh3V01fm1vZnbnCMgmGl5wvGGdNN2EL9Rmb0EcFoCkixH4Pu+sP9Og==} @@ -18171,30 +18037,6 @@ packages: postgres-date: 1.0.7 postgres-interval: 1.2.0 - /pg-types@3.0.1: - resolution: {integrity: sha512-Q3zN2GyDEOrc9m6lxCru9JakbdVQY5/ylKxSXI/PcIQPVRDNBR7BxdeCtxa9WI+UIoE3JNcyAffGThOxd+V/4g==} - engines: {node: '>=8'} - dependencies: - pg-int8: 1.0.1 - pg-numeric: 1.0.2 - postgres-array: 2.0.0 - postgres-bytea: 3.0.0 - postgres-date: 1.0.7 - postgres-interval: 1.2.0 - dev: false - - /pg-types@4.0.0: - resolution: {integrity: sha512-q4I7zG+d2mDg52WdrOA0TmBvab9ZBC8DE8+opl3gSegnH5ml+0pKbICOfRKXgwQ5aa6NRjLoF5pEDs0YpGvFrw==} - engines: {node: '>=10'} - dependencies: - pg-int8: 1.0.1 - pg-numeric: 1.0.2 - postgres-array: 3.0.1 - postgres-bytea: 3.0.0 - postgres-date: 2.0.1 - postgres-interval: 3.0.0 - postgres-range: 1.1.2 - /pg-types@4.0.2: resolution: {integrity: sha512-cRL3JpS3lKMGsKaWndugWQoLOCoP+Cic8oseVcbr0qhPzYD5DWXK+RZ9LY9wxRf7RQia4SCwQlXk0q6FCPrVng==} engines: {node: '>=10'} @@ -18242,6 +18084,7 @@ packages: pg-protocol: 1.6.0 pg-types: 2.2.0 pgpass: 1.0.4 + dev: true /pgpass@1.0.4: resolution: {integrity: sha512-YmuA56alyBq7M59vxVBfPJrGSozru8QAdoNlWuW3cz8l+UX3cWge0vTvjKhsSHSJpo3Bom8/Mm6hf0TR5GY0+w==} @@ -18459,10 +18302,6 @@ packages: resolution: {integrity: sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==} engines: {node: '>=4'} - /postgres-array@3.0.1: - resolution: {integrity: sha512-h7i53Dw2Yq3a1uuZ6lbVFAkvMMwssJ8jkzeAg0XaZm1XIFF/t/s+tockdqbWTymyEm07dVenOQbFisEi+kj8uA==} - engines: {node: '>=12'} - /postgres-array@3.0.2: resolution: {integrity: sha512-6faShkdFugNQCLwucjPcY5ARoW1SlbnrZjmGl0IrrqewpvxvhSLHimCVzqeuULCbG0fQv7Dtk1yDbG3xv7Veog==} engines: {node: '>=12'} @@ -18481,10 +18320,6 @@ packages: resolution: {integrity: sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==} engines: {node: '>=0.10.0'} - /postgres-date@2.0.1: - resolution: {integrity: sha512-YtMKdsDt5Ojv1wQRvUhnyDJNSr2dGIC96mQVKz7xufp07nfuFONzdaowrMHjlAzY6GDLd4f+LUHHAAM1h4MdUw==} - engines: {node: '>=12'} - /postgres-date@2.1.0: resolution: {integrity: sha512-K7Juri8gtgXVcDfZttFKVmhglp7epKb1K4pgrkLxehjqkrgPhfG6OO8LHLkfaqkbpjNRnra018XwAr1yQFWGcA==} engines: {node: '>=12'} @@ -18495,19 +18330,10 @@ packages: dependencies: xtend: 4.0.2 - /postgres-interval@2.1.0: - resolution: {integrity: sha512-LM7OHNmCxmFZkxCran7gu2S2sm1FxXrUCcasE3PkuIQS0pm0xGk4iTfEzrDghFSSRkAtNDbLuYevvKrjhAHZBQ==} - engines: {node: '>=8'} - dev: false - /postgres-interval@3.0.0: resolution: {integrity: sha512-BSNDnbyZCXSxgA+1f5UU2GmwhoI0aU5yMxRGO8CdFEcY2BQF9xm/7MqKnYoM1nJDk8nONNWDk9WeSmePFhQdlw==} engines: {node: '>=12'} - /postgres-interval@4.0.0: - resolution: {integrity: sha512-OWeL7kyEKJiY7mCmVY+c7/6uhAlt/colA/Nl/Mgls/M3jssrQzFra04iNWnD/qAmG7TsCSgWAASCyiaoBOP/sg==} - engines: {node: '>=12'} - /postgres-interval@4.0.2: resolution: {integrity: sha512-EMsphSQ1YkQqKZL2cuG0zHkmjCCzQqQ71l2GXITqRwjhRleCdv00bDk/ktaSi0LnlaPzAc3535KTrjXsTdtx7A==} engines: {node: '>=12'} @@ -18610,20 +18436,6 @@ packages: react-is: 18.2.0 dev: true - /pretty-ms@6.0.1: - resolution: {integrity: sha512-ke4njoVmlotekHlHyCZ3wI/c5AMT8peuHs8rKJqekj/oR5G8lND2dVpicFlUz5cbZgE290vvkMuDwfj/OcW1kw==} - engines: {node: '>=10'} - dependencies: - parse-ms: 2.1.0 - dev: false - - /pretty-ms@7.0.1: - resolution: {integrity: sha512-973driJZvxiGOQ5ONsFhOF/DtzPMOMtgC11kCpUrPGMTgqp2q/1gwzCquocrN33is0VZ5GFHXZYMM9l6h67v2Q==} - engines: {node: '>=10'} - dependencies: - parse-ms: 2.1.0 - dev: false - /prismjs@1.27.0: resolution: {integrity: sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==} engines: {node: '>=6'} @@ -19527,6 +19339,7 @@ packages: /resolve-from@4.0.0: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} engines: {node: '>=4'} + dev: true /resolve-from@5.0.0: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} @@ -19606,18 +19419,6 @@ packages: glob: 7.2.3 dev: true - /roarr@2.15.4: - resolution: {integrity: sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==} - engines: {node: '>=8.0'} - dependencies: - boolean: 3.1.4 - detect-node: 2.1.0 - globalthis: 1.0.2 - json-stringify-safe: 5.0.1 - semver-compare: 1.0.0 - sprintf-js: 1.1.2 - dev: false - /roarr@7.11.0: resolution: {integrity: sha512-DKiMaEYHoOZ0JyD4Ohr5KRnqybQ162s3ZL/WNO9oy6EUszYvpp0eLYJErc/U4NI96HYnHsbROhFaH4LYuJPnDg==} engines: {node: '>=12.0'} @@ -19794,19 +19595,6 @@ packages: dependencies: type-fest: 2.19.0 - /serialize-error@7.0.1: - resolution: {integrity: sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==} - engines: {node: '>=10'} - dependencies: - type-fest: 0.13.1 - dev: false - - /serialize-error@8.1.0: - resolution: {integrity: sha512-3NnuWfM6vBYoy5gZFvHiYsVbafvI9vZv/+jlIigFn4oP4zjNPK3LhcY0xSCgeb1a5L8jO71Mit9LlNoi2UfDDQ==} - engines: {node: '>=10'} - dependencies: - type-fest: 0.20.2 - /set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} @@ -19843,6 +19631,7 @@ packages: /shell-quote@1.7.3: resolution: {integrity: sha512-Vpfqwm4EnqGdlsBFNmHhxhElJYrdfcxPThu+ryKS5J8L/fhAwLazFZtq+S+TWZ9ANj2piSQLGj6NQg+lKPmxrw==} + dev: true /shimmer@1.2.1: resolution: {integrity: sha512-sQTKC1Re/rM6XyFM6fIAGHRPVGvyXfgzIDvzoq608vM+jeyVD0Tu1E6Np0Kc2zAIFWIj963V2800iF/9LPieQw==} @@ -19900,15 +19689,6 @@ packages: engines: {node: '>=12'} dev: true - /slice-ansi@2.1.0: - resolution: {integrity: sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==} - engines: {node: '>=6'} - dependencies: - ansi-styles: 3.2.1 - astral-regex: 1.0.0 - is-fullwidth-code-point: 2.0.0 - dev: false - /slice-ansi@4.0.0: resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==} engines: {node: '>=10'} @@ -19926,132 +19706,6 @@ packages: is-fullwidth-code-point: 4.0.0 dev: true - /slonik-interceptor-field-name-transformation@1.6.4(slonik@22.7.1): - resolution: {integrity: sha512-VqO3r0iM9ngjauccE6nIkSlgHOLdMMErtPvoG7Z/U+yx6VNKr5VhWbz04FqXk2nvY1fYxDwVMEkjMbFRDNH0zg==} - engines: {node: '>=8.0'} - peerDependencies: - slonik: '*' - dependencies: - camelcase: 6.3.0 - core-js: 3.34.0 - slonik: 22.7.1 - dev: false - - /slonik-interceptor-preset@1.2.10: - resolution: {integrity: sha512-TKy5roPfJh+f7GIaGuJGhS5U51mqFgrlEA5GmfpO+KuqHeUEvjEwju2pKtrQVqqxewN17YSIvJH7ZxNoA7SoYQ==} - engines: {node: '>=8.0'} - dependencies: - slonik: 22.7.1 - slonik-interceptor-field-name-transformation: 1.6.4(slonik@22.7.1) - slonik-interceptor-query-benchmarking: 1.3.10 - slonik-interceptor-query-logging: 1.4.6(slonik@22.7.1) - slonik-interceptor-query-normalisation: 1.1.10 - transitivePeerDependencies: - - pg-native - dev: false - - /slonik-interceptor-query-benchmarking@1.3.10: - resolution: {integrity: sha512-f9jxhsu+8u0ssf2pdzLx1jSlGODkAitNbGrprJWGOjmnQzZKW4jWaq54DZGwyNv4HotOb9m4Lp0u9XQODKXyng==} - engines: {node: '>=8.0'} - dependencies: - core-js: 3.34.0 - pg-formatter: 1.3.0 - pretty-ms: 6.0.1 - slonik: 22.7.1 - table: 5.4.6 - wrap-ansi: 6.2.0 - transitivePeerDependencies: - - pg-native - dev: false - - /slonik-interceptor-query-logging@1.4.6(slonik@22.7.1): - resolution: {integrity: sha512-ZBUEYizvT4Oxpp8T8UjhnO54LRsGhKSmCZehWalwjGMiaouIqFAho0JaKmCJytoyJdLk2pPUQIW5uFagJ76Oyg==} - engines: {node: '>=8.0'} - peerDependencies: - slonik: '*' - dependencies: - crack-json: 1.3.0 - pretty-ms: 7.0.1 - serialize-error: 8.1.0 - slonik: 22.7.1 - dev: false - - /slonik-interceptor-query-normalisation@1.1.10: - resolution: {integrity: sha512-TAuWVFBVnq7I5KcEY/x1JgVgIVZ0yyyeRlMTzKs+u4wRYhszQW2hMIYnDak/UUfWR1h6wp3+hODiC4gKyBOUcg==} - engines: {node: '>=8.0'} - dependencies: - core-js: 3.34.0 - slonik: 22.7.1 - transitivePeerDependencies: - - pg-native - dev: false - - /slonik-sql-tag-raw@1.1.4(roarr@7.11.0)(slonik@30.4.0): - resolution: {integrity: sha512-os6iRAkQgKNoVzudRtLBlxjqmyQHJdPHw/eMIBJDnUfD5dle5uIyEKtblayW7eBr5x7blkzUg4BgvRkeDZeZPA==} - engines: {node: '>=10.0'} - peerDependencies: - roarr: '>=7.0.3' - slonik: '>=27.0.0' - dependencies: - lodash: 4.17.21 - roarr: 7.11.0 - serialize-error: 8.1.0 - slonik: 30.4.0 - - /slonik@22.7.1: - resolution: {integrity: sha512-88GidNOWv4Bg0CqYLXajqcD0bbLip2soY6B4JzHP7EGDrWUb1WSlu7mIppTJVfcK99mx+jnX3xQq3FJ0DoOXag==} - engines: {node: '>=10.0'} - dependencies: - concat-stream: 2.0.0 - delay: 4.4.1 - es6-error: 4.1.1 - get-stack-trace: 2.1.1 - inline-loops.macro: 1.2.2 - is-plain-object: 5.0.0 - iso8601-duration: 1.3.0 - pg: 8.8.0 - pg-connection-string: 2.5.0 - pg-copy-streams: 5.1.1 - pg-copy-streams-binary: 2.2.0 - pg-cursor: 2.7.3(pg@8.8.0) - pg-types: 3.0.1 - postgres-array: 2.0.0 - postgres-interval: 2.1.0 - roarr: 2.15.4 - serialize-error: 7.0.1 - through2: 4.0.2 - ulid: 2.3.0 - transitivePeerDependencies: - - pg-native - dev: false - - /slonik@30.4.0: - resolution: {integrity: sha512-1C88SJFBlhQ1bm1H2O2nAktvW1t2tVdpLLZBr86gPxre9LvLIh8Xvkoq0s3aJ0p7zV466TIbRuhI/fq02NP36A==} - engines: {node: '>=10.0'} - dependencies: - concat-stream: 2.0.0 - es6-error: 4.1.1 - fast-safe-stringify: 2.1.1 - get-stack-trace: 2.1.1 - hyperid: 2.3.1 - is-plain-object: 5.0.0 - iso8601-duration: 1.3.0 - p-defer: 3.0.0 - pg: 8.8.0 - pg-copy-streams: 6.0.6 - pg-copy-streams-binary: 2.2.0 - pg-cursor: 2.10.3(pg@8.8.0) - pg-protocol: 1.6.0 - pg-types: 4.0.0 - postgres-array: 3.0.1 - postgres-interval: 4.0.0 - roarr: 7.21.1 - serialize-error: 8.1.0 - through2: 4.0.2 - zod: 3.22.4 - transitivePeerDependencies: - - pg-native - /smart-buffer@4.2.0: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} @@ -20204,10 +19858,6 @@ packages: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} dev: true - /sprintf-js@1.1.2: - resolution: {integrity: sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==} - dev: false - /sql-parse@0.1.5: resolution: {integrity: sha512-e2ExBX6iDHoCDC1zN2NvZV49UMhKVLvvwrDjzSVHFS3TKHKtIpl2nMDQkdlbTjDVvf2bxRYBq9iXAAMZvZpGVA==} engines: {node: '>=0.10'} @@ -20299,15 +19949,6 @@ packages: /string-similarity@4.0.4: resolution: {integrity: sha512-/q/8Q4Bl4ZKAPjj8WerIBJWALKkaPRfrvhfF8k/B23i4nzrlRj2/go1m90In7nG/3XDSbOo0+pu6RvCTM9RGMQ==} - /string-width@3.1.0: - resolution: {integrity: sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==} - engines: {node: '>=6'} - dependencies: - emoji-regex: 7.0.3 - is-fullwidth-code-point: 2.0.0 - strip-ansi: 5.2.0 - dev: false - /string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} @@ -20367,13 +20008,6 @@ packages: dependencies: safe-buffer: 5.2.1 - /strip-ansi@5.2.0: - resolution: {integrity: sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==} - engines: {node: '>=6'} - dependencies: - ansi-regex: 4.1.1 - dev: false - /strip-ansi@6.0.1: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} @@ -20788,16 +20422,6 @@ packages: tslib: 2.6.2 dev: true - /table@5.4.6: - resolution: {integrity: sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==} - engines: {node: '>=6.0.0'} - dependencies: - ajv: 6.12.6 - lodash: 4.17.21 - slice-ansi: 2.1.0 - string-width: 3.1.0 - dev: false - /table@6.8.1: resolution: {integrity: sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==} engines: {node: '>=10.0.0'} @@ -20899,12 +20523,6 @@ packages: engines: {node: '>=0.2.6'} dev: false - /through2@3.0.2: - resolution: {integrity: sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==} - dependencies: - inherits: 2.0.4 - readable-stream: 3.6.2 - /through2@4.0.2: resolution: {integrity: sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==} dependencies: @@ -20949,6 +20567,7 @@ packages: /to-fast-properties@2.0.0: resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} engines: {node: '>=4'} + dev: true /to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} @@ -21140,6 +20759,7 @@ packages: /type-fest@0.13.1: resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==} engines: {node: '>=10'} + dev: true /type-fest@0.18.1: resolution: {integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==} @@ -21149,6 +20769,7 @@ packages: /type-fest@0.20.2: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} engines: {node: '>=10'} + dev: true /type-fest@0.21.3: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} @@ -21190,9 +20811,6 @@ packages: media-typer: 0.3.0 mime-types: 2.1.35 - /typedarray@0.0.6: - resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} - /typescript@5.0.2: resolution: {integrity: sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==} engines: {node: '>=12.20'} @@ -21208,11 +20826,6 @@ packages: resolution: {integrity: sha512-00y/AXhx0/SsnI51fTc0rLRmafiGOM4/O+ny10Ps7f+j/b8p/ZY11ytMgznXkOVo4GQ+KwQG5UQLkLGirsACRg==} dev: true - /ulid@2.3.0: - resolution: {integrity: sha512-keqHubrlpvT6G2wH0OEfSW4mquYRcbe/J8NMmveoQOjUqmo+hXtO+ORCpWhdbZ7k72UtY61BL7haGxW6enBnjw==} - hasBin: true - dev: false - /unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -21416,12 +21029,10 @@ packages: engines: {node: '>= 4'} dev: true - /uuid-parse@1.1.0: - resolution: {integrity: sha512-OdmXxA8rDsQ7YpNVbKSJkNzTw2I+S5WsbMDnCtIWSQaosNAcWtFuI/YK1TjzUI6nbkgiqEyh8gWngfcv8Asd9A==} - /uuid@8.3.2: resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} hasBin: true + dev: false /uuid@9.0.1: resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} @@ -21770,6 +21381,7 @@ packages: /yaml@1.10.2: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} + dev: true /yaml@2.3.3: resolution: {integrity: sha512-zw0VAJxgeZ6+++/su5AFoqBbZbrEakwu+X0M5HmcwUiBL7AzcuPKjj5we4xfQLp78LkEMpD0cOnUhmgOVy3KdQ==} @@ -21845,6 +21457,7 @@ packages: string-width: 4.2.3 y18n: 5.0.8 yargs-parser: 21.1.1 + dev: true /yauzl@2.10.0: resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==}