diff --git a/.github/workflows/build-and-upload-to-s3.yml b/.github/workflows/build-and-upload-to-s3.yml index df4c8e31d..424024b75 100644 --- a/.github/workflows/build-and-upload-to-s3.yml +++ b/.github/workflows/build-and-upload-to-s3.yml @@ -27,14 +27,14 @@ jobs: env: NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: 'YOUR_CLERK_PUBLISHABLE_KEY' NEXT_PUBLIC_API_URL: 'http://localhost:5173' - - name: Upload to S3 - uses: jakejarvis/s3-sync-action@master - with: - args: --acl public-read --follow-symlinks - env: - AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_REGION: 'us-west-1' - DEST_DIR: 'codemod-registry' - SOURCE_DIR: 'apps/registry/builder/dist' + # - name: Upload to S3 + # uses: jakejarvis/s3-sync-action@master + # with: + # args: --acl public-read --follow-symlinks + # env: + # AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} + # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + # AWS_REGION: 'us-west-1' + # DEST_DIR: 'codemod-registry' + # SOURCE_DIR: 'apps/registry/builder/dist' diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml deleted file mode 100644 index c018c1b65..000000000 --- a/.github/workflows/sync.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: sync -on: - push: - branches: - - main -jobs: - Sync: - runs-on: ubuntu-latest - steps: - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 20 - - name: Checkout Repository - uses: actions/checkout@v3 - with: - token: ${{ secrets.GH_TOKEN }} - - name: Install modules - uses: pnpm/action-setup@v2 - with: - version: 8 - run_install: | - - recursive: true - args: [--frozen-lockfile, --strict-peer-dependencies] - - name: Build readme parser - run: pnpm --filter @codemod-com/readme-parser build:registry - env: - NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: 'YOUR_CLERK_PUBLISHABLE_KEY' - NEXT_PUBLIC_API_URL: 'http://localhost:5173' - - name: Add new READMEs to website - run: | - "$PWD"/apps/registry/readme-parser/dist/sync.js \ No newline at end of file diff --git a/.gitignore b/.gitignore index f0be87758..7ea60f863 100644 --- a/.gitignore +++ b/.gitignore @@ -31,4 +31,4 @@ yarn-debug.log* .vercel # Backend -build-ncc \ No newline at end of file +build diff --git a/apps/cli/package.json b/apps/cli/package.json index b024a1d57..2b9373ad7 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -35,12 +35,12 @@ "@biomejs/biome": "1.5.3", "@codemod-com/filemod": "workspace:*", "@codemod-com/utilities": "workspace:*", - "@effect/schema": "0.27.0", "@svgr/hast-util-to-babel-ast": "^7.0.0", "@types/babel__traverse": "^7.20.1", "@types/columnify": "^1.5.4", "@types/js-yaml": "4.0.9", "@types/jscodeshift": "^0.11.5", + "@types/ms": "^0.7.34", "@types/node": "18.11.9", "@types/sinon": "^10.0.20", "@types/tar": "^6.1.5", @@ -98,6 +98,7 @@ "access": "public" }, "dependencies": { - "js-yaml": "4.1.0" + "js-yaml": "4.1.0", + "ms": "^2.1.3" } } diff --git a/apps/cli/src/apis.ts b/apps/cli/src/apis.ts index a52ae47a4..8968b5b38 100644 --- a/apps/cli/src/apis.ts +++ b/apps/cli/src/apis.ts @@ -1,6 +1,6 @@ import Axios from "axios"; import type FormData from "form-data"; -import { type Input, nullable, object, parse, string } from "valibot"; +import { type Output, nullable, object, parse, string } from "valibot"; const X_CODEMOD_ACCESS_TOKEN = "X-Codemod-Access-Token".toLocaleLowerCase(); @@ -8,7 +8,7 @@ const dataSchema = object({ username: nullable(string()), }); -type Data = Input; +type Data = Output; export const validateAccessToken = async ( accessToken: string, diff --git a/apps/cli/src/buildArgumentRecord.ts b/apps/cli/src/buildArgumentRecord.ts index 494fc61cf..a11992b12 100644 --- a/apps/cli/src/buildArgumentRecord.ts +++ b/apps/cli/src/buildArgumentRecord.ts @@ -1,4 +1,4 @@ -import * as S from "@effect/schema/Schema"; +import { is, number, string } from "valibot"; import { ArgumentRecord } from "./schemata/argumentRecordSchema.js"; export const buildArgumentRecord = ( @@ -14,12 +14,12 @@ export const buildArgumentRecord = ( const key = arg.slice(4); const value = argv[arg]; - if (S.is(S.number)(value)) { + if (is(number(), value)) { argumentRecord[key] = value; return; } - if (!S.is(S.string)(value)) { + if (!is(string(), value)) { return; } diff --git a/apps/cli/src/buildCodemodOptions.ts b/apps/cli/src/buildCodemodOptions.ts index 40e429e76..132af01c4 100644 --- a/apps/cli/src/buildCodemodOptions.ts +++ b/apps/cli/src/buildCodemodOptions.ts @@ -1,6 +1,6 @@ import path from "node:path"; -import * as S from "@effect/schema/Schema"; import { IFs } from "memfs"; +import { object, parse, string } from "valibot"; import { Codemod, JavaScriptCodemodEngine, @@ -17,11 +17,11 @@ const extractMainScriptRelativePath = async ( encoding: "utf-8", }); - const schema = S.struct({ - main: S.string, + const schema = object({ + main: string(), }); - const { main } = S.parseSync(schema)(JSON.parse(data.toString())); + const { main } = parse(schema, JSON.parse(data.toString())); return main; } catch { @@ -38,11 +38,11 @@ const extractEngine = async ( encoding: "utf-8", }); - const schema = S.struct({ + const schema = object({ engine: javaScriptCodemodEngineSchema, }); - const { engine } = S.parseSync(schema)(JSON.parse(data.toString())); + const { engine } = parse(schema, JSON.parse(data.toString())); return engine; } catch { @@ -71,7 +71,7 @@ export const buildSourcedCodemodOptions = async ( } if ( - !["config.json", "package.json"] + ![".codemodrc.json", "package.json"] .map((lookedupFilePath) => path.join(codemodOptions.source, lookedupFilePath), ) @@ -100,12 +100,12 @@ export const buildSourcedCodemodOptions = async ( const engine = await extractEngine( fs, - path.join(codemodOptions.source, "config.json"), + path.join(codemodOptions.source, ".codemodrc.json"), ); if (engine === null) { throw new Error( - `Engine specified in config.json at ${codemodOptions.source} is not a JavaScript codemod engine or does not exist.`, + `Engine specified in .codemodrc.json at ${codemodOptions.source} is not a JavaScript codemod engine or does not exist.`, ); } diff --git a/apps/cli/src/buildOptions.ts b/apps/cli/src/buildOptions.ts index 82c92bc1c..e0a583ed6 100644 --- a/apps/cli/src/buildOptions.ts +++ b/apps/cli/src/buildOptions.ts @@ -68,12 +68,6 @@ export const buildOptions = >(y: Argv) => { description: 'The engine to use with the local codemod: "jscodeshift", "ts-morph", "filemod"', }) - .option("limit", { - alias: "f", - type: "number", - description: "File limit for processing", - default: 1000, - }) .option("raw", { alias: "r", type: "boolean", diff --git a/apps/cli/src/codemod.ts b/apps/cli/src/codemod.ts index 1a8740545..65aefd0cb 100644 --- a/apps/cli/src/codemod.ts +++ b/apps/cli/src/codemod.ts @@ -1,14 +1,14 @@ -import * as S from "@effect/schema/Schema"; +import { type Output, literal, union } from "valibot"; import { Arguments } from "./schemata/argumentsSchema.js"; -export const javaScriptCodemodEngineSchema = S.union( - S.literal("jscodeshift"), - S.literal("repomod-engine"), - S.literal("filemod"), - S.literal("ts-morph"), -); +export const javaScriptCodemodEngineSchema = union([ + literal("jscodeshift"), + literal("repomod-engine"), + literal("filemod"), + literal("ts-morph"), +]); -export type JavaScriptCodemodEngine = S.To< +export type JavaScriptCodemodEngine = Output< typeof javaScriptCodemodEngineSchema >; diff --git a/apps/cli/src/constants.ts b/apps/cli/src/constants.ts index 1f69462bd..b86365a3c 100644 --- a/apps/cli/src/constants.ts +++ b/apps/cli/src/constants.ts @@ -1,7 +1,6 @@ -export const DEFAULT_INCLUDE_PATTERNS = ["**/*.*"] as const; -export const DEFAULT_EXCLUDE_PATTERNS = ["**/node_modules/**/*.*"] as const; +export const DEFAULT_INCLUDE_PATTERNS = ["**/*.*"]; +export const DEFAULT_EXCLUDE_PATTERNS = ["**/node_modules/**/*.*"]; export const DEFAULT_INPUT_DIRECTORY_PATH = process.cwd(); -export const DEFAULT_FILE_LIMIT = 7_000; export const DEFAULT_DISABLE_PRETTIER = false; export const DEFAULT_NO_CACHE = false; export const DEFAULT_USE_JSON = false; diff --git a/apps/cli/src/downloadCodemod.ts b/apps/cli/src/downloadCodemod.ts index 842b2db29..f73a970f7 100644 --- a/apps/cli/src/downloadCodemod.ts +++ b/apps/cli/src/downloadCodemod.ts @@ -1,8 +1,8 @@ import { createHash } from "node:crypto"; import { mkdir, writeFile } from "node:fs/promises"; import { join } from "node:path"; -import * as S from "@effect/schema/Schema"; import Axios from "axios"; +import { parse } from "valibot"; import { Codemod } from "./codemod.js"; import { FileDownloadServiceBlueprint } from "./fileDownloadService.js"; import { handleListNamesCommand } from "./handleListCliCommand.js"; @@ -86,10 +86,10 @@ export class CodemodDownloader implements CodemodDownloaderBlueprint { try { // download the config - const configPath = join(directoryPath, "config.json"); + const configPath = join(directoryPath, ".codemodrc.json"); const buffer = await this._fileDownloadService.download( - `${CODEMOD_REGISTRY_URL}/${hashDigest}/config.json`, + `${CODEMOD_REGISTRY_URL}/${hashDigest}/.codemodrc.json`, configPath, ); @@ -106,7 +106,7 @@ export class CodemodDownloader implements CodemodDownloaderBlueprint { let config: CodemodConfig; try { - config = S.parseSync(codemodConfigSchema)(parsedConfig); + config = parse(codemodConfigSchema, parsedConfig); } catch (err) { throw new Error(`Error parsing config for codemod ${name}: ${err}`); } diff --git a/apps/cli/src/handleListCliCommand.ts b/apps/cli/src/handleListCliCommand.ts index dc4a049b8..e6fc160f5 100644 --- a/apps/cli/src/handleListCliCommand.ts +++ b/apps/cli/src/handleListCliCommand.ts @@ -21,7 +21,7 @@ const configJsonSchema = v.object({ export const getConfigFiles = async () => { const configurationDirectoryPath = join(homedir(), ".codemod"); - const configFiles = await glob("**/config.json", { + const configFiles = await glob("**/.codemodrc.json", { absolute: true, cwd: configurationDirectoryPath, fs, @@ -55,7 +55,7 @@ export const getConfigFiles = async () => { export const handleListNamesCommand = async ( printer: PrinterBlueprint, - short: boolean, + short?: boolean, ) => { const configObjects = await getConfigFiles(); diff --git a/apps/cli/src/handlePublishCliCommand.ts b/apps/cli/src/handlePublishCliCommand.ts index 0a8788bcf..f5ed3e8ff 100644 --- a/apps/cli/src/handlePublishCliCommand.ts +++ b/apps/cli/src/handlePublishCliCommand.ts @@ -7,6 +7,7 @@ import { mkdir, writeFile } from "fs/promises"; import { object, optional, parse, string } from "valibot"; import { publish, validateAccessToken } from "./apis.js"; import type { PrinterBlueprint } from "./printer.js"; +import { codemodConfigSchema } from "./schemata/codemodConfigSchema.js"; import { boldText, colorizeText } from "./utils.js"; const packageJsonSchema = object({ @@ -15,12 +16,6 @@ const packageJsonSchema = object({ license: optional(string()), }); -const configJsonSchema = object({ - schemaVersion: string(), - name: string(), - engine: string(), -}); - const getToken = (): Promise => { const configurationDirectoryPath = join(homedir(), ".codemod"); const tokenTxtPath = join(configurationDirectoryPath, "token.txt"); @@ -83,16 +78,16 @@ export const handlePublishCliCommand = async ( }); const configJsonData = await fs.promises.readFile( - join(source, "config.json"), + join(source, ".codemodrc.json"), { encoding: "utf-8", }, ); - const configJson = parse(configJsonSchema, JSON.parse(configJsonData)); + const configJson = parse(codemodConfigSchema, JSON.parse(configJsonData)); - if (configJson.name !== pkg.name) { + if (!("name" in configJson) || configJson.name !== pkg.name) { throw new Error( - `The "name" field in package.json must match with that in config.json.\nIt must must start with your GitHub username with a slash ("@${username}/") and contain allowed characters (a-z, A-Z, 0-9, _, / or -).`, + `The "name" field in package.json must match with that in .codemodrc.json.\nIt must must start with your GitHub username with a slash ("@${username}/") and contain allowed characters (a-z, A-Z, 0-9, _, / or -).`, ); } @@ -113,7 +108,7 @@ export const handlePublishCliCommand = async ( const formData = new FormData(); formData.append("index.cjs", Buffer.from(indexCjsData)); - formData.append("config.json", Buffer.from(configJsonData)); + formData.append(".codemodrc.json", Buffer.from(configJsonData)); if (descriptionMdData) { formData.append("description.md", descriptionMdData); @@ -144,7 +139,10 @@ export const handlePublishCliCommand = async ( await mkdir(codemodDirectoryPath, { recursive: true }); try { - await writeFile(join(codemodDirectoryPath, "config.json"), configJsonData); + await writeFile( + join(codemodDirectoryPath, ".codemodrc.json"), + configJsonData, + ); await writeFile(join(codemodDirectoryPath, "index.cjs"), indexCjsData); if (descriptionMdData) { await writeFile( diff --git a/apps/cli/src/mainThreadMessages.ts b/apps/cli/src/mainThreadMessages.ts index d77e25bde..3c24e6c9d 100644 --- a/apps/cli/src/mainThreadMessages.ts +++ b/apps/cli/src/mainThreadMessages.ts @@ -1,25 +1,35 @@ -import * as S from "@effect/schema/Schema"; +import { + type Output, + array, + boolean, + literal, + object, + parse, + string, + union, +} from "valibot"; import { argumentRecordSchema } from "./schemata/argumentRecordSchema.js"; -const mainThreadMessageSchema = S.union( - S.struct({ - kind: S.literal("initialization"), - codemodPath: S.string, - codemodSource: S.string, - codemodEngine: S.union(S.literal("jscodeshift"), S.literal("ts-morph")), - disablePrettier: S.boolean, - safeArgumentRecord: S.tuple(argumentRecordSchema), +const mainThreadMessageSchema = union([ + object({ + kind: literal("initialization"), + codemodPath: string(), + codemodSource: string(), + codemodEngine: union([literal("jscodeshift"), literal("ts-morph")]), + disablePrettier: boolean(), + safeArgumentRecord: array(argumentRecordSchema), }), - S.struct({ - kind: S.literal("exit"), + object({ + kind: literal("exit"), }), - S.struct({ - kind: S.literal("runCodemod"), - path: S.string, - data: S.string, + object({ + kind: literal("runCodemod"), + path: string(), + data: string(), }), -); +]); -export type MainThreadMessage = S.To; +export type MainThreadMessage = Output; -export const decodeMainThreadMessage = S.parseSync(mainThreadMessageSchema); +export const decodeMainThreadMessage = (input: unknown) => + parse(mainThreadMessageSchema, input); diff --git a/apps/cli/src/repositoryConfiguration.ts b/apps/cli/src/repositoryConfiguration.ts index becaabcc9..f7c96db2e 100644 --- a/apps/cli/src/repositoryConfiguration.ts +++ b/apps/cli/src/repositoryConfiguration.ts @@ -1,28 +1,34 @@ -import * as S from "@effect/schema/Schema"; import { cosmiconfig } from "cosmiconfig"; +import { + type Output, + array, + literal, + object, + optional, + parse, + string, + union, +} from "valibot"; import { argumentRecordSchema } from "./schemata/argumentRecordSchema.js"; -const preCommitCodemodSchema = S.union( - S.struct({ - source: S.literal("fileSystem"), - path: S.string, - arguments: S.optional(argumentRecordSchema).withDefault(() => ({})), +const preCommitCodemodSchema = union([ + object({ + source: literal("fileSystem"), + path: string(), + arguments: optional(argumentRecordSchema, {}), }), - S.struct({ - source: S.literal("registry"), - name: S.string, - arguments: S.optional(argumentRecordSchema).withDefault(() => ({})), + object({ + source: literal("registry"), + name: string(), + arguments: optional(argumentRecordSchema, {}), }), -); +]); -const repositoryConfigurationSchema = S.struct({ - schemaVersion: S.optional(S.literal("1.0.0")).withDefault(() => "1.0.0"), - preCommitCodemods: S.optional(S.array(preCommitCodemodSchema)).withDefault( - () => [], - ), +const repositoryConfigurationSchema = object({ + preCommitCodemods: optional(array(preCommitCodemodSchema), []), }); -export type RepositoryConfiguration = S.To< +export type RepositoryConfiguration = Output< typeof repositoryConfigurationSchema >; @@ -30,10 +36,9 @@ export const parseRepositoryConfiguration = ( i: unknown, ): RepositoryConfiguration => { try { - return S.parseSync(repositoryConfigurationSchema)(i); + return parse(repositoryConfigurationSchema, i); } catch (error) { return { - schemaVersion: "1.0.0", preCommitCodemods: [], }; } diff --git a/apps/cli/src/runCodemod.ts b/apps/cli/src/runCodemod.ts index bf9bc7cd2..e59aff4e6 100644 --- a/apps/cli/src/runCodemod.ts +++ b/apps/cli/src/runCodemod.ts @@ -57,9 +57,7 @@ export const buildPaths = async ( dot: true, }); - return filemodPaths - .filter((path) => flowPaths.includes(path)) - .slice(0, flowSettings.limit); + return filemodPaths.filter((path) => flowPaths.includes(path)); } const paths = await glob(patterns.slice(), { @@ -71,7 +69,7 @@ export const buildPaths = async ( dot: true, }); - return paths.slice(0, flowSettings.limit); + return paths; }; async function* buildPathGenerator( @@ -93,16 +91,8 @@ async function* buildPathGenerator( dot: true, }); - let fileCount = 0; - for await (const chunk of stream) { - if (fileCount >= flowSettings.limit) { - break; - } - yield chunk.toString(); - - ++fileCount; } stream.emit("close"); diff --git a/apps/cli/src/runJscodeshiftCodemod.ts b/apps/cli/src/runJscodeshiftCodemod.ts index 3a2e2e94a..9e57b233f 100644 --- a/apps/cli/src/runJscodeshiftCodemod.ts +++ b/apps/cli/src/runJscodeshiftCodemod.ts @@ -1,6 +1,6 @@ import vm from "node:vm"; -import * as S from "@effect/schema/Schema"; import jscodeshift, { API, FileInfo } from "jscodeshift"; +import { nullish, parse, string, union } from "valibot"; import { buildVmConsole } from "./buildVmConsole.js"; import { CONSOLE_OVERRIDE } from "./consoleOverride.js"; import type { FileCommand } from "./fileCommands.js"; @@ -65,7 +65,7 @@ const transform = ( const value = vm.runInContext(codeToExecute, context); - return S.parseSync(S.union(S.string, S.undefined, S.null))(value); + return parse(nullish(string()), value); }; export const runJscodeshiftCodemod = ( diff --git a/apps/cli/src/runTsMorphCodemod.ts b/apps/cli/src/runTsMorphCodemod.ts index 5e6bd340e..3c5a8ab4f 100644 --- a/apps/cli/src/runTsMorphCodemod.ts +++ b/apps/cli/src/runTsMorphCodemod.ts @@ -1,6 +1,6 @@ import vm from "node:vm"; -import * as S from "@effect/schema/Schema"; import tsmorph from "ts-morph"; +import { nullish, parse, string } from "valibot"; import { buildVmConsole } from "./buildVmConsole.js"; import { CONSOLE_OVERRIDE } from "./consoleOverride.js"; import type { FileCommand } from "./fileCommands.js"; @@ -69,7 +69,7 @@ const transform = ( const value = vm.runInContext(codeToExecute, context, { timeout: 30000 }); - return S.parseSync(S.union(S.string, S.undefined, S.null))(value); + return parse(nullish(string()), value); }; export const runTsMorphCodemod = ( diff --git a/apps/cli/src/safeArgumentRecord.ts b/apps/cli/src/safeArgumentRecord.ts index d090ca4f4..513a64cfd 100644 --- a/apps/cli/src/safeArgumentRecord.ts +++ b/apps/cli/src/safeArgumentRecord.ts @@ -2,7 +2,7 @@ import { Codemod } from "./codemod.js"; import { ArgumentRecord } from "./schemata/argumentRecordSchema.js"; import { Arguments } from "./schemata/argumentsSchema.js"; -export type SafeArgumentRecord = readonly [ArgumentRecord]; +export type SafeArgumentRecord = ArgumentRecord[]; export const buildSafeArgumentRecord = ( codemod: Codemod, diff --git a/apps/cli/src/schemata/argumentRecordSchema.ts b/apps/cli/src/schemata/argumentRecordSchema.ts index 7674c8347..8feaea5cb 100644 --- a/apps/cli/src/schemata/argumentRecordSchema.ts +++ b/apps/cli/src/schemata/argumentRecordSchema.ts @@ -1,8 +1,8 @@ -import * as S from "@effect/schema/Schema"; +import { type Output, boolean, number, record, string, union } from "valibot"; -export const argumentRecordSchema = S.record( - S.string, - S.union(S.string, S.number, S.boolean), +export const argumentRecordSchema = record( + string(), + union([string(), number(), boolean()]), ); -export type ArgumentRecord = S.To; +export type ArgumentRecord = Output; diff --git a/apps/cli/src/schemata/argumentsSchema.ts b/apps/cli/src/schemata/argumentsSchema.ts index cfd8bcd58..3188b695d 100644 --- a/apps/cli/src/schemata/argumentsSchema.ts +++ b/apps/cli/src/schemata/argumentsSchema.ts @@ -1,23 +1,36 @@ -import * as S from "@effect/schema/Schema"; +import { + type Output, + array, + boolean, + literal, + number, + object, + optional, + string, + union, +} from "valibot"; -export const argumentsSchema = S.array( - S.union( - S.struct({ - name: S.string, - kind: S.literal("string"), - default: S.optional(S.string), +export const argumentsSchema = array( + union([ + object({ + name: string(), + kind: literal("string"), + required: optional(boolean(), false), + default: optional(string()), }), - S.struct({ - name: S.string, - kind: S.literal("number"), - default: S.optional(S.number), + object({ + name: string(), + kind: literal("number"), + required: optional(boolean(), false), + default: optional(number()), }), - S.struct({ - name: S.string, - kind: S.literal("boolean"), - default: S.optional(S.boolean), + object({ + name: string(), + kind: literal("boolean"), + required: optional(boolean(), false), + default: optional(boolean()), }), - ), + ]), ); -export type Arguments = S.To; +export type Arguments = Output; diff --git a/apps/cli/src/schemata/codemodConfigSchema.ts b/apps/cli/src/schemata/codemodConfigSchema.ts index fe87fd24f..8dd9b6f5d 100644 --- a/apps/cli/src/schemata/codemodConfigSchema.ts +++ b/apps/cli/src/schemata/codemodConfigSchema.ts @@ -1,10 +1,22 @@ -import * as S from "@effect/schema/Schema"; +import ms from "ms"; +import { + Output, + array, + boolean, + coerce, + custom, + literal, + merge, + number, + object, + optional, + regex, + string, + tuple, + union, +} from "valibot"; import { argumentsSchema } from "./argumentsSchema.js"; -const optionalArgumentsSchema = S.optional(argumentsSchema).withDefault( - () => [], -); - const PIRANHA_LANGUAGES = [ "java", "kt", @@ -16,43 +28,96 @@ const PIRANHA_LANGUAGES = [ "scala", ] as const; -const piranhaLanguageSchema = S.union( - ...PIRANHA_LANGUAGES.map((language) => S.literal(language)), -); +// Source: https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string +const semVerRegex = + /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/; -export const codemodConfigSchema = S.union( - S.struct({ - schemaVersion: S.literal("1.0.0"), - engine: S.literal("piranha"), - language: piranhaLanguageSchema, - arguments: optionalArgumentsSchema, - }), - S.struct({ - schemaVersion: S.literal("1.0.0"), - engine: S.literal("jscodeshift"), - arguments: optionalArgumentsSchema, - }), - S.struct({ - schemaVersion: S.literal("1.0.0"), - engine: S.literal("ts-morph"), - arguments: optionalArgumentsSchema, - }), - S.struct({ - schemaVersion: S.literal("1.0.0"), - engine: S.union(S.literal("repomod-engine"), S.literal("filemod")), - arguments: optionalArgumentsSchema, - }), - S.struct({ - schemaVersion: S.literal("1.0.0"), - engine: S.literal("recipe"), - names: S.array(S.string), - arguments: optionalArgumentsSchema, - }), - S.struct({ - schemaVersion: S.literal("1.0.0"), - engine: S.literal("ast-grep"), - arguments: optionalArgumentsSchema, +const knownEngines = [ + literal("jscodeshift"), + literal("repomod-engine"), + literal("filemod"), + literal("ts-morph"), + literal("ast-grep"), +]; + +const versionValidator = union([ + // react < 18.0.2 (preferred) + string([regex(semVerRegex)]), + // react < 18 (for example, when no latest version of a given major is out yet) + coerce(number(), (input) => Number(input)), +]); + +const configJsonBaseSchema = object({ + description: optional(string()), + version: versionValidator, + // We should detect the owner when user publishes. This is for backwards compatibility. + owner: optional(string()), + // We should have custom logic for this in our code. For orgs, we default to private, for users, we default to public + // just as npm does. + private: optional(boolean()), + // Array of tuples: [libName, versionOperator, version] + applicability: optional( + array( + tuple([ + string(), + union([ + literal("<"), + literal(">"), + literal("="), + literal("<="), + literal(">="), + ]), + versionValidator, + ]), + ), + [], + ), + deps: optional(array(string())), + engine: union([...knownEngines, literal("recipe"), literal("piranha")]), + arguments: optional(argumentsSchema, []), + meta: object({ + type: union([ + literal("migration"), + literal("best practices"), + literal("cleanup"), + literal("code mining"), + literal("other"), + ]), + changeType: union([literal("assistive"), literal("autonomous")]), + timeSave: string([ + custom( + // Returns undefined if input is not valid. We will use the same lib to get the time later in the code. + (input) => !!ms(input), + "The timeSave field does not match the expected format. See https://www.npmjs.com/package/ms for format reference.", + ), + ]), + git: optional(string()), }), -); +}); + +export const codemodConfigSchema = union([ + merge([ + configJsonBaseSchema, + object({ + engine: union(knownEngines), + name: string(), + }), + ]), + merge([ + configJsonBaseSchema, + object({ + engine: literal("recipe"), + names: array(string()), + }), + ]), + merge([ + configJsonBaseSchema, + object({ + engine: literal("piranha"), + name: string(), + language: union(PIRANHA_LANGUAGES.map((language) => literal(language))), + }), + ]), +]); -export type CodemodConfig = S.To; +export type CodemodConfig = Output; diff --git a/apps/cli/src/schemata/codemodSettingsSchema.ts b/apps/cli/src/schemata/codemodSettingsSchema.ts index 046b94970..3aaac504d 100644 --- a/apps/cli/src/schemata/codemodSettingsSchema.ts +++ b/apps/cli/src/schemata/codemodSettingsSchema.ts @@ -1,19 +1,26 @@ -import * as S from "@effect/schema/Schema"; - -const codemodEngineSchema = S.union( - S.literal("jscodeshift"), - S.literal("repomod-engine"), - S.literal("filemod"), - S.literal("ts-morph"), -); - -export const codemodSettingsSchema = S.union( - S.struct({ - _: S.array(S.string), - source: S.optional(S.string), - codemodEngine: S.optional(codemodEngineSchema), - }), -); +import { + type Output, + array, + literal, + object, + optional, + parse, + string, + union, +} from "valibot"; + +const codemodEngineSchema = union([ + literal("jscodeshift"), + literal("repomod-engine"), + literal("filemod"), + literal("ts-morph"), +]); + +export const codemodSettingsSchema = object({ + _: array(string()), + source: optional(string()), + codemodEngine: optional(codemodEngineSchema), +}); export type CodemodSettings = | Readonly<{ @@ -26,11 +33,11 @@ export type CodemodSettings = | Readonly<{ kind: "runSourced"; source: string; - codemodEngine: S.To | null; + codemodEngine: Output | null; }>; export const parseCodemodSettings = (input: unknown): CodemodSettings => { - const codemodSettings = S.parseSync(codemodSettingsSchema)(input); + const codemodSettings = parse(codemodSettingsSchema, input); if (codemodSettings._.includes("runOnPreCommit")) { return { diff --git a/apps/cli/src/schemata/consoleKindSchema.ts b/apps/cli/src/schemata/consoleKindSchema.ts index db674cd6b..a64accdb5 100644 --- a/apps/cli/src/schemata/consoleKindSchema.ts +++ b/apps/cli/src/schemata/consoleKindSchema.ts @@ -1,14 +1,15 @@ -import * as S from "@effect/schema/Schema"; +import { type Output, literal, parse, union } from "valibot"; -export const consoleKindSchema = S.union( - S.literal("debug"), - S.literal("error"), - S.literal("log"), - S.literal("info"), - S.literal("trace"), - S.literal("warn"), -); +export const consoleKindSchema = union([ + literal("debug"), + literal("error"), + literal("log"), + literal("info"), + literal("trace"), + literal("warn"), +]); -export const parseConsoleKind = S.parseSync(consoleKindSchema); +export const parseConsoleKind = (input: unknown) => + parse(consoleKindSchema, input); -export type ConsoleKind = S.To; +export type ConsoleKind = Output; diff --git a/apps/cli/src/schemata/flowSettingsSchema.ts b/apps/cli/src/schemata/flowSettingsSchema.ts index 992573eaf..d853ce916 100644 --- a/apps/cli/src/schemata/flowSettingsSchema.ts +++ b/apps/cli/src/schemata/flowSettingsSchema.ts @@ -1,8 +1,18 @@ -import * as S from "@effect/schema/Schema"; +import { + type Output, + array, + boolean, + integer, + minValue, + number, + object, + optional, + parse, + string, +} from "valibot"; import { DEFAULT_DISABLE_PRETTIER, DEFAULT_EXCLUDE_PATTERNS, - DEFAULT_FILE_LIMIT, DEFAULT_INCLUDE_PATTERNS, DEFAULT_INPUT_DIRECTORY_PATH, DEFAULT_NO_CACHE, @@ -10,31 +20,24 @@ import { DEFAULT_USE_JSON, } from "../constants.js"; -export const flowSettingsSchema = S.struct({ - include: S.optional(S.array(S.string)).withDefault( - () => DEFAULT_INCLUDE_PATTERNS, - ), - exclude: S.optional(S.array(S.string)).withDefault( - () => DEFAULT_EXCLUDE_PATTERNS, - ), - target: S.optional(S.string), - files: S.optional(S.array(S.string)), - limit: S.optional(S.number.pipe(S.int()).pipe(S.positive())).withDefault( - () => DEFAULT_FILE_LIMIT, - ), - raw: S.optional(S.boolean).withDefault(() => DEFAULT_DISABLE_PRETTIER), - "no-cache": S.optional(S.boolean).withDefault(() => DEFAULT_NO_CACHE), - noCache: S.optional(S.boolean).withDefault(() => DEFAULT_NO_CACHE), - json: S.optional(S.boolean).withDefault(() => DEFAULT_USE_JSON), - threads: S.optional(S.number).withDefault(() => DEFAULT_THREAD_COUNT), +export const flowSettingsSchema = object({ + include: optional(array(string()), DEFAULT_INCLUDE_PATTERNS), + exclude: optional(array(string()), DEFAULT_EXCLUDE_PATTERNS), + target: optional(string()), + files: optional(array(string())), + raw: optional(boolean(), DEFAULT_DISABLE_PRETTIER), + "no-cache": optional(boolean(), DEFAULT_NO_CACHE), + noCache: optional(boolean(), DEFAULT_NO_CACHE), + json: optional(boolean(), DEFAULT_USE_JSON), + threads: optional(number([minValue(0)]), DEFAULT_THREAD_COUNT), }); -export type FlowSettings = Omit, "target"> & { +export type FlowSettings = Omit, "target"> & { target: string; }; export const parseFlowSettings = (input: unknown): FlowSettings => { - const flowSettings = S.parseSync(flowSettingsSchema)(input); + const flowSettings = parse(flowSettingsSchema, input); return { ...flowSettings, diff --git a/apps/cli/src/schemata/runArgvSettingsSchema.ts b/apps/cli/src/schemata/runArgvSettingsSchema.ts index eba527aa9..844fe7812 100644 --- a/apps/cli/src/schemata/runArgvSettingsSchema.ts +++ b/apps/cli/src/schemata/runArgvSettingsSchema.ts @@ -1,16 +1,16 @@ import { randomBytes } from "node:crypto"; import { join } from "node:path"; -import * as S from "@effect/schema/Schema"; +import { literal, object, optional, parse, string, union } from "valibot"; -const runArgvSettingsSchema = S.union( - S.struct({ - dry: S.optional(S.literal(false)).withDefault(() => false), +const runArgvSettingsSchema = union([ + object({ + dry: optional(literal(false), false), }), - S.struct({ - dry: S.literal(true), - output: S.optional(S.string), + object({ + dry: literal(true), + output: optional(string()), }), -); +]); export type RunSettings = | Readonly<{ @@ -30,7 +30,7 @@ export const parseRunSettings = ( ): RunSettings => { const caseHashDigest = randomBytes(20); - const flowSettings = S.parseSync(runArgvSettingsSchema)(input); + const flowSettings = parse(runArgvSettingsSchema, input); if (flowSettings.dry === false) { return { diff --git a/apps/cli/src/workerThreadMessages.ts b/apps/cli/src/workerThreadMessages.ts index 4538ef185..ea3b737cb 100644 --- a/apps/cli/src/workerThreadMessages.ts +++ b/apps/cli/src/workerThreadMessages.ts @@ -1,23 +1,34 @@ -import * as S from "@effect/schema/Schema"; +import { + type Output, + literal, + nullish, + object, + optional, + parse, + string, + union, + unknown, +} from "valibot"; import { consoleKindSchema } from "./schemata/consoleKindSchema.js"; -const workerThreadMessageSchema = S.union( - S.struct({ - kind: S.literal("commands"), - commands: S.unknown, +const workerThreadMessageSchema = union([ + object({ + kind: literal("commands"), + commands: unknown(), }), - S.struct({ - kind: S.literal("error"), - message: S.string, - path: S.union(S.string, S.undefined), + object({ + kind: literal("error"), + message: string(), + path: optional(string()), }), - S.struct({ - kind: S.literal("console"), + object({ + kind: literal("console"), consoleKind: consoleKindSchema, - message: S.string, + message: string(), }), -); +]); -export type WorkerThreadMessage = S.To; +export type WorkerThreadMessage = Output; -export const decodeWorkerThreadMessage = S.parseSync(workerThreadMessageSchema); +export const decodeWorkerThreadMessage = (input: unknown) => + parse(workerThreadMessageSchema, input); diff --git a/apps/cli/test/registry.tar.gz b/apps/cli/test/registry.tar.gz index 49c1365c8..d1f6fcc5a 100644 Binary files a/apps/cli/test/registry.tar.gz and b/apps/cli/test/registry.tar.gz differ diff --git a/apps/cli/test/runner.test.ts b/apps/cli/test/runner.test.ts index 8fc94c525..04f5fe2f7 100644 --- a/apps/cli/test/runner.test.ts +++ b/apps/cli/test/runner.test.ts @@ -56,10 +56,12 @@ describe("Runner", () => { { name: "argA", kind: "number", + required: false, }, { name: "argB", kind: "number", + required: false, }, ], }; @@ -68,7 +70,6 @@ describe("Runner", () => { const loadRepositoryConfiguration = () => Promise.resolve({ - schemaVersion: "1.0.0", preCommitCodemods: [ { source: "registry", @@ -98,7 +99,6 @@ describe("Runner", () => { exclude: [], target: "/code", files: ["/code/a.ts", "/code/b.ts", "/code/c.ts"], - limit: 3, raw: true, "no-cache": false, noCache: false, diff --git a/apps/cli/test/tarService.test.ts b/apps/cli/test/tarService.test.ts index a873c45ae..8d3d452a4 100644 --- a/apps/cli/test/tarService.test.ts +++ b/apps/cli/test/tarService.test.ts @@ -24,15 +24,15 @@ describe("TarService", () => { { const stats = await ifs.promises.stat("/home/user/.codemod/names.json"); - equal(stats.size.toString(), 1814); + equal(stats.size.toString(), 4258); } { const stats = await ifs.promises.stat( - "/home/user/.codemod/-wqkAQr7ILgYeTRozWTEgiUvmSY/config.json", + "/home/user/.codemod/-wqkAQr7ILgYeTRozWTEgiUvmSY/.codemodrc.json", ); - equal(stats.size.toString(), 45); + equal(stats.size.toString(), 337); } { @@ -40,7 +40,7 @@ describe("TarService", () => { "/home/user/.codemod/-wqkAQr7ILgYeTRozWTEgiUvmSY/index.cjs", ); - equal(stats.size.toString(), 18020); + equal(stats.size.toString(), 15810); } // do it again to simulate another command invocation @@ -49,7 +49,7 @@ describe("TarService", () => { { const stats = await ifs.promises.stat("/home/user/.codemod/names.json"); - equal(stats.size.toString(), 1814); + equal(stats.size.toString(), 4258); } }); }); diff --git a/apps/docs/deploying-codemods/cli.mdx b/apps/docs/deploying-codemods/cli.mdx index 6837b231c..c88245c80 100644 --- a/apps/docs/deploying-codemods/cli.mdx +++ b/apps/docs/deploying-codemods/cli.mdx @@ -152,15 +152,6 @@ codemod --source [path] --engine [codemod engine] This option is used when running a local codemod using the `--source` option. - - Can be used to specify a limit to the number of files targeted by the codemod. - -```bash -codemod [codemod name] --limit [number] -``` - - - Can be used to disable prettier formatting to the files affected by the codemod. diff --git a/apps/registry/builder/package.json b/apps/registry/builder/package.json index 6c3ce88ad..33f020552 100644 --- a/apps/registry/builder/package.json +++ b/apps/registry/builder/package.json @@ -2,11 +2,13 @@ "name": "@codemod-com/builder", "type": "module", "dependencies": { - "@effect/schema": "^0.48.4", "fast-glob": "3.3.2", - "tar": "^6.2.0" + "ms": "^2.1.3", + "tar": "^6.2.0", + "valibot": "^0.24.1" }, "devDependencies": { + "@types/ms": "^0.7.34", "@types/node": "^20.9.2", "@types/tar": "^6.1.9", "tsx": "^4.7.0", diff --git a/apps/registry/codemods/Feature Flags/remove-unused-feature-flags/config.json b/apps/registry/codemods/Feature Flags/remove-unused-feature-flags/.codemodrc.json similarity index 55% rename from apps/registry/codemods/Feature Flags/remove-unused-feature-flags/config.json rename to apps/registry/codemods/Feature Flags/remove-unused-feature-flags/.codemodrc.json index 094b391e2..843317479 100644 --- a/apps/registry/codemods/Feature Flags/remove-unused-feature-flags/config.json +++ b/apps/registry/codemods/Feature Flags/remove-unused-feature-flags/.codemodrc.json @@ -1,6 +1,9 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, + "name": "remove-unused-feature-flags", "engine": "jscodeshift", + "applicability": [], "arguments": [ { "name": "functionName", @@ -13,5 +16,10 @@ "default": "featureFlag", "required": true } - ] + ], + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "5m" + } } diff --git a/apps/registry/codemods/Feature Flags/remove-unused-feature-flags/README.md b/apps/registry/codemods/Feature Flags/remove-unused-feature-flags/README.md index c9ccd5f53..8cbc1b07b 100644 --- a/apps/registry/codemods/Feature Flags/remove-unused-feature-flags/README.md +++ b/apps/registry/codemods/Feature Flags/remove-unused-feature-flags/README.md @@ -32,30 +32,4 @@ const a = await Promise.resolve('a'); const x = c; const y = ; -``` - -## Applicability Criteria - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -Codemod.com - -### Links for more info +``` \ No newline at end of file diff --git a/apps/registry/codemods/Feature Flags/remove-unused-feature-flags/package.json b/apps/registry/codemods/Feature Flags/remove-unused-feature-flags/package.json index 03e8e8959..6ba884978 100644 --- a/apps/registry/codemods/Feature Flags/remove-unused-feature-flags/package.json +++ b/apps/registry/codemods/Feature Flags/remove-unused-feature-flags/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/Go/remove-unnecessary-nested-block/.codemodrc.json b/apps/registry/codemods/Go/remove-unnecessary-nested-block/.codemodrc.json new file mode 100644 index 000000000..441ae0d39 --- /dev/null +++ b/apps/registry/codemods/Go/remove-unnecessary-nested-block/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "remove-unnecessary-nested-block", + "engine": "piranha", + "language": "go", + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/Go/remove-unnecessary-nested-block/config.json b/apps/registry/codemods/Go/remove-unnecessary-nested-block/config.json deleted file mode 100644 index 927408913..000000000 --- a/apps/registry/codemods/Go/remove-unnecessary-nested-block/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "Remove Unnecessary Nested Block", - "engine": "piranha", - "language": "go", - "owner": "codemod.com" -} diff --git a/apps/registry/codemods/Go/remove-unnecessary-nested-block/package.json b/apps/registry/codemods/Go/remove-unnecessary-nested-block/package.json index b35a728d4..4c20ed6a3 100644 --- a/apps/registry/codemods/Go/remove-unnecessary-nested-block/package.json +++ b/apps/registry/codemods/Go/remove-unnecessary-nested-block/package.json @@ -1,5 +1,5 @@ { "name": "@codemod-com/codemod-go-remove-unnecessary-nested-block", - "files": ["README.md", "config.json"], + "files": ["./README.md", "./.codemodrc.json"], "type": "module" } diff --git a/apps/registry/codemods/Java/delete-unused-fields/.codemodrc.json b/apps/registry/codemods/Java/delete-unused-fields/.codemodrc.json new file mode 100644 index 000000000..dc91358bb --- /dev/null +++ b/apps/registry/codemods/Java/delete-unused-fields/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "Delete Unused Fields", + "engine": "piranha", + "language": "java", + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/Java/delete-unused-fields/README.md b/apps/registry/codemods/Java/delete-unused-fields/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/Java/delete-unused-fields/config.json b/apps/registry/codemods/Java/delete-unused-fields/config.json deleted file mode 100644 index 9d887642f..000000000 --- a/apps/registry/codemods/Java/delete-unused-fields/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "Delete Unused Fields", - "engine": "piranha", - "language": "java", - "owner": "codemod.com" -} diff --git a/apps/registry/codemods/Java/delete-unused-fields/package.json b/apps/registry/codemods/Java/delete-unused-fields/package.json index 7d160c7d2..47ee3803a 100644 --- a/apps/registry/codemods/Java/delete-unused-fields/package.json +++ b/apps/registry/codemods/Java/delete-unused-fields/package.json @@ -1,5 +1,5 @@ { "name": "@codemod-com/codemod-java-delete-unused-fields", - "files": ["README.md", "config.json"], + "files": ["./README.md", "./.codemodrc.json"], "type": "module" } diff --git a/apps/registry/codemods/antd/5/props-changed-migration/.codemodrc.json b/apps/registry/codemods/antd/5/props-changed-migration/.codemodrc.json new file mode 100644 index 000000000..b563580e4 --- /dev/null +++ b/apps/registry/codemods/antd/5/props-changed-migration/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "name": "antd/props-changed", + "private": false, + "engine": "jscodeshift", + "arguments": [], + "owner": "ant-design", + "applicability": [["antd", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "1m", + "git": "https://github.com/ant-design/codemod-v5/tree/main?tab=readme-ov-file#v5-props-changed-migration" + } +} diff --git a/apps/registry/codemods/antd/5/props-changed-migration/README.md b/apps/registry/codemods/antd/5/props-changed-migration/README.md index 72a5b23c9..8c7e5684f 100644 --- a/apps/registry/codemods/antd/5/props-changed-migration/README.md +++ b/apps/registry/codemods/antd/5/props-changed-migration/README.md @@ -28,34 +28,4 @@ const Component = () => { return (visible ? : null); }; -``` - -## Applicability Criteria - -Ant Design >= 5.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[jscodeshift](https://github.com/facebook/jscodeshift) - -### Estimated Time Saving - -Up to 1 minutes per occurrence - -### Owner - -[Ant Design](https://github.com/ant-design) - -### Links for more info - -- https://github.com/ant-design/codemod-v5/tree/main?tab=readme-ov-file#v5-props-changed-migration +``` \ No newline at end of file diff --git a/apps/registry/codemods/antd/5/props-changed-migration/config.json b/apps/registry/codemods/antd/5/props-changed-migration/config.json deleted file mode 100644 index 9c586e1aa..000000000 --- a/apps/registry/codemods/antd/5/props-changed-migration/config.json +++ /dev/null @@ -1 +0,0 @@ -{ "schemaVersion": "1.0.0", "engine": "jscodeshift", "arguments": [] } diff --git a/apps/registry/codemods/antd/5/props-changed-migration/package.json b/apps/registry/codemods/antd/5/props-changed-migration/package.json index 3d0493b26..28a86c48b 100644 --- a/apps/registry/codemods/antd/5/props-changed-migration/package.json +++ b/apps/registry/codemods/antd/5/props-changed-migration/package.json @@ -13,6 +13,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/antd/5/remove-style-import/.codemodrc.json b/apps/registry/codemods/antd/5/remove-style-import/.codemodrc.json new file mode 100644 index 000000000..d266b1fc4 --- /dev/null +++ b/apps/registry/codemods/antd/5/remove-style-import/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "name": "antd/remove-style-import", + "private": false, + "engine": "jscodeshift", + "arguments": [], + "owner": "ant-design", + "applicability": [["antd", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "1m", + "git": "https://github.com/ant-design/codemod-v5/tree/main?tab=readme-ov-file#v5-remove-style-import" + } +} diff --git a/apps/registry/codemods/antd/5/remove-style-import/README.md b/apps/registry/codemods/antd/5/remove-style-import/README.md index 83034a28e..2676cba7c 100644 --- a/apps/registry/codemods/antd/5/remove-style-import/README.md +++ b/apps/registry/codemods/antd/5/remove-style-import/README.md @@ -21,34 +21,4 @@ import 'antd/dist/antd.compact.min.css'; // import 'antd/es/auto-complete/style'; // import 'antd/lib/button/style/index.less'; // import 'antd/dist/antd.compact.min.css'; -``` - -## Applicability Criteria - -Ant Design >= 5.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[jscodeshift](https://github.com/facebook/jscodeshift) - -### Estimated Time Saving - -Up to 1 minutes per occurrence - -### Owner - -[Ant Design](https://github.com/ant-design) - -### Links for more info - -- https://github.com/ant-design/codemod-v5/tree/main?tab=readme-ov-file#v5-remove-style-import +``` \ No newline at end of file diff --git a/apps/registry/codemods/antd/5/remove-style-import/config.json b/apps/registry/codemods/antd/5/remove-style-import/config.json deleted file mode 100644 index 9c586e1aa..000000000 --- a/apps/registry/codemods/antd/5/remove-style-import/config.json +++ /dev/null @@ -1 +0,0 @@ -{ "schemaVersion": "1.0.0", "engine": "jscodeshift", "arguments": [] } diff --git a/apps/registry/codemods/antd/5/remove-style-import/package.json b/apps/registry/codemods/antd/5/remove-style-import/package.json index 7460a6ea6..1d34164d1 100644 --- a/apps/registry/codemods/antd/5/remove-style-import/package.json +++ b/apps/registry/codemods/antd/5/remove-style-import/package.json @@ -13,6 +13,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.js" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/antd/5/removed-component-migration/.codemodrc.json b/apps/registry/codemods/antd/5/removed-component-migration/.codemodrc.json new file mode 100644 index 000000000..e9784510f --- /dev/null +++ b/apps/registry/codemods/antd/5/removed-component-migration/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "name": "antd/remove-component", + "private": false, + "engine": "jscodeshift", + "arguments": [], + "owner": "ant-design", + "applicability": [["antd", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "1m", + "git": "https://github.com/ant-design/codemod-v5/tree/main?tab=readme-ov-file#v5-removed-component-migration" + } +} diff --git a/apps/registry/codemods/antd/5/removed-component-migration/README.md b/apps/registry/codemods/antd/5/removed-component-migration/README.md index e9a5d75a4..294a7b961 100644 --- a/apps/registry/codemods/antd/5/removed-component-migration/README.md +++ b/apps/registry/codemods/antd/5/removed-component-migration/README.md @@ -20,33 +20,3 @@ import { Comment } from '@ant-design/compatible'; import { PageHeader } from '@ant-design/pro-layout'; import { Avatar, FloatButton } from 'antd'; ``` - -## Applicability Criteria - -Ant Design >= 5.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[jscodeshift](https://github.com/facebook/jscodeshift) - -### Estimated Time Saving - -Up to 1 minutes per occurrence - -### Owner - -[Ant Design](https://github.com/ant-design) - -### Links for more info - -- https://github.com/ant-design/codemod-v5/tree/main?tab=readme-ov-file#v5-removed-component-migration diff --git a/apps/registry/codemods/antd/5/removed-component-migration/config.json b/apps/registry/codemods/antd/5/removed-component-migration/config.json deleted file mode 100644 index 9c586e1aa..000000000 --- a/apps/registry/codemods/antd/5/removed-component-migration/config.json +++ /dev/null @@ -1 +0,0 @@ -{ "schemaVersion": "1.0.0", "engine": "jscodeshift", "arguments": [] } diff --git a/apps/registry/codemods/antd/5/removed-component-migration/package.json b/apps/registry/codemods/antd/5/removed-component-migration/package.json index be3f83b21..fd551b35b 100644 --- a/apps/registry/codemods/antd/5/removed-component-migration/package.json +++ b/apps/registry/codemods/antd/5/removed-component-migration/package.json @@ -12,6 +12,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.js" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/antd/5/removed-static-method-migration/.codemodrc.json b/apps/registry/codemods/antd/5/removed-static-method-migration/.codemodrc.json new file mode 100644 index 000000000..4abd518c0 --- /dev/null +++ b/apps/registry/codemods/antd/5/removed-static-method-migration/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "name": "antd/remove-static-method", + "private": false, + "engine": "jscodeshift", + "arguments": [], + "owner": "ant-design", + "applicability": [["antd", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "1m", + "git": "https://github.com/ant-design/codemod-v5/tree/main?tab=readme-ov-file#v5-removed-static-method-migration" + } +} diff --git a/apps/registry/codemods/antd/5/removed-static-method-migration/README.md b/apps/registry/codemods/antd/5/removed-static-method-migration/README.md index 165bdd078..b2cffad2c 100644 --- a/apps/registry/codemods/antd/5/removed-static-method-migration/README.md +++ b/apps/registry/codemods/antd/5/removed-static-method-migration/README.md @@ -59,34 +59,4 @@ const App = () => { return <>{contextHolder}; }; -``` - -## Applicability Criteria - -Ant Design >= 5.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[jscodeshift](https://github.com/facebook/jscodeshift) - -### Estimated Time Saving - -Up to 1 minutes per occurrence - -### Owner - -[Ant Design](https://github.com/ant-design) - -### Links for more info - -- https://github.com/ant-design/codemod-v5/tree/main?tab=readme-ov-file#v5-removed-component-migration +``` \ No newline at end of file diff --git a/apps/registry/codemods/antd/5/removed-static-method-migration/config.json b/apps/registry/codemods/antd/5/removed-static-method-migration/config.json deleted file mode 100644 index 9c586e1aa..000000000 --- a/apps/registry/codemods/antd/5/removed-static-method-migration/config.json +++ /dev/null @@ -1 +0,0 @@ -{ "schemaVersion": "1.0.0", "engine": "jscodeshift", "arguments": [] } diff --git a/apps/registry/codemods/antd/5/removed-static-method-migration/package.json b/apps/registry/codemods/antd/5/removed-static-method-migration/package.json index 08fa76748..89bd452a6 100644 --- a/apps/registry/codemods/antd/5/removed-static-method-migration/package.json +++ b/apps/registry/codemods/antd/5/removed-static-method-migration/package.json @@ -12,6 +12,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.js" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/bull/bullmq/.codemodrc.json b/apps/registry/codemods/bull/bullmq/.codemodrc.json new file mode 100644 index 000000000..d2bfffed6 --- /dev/null +++ b/apps/registry/codemods/bull/bullmq/.codemodrc.json @@ -0,0 +1,12 @@ +{ + "version": "1.0.0", + "private": false, + "name": "bull/bullmq", + "engine": "jscodeshift", + "applicability": [["bull", ">", "0.0.0"]], + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "10m" + } +} diff --git a/apps/registry/codemods/bull/bullmq/README.md b/apps/registry/codemods/bull/bullmq/README.md index b67b89d47..2e7d90ef3 100644 --- a/apps/registry/codemods/bull/bullmq/README.md +++ b/apps/registry/codemods/bull/bullmq/README.md @@ -104,30 +104,4 @@ const queue = createQueue('queue-name'); const worker = new Worker("unknown-name", async function (job) { const event = job.data; }); -``` - -## Applicability Criteria - -`bullmq` >= 1.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[jscodeshift](https://github.com/facebook/jscodeshift) - -### Estimated Time Saving - -~10 minutes per occurence - -### Owner - -[Codemod.com](https://github.com/codemod-com) +``` \ No newline at end of file diff --git a/apps/registry/codemods/bull/bullmq/config.json b/apps/registry/codemods/bull/bullmq/config.json deleted file mode 100644 index dd93a3177..000000000 --- a/apps/registry/codemods/bull/bullmq/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "bull/bullmq", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/bull/bullmq/package.json b/apps/registry/codemods/bull/bullmq/package.json index 96ea9ea52..6d0d8dbc7 100644 --- a/apps/registry/codemods/bull/bullmq/package.json +++ b/apps/registry/codemods/bull/bullmq/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/.codemodrc.json b/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/.codemodrc.json new file mode 100644 index 000000000..e82d8318b --- /dev/null +++ b/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/.codemodrc.json @@ -0,0 +1,14 @@ +{ + "version": "1.0.0", + "private": false, + "name": "cal.com/app-directory-boilerplate-calcom", + "description": "This codemod provides boilerplate for the app directory.", + "engine": "filemod", + "applicability": [["next", ">=", "13.4.0"], ["next", "<", "14.0.0"]], + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "3m" + } +} diff --git a/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/README.md b/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/README.md index 657b0fa99..2ed45f596 100644 --- a/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/README.md +++ b/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/README.md @@ -37,34 +37,4 @@ The codemod will generate the following corresponding directory: └── c └── page.tsx └── layout.tsx -``` - -## Applicability Criteria - -Next.js version is greater or equal to 13.4. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -ts-morph - -### Estimated Time Saving - -~3 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://nextjs.org/docs/pages/building-your-application/upgrading/app-router-migration +``` \ No newline at end of file diff --git a/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/config.json b/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/config.json deleted file mode 100644 index 24ac65312..000000000 --- a/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "cal.com/app-directory-boilerplate-calcom", - "description": "This codemod provides boilerplate for the app directory.", - "engine": "filemod", - "dependencyVersionLowerThan": ["next", "13.0.0"], - "owner": "codemod.com" -} diff --git a/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/package.json b/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/package.json index 9413dd465..2487825a9 100644 --- a/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/package.json +++ b/apps/registry/codemods/cal.com/app-directory-boilerplate-calcom/package.json @@ -29,6 +29,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/.codemodrc.json b/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/.codemodrc.json new file mode 100644 index 000000000..d8c9bbd1d --- /dev/null +++ b/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/.codemodrc.json @@ -0,0 +1,19 @@ +{ + "version": "1.0.0", + "name": "@calcom/generate-metadata-tests", + "private": false, + "engine": "filemod", + "applicability": [["next", ">=", "13.4.0"], ["next", "<", "14.0.0"]], + "arguments": [ + { + "name": "testPath", + "kind": "string", + "required": true + } + ], + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/README.md b/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/README.md index a0fe0bd1e..7587573df 100644 --- a/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/README.md +++ b/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/README.md @@ -4,30 +4,4 @@ This codemod generates metadata tests for all existing paths under the pages router. -It uses the `testPath` argument to place the test file in the proper place. - -## Applicability Criteria - -Next.js version is greater or equal to 13.4. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -filemod - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) +It uses the `testPath` argument to place the test file in the proper place. \ No newline at end of file diff --git a/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/config.json b/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/config.json deleted file mode 100644 index 4b67568f7..000000000 --- a/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "engine": "filemod", - "arguments": [ - { - "name": "testPath", - "kind": "string", - "required": true - } - ] -} diff --git a/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/package.json b/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/package.json index 9902069a3..49c381ec2 100644 --- a/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/package.json +++ b/apps/registry/codemods/cal.com/generate-metadata-tests-calcom/package.json @@ -23,6 +23,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/cal.com/generate-url-patterns/config.json b/apps/registry/codemods/cal.com/generate-url-patterns/.codemodrc.json similarity index 60% rename from apps/registry/codemods/cal.com/generate-url-patterns/config.json rename to apps/registry/codemods/cal.com/generate-url-patterns/.codemodrc.json index 259e5f4d5..ef230bb30 100644 --- a/apps/registry/codemods/cal.com/generate-url-patterns/config.json +++ b/apps/registry/codemods/cal.com/generate-url-patterns/.codemodrc.json @@ -1,5 +1,7 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "name": "@calcom/generate-url-patterns", + "private": false, "engine": "filemod", "arguments": [ { @@ -22,5 +24,11 @@ "kind": "boolean", "required": false } - ] + ], + "applicability": [["next", ">=", "13.4.0"], ["next", "<", "14.0.0"]], + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "5m" + } } diff --git a/apps/registry/codemods/cal.com/generate-url-patterns/README.md b/apps/registry/codemods/cal.com/generate-url-patterns/README.md index 36db34f5e..9848a1b8c 100644 --- a/apps/registry/codemods/cal.com/generate-url-patterns/README.md +++ b/apps/registry/codemods/cal.com/generate-url-patterns/README.md @@ -2,30 +2,4 @@ ## Description -This codemod generates URL Patterns for all existing paths under the apps router to be placed in the middleware file that controls which pages are active. - -## Applicability Criteria - -Next.js version is greater or equal to 13.4. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -filemod - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) +This codemod generates URL Patterns for all existing paths under the apps router to be placed in the middleware file that controls which pages are active. \ No newline at end of file diff --git a/apps/registry/codemods/cal.com/generate-url-patterns/package.json b/apps/registry/codemods/cal.com/generate-url-patterns/package.json index 08682fe0d..cfc8057d4 100644 --- a/apps/registry/codemods/cal.com/generate-url-patterns/package.json +++ b/apps/registry/codemods/cal.com/generate-url-patterns/package.json @@ -23,6 +23,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/app-controller-router-props/.codemodrc.json b/apps/registry/codemods/ember/5/app-controller-router-props/.codemodrc.json new file mode 100644 index 000000000..d5a7602dc --- /dev/null +++ b/apps/registry/codemods/ember/5/app-controller-router-props/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/app-controller-router-props", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.10.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/blob/master/transforms/app-controller-router-props" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/app-controller-router-props/README.md b/apps/registry/codemods/ember/5/app-controller-router-props/README.md index 58db638f7..953710406 100644 --- a/apps/registry/codemods/ember/5/app-controller-router-props/README.md +++ b/apps/registry/codemods/ember/5/app-controller-router-props/README.md @@ -50,34 +50,4 @@ export default Controller.extend({ }, }, }); -``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.10. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://github.com/ember-codemods/ember-3x-codemods/blob/master/transforms/app-controller-router-props +``` \ No newline at end of file diff --git a/apps/registry/codemods/ember/5/app-controller-router-props/config.json b/apps/registry/codemods/ember/5/app-controller-router-props/config.json deleted file mode 100644 index 3c5dd0b07..000000000 --- a/apps/registry/codemods/ember/5/app-controller-router-props/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/app-controller-router-props", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/app-controller-router-props/package.json b/apps/registry/codemods/ember/5/app-controller-router-props/package.json index 27a6bdf95..a87ccf371 100644 --- a/apps/registry/codemods/ember/5/app-controller-router-props/package.json +++ b/apps/registry/codemods/ember/5/app-controller-router-props/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/array-wrapper/.codemodrc.json b/apps/registry/codemods/ember/5/array-wrapper/.codemodrc.json new file mode 100644 index 000000000..8e0245f31 --- /dev/null +++ b/apps/registry/codemods/ember/5/array-wrapper/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/array-wrapper", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.6.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/array-wrapper" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/array-wrapper/README.md b/apps/registry/codemods/ember/5/array-wrapper/README.md index 099274dfd..02560974c 100644 --- a/apps/registry/codemods/ember/5/array-wrapper/README.md +++ b/apps/registry/codemods/ember/5/array-wrapper/README.md @@ -20,34 +20,4 @@ let arr = new A(); import { A as emberA } from '@ember/array'; let arr = A(); -``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.6. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://deprecations.emberjs.com/v3.x/#toc_array-new-array-wrapper +``` \ No newline at end of file diff --git a/apps/registry/codemods/ember/5/array-wrapper/config.json b/apps/registry/codemods/ember/5/array-wrapper/config.json deleted file mode 100644 index a1b821cb9..000000000 --- a/apps/registry/codemods/ember/5/array-wrapper/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/array-wrapper", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/array-wrapper/package.json b/apps/registry/codemods/ember/5/array-wrapper/package.json index 568583eb0..ea428180a 100644 --- a/apps/registry/codemods/ember/5/array-wrapper/package.json +++ b/apps/registry/codemods/ember/5/array-wrapper/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/.codemodrc.json b/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/.codemodrc.json new file mode 100644 index 000000000..3ffe63cd4 --- /dev/null +++ b/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/convert-module-for-to-setup-test", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "2.4.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-qunit-codemod/tree/master/transforms/convert-module-for-to-setup-test" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/README.md b/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/README.md index ebb814c9d..f9c334f10 100644 --- a/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/README.md +++ b/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/README.md @@ -33,34 +33,4 @@ module('Unit | Service | Flash', function (hooks) { let subject = this.owner.lookup('service:flash'); }); }); -``` - -## Applicability Criteria - -Ember.js version higher or equal to 2.4. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Robert Jackson](https://github.com/rwjblue) - -### Links for more info - -- https://github.com/ember-codemods/ember-qunit-codemod/tree/master/transforms/convert-module-for-to-setup-test +``` \ No newline at end of file diff --git a/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/config.json b/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/config.json deleted file mode 100644 index 84b95a0e1..000000000 --- a/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/convert-module-for-to-setup-test", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/package.json b/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/package.json index 683020e29..cf34d190f 100644 --- a/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/package.json +++ b/apps/registry/codemods/ember/5/convert-module-for-to-setup-test/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/cp-property-map/.codemodrc.json b/apps/registry/codemods/ember/5/cp-property-map/.codemodrc.json new file mode 100644 index 000000000..5bb2441f7 --- /dev/null +++ b/apps/registry/codemods/ember/5/cp-property-map/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/cp-property-map", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.9.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/cp-property-map" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/cp-property-map/README.md b/apps/registry/codemods/ember/5/cp-property-map/README.md index 448eb6470..7632db7b3 100644 --- a/apps/registry/codemods/ember/5/cp-property-map/README.md +++ b/apps/registry/codemods/ember/5/cp-property-map/README.md @@ -24,34 +24,4 @@ const Person = EmberObject.extend({ return friend[this.get('nameKey')]; }), }); -``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.9. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://deprecations.emberjs.com/v3.x/#toc_computed-property-property +``` \ No newline at end of file diff --git a/apps/registry/codemods/ember/5/cp-property-map/config.json b/apps/registry/codemods/ember/5/cp-property-map/config.json deleted file mode 100644 index 1007cd60b..000000000 --- a/apps/registry/codemods/ember/5/cp-property-map/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/cp-property-map", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/cp-property-map/package.json b/apps/registry/codemods/ember/5/cp-property-map/package.json index e89336af1..98e5178b3 100644 --- a/apps/registry/codemods/ember/5/cp-property-map/package.json +++ b/apps/registry/codemods/ember/5/cp-property-map/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/cp-property/.codemodrc.json b/apps/registry/codemods/ember/5/cp-property/.codemodrc.json new file mode 100644 index 000000000..caa46bba9 --- /dev/null +++ b/apps/registry/codemods/ember/5/cp-property/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/cp-property", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.9.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/cp-property" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/cp-property/README.md b/apps/registry/codemods/ember/5/cp-property/README.md index 08fd8a065..61d5fc0ce 100644 --- a/apps/registry/codemods/ember/5/cp-property/README.md +++ b/apps/registry/codemods/ember/5/cp-property/README.md @@ -25,33 +25,3 @@ const Person = EmberObject.extend({ }), }); ``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.9. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://deprecations.emberjs.com/v3.x/#toc_computed-property-property diff --git a/apps/registry/codemods/ember/5/cp-property/config.json b/apps/registry/codemods/ember/5/cp-property/config.json deleted file mode 100644 index f92b5a287..000000000 --- a/apps/registry/codemods/ember/5/cp-property/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/cp-property", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/cp-property/package.json b/apps/registry/codemods/ember/5/cp-property/package.json index 94a971b8a..2f13fae11 100644 --- a/apps/registry/codemods/ember/5/cp-property/package.json +++ b/apps/registry/codemods/ember/5/cp-property/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/cp-volatile/.codemodrc.json b/apps/registry/codemods/ember/5/cp-volatile/.codemodrc.json new file mode 100644 index 000000000..04535b74d --- /dev/null +++ b/apps/registry/codemods/ember/5/cp-volatile/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/cp-volatile", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.9.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/cp-volatile" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/cp-volatile/README.md b/apps/registry/codemods/ember/5/cp-volatile/README.md index 0689336dc..851c1d202 100644 --- a/apps/registry/codemods/ember/5/cp-volatile/README.md +++ b/apps/registry/codemods/ember/5/cp-volatile/README.md @@ -24,34 +24,4 @@ const Person = EmberObject.extend({ return `${this.firstName} ${this.lastName}`; }, }); -``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.9. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://deprecations.emberjs.com/v3.x/#toc_computed-property-volatile +``` \ No newline at end of file diff --git a/apps/registry/codemods/ember/5/cp-volatile/config.json b/apps/registry/codemods/ember/5/cp-volatile/config.json deleted file mode 100644 index ca4384940..000000000 --- a/apps/registry/codemods/ember/5/cp-volatile/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/cp-volatile", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/cp-volatile/package.json b/apps/registry/codemods/ember/5/cp-volatile/package.json index 80ef5e05e..c112fee4a 100644 --- a/apps/registry/codemods/ember/5/cp-volatile/package.json +++ b/apps/registry/codemods/ember/5/cp-volatile/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/deprecate-merge/.codemodrc.json b/apps/registry/codemods/ember/5/deprecate-merge/.codemodrc.json new file mode 100644 index 000000000..e3e5500a8 --- /dev/null +++ b/apps/registry/codemods/ember/5/deprecate-merge/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/deprecate-merge", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.6.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/deprecate-merge" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/deprecate-merge/README.md b/apps/registry/codemods/ember/5/deprecate-merge/README.md index 8d51a9816..3930f76c5 100644 --- a/apps/registry/codemods/ember/5/deprecate-merge/README.md +++ b/apps/registry/codemods/ember/5/deprecate-merge/README.md @@ -24,34 +24,4 @@ import { assign } from '@ember/polyfills'; var a = { first: 'Yehuda' }; var b = { last: 'Katz' }; assign(a, b); -``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.6. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://deprecations.emberjs.com/v3.x/#toc_ember-polyfills-deprecate-merge +``` \ No newline at end of file diff --git a/apps/registry/codemods/ember/5/deprecate-merge/config.json b/apps/registry/codemods/ember/5/deprecate-merge/config.json deleted file mode 100644 index 41c4c1a48..000000000 --- a/apps/registry/codemods/ember/5/deprecate-merge/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/deprecate-merge", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/deprecate-merge/package.json b/apps/registry/codemods/ember/5/deprecate-merge/package.json index 47177ad8b..219fb4e38 100644 --- a/apps/registry/codemods/ember/5/deprecate-merge/package.json +++ b/apps/registry/codemods/ember/5/deprecate-merge/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/deprecate-router-events/.codemodrc.json b/apps/registry/codemods/ember/5/deprecate-router-events/.codemodrc.json new file mode 100644 index 000000000..c6203bc14 --- /dev/null +++ b/apps/registry/codemods/ember/5/deprecate-router-events/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/deprecate-router-events", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.6.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/deprecate-router-events" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/deprecate-router-events/README.md b/apps/registry/codemods/ember/5/deprecate-router-events/README.md index c4c1ec80b..0213a9015 100644 --- a/apps/registry/codemods/ember/5/deprecate-router-events/README.md +++ b/apps/registry/codemods/ember/5/deprecate-router-events/README.md @@ -59,33 +59,3 @@ export default Router.extend({ }, }); ``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.6. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://deprecations.emberjs.com/v3.x/#toc_deprecate-router-events diff --git a/apps/registry/codemods/ember/5/deprecate-router-events/config.json b/apps/registry/codemods/ember/5/deprecate-router-events/config.json deleted file mode 100644 index 65bfeaa35..000000000 --- a/apps/registry/codemods/ember/5/deprecate-router-events/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/deprecate-router-events", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/deprecate-router-events/package.json b/apps/registry/codemods/ember/5/deprecate-router-events/package.json index 68cdee1a1..0cab81435 100644 --- a/apps/registry/codemods/ember/5/deprecate-router-events/package.json +++ b/apps/registry/codemods/ember/5/deprecate-router-events/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/ember-jquery-legacy/.codemodrc.json b/apps/registry/codemods/ember/5/ember-jquery-legacy/.codemodrc.json new file mode 100644 index 000000000..8bfa457ed --- /dev/null +++ b/apps/registry/codemods/ember/5/ember-jquery-legacy/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/ember-jquery-legacy", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.3.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/ember-jquery-legacy" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/ember-jquery-legacy/README.md b/apps/registry/codemods/ember/5/ember-jquery-legacy/README.md index aadb36ce0..acd2bf8d3 100644 --- a/apps/registry/codemods/ember/5/ember-jquery-legacy/README.md +++ b/apps/registry/codemods/ember/5/ember-jquery-legacy/README.md @@ -27,33 +27,3 @@ export default Component.extend({ }, }); ``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.3. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://github.com/ember-codemods/ember-3x-codemods/blob/master/transforms/ember-jquery-legacy diff --git a/apps/registry/codemods/ember/5/ember-jquery-legacy/config.json b/apps/registry/codemods/ember/5/ember-jquery-legacy/config.json deleted file mode 100644 index 928c32c29..000000000 --- a/apps/registry/codemods/ember/5/ember-jquery-legacy/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/ember-jquery-legacy", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/ember-jquery-legacy/package.json b/apps/registry/codemods/ember/5/ember-jquery-legacy/package.json index 6e8eb2bc7..3d12bc64f 100644 --- a/apps/registry/codemods/ember/5/ember-jquery-legacy/package.json +++ b/apps/registry/codemods/ember/5/ember-jquery-legacy/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/es5-getter-ember-codemod/.codemodrc.json b/apps/registry/codemods/ember/5/es5-getter-ember-codemod/.codemodrc.json new file mode 100644 index 000000000..40e6b0f43 --- /dev/null +++ b/apps/registry/codemods/ember/5/es5-getter-ember-codemod/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/es5-getter-ember-codemod", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.1.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/es5-getter-ember-codemod" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/es5-getter-ember-codemod/README.md b/apps/registry/codemods/ember/5/es5-getter-ember-codemod/README.md index 6ace810ea..875ccc913 100644 --- a/apps/registry/codemods/ember/5/es5-getter-ember-codemod/README.md +++ b/apps/registry/codemods/ember/5/es5-getter-ember-codemod/README.md @@ -49,33 +49,3 @@ controller.fullName; controller.get('foo.bar'); controller['foo-bar']; ``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.1. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Multiple Contributors](https://github.com/ember-codemods/es5-getter-ember-codemod/graphs/contributors) - -### Links for more info - -- https://github.com/ember-codemods/es5-getter-ember-codemod/blob/master/transforms/es5-getter-ember-codemod diff --git a/apps/registry/codemods/ember/5/es5-getter-ember-codemod/config.json b/apps/registry/codemods/ember/5/es5-getter-ember-codemod/config.json deleted file mode 100644 index 5aee85bc8..000000000 --- a/apps/registry/codemods/ember/5/es5-getter-ember-codemod/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/es5-getter-ember-codemod", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/es5-getter-ember-codemod/package.json b/apps/registry/codemods/ember/5/es5-getter-ember-codemod/package.json index 99bad35d6..0b3a9fd18 100644 --- a/apps/registry/codemods/ember/5/es5-getter-ember-codemod/package.json +++ b/apps/registry/codemods/ember/5/es5-getter-ember-codemod/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/fpe-computed/.codemodrc.json b/apps/registry/codemods/ember/5/fpe-computed/.codemodrc.json new file mode 100644 index 000000000..8f13553f7 --- /dev/null +++ b/apps/registry/codemods/ember/5/fpe-computed/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/fpe-computed", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.11.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/fpe-computed" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/fpe-computed/README.md b/apps/registry/codemods/ember/5/fpe-computed/README.md index 81dff643f..b9c3c11b6 100644 --- a/apps/registry/codemods/ember/5/fpe-computed/README.md +++ b/apps/registry/codemods/ember/5/fpe-computed/README.md @@ -55,33 +55,3 @@ client.get('fullName'); // 'Betty Jones' client.set('lastName', 'Fuller'); client.get('fullName'); // 'Betty Fuller' ``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.11. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://github.com/ember-codemods/ember-3x-codemods/blob/master/transforms/fpe-computed diff --git a/apps/registry/codemods/ember/5/fpe-computed/config.json b/apps/registry/codemods/ember/5/fpe-computed/config.json deleted file mode 100644 index 96f9cfbcc..000000000 --- a/apps/registry/codemods/ember/5/fpe-computed/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/fpe-computed", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/fpe-computed/package.json b/apps/registry/codemods/ember/5/fpe-computed/package.json index 2afa297b0..f3692f3b4 100644 --- a/apps/registry/codemods/ember/5/fpe-computed/package.json +++ b/apps/registry/codemods/ember/5/fpe-computed/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/fpe-observes/.codemodrc.json b/apps/registry/codemods/ember/5/fpe-observes/.codemodrc.json new file mode 100644 index 000000000..588c052fe --- /dev/null +++ b/apps/registry/codemods/ember/5/fpe-observes/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/fpe-observes", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.11.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/fpe-observes" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/fpe-observes/README.md b/apps/registry/codemods/ember/5/fpe-observes/README.md index d4f4ba593..a824ce011 100644 --- a/apps/registry/codemods/ember/5/fpe-observes/README.md +++ b/apps/registry/codemods/ember/5/fpe-observes/README.md @@ -27,33 +27,3 @@ export default EmberObject.extend({ }), }); ``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.11. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://github.com/ember-codemods/ember-3x-codemods/blob/master/transforms/fpe-observes diff --git a/apps/registry/codemods/ember/5/fpe-observes/config.json b/apps/registry/codemods/ember/5/fpe-observes/config.json deleted file mode 100644 index 5e056c9a2..000000000 --- a/apps/registry/codemods/ember/5/fpe-observes/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/fpe-observes", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/fpe-observes/package.json b/apps/registry/codemods/ember/5/fpe-observes/package.json index 12142f395..ce878263f 100644 --- a/apps/registry/codemods/ember/5/fpe-observes/package.json +++ b/apps/registry/codemods/ember/5/fpe-observes/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/fpe-on/.codemodrc.json b/apps/registry/codemods/ember/5/fpe-on/.codemodrc.json new file mode 100644 index 000000000..6066244d5 --- /dev/null +++ b/apps/registry/codemods/ember/5/fpe-on/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/fpe-on", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.11.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/fpe-on" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/fpe-on/README.md b/apps/registry/codemods/ember/5/fpe-on/README.md index 33faf5d3f..4c5ea2b5a 100644 --- a/apps/registry/codemods/ember/5/fpe-on/README.md +++ b/apps/registry/codemods/ember/5/fpe-on/README.md @@ -38,33 +38,3 @@ let job = Job.create(); sendEvent(job, 'completed'); // Logs 'Job completed!' ``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.11. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://github.com/ember-codemods/ember-3x-codemods/blob/master/transforms/fpe-on diff --git a/apps/registry/codemods/ember/5/fpe-on/config.json b/apps/registry/codemods/ember/5/fpe-on/config.json deleted file mode 100644 index c8b00a090..000000000 --- a/apps/registry/codemods/ember/5/fpe-on/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/fpe-on", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/fpe-on/package.json b/apps/registry/codemods/ember/5/fpe-on/package.json index a58ed90ab..3d3f1456a 100644 --- a/apps/registry/codemods/ember/5/fpe-on/package.json +++ b/apps/registry/codemods/ember/5/fpe-on/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/jquery-apis/.codemodrc.json b/apps/registry/codemods/ember/5/jquery-apis/.codemodrc.json new file mode 100644 index 000000000..e7fb17c26 --- /dev/null +++ b/apps/registry/codemods/ember/5/jquery-apis/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/jquery-apis", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.9.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/jquery-apis" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/jquery-apis/README.md b/apps/registry/codemods/ember/5/jquery-apis/README.md index 578681dfa..cc2ce8ccc 100644 --- a/apps/registry/codemods/ember/5/jquery-apis/README.md +++ b/apps/registry/codemods/ember/5/jquery-apis/README.md @@ -63,33 +63,3 @@ export default Component.extend({ }, }); ``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.9. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://deprecations.emberjs.com/v3.x/#toc_jquery-apis diff --git a/apps/registry/codemods/ember/5/jquery-apis/config.json b/apps/registry/codemods/ember/5/jquery-apis/config.json deleted file mode 100644 index c9752c223..000000000 --- a/apps/registry/codemods/ember/5/jquery-apis/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/jquery-apis", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/jquery-apis/package.json b/apps/registry/codemods/ember/5/jquery-apis/package.json index 58b85204a..da2d7dcd8 100644 --- a/apps/registry/codemods/ember/5/jquery-apis/package.json +++ b/apps/registry/codemods/ember/5/jquery-apis/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/jquery-event/.codemodrc.json b/apps/registry/codemods/ember/5/jquery-event/.codemodrc.json new file mode 100644 index 000000000..cd7b3ff87 --- /dev/null +++ b/apps/registry/codemods/ember/5/jquery-event/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/jquery-event", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.3.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/jquery-event" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/jquery-event/README.md b/apps/registry/codemods/ember/5/jquery-event/README.md index 1c25a8671..abb850bec 100644 --- a/apps/registry/codemods/ember/5/jquery-event/README.md +++ b/apps/registry/codemods/ember/5/jquery-event/README.md @@ -27,33 +27,3 @@ export default Component.extend({ }, }); ``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.3. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://github.com/ember-codemods/ember-3x-codemods/blob/master/transforms/jquery-event diff --git a/apps/registry/codemods/ember/5/jquery-event/config.json b/apps/registry/codemods/ember/5/jquery-event/config.json deleted file mode 100644 index c2c3afc04..000000000 --- a/apps/registry/codemods/ember/5/jquery-event/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/jquery-event", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/jquery-event/package.json b/apps/registry/codemods/ember/5/jquery-event/package.json index 6796a619e..57b270cf2 100644 --- a/apps/registry/codemods/ember/5/jquery-event/package.json +++ b/apps/registry/codemods/ember/5/jquery-event/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/notify-property-change/.codemodrc.json b/apps/registry/codemods/ember/5/notify-property-change/.codemodrc.json new file mode 100644 index 000000000..75c62925b --- /dev/null +++ b/apps/registry/codemods/ember/5/notify-property-change/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/notify-property-change", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.1.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/notify-property-change" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/notify-property-change/README.md b/apps/registry/codemods/ember/5/notify-property-change/README.md index 70d28f06a..7af67ebce 100644 --- a/apps/registry/codemods/ember/5/notify-property-change/README.md +++ b/apps/registry/codemods/ember/5/notify-property-change/README.md @@ -27,33 +27,3 @@ Ember.notifyPropertyChange(object, 'someProperty'); doStuff(object); object.notifyPropertyChange('someProperty'); ``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.1. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://github.com/ember-codemods/ember-3x-codemods/blob/master/transforms/notify-property-change diff --git a/apps/registry/codemods/ember/5/notify-property-change/config.json b/apps/registry/codemods/ember/5/notify-property-change/config.json deleted file mode 100644 index 1c27b4cfc..000000000 --- a/apps/registry/codemods/ember/5/notify-property-change/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/notify-property-change", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/notify-property-change/package.json b/apps/registry/codemods/ember/5/notify-property-change/package.json index b274fbf9b..ce188a3fa 100644 --- a/apps/registry/codemods/ember/5/notify-property-change/package.json +++ b/apps/registry/codemods/ember/5/notify-property-change/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/ember/5/object-new-constructor/.codemodrc.json b/apps/registry/codemods/ember/5/object-new-constructor/.codemodrc.json new file mode 100644 index 000000000..fe1a2c903 --- /dev/null +++ b/apps/registry/codemods/ember/5/object-new-constructor/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "ember/5/object-new-constructor", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "applicability": [["ember", ">=", "3.6.0"], ["ember", "<", "5.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m", + "git": "https://github.com/ember-codemods/ember-3x-codemods/tree/master/transforms/object-new-constructor" + }, + "owner": "rajasegar" +} diff --git a/apps/registry/codemods/ember/5/object-new-constructor/README.md b/apps/registry/codemods/ember/5/object-new-constructor/README.md index 987dc8711..50d51b472 100644 --- a/apps/registry/codemods/ember/5/object-new-constructor/README.md +++ b/apps/registry/codemods/ember/5/object-new-constructor/README.md @@ -25,33 +25,3 @@ let obj2 = EmberObject.create({ prop: 'value' }); const Foo = EmberObject.extend(); let foo = new Foo({ bar: 123 }); ``` - -## Applicability Criteria - -Ember.js version higher or equal to 3.6. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) - -### Links for more info - -- https://deprecations.emberjs.com/v3.x/#toc_object-new-constructor diff --git a/apps/registry/codemods/ember/5/object-new-constructor/config.json b/apps/registry/codemods/ember/5/object-new-constructor/config.json deleted file mode 100644 index 4d465918f..000000000 --- a/apps/registry/codemods/ember/5/object-new-constructor/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "ember/5/object-new-constructor", - "description": "", - "engine": "jscodeshift", - "dependencyVersionLowerThan": ["ember", "5.0.0"] -} diff --git a/apps/registry/codemods/ember/5/object-new-constructor/package.json b/apps/registry/codemods/ember/5/object-new-constructor/package.json index 17fa7296f..b2ab51259 100644 --- a/apps/registry/codemods/ember/5/object-new-constructor/package.json +++ b/apps/registry/codemods/ember/5/object-new-constructor/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/eslint/biome/migrate-rules/.codemodrc.json b/apps/registry/codemods/eslint/biome/migrate-rules/.codemodrc.json new file mode 100644 index 000000000..1e72b9eaa --- /dev/null +++ b/apps/registry/codemods/eslint/biome/migrate-rules/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "name": "biome/migrate-rules", + "private": false, + "engine": "filemod", + "applicability": [["eslint", ">=", "0.0.0"], ["prettier", ">=", "0.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "4h" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/eslint/biome/migrate-rules/README.md b/apps/registry/codemods/eslint/biome/migrate-rules/README.md index 4a2287674..a84d03cd7 100644 --- a/apps/registry/codemods/eslint/biome/migrate-rules/README.md +++ b/apps/registry/codemods/eslint/biome/migrate-rules/README.md @@ -49,7 +49,7 @@ This codemod requires internet connection. "files": [ "prettier-test-no-replace", "README.md", - "config.json", + ".codemodrc.json", "./dist/index.cjs", "./index.d.ts" ], @@ -83,7 +83,7 @@ This codemod requires internet connection. "files": [ "prettier-test-no-replace", "README.md", - "config.json", + ".codemodrc.json", "./dist/index.cjs", "./index.d.ts" ], @@ -150,36 +150,4 @@ This codemod requires internet connection. "indentStyle": "tab" } } -``` - -## Applicability Criteria - -`eslint` >= 0.0.0 || `prettier` >= 0.0.0 - -## Other Metadata - -Command: - -```bash -npx eslint --print-config | codemod eslint/biome/migrate-rules -``` - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -[filemod](https://github.com/codemod-com/filemod/) - -### Estimated Time Saving - -4 hours per project with configured eslint and/or prettier - -### Owner - -[Codemod.com](https://github.com/codemod-com) +``` \ No newline at end of file diff --git a/apps/registry/codemods/eslint/biome/migrate-rules/config.json b/apps/registry/codemods/eslint/biome/migrate-rules/config.json deleted file mode 100644 index 4266fc851..000000000 --- a/apps/registry/codemods/eslint/biome/migrate-rules/config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "engine": "filemod" -} diff --git a/apps/registry/codemods/eslint/biome/migrate-rules/package.json b/apps/registry/codemods/eslint/biome/migrate-rules/package.json index 174d9bded..950eb05bb 100644 --- a/apps/registry/codemods/eslint/biome/migrate-rules/package.json +++ b/apps/registry/codemods/eslint/biome/migrate-rules/package.json @@ -23,6 +23,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/eslint/biome/migrate-rules/test/test.ts b/apps/registry/codemods/eslint/biome/migrate-rules/test/test.ts index 244810153..270ccfcc0 100644 --- a/apps/registry/codemods/eslint/biome/migrate-rules/test/test.ts +++ b/apps/registry/codemods/eslint/biome/migrate-rules/test/test.ts @@ -68,7 +68,7 @@ describe("eslint and prettier to biome migration", () => { "files": [ "prettier-test-no-replace", "README.md", - "config.json", + ".codemodrc.json", "./dist/index.cjs", "./index.d.ts" ], @@ -164,7 +164,7 @@ describe("eslint and prettier to biome migration", () => { "files": [ "prettier-test-no-replace", "README.md", - "config.json", + ".codemodrc.json", "./dist/index.cjs", "./index.d.ts" ], diff --git a/apps/registry/codemods/i18n/.codemodrc.json b/apps/registry/codemods/i18n/.codemodrc.json new file mode 100644 index 000000000..2c49e4412 --- /dev/null +++ b/apps/registry/codemods/i18n/.codemodrc.json @@ -0,0 +1,14 @@ +{ + "version": "1.0.0", + "private": false, + "name": "i18n/remove-unused-translations", + "description": "This codemod removes unused translation phrases from i18n resources", + "engine": "filemod", + "owner": "codemod.com", + "applicabillity": ["i18n", ">=", "0.0.0"], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "3m" + } +} diff --git a/apps/registry/codemods/i18n/README.md b/apps/registry/codemods/i18n/README.md index 4cecacd56..af92f2d77 100644 --- a/apps/registry/codemods/i18n/README.md +++ b/apps/registry/codemods/i18n/README.md @@ -27,30 +27,4 @@ export default function A() { "key1": "key1", "key2": "key2" } -``` - -## Applicability Criteria - -Any version of i18n. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -Codemod.com File Transformation Engine - -### Estimated Time Saving - -~3 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) +``` \ No newline at end of file diff --git a/apps/registry/codemods/i18n/config.json b/apps/registry/codemods/i18n/config.json deleted file mode 100644 index c90af3459..000000000 --- a/apps/registry/codemods/i18n/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "i18n/remove-unused-translations", - "description": "This codemod removes unused translation phrases from i18n resources", - "engine": "filemod", - "dependencyVersionLowerThan": [], - "owner": "codemod.com" -} diff --git a/apps/registry/codemods/i18n/package.json b/apps/registry/codemods/i18n/package.json index 3fe1c481a..4a84c8b25 100644 --- a/apps/registry/codemods/i18n/package.json +++ b/apps/registry/codemods/i18n/package.json @@ -23,6 +23,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/immutable/0/add-deprecation-comment/.codemodrc.json b/apps/registry/codemods/immutable/0/add-deprecation-comment/.codemodrc.json new file mode 100644 index 000000000..ba89c94d3 --- /dev/null +++ b/apps/registry/codemods/immutable/0/add-deprecation-comment/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "immutable/0/add-deprecation-comment", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["immutable", ">=", "0.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/immutable/0/add-deprecation-comment/README.md b/apps/registry/codemods/immutable/0/add-deprecation-comment/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/immutable/0/add-deprecation-comment/config.json b/apps/registry/codemods/immutable/0/add-deprecation-comment/config.json deleted file mode 100644 index 19ad45c78..000000000 --- a/apps/registry/codemods/immutable/0/add-deprecation-comment/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "immutable/0/add-deprecation-comment", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependency": "immutable" -} diff --git a/apps/registry/codemods/immutable/0/add-deprecation-comment/package.json b/apps/registry/codemods/immutable/0/add-deprecation-comment/package.json index 17cd1458c..61bcec3e7 100644 --- a/apps/registry/codemods/immutable/0/add-deprecation-comment/package.json +++ b/apps/registry/codemods/immutable/0/add-deprecation-comment/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/immutable/0/nest-from-js/.codemodrc.json b/apps/registry/codemods/immutable/0/nest-from-js/.codemodrc.json new file mode 100644 index 000000000..701757242 --- /dev/null +++ b/apps/registry/codemods/immutable/0/nest-from-js/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "immutable/0/nest-from-js", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["immutable", ">=", "0.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/immutable/0/nest-from-js/README.md b/apps/registry/codemods/immutable/0/nest-from-js/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/immutable/0/nest-from-js/config.json b/apps/registry/codemods/immutable/0/nest-from-js/config.json deleted file mode 100644 index 9aa715099..000000000 --- a/apps/registry/codemods/immutable/0/nest-from-js/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "immutable/0/nest-from-js", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependency": "immutable" -} diff --git a/apps/registry/codemods/immutable/0/nest-from-js/package.json b/apps/registry/codemods/immutable/0/nest-from-js/package.json index ce10ae1bb..bcc1f047c 100644 --- a/apps/registry/codemods/immutable/0/nest-from-js/package.json +++ b/apps/registry/codemods/immutable/0/nest-from-js/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/immutable/0/remove-from-js/.codemodrc.json b/apps/registry/codemods/immutable/0/remove-from-js/.codemodrc.json new file mode 100644 index 000000000..d4556c8cc --- /dev/null +++ b/apps/registry/codemods/immutable/0/remove-from-js/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "immutable/0/remove-from-js", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["immutable", ">=", "0.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/immutable/0/remove-from-js/README.md b/apps/registry/codemods/immutable/0/remove-from-js/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/immutable/0/remove-from-js/config.json b/apps/registry/codemods/immutable/0/remove-from-js/config.json deleted file mode 100644 index 4583c29de..000000000 --- a/apps/registry/codemods/immutable/0/remove-from-js/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "immutable/0/remove-from-js", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependency": "immutable" -} diff --git a/apps/registry/codemods/immutable/0/remove-from-js/package.json b/apps/registry/codemods/immutable/0/remove-from-js/package.json index c0e98bcf0..1a32620c5 100644 --- a/apps/registry/codemods/immutable/0/remove-from-js/package.json +++ b/apps/registry/codemods/immutable/0/remove-from-js/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/immutable/0/remove-import/.codemodrc.json b/apps/registry/codemods/immutable/0/remove-import/.codemodrc.json new file mode 100644 index 000000000..fb43b0edd --- /dev/null +++ b/apps/registry/codemods/immutable/0/remove-import/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "immutable/0/remove-import", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["immutable", ">=", "0.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/immutable/0/remove-import/README.md b/apps/registry/codemods/immutable/0/remove-import/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/immutable/0/remove-import/config.json b/apps/registry/codemods/immutable/0/remove-import/config.json deleted file mode 100644 index 27bd255a3..000000000 --- a/apps/registry/codemods/immutable/0/remove-import/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "immutable/0/remove-import", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependency": "immutable" -} diff --git a/apps/registry/codemods/immutable/0/remove-import/package.json b/apps/registry/codemods/immutable/0/remove-import/package.json index d624fe32f..3324332fa 100644 --- a/apps/registry/codemods/immutable/0/remove-import/package.json +++ b/apps/registry/codemods/immutable/0/remove-import/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/immutable/0/remove-to-js/.codemodrc.json b/apps/registry/codemods/immutable/0/remove-to-js/.codemodrc.json new file mode 100644 index 000000000..8ec86cffd --- /dev/null +++ b/apps/registry/codemods/immutable/0/remove-to-js/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "immutable/0/remove-to-js", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["immutable", ">=", "0.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/immutable/0/remove-to-js/README.md b/apps/registry/codemods/immutable/0/remove-to-js/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/immutable/0/remove-to-js/config.json b/apps/registry/codemods/immutable/0/remove-to-js/config.json deleted file mode 100644 index 70b7d15fe..000000000 --- a/apps/registry/codemods/immutable/0/remove-to-js/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "immutable/0/remove-to-js", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependency": "immutable" -} diff --git a/apps/registry/codemods/immutable/0/remove-to-js/package.json b/apps/registry/codemods/immutable/0/remove-to-js/package.json index 004960182..d5ffa3594 100644 --- a/apps/registry/codemods/immutable/0/remove-to-js/package.json +++ b/apps/registry/codemods/immutable/0/remove-to-js/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/immutable/0/replace-get-in/.codemodrc.json b/apps/registry/codemods/immutable/0/replace-get-in/.codemodrc.json new file mode 100644 index 000000000..66a337bb4 --- /dev/null +++ b/apps/registry/codemods/immutable/0/replace-get-in/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "immutable/0/replace-get-in", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["immutable", ">=", "0.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/immutable/0/replace-get-in/README.md b/apps/registry/codemods/immutable/0/replace-get-in/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/immutable/0/replace-get-in/config.json b/apps/registry/codemods/immutable/0/replace-get-in/config.json deleted file mode 100644 index a4c513741..000000000 --- a/apps/registry/codemods/immutable/0/replace-get-in/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "immutable/0/replace-get-in", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependency": "immutable" -} diff --git a/apps/registry/codemods/immutable/0/replace-get-in/package.json b/apps/registry/codemods/immutable/0/replace-get-in/package.json index b977e05a0..b61b6a8a0 100644 --- a/apps/registry/codemods/immutable/0/replace-get-in/package.json +++ b/apps/registry/codemods/immutable/0/replace-get-in/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/immutable/0/replace-get/.codemodrc.json b/apps/registry/codemods/immutable/0/replace-get/.codemodrc.json new file mode 100644 index 000000000..32bb5be54 --- /dev/null +++ b/apps/registry/codemods/immutable/0/replace-get/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "immutable/0/replace-get", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["immutable", ">=", "0.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/immutable/0/replace-get/README.md b/apps/registry/codemods/immutable/0/replace-get/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/immutable/0/replace-get/config.json b/apps/registry/codemods/immutable/0/replace-get/config.json deleted file mode 100644 index 751e32f79..000000000 --- a/apps/registry/codemods/immutable/0/replace-get/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "immutable/0/replace-get", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependency": "immutable" -} diff --git a/apps/registry/codemods/immutable/0/replace-get/package.json b/apps/registry/codemods/immutable/0/replace-get/package.json index 0e91915ef..8ead31687 100644 --- a/apps/registry/codemods/immutable/0/replace-get/package.json +++ b/apps/registry/codemods/immutable/0/replace-get/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/immutable/0/replace-merge/.codemodrc.json b/apps/registry/codemods/immutable/0/replace-merge/.codemodrc.json new file mode 100644 index 000000000..0209919b2 --- /dev/null +++ b/apps/registry/codemods/immutable/0/replace-merge/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "immutable/0/replace-merge", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["immutable", ">=", "0.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/immutable/0/replace-merge/README.md b/apps/registry/codemods/immutable/0/replace-merge/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/immutable/0/replace-merge/config.json b/apps/registry/codemods/immutable/0/replace-merge/config.json deleted file mode 100644 index af7042f8f..000000000 --- a/apps/registry/codemods/immutable/0/replace-merge/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "immutable/0/replace-merge", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependency": "immutable" -} diff --git a/apps/registry/codemods/immutable/0/replace-merge/package.json b/apps/registry/codemods/immutable/0/replace-merge/package.json index 7b996c959..c84c15ca0 100644 --- a/apps/registry/codemods/immutable/0/replace-merge/package.json +++ b/apps/registry/codemods/immutable/0/replace-merge/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/immutable/0/replace-set-in/.codemodrc.json b/apps/registry/codemods/immutable/0/replace-set-in/.codemodrc.json new file mode 100644 index 000000000..2b061d4a5 --- /dev/null +++ b/apps/registry/codemods/immutable/0/replace-set-in/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "immutable/0/replace-set-in", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["immutable", ">=", "0.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/immutable/0/replace-set-in/README.md b/apps/registry/codemods/immutable/0/replace-set-in/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/immutable/0/replace-set-in/config.json b/apps/registry/codemods/immutable/0/replace-set-in/config.json deleted file mode 100644 index 9d6f0fc89..000000000 --- a/apps/registry/codemods/immutable/0/replace-set-in/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "immutable/0/replace-set-in", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependency": "immutable" -} diff --git a/apps/registry/codemods/immutable/0/replace-set-in/package.json b/apps/registry/codemods/immutable/0/replace-set-in/package.json index 612e2a777..56e378282 100644 --- a/apps/registry/codemods/immutable/0/replace-set-in/package.json +++ b/apps/registry/codemods/immutable/0/replace-set-in/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/immutable/0/replace-set/.codemodrc.json b/apps/registry/codemods/immutable/0/replace-set/.codemodrc.json new file mode 100644 index 000000000..9c80c48c8 --- /dev/null +++ b/apps/registry/codemods/immutable/0/replace-set/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "immutable/0/replace-set", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["immutable", ">=", "0.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/immutable/0/replace-set/README.md b/apps/registry/codemods/immutable/0/replace-set/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/immutable/0/replace-set/config.json b/apps/registry/codemods/immutable/0/replace-set/config.json deleted file mode 100644 index 3a19626f8..000000000 --- a/apps/registry/codemods/immutable/0/replace-set/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "immutable/0/replace-set", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependency": "immutable" -} diff --git a/apps/registry/codemods/immutable/0/replace-set/package.json b/apps/registry/codemods/immutable/0/replace-set/package.json index 6b3982676..be5f16ba8 100644 --- a/apps/registry/codemods/immutable/0/replace-set/package.json +++ b/apps/registry/codemods/immutable/0/replace-set/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/immutable/4/isterable-to-iscollection/.codemodrc.json b/apps/registry/codemods/immutable/4/isterable-to-iscollection/.codemodrc.json new file mode 100644 index 000000000..c86efbf86 --- /dev/null +++ b/apps/registry/codemods/immutable/4/isterable-to-iscollection/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "immutable/4/isterable-to-iscollection", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["immutable", "<", "4.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/immutable/4/isterable-to-iscollection/README.md b/apps/registry/codemods/immutable/4/isterable-to-iscollection/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/immutable/4/isterable-to-iscollection/config.json b/apps/registry/codemods/immutable/4/isterable-to-iscollection/config.json deleted file mode 100644 index ca3006050..000000000 --- a/apps/registry/codemods/immutable/4/isterable-to-iscollection/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "immutable/4/isterable-to-iscollection", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["immutable", "4.0.0"] -} diff --git a/apps/registry/codemods/immutable/4/isterable-to-iscollection/package.json b/apps/registry/codemods/immutable/4/isterable-to-iscollection/package.json index c9e7e006c..e4ef458b0 100644 --- a/apps/registry/codemods/immutable/4/isterable-to-iscollection/package.json +++ b/apps/registry/codemods/immutable/4/isterable-to-iscollection/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/immutable/4/map-to-array/.codemodrc.json b/apps/registry/codemods/immutable/4/map-to-array/.codemodrc.json new file mode 100644 index 000000000..c18626f7f --- /dev/null +++ b/apps/registry/codemods/immutable/4/map-to-array/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "immutable/4/map-to-array", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["immutable", "<", "4.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/immutable/4/map-to-array/README.md b/apps/registry/codemods/immutable/4/map-to-array/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/immutable/4/map-to-array/config.json b/apps/registry/codemods/immutable/4/map-to-array/config.json deleted file mode 100644 index e7d219a92..000000000 --- a/apps/registry/codemods/immutable/4/map-to-array/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "immutable/4/map-to-array", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["immutable", "4.0.0"] -} diff --git a/apps/registry/codemods/immutable/4/map-to-array/package.json b/apps/registry/codemods/immutable/4/map-to-array/package.json index 1e29eb68f..23e8404ee 100644 --- a/apps/registry/codemods/immutable/4/map-to-array/package.json +++ b/apps/registry/codemods/immutable/4/map-to-array/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.js" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/immutable/4/rename-to-seq/.codemodrc.json b/apps/registry/codemods/immutable/4/rename-to-seq/.codemodrc.json new file mode 100644 index 000000000..5ff9519cc --- /dev/null +++ b/apps/registry/codemods/immutable/4/rename-to-seq/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "immutable/4/rename-to-seq", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["immutable", "<", "4.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/immutable/4/rename-to-seq/README.md b/apps/registry/codemods/immutable/4/rename-to-seq/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/immutable/4/rename-to-seq/config.json b/apps/registry/codemods/immutable/4/rename-to-seq/config.json deleted file mode 100644 index ecebe01d5..000000000 --- a/apps/registry/codemods/immutable/4/rename-to-seq/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "immutable/4/rename-to-seq", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["immutable", "4.0.0"] -} diff --git a/apps/registry/codemods/immutable/4/rename-to-seq/package.json b/apps/registry/codemods/immutable/4/rename-to-seq/package.json index 10bb0002e..3341ceb28 100644 --- a/apps/registry/codemods/immutable/4/rename-to-seq/package.json +++ b/apps/registry/codemods/immutable/4/rename-to-seq/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.js" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/intuita/migrate-codemod-registry/.codemodrc.json b/apps/registry/codemods/intuita/migrate-codemod-registry/.codemodrc.json new file mode 100644 index 000000000..fd51c8a14 --- /dev/null +++ b/apps/registry/codemods/intuita/migrate-codemod-registry/.codemodrc.json @@ -0,0 +1,11 @@ +{ + "version": "1.0.0", + "name": "migrate-codemod-registry", + "private": false, + "engine": "filemod", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/intuita/migrate-codemod-registry/README.md b/apps/registry/codemods/intuita/migrate-codemod-registry/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/intuita/migrate-codemod-registry/config.json b/apps/registry/codemods/intuita/migrate-codemod-registry/config.json deleted file mode 100644 index 4266fc851..000000000 --- a/apps/registry/codemods/intuita/migrate-codemod-registry/config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "engine": "filemod" -} diff --git a/apps/registry/codemods/intuita/migrate-codemod-registry/package.json b/apps/registry/codemods/intuita/migrate-codemod-registry/package.json index f06e9c4b0..daf81fd42 100644 --- a/apps/registry/codemods/intuita/migrate-codemod-registry/package.json +++ b/apps/registry/codemods/intuita/migrate-codemod-registry/package.json @@ -18,6 +18,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/intuita/migrate-codemod-registry/src/index.ts b/apps/registry/codemods/intuita/migrate-codemod-registry/src/index.ts index 400f02d49..1aec5efb1 100644 --- a/apps/registry/codemods/intuita/migrate-codemod-registry/src/index.ts +++ b/apps/registry/codemods/intuita/migrate-codemod-registry/src/index.ts @@ -108,7 +108,7 @@ const handleFile: HandleFile = async ( }, ]; - if (parsedPath.base === "config.json") { + if (parsedPath.base === ".codemodrc.json") { const parsedData = JSON.parse(data); const { engine } = parsedData; @@ -325,7 +325,7 @@ const handleData: HandleData = async ( scripts.test = "mocha"; } - const files: string[] = ["README.md", "config.json"]; + const files: string[] = ["README.md", ".codemodrc.json"]; if (jsEngineUsed) { files.push("./dist/index.cjs", "./index.d.ts"); diff --git a/apps/registry/codemods/jest/vitest/.codemodrc.json b/apps/registry/codemods/jest/vitest/.codemodrc.json new file mode 100644 index 000000000..6dacf9f26 --- /dev/null +++ b/apps/registry/codemods/jest/vitest/.codemodrc.json @@ -0,0 +1,12 @@ +{ + "version": "1.0.0", + "private": false, + "name": "jest/vitest", + "engine": "jscodeshift", + "applicability": [["jest", ">=", "26.0.0"]], + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/jest/vitest/README.md b/apps/registry/codemods/jest/vitest/README.md index c412cfaa6..7bc55fe46 100644 --- a/apps/registry/codemods/jest/vitest/README.md +++ b/apps/registry/codemods/jest/vitest/README.md @@ -2,44 +2,4 @@ ## Description -Run this codemod to upgrade your codebase from using jest to vitest. - -## Example - -### Before - -```ts - -``` - -### After - -```ts - -``` - -## Applicability Criteria - -`jest` >= `26.0.0` - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[jscodeshift](https://github.com/facebook/jscodeshift) - -### Estimated Time Saving - -5+ minutes per file - -### Owner - -[Codemod.com](https://github.com/codemod-com) +Run this codemod to upgrade your codebase from using jest to vitest. \ No newline at end of file diff --git a/apps/registry/codemods/jest/vitest/config.json b/apps/registry/codemods/jest/vitest/config.json deleted file mode 100644 index d49ed546d..000000000 --- a/apps/registry/codemods/jest/vitest/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "jest/vitest", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/jest/vitest/package.json b/apps/registry/codemods/jest/vitest/package.json index 86862f855..ba4b0d1c8 100644 --- a/apps/registry/codemods/jest/vitest/package.json +++ b/apps/registry/codemods/jest/vitest/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/mocha/vitest/migrate-configuration/.codemodrc.json b/apps/registry/codemods/mocha/vitest/migrate-configuration/.codemodrc.json new file mode 100644 index 000000000..282286698 --- /dev/null +++ b/apps/registry/codemods/mocha/vitest/migrate-configuration/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "name": "mocha/vitest/migrate-config", + "private": false, + "engine": "filemod", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com", + "applicability": [["mocha", ">=", "9.0.0"]] +} diff --git a/apps/registry/codemods/mocha/vitest/migrate-configuration/README.md b/apps/registry/codemods/mocha/vitest/migrate-configuration/README.md index e06ab08b9..ad6c9d13e 100644 --- a/apps/registry/codemods/mocha/vitest/migrate-configuration/README.md +++ b/apps/registry/codemods/mocha/vitest/migrate-configuration/README.md @@ -30,7 +30,7 @@ Run this codemod to upgrade configuration files that need to be changed after mi "mocha": { "config-key": "config-value" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": ["README.md", ".codemodrc.json", "./dist/index.cjs", "./index.d.ts"], "type": "module" } ``` @@ -52,7 +52,7 @@ Run this codemod to upgrade configuration files that need to be changed after mi "test": "vitest run", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": ["README.md", ".codemodrc.json", "./dist/index.cjs", "./index.d.ts"], "type": "module" } ``` @@ -104,30 +104,4 @@ Run this codemod to upgrade configuration files that need to be changed after mi ### After -`Removed` - -## Applicability Criteria - -`mocha` >= 9.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -[filemod](https://github.com/codemod-com/filemod/) - -### Estimated Time Saving - -5+ minutes per file - -### Owner - -[Codemod.com](https://github.com/codemod-com) +`Removed` \ No newline at end of file diff --git a/apps/registry/codemods/mocha/vitest/migrate-configuration/config.json b/apps/registry/codemods/mocha/vitest/migrate-configuration/config.json deleted file mode 100644 index 4266fc851..000000000 --- a/apps/registry/codemods/mocha/vitest/migrate-configuration/config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "engine": "filemod" -} diff --git a/apps/registry/codemods/mocha/vitest/migrate-configuration/package.json b/apps/registry/codemods/mocha/vitest/migrate-configuration/package.json index a57a69202..f39849bff 100644 --- a/apps/registry/codemods/mocha/vitest/migrate-configuration/package.json +++ b/apps/registry/codemods/mocha/vitest/migrate-configuration/package.json @@ -22,6 +22,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/mocha/vitest/migrate-configuration/test/test.ts b/apps/registry/codemods/mocha/vitest/migrate-configuration/test/test.ts index af7ba3542..b620db266 100644 --- a/apps/registry/codemods/mocha/vitest/migrate-configuration/test/test.ts +++ b/apps/registry/codemods/mocha/vitest/migrate-configuration/test/test.ts @@ -43,7 +43,7 @@ describe("mocha config-files", () => { }, "files": [ "README.md", - "config.json", + ".codemodrc.json", "./dist/index.cjs", "./index.d.ts" ], @@ -147,7 +147,7 @@ describe("mocha config-files", () => { }, "files": [ "README.md", - "config.json", + ".codemodrc.json", "./dist/index.cjs", "./index.d.ts" ], diff --git a/apps/registry/codemods/mocha/vitest/migrate-tests/.codemodrc.json b/apps/registry/codemods/mocha/vitest/migrate-tests/.codemodrc.json new file mode 100644 index 000000000..7529ffeff --- /dev/null +++ b/apps/registry/codemods/mocha/vitest/migrate-tests/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "mocha/vitest/migrate-test", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com", + "applicability": [["mocha", ">=", "9.0.0"]] +} diff --git a/apps/registry/codemods/mocha/vitest/migrate-tests/README.md b/apps/registry/codemods/mocha/vitest/migrate-tests/README.md index 5ca89342a..bdaf91883 100644 --- a/apps/registry/codemods/mocha/vitest/migrate-tests/README.md +++ b/apps/registry/codemods/mocha/vitest/migrate-tests/README.md @@ -28,32 +28,4 @@ describe('Test Suite 1', () => { expect(1 + 1).to.equal(2); }); }); -``` - -## Applicability Criteria - -`mocha` >= 9.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[jscodeshift](https://github.com/facebook/jscodeshift) - -### Estimated Time Saving - -5+ minutes per file - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info +``` \ No newline at end of file diff --git a/apps/registry/codemods/mocha/vitest/migrate-tests/config.json b/apps/registry/codemods/mocha/vitest/migrate-tests/config.json deleted file mode 100644 index 3c8867506..000000000 --- a/apps/registry/codemods/mocha/vitest/migrate-tests/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "mocha/vitest/migrate", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/mocha/vitest/migrate-tests/package.json b/apps/registry/codemods/mocha/vitest/migrate-tests/package.json index 2e3ee021f..7e32d60e9 100644 --- a/apps/registry/codemods/mocha/vitest/migrate-tests/package.json +++ b/apps/registry/codemods/mocha/vitest/migrate-tests/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/mocha/vitest/recipe/.codemodrc.json b/apps/registry/codemods/mocha/vitest/recipe/.codemodrc.json new file mode 100644 index 000000000..bc1ddb97b --- /dev/null +++ b/apps/registry/codemods/mocha/vitest/recipe/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "engine": "recipe", + "names": ["mocha/vitest/migrate-config", "mocha/vitest/migrate-test"], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "owner": "codemod.com", + "applicability": [["mocha", ">=", "9.0.0"]] +} diff --git a/apps/registry/codemods/mocha/vitest/recipe/README.md b/apps/registry/codemods/mocha/vitest/recipe/README.md index 497fca5b3..7ae7b7b41 100644 --- a/apps/registry/codemods/mocha/vitest/recipe/README.md +++ b/apps/registry/codemods/mocha/vitest/recipe/README.md @@ -19,26 +19,4 @@ export default defineConfig({ include: [...configDefaults.include, '**/test/*.ts'], }, }); -``` - -## Applicability Criteria - -`mocha` >= 9.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### Estimated Time Saving - -5+ minutes per file - -### Owner - -[Codemod.com](https://github.com/codemod-com) +``` \ No newline at end of file diff --git a/apps/registry/codemods/mocha/vitest/recipe/config.json b/apps/registry/codemods/mocha/vitest/recipe/config.json deleted file mode 100644 index aab14bea9..000000000 --- a/apps/registry/codemods/mocha/vitest/recipe/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "engine": "recipe", - "names": ["mocha/vitest/migrate-configuration", "mocha/vitest/migrate-tests"] -} diff --git a/apps/registry/codemods/mocha/vitest/recipe/package.json b/apps/registry/codemods/mocha/vitest/recipe/package.json index 1c0ecbb95..1d749ebd3 100644 --- a/apps/registry/codemods/mocha/vitest/recipe/package.json +++ b/apps/registry/codemods/mocha/vitest/recipe/package.json @@ -1,5 +1,5 @@ { "name": "@codemod-com/codemod-mocha-vitest-recipe", - "files": ["README.md", "config.json"], + "files": ["./README.md", "./.codemodrc.json"], "type": "module" } diff --git a/apps/registry/codemods/msw/2/callback-signature/.codemodrc.json b/apps/registry/codemods/msw/2/callback-signature/.codemodrc.json new file mode 100644 index 000000000..900ab77bf --- /dev/null +++ b/apps/registry/codemods/msw/2/callback-signature/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "msw/2/callback-signature", + "engine": "ts-morph", + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "10m" + }, + "applicability": [["msw", ">=", "1.0.0"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/msw/2/callback-signature/README.md b/apps/registry/codemods/msw/2/callback-signature/README.md index 1a60b08e1..0845e2712 100644 --- a/apps/registry/codemods/msw/2/callback-signature/README.md +++ b/apps/registry/codemods/msw/2/callback-signature/README.md @@ -62,34 +62,4 @@ http.get('/resource', ({ request, cookies }) => { return HttpResponse.json({ id: 'abc-123' }); }); -``` - -## Applicability Criteria - -MSW version >= 1.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[ts-morph](https://github.com/dsherret/ts-morph) - -### Estimated Time Saving - -Up to 10 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://mswjs.io/docs/migrations/1.x-to-2.x/#request-changes +``` \ No newline at end of file diff --git a/apps/registry/codemods/msw/2/callback-signature/config.json b/apps/registry/codemods/msw/2/callback-signature/config.json deleted file mode 100644 index cf52b6b5c..000000000 --- a/apps/registry/codemods/msw/2/callback-signature/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "msw/2/callback-signature", - "engine": "ts-morph" -} diff --git a/apps/registry/codemods/msw/2/callback-signature/package.json b/apps/registry/codemods/msw/2/callback-signature/package.json index 3524961b7..a2f2d958f 100644 --- a/apps/registry/codemods/msw/2/callback-signature/package.json +++ b/apps/registry/codemods/msw/2/callback-signature/package.json @@ -14,6 +14,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/msw/2/ctx-fetch/.codemodrc.json b/apps/registry/codemods/msw/2/ctx-fetch/.codemodrc.json new file mode 100644 index 000000000..3aeaf8b5a --- /dev/null +++ b/apps/registry/codemods/msw/2/ctx-fetch/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "msw/2/ctx-fetch", + "engine": "ts-morph", + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "5m" + }, + "applicability": [["msw", ">=", "1.0.0"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/msw/2/ctx-fetch/README.md b/apps/registry/codemods/msw/2/ctx-fetch/README.md index d717057fd..a0b60ddb6 100644 --- a/apps/registry/codemods/msw/2/ctx-fetch/README.md +++ b/apps/registry/codemods/msw/2/ctx-fetch/README.md @@ -37,33 +37,3 @@ const handlers: RestHandler[] = [ }), ]; ``` - -## Applicability Criteria - -MSW version >= 1.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[ts-morph](https://github.com/dsherret/ts-morph) - -### Estimated Time Saving - -5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://mswjs.io/docs/migrations/1.x-to-2.x/#ctxfetch diff --git a/apps/registry/codemods/msw/2/ctx-fetch/config.json b/apps/registry/codemods/msw/2/ctx-fetch/config.json deleted file mode 100644 index e9c17d206..000000000 --- a/apps/registry/codemods/msw/2/ctx-fetch/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "msw/2/ctx-fetch", - "engine": "ts-morph" -} diff --git a/apps/registry/codemods/msw/2/ctx-fetch/package.json b/apps/registry/codemods/msw/2/ctx-fetch/package.json index 34850dd06..a324a6ec5 100644 --- a/apps/registry/codemods/msw/2/ctx-fetch/package.json +++ b/apps/registry/codemods/msw/2/ctx-fetch/package.json @@ -14,6 +14,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/msw/2/imports/.codemodrc.json b/apps/registry/codemods/msw/2/imports/.codemodrc.json new file mode 100644 index 000000000..364e44f82 --- /dev/null +++ b/apps/registry/codemods/msw/2/imports/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "msw/2/imports", + "engine": "ts-morph", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "10m" + }, + "applicability": [["msw", ">=", "1.0.0"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/msw/2/imports/README.md b/apps/registry/codemods/msw/2/imports/README.md index 32bce5160..6c9fef9fd 100644 --- a/apps/registry/codemods/msw/2/imports/README.md +++ b/apps/registry/codemods/msw/2/imports/README.md @@ -34,33 +34,3 @@ const handlers: HttpHandler[] = [ }), ]; ``` - -## Applicability Criteria - -MSW version >= 1.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -[ts-morph](https://github.com/dsherret/ts-morph) - -### Estimated Time Saving - -~10 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://mswjs.io/docs/migrations/1.x-to-2.x/#imports diff --git a/apps/registry/codemods/msw/2/imports/config.json b/apps/registry/codemods/msw/2/imports/config.json deleted file mode 100644 index e3b4d0520..000000000 --- a/apps/registry/codemods/msw/2/imports/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "msw/2/imports", - "engine": "ts-morph" -} diff --git a/apps/registry/codemods/msw/2/imports/package.json b/apps/registry/codemods/msw/2/imports/package.json index 3126161d2..0791dd6ea 100644 --- a/apps/registry/codemods/msw/2/imports/package.json +++ b/apps/registry/codemods/msw/2/imports/package.json @@ -14,6 +14,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/msw/2/lifecycle-events-signature/.codemodrc.json b/apps/registry/codemods/msw/2/lifecycle-events-signature/.codemodrc.json new file mode 100644 index 000000000..972a4cc82 --- /dev/null +++ b/apps/registry/codemods/msw/2/lifecycle-events-signature/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "msw/2/lifecycle-events-signature", + "engine": "ts-morph", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "applicability": [["msw", ">=", "1.0.0"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/msw/2/lifecycle-events-signature/README.md b/apps/registry/codemods/msw/2/lifecycle-events-signature/README.md index c186e4d60..36bcd786d 100644 --- a/apps/registry/codemods/msw/2/lifecycle-events-signature/README.md +++ b/apps/registry/codemods/msw/2/lifecycle-events-signature/README.md @@ -21,33 +21,3 @@ server.events.on('request:start', ({ request, requestId }) => { doStuff(request, requestId); }); ``` - -## Applicability Criteria - -MSW version >= 1.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -[ts-morph](https://github.com/dsherret/ts-morph) - -### Estimated Time Saving - -5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://mswjs.io/docs/migrations/1.x-to-2.x/#life-cycle-events diff --git a/apps/registry/codemods/msw/2/lifecycle-events-signature/config.json b/apps/registry/codemods/msw/2/lifecycle-events-signature/config.json deleted file mode 100644 index 983ddc6bd..000000000 --- a/apps/registry/codemods/msw/2/lifecycle-events-signature/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "msw/2/lifecycle-events-signature", - "engine": "ts-morph" -} diff --git a/apps/registry/codemods/msw/2/lifecycle-events-signature/package.json b/apps/registry/codemods/msw/2/lifecycle-events-signature/package.json index d0134e85b..75d55d36c 100644 --- a/apps/registry/codemods/msw/2/lifecycle-events-signature/package.json +++ b/apps/registry/codemods/msw/2/lifecycle-events-signature/package.json @@ -14,6 +14,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/msw/2/print-handler/.codemodrc.json b/apps/registry/codemods/msw/2/print-handler/.codemodrc.json new file mode 100644 index 000000000..96a4d8f89 --- /dev/null +++ b/apps/registry/codemods/msw/2/print-handler/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "msw/2/print-handler", + "engine": "ts-morph", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "applicability": [["msw", ">=", "1.0.0"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/msw/2/print-handler/README.md b/apps/registry/codemods/msw/2/print-handler/README.md index 656b848df..e18846f5e 100644 --- a/apps/registry/codemods/msw/2/print-handler/README.md +++ b/apps/registry/codemods/msw/2/print-handler/README.md @@ -19,33 +19,3 @@ worker.listHandlers().forEach((handler) => { console.log(handler.info.header); }); ``` - -## Applicability Criteria - -MSW version >= 1.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -[ts-morph](https://github.com/dsherret/ts-morph) - -### Estimated Time Saving - -5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://mswjs.io/docs/migrations/1.x-to-2.x/#printhandlers diff --git a/apps/registry/codemods/msw/2/print-handler/config.json b/apps/registry/codemods/msw/2/print-handler/config.json deleted file mode 100644 index 168211e75..000000000 --- a/apps/registry/codemods/msw/2/print-handler/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "msw/2/print-handler", - "engine": "ts-morph" -} diff --git a/apps/registry/codemods/msw/2/print-handler/package.json b/apps/registry/codemods/msw/2/print-handler/package.json index 2bcba32eb..dd9cc0388 100644 --- a/apps/registry/codemods/msw/2/print-handler/package.json +++ b/apps/registry/codemods/msw/2/print-handler/package.json @@ -14,6 +14,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/msw/2/req-passthrough/.codemodrc.json b/apps/registry/codemods/msw/2/req-passthrough/.codemodrc.json new file mode 100644 index 000000000..4c18eed8d --- /dev/null +++ b/apps/registry/codemods/msw/2/req-passthrough/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "msw/2/req-passthrough", + "engine": "ts-morph", + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "5m" + }, + "applicability": [["msw", ">=", "1.0.0"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/msw/2/req-passthrough/README.md b/apps/registry/codemods/msw/2/req-passthrough/README.md index c801be290..34a3e8b8c 100644 --- a/apps/registry/codemods/msw/2/req-passthrough/README.md +++ b/apps/registry/codemods/msw/2/req-passthrough/README.md @@ -23,33 +23,3 @@ rest.get('/resource', (req, res, ctx) => { return passthrough(); }); ``` - -## Applicability Criteria - -MSW version >= 1.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[ts-morph](https://github.com/dsherret/ts-morph) - -### Estimated Time Saving - -5 minutes per occurence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://mswjs.io/docs/migrations/1.x-to-2.x/#reqpassthrough diff --git a/apps/registry/codemods/msw/2/req-passthrough/config.json b/apps/registry/codemods/msw/2/req-passthrough/config.json deleted file mode 100644 index f638f1768..000000000 --- a/apps/registry/codemods/msw/2/req-passthrough/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "msw/2/req-passthrough", - "engine": "ts-morph" -} diff --git a/apps/registry/codemods/msw/2/req-passthrough/package.json b/apps/registry/codemods/msw/2/req-passthrough/package.json index 61f4b0e4a..e0f2372d1 100644 --- a/apps/registry/codemods/msw/2/req-passthrough/package.json +++ b/apps/registry/codemods/msw/2/req-passthrough/package.json @@ -14,6 +14,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/msw/2/request-changes/.codemodrc.json b/apps/registry/codemods/msw/2/request-changes/.codemodrc.json new file mode 100644 index 000000000..c6322e0a1 --- /dev/null +++ b/apps/registry/codemods/msw/2/request-changes/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "msw/2/request-changes", + "engine": "ts-morph", + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "15m" + }, + "applicability": [["msw", ">=", "1.0.0"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/msw/2/request-changes/README.md b/apps/registry/codemods/msw/2/request-changes/README.md index f4d81e116..7b3be63ec 100644 --- a/apps/registry/codemods/msw/2/request-changes/README.md +++ b/apps/registry/codemods/msw/2/request-changes/README.md @@ -50,33 +50,3 @@ const handlers: HttpHandler[] = [ }), ]; ``` - -## Applicability Criteria - -MSW version >= 1.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[ts-morph](https://github.com/dsherret/ts-morph) - -### Estimated Time Saving - -Up to 15 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://mswjs.io/docs/migrations/1.x-to-2.x/#request-changes diff --git a/apps/registry/codemods/msw/2/request-changes/config.json b/apps/registry/codemods/msw/2/request-changes/config.json deleted file mode 100644 index 5c1cdbead..000000000 --- a/apps/registry/codemods/msw/2/request-changes/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "msw/2/request-changes", - "engine": "ts-morph" -} diff --git a/apps/registry/codemods/msw/2/request-changes/package.json b/apps/registry/codemods/msw/2/request-changes/package.json index 7f1c26e43..1517ca59a 100644 --- a/apps/registry/codemods/msw/2/request-changes/package.json +++ b/apps/registry/codemods/msw/2/request-changes/package.json @@ -14,6 +14,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/msw/2/response-usages/.codemodrc.json b/apps/registry/codemods/msw/2/response-usages/.codemodrc.json new file mode 100644 index 000000000..b435baee8 --- /dev/null +++ b/apps/registry/codemods/msw/2/response-usages/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "msw/2/response-usages", + "engine": "ts-morph", + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "10m" + }, + "applicability": [["msw", ">=", "1.0.0"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/msw/2/response-usages/README.md b/apps/registry/codemods/msw/2/response-usages/README.md index 660af5864..8dd45991e 100644 --- a/apps/registry/codemods/msw/2/response-usages/README.md +++ b/apps/registry/codemods/msw/2/response-usages/README.md @@ -140,33 +140,3 @@ graphql.query('GetUser', (req, res, ctx) => { ) }) ``` - -## Applicability Criteria - -MSW version >= 1.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[ts-morph](https://github.com/dsherret/ts-morph) - -### Estimated Time Saving - -Up to 10 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://mswjs.io/docs/migrations/1.x-to-2.x/#request-changes diff --git a/apps/registry/codemods/msw/2/response-usages/config.json b/apps/registry/codemods/msw/2/response-usages/config.json deleted file mode 100644 index cecb7b017..000000000 --- a/apps/registry/codemods/msw/2/response-usages/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "msw/2/response-usages", - "engine": "ts-morph" -} diff --git a/apps/registry/codemods/msw/2/response-usages/package.json b/apps/registry/codemods/msw/2/response-usages/package.json index 622d224a8..f01c2ad65 100644 --- a/apps/registry/codemods/msw/2/response-usages/package.json +++ b/apps/registry/codemods/msw/2/response-usages/package.json @@ -14,6 +14,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/msw/2/type-args/.codemodrc.json b/apps/registry/codemods/msw/2/type-args/.codemodrc.json new file mode 100644 index 000000000..9b73a3913 --- /dev/null +++ b/apps/registry/codemods/msw/2/type-args/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "msw/2/type-args", + "engine": "ts-morph", + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "15m" + }, + "applicability": [["msw", ">=", "1.0.0"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/msw/2/type-args/README.md b/apps/registry/codemods/msw/2/type-args/README.md index 0d1eff9a4..94b38d69c 100644 --- a/apps/registry/codemods/msw/2/type-args/README.md +++ b/apps/registry/codemods/msw/2/type-args/README.md @@ -91,29 +91,3 @@ export function mockFactory( return http.get(url, resolver); } ``` - -## Applicability Criteria - -MSW version >= 1.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[ts-morph](https://github.com/dsherret/ts-morph) - -### Estimated Time Saving - -~15 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) diff --git a/apps/registry/codemods/msw/2/type-args/config.json b/apps/registry/codemods/msw/2/type-args/config.json deleted file mode 100644 index a919d8624..000000000 --- a/apps/registry/codemods/msw/2/type-args/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "msw/2/type-args", - "engine": "ts-morph" -} diff --git a/apps/registry/codemods/msw/2/type-args/package.json b/apps/registry/codemods/msw/2/type-args/package.json index 49065453b..ea62c5b30 100644 --- a/apps/registry/codemods/msw/2/type-args/package.json +++ b/apps/registry/codemods/msw/2/type-args/package.json @@ -14,6 +14,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/msw/2/upgrade-recipe/config.json b/apps/registry/codemods/msw/2/upgrade-recipe/.codemodrc.json similarity index 57% rename from apps/registry/codemods/msw/2/upgrade-recipe/config.json rename to apps/registry/codemods/msw/2/upgrade-recipe/.codemodrc.json index 21dd8f071..712f05bd3 100644 --- a/apps/registry/codemods/msw/2/upgrade-recipe/config.json +++ b/apps/registry/codemods/msw/2/upgrade-recipe/.codemodrc.json @@ -1,5 +1,6 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "engine": "recipe", "names": [ "msw/2/imports", @@ -11,5 +12,12 @@ "msw/2/callback-signature", "msw/2/lifecycle-events-signature", "msw/2/print-handler" - ] + ], + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "10m" + }, + "applicability": [["msw", ">=", "1.0.0"]], + "owner": "codemod.com" } diff --git a/apps/registry/codemods/msw/2/upgrade-recipe/README.md b/apps/registry/codemods/msw/2/upgrade-recipe/README.md index 063fe6953..52323d3a1 100644 --- a/apps/registry/codemods/msw/2/upgrade-recipe/README.md +++ b/apps/registry/codemods/msw/2/upgrade-recipe/README.md @@ -36,31 +36,3 @@ const handlers = [ ``` Also, if you were using req.body in your interceptors, this codemod will blindly assume you want `await request.json()` instead of any other type. You will have to correct that manually. - -## Applicability Criteria - -MSW version >= 1.0.0 - -## Other Metadata - -TODO: [config changes](https://mswjs.io/docs/migrations/1.x-to-2.x/#frequent-issues) - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### Estimated Time Saving - -Depending on the size of the project, this recipe can save up to 6 hours of dedicated work and more. - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://mswjs.io/docs/migrations/1.x-to-2.x/ diff --git a/apps/registry/codemods/msw/2/upgrade-recipe/package.json b/apps/registry/codemods/msw/2/upgrade-recipe/package.json index e948af444..4e18a02c0 100644 --- a/apps/registry/codemods/msw/2/upgrade-recipe/package.json +++ b/apps/registry/codemods/msw/2/upgrade-recipe/package.json @@ -1,5 +1,5 @@ { "name": "@codemod-com/codemod-msw-2-upgrade-recipe", - "files": ["README.md", "config.json"], + "files": ["./README.md", "./.codemodrc.json"], "type": "module" } diff --git a/apps/registry/codemods/mui/5/core-styles-import/.codemodrc.json b/apps/registry/codemods/mui/5/core-styles-import/.codemodrc.json new file mode 100644 index 000000000..6abb72ff5 --- /dev/null +++ b/apps/registry/codemods/mui/5/core-styles-import/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "mui/5/core-styles-import", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "applicability": [["@material-ui/core", ">=", "4.0.0"]], + "owner": "mui" +} diff --git a/apps/registry/codemods/mui/5/core-styles-import/README.md b/apps/registry/codemods/mui/5/core-styles-import/README.md index b5522203b..e1f646347 100644 --- a/apps/registry/codemods/mui/5/core-styles-import/README.md +++ b/apps/registry/codemods/mui/5/core-styles-import/README.md @@ -25,30 +25,4 @@ import { makeStyles, Overrides, } from '@material-ui/core/styles'; -``` - -## Applicability Criteria - -MUI version >= 4.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -[jscodeshift](https://github.com/facebook/jscodeshift) - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[MUI](https://github.com/mui) +``` \ No newline at end of file diff --git a/apps/registry/codemods/mui/5/core-styles-import/config.json b/apps/registry/codemods/mui/5/core-styles-import/config.json deleted file mode 100644 index fbc088dd1..000000000 --- a/apps/registry/codemods/mui/5/core-styles-import/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "mui/5/core-styles-import", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/mui/5/core-styles-import/package.json b/apps/registry/codemods/mui/5/core-styles-import/package.json index 24f24b96e..fbf47f79e 100644 --- a/apps/registry/codemods/mui/5/core-styles-import/package.json +++ b/apps/registry/codemods/mui/5/core-styles-import/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/.codemodrc.json new file mode 100644 index 000000000..1ebd918e4 --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.1/addBuildEventContext", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "1m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.1"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/README.md b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/README.md index b0b96e0b7..261f01fd1 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/README.md @@ -27,33 +27,3 @@ const integration = new NetlifyIntegration(); // Adding a build event handler integration.addBuildEventContext(() => {}); ``` - -## Applicability Criteria - -Netlify SDK v0.8.1 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~1 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.1 Release Notes](https://sdk.netlify.com/release-notes/#081) diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/config.json b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/config.json deleted file mode 100644 index 7ee32e960..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.1/addBuildEventContext", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/package.json b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/package.json index 91ecc3e87..957b13e3f 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventContext/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/.codemodrc.json new file mode 100644 index 000000000..9f115cd4e --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.1/addBuildEventHandler", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "1m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.1"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/README.md b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/README.md index e1acd52d3..de2f958f4 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/README.md @@ -31,33 +31,3 @@ integration.addBuildEventHandler('onPreBuild', () => { console.log('This is my first build event handler!'); }); ``` - -## Applicability Criteria - -Netlify SDK v0.8.1 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~1 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.1 Release Notes](https://sdk.netlify.com/release-notes/#081) diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/config.json b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/config.json deleted file mode 100644 index 9fcf346b8..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.1/addBuildEventHandler", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/package.json b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/package.json index 48a7181af..4fddc4c34 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.1/addBuildEventHandler/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/.codemodrc.json new file mode 100644 index 000000000..d5c1e9f75 --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.1/disableBuildEventHandlers", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "1m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.1"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/README.md b/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/README.md index a660d92ae..256375ade 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/README.md @@ -17,33 +17,3 @@ await client.disableBuildhook(siteId); ```jsx await client.disableBuildEventHandlers(siteId); ``` - -## Applicability Criteria - -Netlify SDK v0.8.1 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~1 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.1 Release Notes](https://sdk.netlify.com/release-notes/#081) diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/config.json b/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/config.json deleted file mode 100644 index 7fcd4de7e..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.1/disableBuildEventHandlers", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/package.json b/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/package.json index 2480bcc3e..3a380c1c8 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.1/disableBuildEventHandlers/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/.codemodrc.json new file mode 100644 index 000000000..eb6638a32 --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.1/enableBuildEventHandlers", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "1m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.1"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/README.md b/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/README.md index bae2e5a10..be8f12b75 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/README.md @@ -17,33 +17,3 @@ await client.enableBuildhook(siteId); ```jsx await client.enableBuildEventHandlers(siteId); ``` - -## Applicability Criteria - -Netlify SDK v0.8.1 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~1 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.1 Release Notes](https://sdk.netlify.com/release-notes/#081) diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/config.json b/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/config.json deleted file mode 100644 index 3eb055c4d..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.1/enableBuildEventHandlers", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/package.json b/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/package.json index 5e25b5eef..81102ec82 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.1/enableBuildEventHandlers/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/.codemodrc.json new file mode 100644 index 000000000..7d39b5e93 --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.1/exportZod", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "1m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.1"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/README.md b/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/README.md index edeabe0e5..c0a083b7e 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/README.md @@ -17,33 +17,3 @@ import { z } from '@netlify/sdk'; ```jsx import { z } from '@netlify/sdk'; ``` - -## Applicability Criteria - -Netlify SDK v0.8.1 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~1 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.1 Release Notes](https://sdk.netlify.com/release-notes/#081) diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/config.json b/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/config.json deleted file mode 100644 index 25455a1c8..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.1/exportZod", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/package.json b/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/package.json index e49c54147..7a4c8b0c2 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.1/exportZod/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/.codemodrc.json new file mode 100644 index 000000000..50629d559 --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.4/addApiHandler", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "1m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.4"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/README.md b/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/README.md index 431f0a0ff..42c684be7 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/README.md @@ -25,33 +25,3 @@ const integration = new NetlifyIntegration(); integration.addApiHandler('some-function', async (event, context) => {}); ``` - -## Applicability Criteria - -Netlify SDK v0.8.1 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~1 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.1 Release Notes](https://sdk.netlify.com/release-notes/#081) diff --git a/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/config.json b/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/config.json deleted file mode 100644 index 4435ad717..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.4/addApiHandler", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/package.json b/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/package.json index 737649907..4ec4bf696 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.4/addApiHandler/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/.codemodrc.json new file mode 100644 index 000000000..c4d2fb576 --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.5/createEnvironmentVariable", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "1m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.5"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/README.md b/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/README.md index 5df05c69e..999c6640f 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/README.md @@ -22,33 +22,3 @@ createEnvironmentVariable({ values: values, }); ``` - -## Applicability Criteria - -Netlify SDK v0.8.5 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~3 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.5 Release Notes](https://sdk.netlify.com/release-notes/#085) diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/config.json b/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/config.json deleted file mode 100644 index 61dceb104..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.5/createEnvironmentVariable", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/package.json b/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/package.json index 00a25765d..051db9474 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.5/createEnvironmentVariable/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/.codemodrc.json new file mode 100644 index 000000000..f03e72ff0 --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.5/createOrUpdateVariable", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "3m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.5"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/README.md b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/README.md index dcdfe7c52..4c926fbda 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/README.md @@ -22,33 +22,3 @@ createOrUpdateVariable({ values: value, }); ``` - -## Applicability Criteria - -Netlify SDK v0.8.5 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~3 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.5 Release Notes](https://sdk.netlify.com/release-notes/#085) diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/config.json b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/config.json deleted file mode 100644 index 69e685569..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.5/createOrUpdateVariable", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/package.json b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/package.json index 808d58a54..ab9a7e685 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariable/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/.codemodrc.json new file mode 100644 index 000000000..c818b81d7 --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.5/createOrUpdateVariables", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "3m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.5"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/README.md b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/README.md index 76ed4bc19..c20db5b4e 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/README.md @@ -21,33 +21,3 @@ createOrUpdateVariables({ key: variables, }); ``` - -## Applicability Criteria - -Netlify SDK v0.8.5 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~3 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.5 Release Notes](https://sdk.netlify.com/release-notes/#085) diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/config.json b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/config.json deleted file mode 100644 index 449004da5..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.5/createOrUpdateVariables", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/package.json b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/package.json index b9af85ed2..723052f51 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.5/createOrUpdateVariables/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/.codemodrc.json new file mode 100644 index 000000000..d9b769983 --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.5/deleteEnvironmentVariable", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "3m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.5"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/README.md b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/README.md index a282a4a5e..63ace8718 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/README.md @@ -21,33 +21,3 @@ deleteEnvironmentVariable({ key: key, }); ``` - -## Applicability Criteria - -Netlify SDK v0.8.5 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~3 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.5 Release Notes](https://sdk.netlify.com/release-notes/#085) diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/config.json b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/config.json deleted file mode 100644 index b92c786a0..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.5/deleteEnvironmentVariable", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/package.json b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/package.json index f327322b4..96fe10e2f 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariable/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/.codemodrc.json new file mode 100644 index 000000000..a27f77928 --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.5/deleteEnvironmentVariables", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "3m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.5"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/README.md b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/README.md index 869bc62b8..0709bcd2f 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/README.md @@ -20,34 +20,4 @@ deleteEnvironmentVariables({ siteId: siteId, variables: variables, }); -``` - -## Applicability Criteria - -Netlify SDK v0.8.5 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~3 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.5 Release Notes](https://sdk.netlify.com/release-notes/#085) +``` \ No newline at end of file diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/config.json b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/config.json deleted file mode 100644 index 468a7d24a..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.5/deleteEnvironmentVariables", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/package.json b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/package.json index b2598b651..d74588cda 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.5/deleteEnvironmentVariables/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/.codemodrc.json new file mode 100644 index 000000000..c6b5cbd5a --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.5/getEnvironmentVariables", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "3m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.5"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/README.md b/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/README.md index 91172f820..49f26fad3 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/README.md @@ -20,33 +20,3 @@ getEnvironmentVariables({ siteId: siteId, }); ``` - -## Applicability Criteria - -Netlify SDK v0.8.5 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~3 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.5 Release Notes](https://sdk.netlify.com/release-notes/#085) diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/config.json b/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/config.json deleted file mode 100644 index 89ebd1780..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.5/getEnvironmentVariables", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/package.json b/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/package.json index b231659a2..a803aad3c 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.5/getEnvironmentVariables/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/config.json b/apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/.codemodrc.json similarity index 65% rename from apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/config.json rename to apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/.codemodrc.json index c62494e2c..f4715d9a6 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/config.json +++ b/apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/.codemodrc.json @@ -1,5 +1,6 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "engine": "recipe", "names": [ "netlify/0.8.5/createEnvironmentVariable", @@ -10,5 +11,12 @@ "netlify/0.8.5/getEnvironmentVariables", "netlify/0.8.5/patchEnvironmentVariable", "netlify/0.8.5/updateEnvironmentVariable" - ] + ], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "3m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.5"]], + "owner": "codemod.com" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/README.md b/apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/README.md index 6ccc34a19..eb9177804 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/README.md @@ -14,29 +14,3 @@ The recipe includes the following codemods: - [getEnvironmentVariables](https://github.com/codemod-com/codemod-registry/tree/main/codemods/netlify-sdk/0.8.5/getEnvironmentVariables) - [patchEnvironmentVariable](https://github.com/codemod-com/codemod-registry/tree/main/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable) - [updateEnvironmentVariable](https://github.com/codemod-com/codemod-registry/tree/main/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable) - -## Applicability Criteria - -Netlify SDK v0.8.5 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### Estimated Time Saving - -~3 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.5 Release Notes](https://sdk.netlify.com/release-notes/#085) diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/package.json b/apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/package.json index eca83b626..131b27496 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.5/netlify-sdk-0.8.5-recipe/package.json @@ -1,5 +1,5 @@ { "name": "@codemod-com/codemod-netlify-sdk-0.8.5-netlify-sdk-0.8.5-recipe", - "files": ["README.md", "config.json"], + "files": ["./README.md", "./.codemodrc.json"], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/.codemodrc.json new file mode 100644 index 000000000..e126a2eff --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.5/patchEnvironmentVariable", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "3m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.5"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/README.md b/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/README.md index d92efa647..949dfd671 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/README.md @@ -31,33 +31,3 @@ patchEnvironmentVariable({ contextParameter: contextParameter, }); ``` - -## Applicability Criteria - -Netlify SDK v0.8.5 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~3 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.5 Release Notes](https://sdk.netlify.com/release-notes/#085) diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/config.json b/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/config.json deleted file mode 100644 index 2a5005026..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.5/patchEnvironmentVariable", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/package.json b/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/package.json index 9a13369e8..bad769a45 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.5/patchEnvironmentVariable/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/.codemodrc.json b/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/.codemodrc.json new file mode 100644 index 000000000..0de7d7a7b --- /dev/null +++ b/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "name": "netlify/0.8.5/updateEnvironmentVariable", + "engine": "jscodeshift", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "3m" + }, + "applicability": [["@netlify/sdk", ">=", "0.8.5"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/README.md b/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/README.md index a86e5d865..76b265ef9 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/README.md +++ b/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/README.md @@ -22,33 +22,3 @@ updateEnvironmentVariable({ values: values, }); ``` - -## Applicability Criteria - -Netlify SDK v0.8.5 or higher. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~3 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- [Netlify SDK v0.8.5 Release Notes](https://sdk.netlify.com/release-notes/#085) diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/config.json b/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/config.json deleted file mode 100644 index ecede2f21..000000000 --- a/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "netlify/0.8.5/updateEnvironmentVariable", - "engine": "jscodeshift" -} diff --git a/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/package.json b/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/package.json index ff7546fe8..ade6b81cc 100644 --- a/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/package.json +++ b/apps/registry/codemods/netlify-sdk/0.8.5/updateEnvironmentVariable/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next-i18next/copy-keys/config.json b/apps/registry/codemods/next-i18next/copy-keys/.codemodrc.json similarity index 57% rename from apps/registry/codemods/next-i18next/copy-keys/config.json rename to apps/registry/codemods/next-i18next/copy-keys/.codemodrc.json index 7e38e827b..75941bc1d 100644 --- a/apps/registry/codemods/next-i18next/copy-keys/config.json +++ b/apps/registry/codemods/next-i18next/copy-keys/.codemodrc.json @@ -1,6 +1,10 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "name": "next-i18next/copy-keys", + "private": false, "engine": "filemod", + "applicability": [["next-i18next", ">", "14.0.0"]], + "owner": "codemod.com", "arguments": [ { "name": "oldNamespace", @@ -20,5 +24,10 @@ "default": "", "required": true } - ] + ], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "1m" + } } diff --git a/apps/registry/codemods/next-i18next/copy-keys/README.md b/apps/registry/codemods/next-i18next/copy-keys/README.md index 1537ada50..11ec7e874 100644 --- a/apps/registry/codemods/next-i18next/copy-keys/README.md +++ b/apps/registry/codemods/next-i18next/copy-keys/README.md @@ -51,30 +51,4 @@ You need to pass these arguments using the [Codemod Arguments' settings](https:/ "existingKey": "existingKeyEnglish", "copyKey": "copyKeyEnglish" } -``` - -## Applicability Criteria - -`next-i18next > 14.x` - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -Filemod - -### Estimated Time Saving - -~1 minute per each key within each language file - -### Owner - -[Codemod.com](https://github.com/codemod-com) +``` \ No newline at end of file diff --git a/apps/registry/codemods/next-i18next/copy-keys/package.json b/apps/registry/codemods/next-i18next/copy-keys/package.json index d1efba7f4..097e5ed24 100644 --- a/apps/registry/codemods/next-i18next/copy-keys/package.json +++ b/apps/registry/codemods/next-i18next/copy-keys/package.json @@ -23,6 +23,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/ab-test/.codemodrc.json b/apps/registry/codemods/next/13/ab-test/.codemodrc.json new file mode 100644 index 000000000..163fa42e3 --- /dev/null +++ b/apps/registry/codemods/next/13/ab-test/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "private": false, + "engine": "filemod", + "arguments": [], + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "2h" + }, + "applicability": [["next", "<", "13.0.0"]] +} diff --git a/apps/registry/codemods/next/13/ab-test/README.md b/apps/registry/codemods/next/13/ab-test/README.md index 573a9d2a7..e00d44b55 100644 --- a/apps/registry/codemods/next/13/ab-test/README.md +++ b/apps/registry/codemods/next/13/ab-test/README.md @@ -3,29 +3,3 @@ ## Description This codemod generates boilerplate code for A/B tests using the Next.js middlewares. The middleware controls the redirects from the legacy to the future pages. You can control the redirection probability and targeted pages using environment variables. - -## Applicability Criteria - -Next.js version is greater or equal to 13.4. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -filemod - -### Estimated Time Saving - -2h - -### Owner - -[Codemod.com](https://github.com/codemod-com) diff --git a/apps/registry/codemods/next/13/ab-test/config.json b/apps/registry/codemods/next/13/ab-test/config.json deleted file mode 100644 index 51410c1e5..000000000 --- a/apps/registry/codemods/next/13/ab-test/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "engine": "filemod", - "arguments": [] -} diff --git a/apps/registry/codemods/next/13/ab-test/package.json b/apps/registry/codemods/next/13/ab-test/package.json index e8b3345dc..f292ceff6 100644 --- a/apps/registry/codemods/next/13/ab-test/package.json +++ b/apps/registry/codemods/next/13/ab-test/package.json @@ -23,6 +23,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/app-directory-boilerplate/.codemodrc.json b/apps/registry/codemods/next/13/app-directory-boilerplate/.codemodrc.json new file mode 100644 index 000000000..bb166b2ff --- /dev/null +++ b/apps/registry/codemods/next/13/app-directory-boilerplate/.codemodrc.json @@ -0,0 +1,14 @@ +{ + "version": "1.0.0", + "private": false, + "name": "next/13/app-directory-boilerplate", + "description": "This codemod provides boilerplate for the app directory.", + "engine": "filemod", + "applicability": [["next", "<", "13.0.0"]], + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/next/13/app-directory-boilerplate/README.md b/apps/registry/codemods/next/13/app-directory-boilerplate/README.md index d13e3bed4..9587b71c1 100644 --- a/apps/registry/codemods/next/13/app-directory-boilerplate/README.md +++ b/apps/registry/codemods/next/13/app-directory-boilerplate/README.md @@ -47,33 +47,3 @@ The codemod will generate the following corresponding directory: └── c └── page.tsx ``` - -## Applicability Criteria - -Next.js version is greater or equal to 13.4. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -ts-morph - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://nextjs.org/docs/pages/building-your-application/upgrading/app-router-migration diff --git a/apps/registry/codemods/next/13/app-directory-boilerplate/config.json b/apps/registry/codemods/next/13/app-directory-boilerplate/config.json deleted file mode 100644 index 431666346..000000000 --- a/apps/registry/codemods/next/13/app-directory-boilerplate/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "next/13/app-directory-boilerplate", - "description": "This codemod provides boilerplate for the app directory.", - "engine": "filemod", - "dependencyVersionLowerThan": ["next", "13.0.0"], - "owner": "codemod.com" -} diff --git a/apps/registry/codemods/next/13/app-directory-boilerplate/package.json b/apps/registry/codemods/next/13/app-directory-boilerplate/package.json index 6ee90af22..cf2b72e7c 100644 --- a/apps/registry/codemods/next/13/app-directory-boilerplate/package.json +++ b/apps/registry/codemods/next/13/app-directory-boilerplate/package.json @@ -29,6 +29,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/app-router-recipe/config.json b/apps/registry/codemods/next/13/app-router-recipe/.codemodrc.json similarity index 50% rename from apps/registry/codemods/next/13/app-router-recipe/config.json rename to apps/registry/codemods/next/13/app-router-recipe/.codemodrc.json index 108c67972..678cf3b34 100644 --- a/apps/registry/codemods/next/13/app-router-recipe/config.json +++ b/apps/registry/codemods/next/13/app-router-recipe/.codemodrc.json @@ -1,10 +1,17 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "engine": "recipe", "names": [ "next/13/replace-next-router", "next/13/replace-next-head", "next/13/remove-get-static-props", "next/13/app-directory-boilerplate" - ] + ], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "applicability": [["next", "<", "13.0.0"]] } diff --git a/apps/registry/codemods/next/13/app-router-recipe/README.md b/apps/registry/codemods/next/13/app-router-recipe/README.md index 939418fde..dcfaa5d33 100644 --- a/apps/registry/codemods/next/13/app-router-recipe/README.md +++ b/apps/registry/codemods/next/13/app-router-recipe/README.md @@ -10,29 +10,3 @@ The recipe includes the following codemods: - [replace-next-head](https://github.com/codemod-com/codemod-registry/tree/main/codemods/next/13/replace-next-head) - [remove-get-static-props](https://github.com/codemod-com/codemod-registry/tree/main/codemods/next/13/remove-get-static-props) - [app-directory-boilerplate](https://github.com/codemod-com/codemod-registry/tree/main/codemods/next/13/app-directory-boilerplate) - -## Applicability Criteria - -Next.js version higher or equal to 13. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://nextjs.org/docs/app/building-your-application/upgrading/app-router-migration diff --git a/apps/registry/codemods/next/13/app-router-recipe/package.json b/apps/registry/codemods/next/13/app-router-recipe/package.json index 1ef373109..3177cf76f 100644 --- a/apps/registry/codemods/next/13/app-router-recipe/package.json +++ b/apps/registry/codemods/next/13/app-router-recipe/package.json @@ -1,5 +1,5 @@ { "name": "@codemod-com/codemod-next-13-app-router-recipe", - "files": ["README.md", "config.json"], + "files": ["./README.md", "./.codemodrc.json"], "type": "module" } diff --git a/apps/registry/codemods/next/13/built-in-next-font/config.json b/apps/registry/codemods/next/13/built-in-next-font/.codemodrc.json similarity index 53% rename from apps/registry/codemods/next/13/built-in-next-font/config.json rename to apps/registry/codemods/next/13/built-in-next-font/.codemodrc.json index d18c01113..42839fcb1 100644 --- a/apps/registry/codemods/next/13/built-in-next-font/config.json +++ b/apps/registry/codemods/next/13/built-in-next-font/.codemodrc.json @@ -1,14 +1,15 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "name": "next/13/built-in-next-font", "description": "The codemod removes @next/font and changes @next/font imports to use the built-in next/font instead.", "engine": "jscodeshift", "extensions": ["js*", "ts*"], - "dependencies": [ - { - "name": "next", - "range": "<13.2" - } - ], - "owner": "codemod.com" + "applicability": [["next", "<", "13.2.0"]], + "owner": "vercel", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "30s" + } } diff --git a/apps/registry/codemods/next/13/built-in-next-font/README.md b/apps/registry/codemods/next/13/built-in-next-font/README.md index a91f6bf4a..f9698481e 100644 --- a/apps/registry/codemods/next/13/built-in-next-font/README.md +++ b/apps/registry/codemods/next/13/built-in-next-font/README.md @@ -18,35 +18,4 @@ import { Inter } from '@next/font/google'; ```jsx import { Inter } from 'next/font/google'; -``` - -## Applicability Criteria - -- Next.js version higher or equal to 13.2. -- This codemod requires you to use `@next/font/*` module specifier in import statements. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -[jscodeshift](https://github.com/facebook/jscodeshift) - -### Estimated Time Saving - -~30 seconds per occurrence - -### Owner - -[Vercel](https://github.com/vercel) - -### Links for more info - -- https://nextjs.org/docs/pages/building-your-application/upgrading/codemods#use-built-in-font +``` \ No newline at end of file diff --git a/apps/registry/codemods/next/13/built-in-next-font/package.json b/apps/registry/codemods/next/13/built-in-next-font/package.json index f976542da..4b27ebcf6 100644 --- a/apps/registry/codemods/next/13/built-in-next-font/package.json +++ b/apps/registry/codemods/next/13/built-in-next-font/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/comment-deletable-files/.codemodrc.json b/apps/registry/codemods/next/13/comment-deletable-files/.codemodrc.json new file mode 100644 index 000000000..956f932a7 --- /dev/null +++ b/apps/registry/codemods/next/13/comment-deletable-files/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "next/13/comment-deletable-files", + "description": "The codemod marks files that can be deleted with a comment.", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["next", "<", "13.0.0"]], + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/next/13/comment-deletable-files/README.md b/apps/registry/codemods/next/13/comment-deletable-files/README.md index 49b31c57a..46649295b 100644 --- a/apps/registry/codemods/next/13/comment-deletable-files/README.md +++ b/apps/registry/codemods/next/13/comment-deletable-files/README.md @@ -41,30 +41,4 @@ function MyApp({ Component, pageProps }) { } export default MyApp; -``` - -## Applicability Criteria - -Next.js version higher or equal to 13.4 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -The purpose of this codemod is to guide the user into the files that should be migrated away, which should equal ~5 minutes total of estimated time saving. - -### Owner - -[Codemod.com](https://github.com/codemod-com) +``` \ No newline at end of file diff --git a/apps/registry/codemods/next/13/comment-deletable-files/config.json b/apps/registry/codemods/next/13/comment-deletable-files/config.json deleted file mode 100644 index 7ce127177..000000000 --- a/apps/registry/codemods/next/13/comment-deletable-files/config.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "next/13/comment-deletable-files", - "description": "The codemod marks files that can be deleted with a comment.", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencies": [ - { - "name": "next", - "range": "<13" - } - ], - "owner": "codemod.com" -} diff --git a/apps/registry/codemods/next/13/comment-deletable-files/package.json b/apps/registry/codemods/next/13/comment-deletable-files/package.json index 8d20658e6..ff8e5d01d 100644 --- a/apps/registry/codemods/next/13/comment-deletable-files/package.json +++ b/apps/registry/codemods/next/13/comment-deletable-files/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/move-css-in-js-styles/config.json b/apps/registry/codemods/next/13/move-css-in-js-styles/.codemodrc.json similarity index 51% rename from apps/registry/codemods/next/13/move-css-in-js-styles/config.json rename to apps/registry/codemods/next/13/move-css-in-js-styles/.codemodrc.json index 4d8d190ca..e2df133de 100644 --- a/apps/registry/codemods/next/13/move-css-in-js-styles/config.json +++ b/apps/registry/codemods/next/13/move-css-in-js-styles/.codemodrc.json @@ -1,15 +1,16 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "name": "next/13/move-css-in-js-styles", "description": "The codemod moves css-in-js styles to the css modules.", "engine": "jscodeshift", "options": ["createFile"], "extensions": ["js*", "ts*"], - "dependencies": [ - { - "name": "next", - "range": "<13" - } - ], - "owner": "codemod.com" + "applicability": [["next", "<", "13.0.0"]], + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "5m" + } } diff --git a/apps/registry/codemods/next/13/move-css-in-js-styles/README.md b/apps/registry/codemods/next/13/move-css-in-js-styles/README.md index 81080b152..366264878 100644 --- a/apps/registry/codemods/next/13/move-css-in-js-styles/README.md +++ b/apps/registry/codemods/next/13/move-css-in-js-styles/README.md @@ -49,33 +49,3 @@ body { padding: 0; } ``` - -## Applicability Criteria - -Next.js version higher or equal to 13. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence. - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://nextjs.org/docs/pages/building-your-application/styling/css-in-js diff --git a/apps/registry/codemods/next/13/move-css-in-js-styles/package.json b/apps/registry/codemods/next/13/move-css-in-js-styles/package.json index 7ce81b822..744030c7b 100644 --- a/apps/registry/codemods/next/13/move-css-in-js-styles/package.json +++ b/apps/registry/codemods/next/13/move-css-in-js-styles/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/new-image-experimental/config.json b/apps/registry/codemods/next/13/new-image-experimental/.codemodrc.json similarity index 58% rename from apps/registry/codemods/next/13/new-image-experimental/config.json rename to apps/registry/codemods/next/13/new-image-experimental/.codemodrc.json index 59282b2f7..be5bf26eb 100644 --- a/apps/registry/codemods/next/13/new-image-experimental/config.json +++ b/apps/registry/codemods/next/13/new-image-experimental/.codemodrc.json @@ -1,14 +1,15 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "name": "next/13/new-image-experimental", "description": "The codemod performs migration from next/legacy/image to the latest next/image by including inline styles and removing unnecessary properties.", "engine": "jscodeshift", "extensions": ["js*", "ts*"], - "dependencies": [ - { - "name": "next", - "range": "<13" - } - ], - "owner": "codemod.com" + "applicability": [["next", "<", "13.0.0"]], + "owner": "vercel", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } } diff --git a/apps/registry/codemods/next/13/new-image-experimental/README.md b/apps/registry/codemods/next/13/new-image-experimental/README.md index 960d37bd8..3163b0138 100644 --- a/apps/registry/codemods/next/13/new-image-experimental/README.md +++ b/apps/registry/codemods/next/13/new-image-experimental/README.md @@ -107,33 +107,3 @@ function Page() { return ; } ``` - -## Applicability Criteria - -Next.js version higher or equal to 13. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Vercel](https://github.com/vercel) - -### Links for more info - -- https://nextjs.org/docs/pages/building-your-application/upgrading/codemods#next-image-experimental diff --git a/apps/registry/codemods/next/13/new-image-experimental/package.json b/apps/registry/codemods/next/13/new-image-experimental/package.json index 16a1b0b61..b05c2bfa1 100644 --- a/apps/registry/codemods/next/13/new-image-experimental/package.json +++ b/apps/registry/codemods/next/13/new-image-experimental/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/new-link/.codemodrc.json b/apps/registry/codemods/next/13/new-link/.codemodrc.json new file mode 100644 index 000000000..5337cb8d6 --- /dev/null +++ b/apps/registry/codemods/next/13/new-link/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "next/13/new-link", + "description": "The codemod safely removes from next/link or includes the legacyBehavior property", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["next", "<", "13.0.0"]], + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/next/13/new-link/config.json b/apps/registry/codemods/next/13/new-link/config.json deleted file mode 100644 index 1a1b556e8..000000000 --- a/apps/registry/codemods/next/13/new-link/config.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "next/13/new-link", - "description": "The codemod safely removes from next/link or includes the legacyBehavior property", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencies": [ - { - "name": "next", - "range": "<13" - } - ], - "owner": "codemod.com" -} diff --git a/apps/registry/codemods/next/13/new-link/package.json b/apps/registry/codemods/next/13/new-link/package.json index 19f856dc7..6a734dcf6 100644 --- a/apps/registry/codemods/next/13/new-link/package.json +++ b/apps/registry/codemods/next/13/new-link/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/next-image-to-legacy-image/config.json b/apps/registry/codemods/next/13/next-image-to-legacy-image/.codemodrc.json similarity index 58% rename from apps/registry/codemods/next/13/next-image-to-legacy-image/config.json rename to apps/registry/codemods/next/13/next-image-to-legacy-image/.codemodrc.json index 8b85541da..97716a098 100644 --- a/apps/registry/codemods/next/13/next-image-to-legacy-image/config.json +++ b/apps/registry/codemods/next/13/next-image-to-legacy-image/.codemodrc.json @@ -1,14 +1,15 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "name": "next/13/next-image-to-legacy-image", "description": "The codemod safely migrates Next.js 10, 11, and 12 applications that use the next/image import to the renamed next/legacy/image import in Next.js 13.", "engine": "jscodeshift", "extensions": ["js*", "ts*"], - "dependencies": [ - { - "name": "next", - "range": "<13" - } - ], - "owner": "codemod.com" + "applicability": [["next", "<", "13.0.0"]], + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } } diff --git a/apps/registry/codemods/next/13/next-image-to-legacy-image/README.md b/apps/registry/codemods/next/13/next-image-to-legacy-image/README.md index 5fdd439bd..82867383f 100644 --- a/apps/registry/codemods/next/13/next-image-to-legacy-image/README.md +++ b/apps/registry/codemods/next/13/next-image-to-legacy-image/README.md @@ -37,33 +37,3 @@ export default function Home() { ); } ``` - -## Applicability Criteria - -Next.js version higher or equal to 13. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Vercel](https://github.com/vercel) - -### Links for more info - -- https://nextjs.org/docs/pages/building-your-application/upgrading/codemods#next-image-to-legacy-image diff --git a/apps/registry/codemods/next/13/next-image-to-legacy-image/package.json b/apps/registry/codemods/next/13/next-image-to-legacy-image/package.json index ef7c2338a..3966697a1 100644 --- a/apps/registry/codemods/next/13/next-image-to-legacy-image/package.json +++ b/apps/registry/codemods/next/13/next-image-to-legacy-image/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/remove-get-static-props/config.json b/apps/registry/codemods/next/13/remove-get-static-props/.codemodrc.json similarity index 64% rename from apps/registry/codemods/next/13/remove-get-static-props/config.json rename to apps/registry/codemods/next/13/remove-get-static-props/.codemodrc.json index 91c663a42..60a2fa066 100644 --- a/apps/registry/codemods/next/13/remove-get-static-props/config.json +++ b/apps/registry/codemods/next/13/remove-get-static-props/.codemodrc.json @@ -1,15 +1,11 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "name": "next/13/remove-get-static-props", "description": "The codemod removes getStaticProps data fetching method.", "engine": "filemod", "extensions": ["js*", "ts*"], - "dependencies": [ - { - "name": "next", - "range": "<13" - } - ], + "applicability": [["next", "<", "13.0.0"]], "arguments": [ { "name": "buildLegacyCtxUtilAbsolutePath", @@ -18,5 +14,10 @@ "required": true } ], - "owner": "codemod.com" + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } } diff --git a/apps/registry/codemods/next/13/remove-get-static-props/package.json b/apps/registry/codemods/next/13/remove-get-static-props/package.json index 97171895c..998ea9071 100644 --- a/apps/registry/codemods/next/13/remove-get-static-props/package.json +++ b/apps/registry/codemods/next/13/remove-get-static-props/package.json @@ -23,6 +23,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/remove-next-export/.codemodrc.json b/apps/registry/codemods/next/13/remove-next-export/.codemodrc.json new file mode 100644 index 000000000..6f877aea2 --- /dev/null +++ b/apps/registry/codemods/next/13/remove-next-export/.codemodrc.json @@ -0,0 +1,14 @@ +{ + "version": "1.0.0", + "private": false, + "name": "next/13/remove-next-export", + "description": "This codemod removes all usages of the next export command", + "engine": "filemod", + "applicability": [["next", "<", "13.0.0"]], + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/next/13/remove-next-export/README.md b/apps/registry/codemods/next/13/remove-next-export/README.md index 79fd10aad..049edb59a 100644 --- a/apps/registry/codemods/next/13/remove-next-export/README.md +++ b/apps/registry/codemods/next/13/remove-next-export/README.md @@ -35,33 +35,3 @@ module.exports = { output: 'export', }; ``` - -## Applicability Criteria - -Next.js version higher or equal to 13. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -Codemod.com File Transformation Engine - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://nextjs.org/docs/app/building-your-application/upgrading/app-router-migration diff --git a/apps/registry/codemods/next/13/remove-next-export/config.json b/apps/registry/codemods/next/13/remove-next-export/config.json deleted file mode 100644 index 2bb4538e1..000000000 --- a/apps/registry/codemods/next/13/remove-next-export/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "next/13/remove-next-export", - "description": "This codemod removes all usages of the next export command", - "engine": "filemod", - "dependencyVersionLowerThan": ["next", "13.0.0"], - "owner": "codemod.com" -} diff --git a/apps/registry/codemods/next/13/remove-next-export/package.json b/apps/registry/codemods/next/13/remove-next-export/package.json index c613244dc..3a5d9a33b 100644 --- a/apps/registry/codemods/next/13/remove-next-export/package.json +++ b/apps/registry/codemods/next/13/remove-next-export/package.json @@ -23,6 +23,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/replace-api-routes/.codemodrc.json b/apps/registry/codemods/next/13/replace-api-routes/.codemodrc.json new file mode 100644 index 000000000..ff8a510b7 --- /dev/null +++ b/apps/registry/codemods/next/13/replace-api-routes/.codemodrc.json @@ -0,0 +1,14 @@ +{ + "version": "1.0.0", + "private": false, + "name": "next/13/replace-api-routes", + "description": "This codemod replaces API Routes with Route Handlers", + "engine": "filemod", + "applicability": [["next", "<", "13.0.0"]], + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/next/13/replace-api-routes/README.md b/apps/registry/codemods/next/13/replace-api-routes/README.md index d23e84859..ada0b8033 100644 --- a/apps/registry/codemods/next/13/replace-api-routes/README.md +++ b/apps/registry/codemods/next/13/replace-api-routes/README.md @@ -3,35 +3,3 @@ ## Description Replaces API Routes with Route Handlers. - -## Example: - -### Before: - -### After: - -## Applicability Criteria - -Next.js version higher or equal to 13. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -Codemod.com File Transformation Engine - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -### Links for more info diff --git a/apps/registry/codemods/next/13/replace-api-routes/config.json b/apps/registry/codemods/next/13/replace-api-routes/config.json deleted file mode 100644 index 68b1f10d5..000000000 --- a/apps/registry/codemods/next/13/replace-api-routes/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "next/13/replace-api-routes", - "description": "This codemod replaces API Routes with Route Handlers", - "engine": "filemod", - "dependencyVersionLowerThan": ["next", "13.0.0"], - "owner": "codemod.com" -} diff --git a/apps/registry/codemods/next/13/replace-api-routes/package.json b/apps/registry/codemods/next/13/replace-api-routes/package.json index 4cafb62b9..f14cccccc 100644 --- a/apps/registry/codemods/next/13/replace-api-routes/package.json +++ b/apps/registry/codemods/next/13/replace-api-routes/package.json @@ -23,6 +23,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/replace-next-head/.codemodrc.json b/apps/registry/codemods/next/13/replace-next-head/.codemodrc.json new file mode 100644 index 000000000..1d95e20aa --- /dev/null +++ b/apps/registry/codemods/next/13/replace-next-head/.codemodrc.json @@ -0,0 +1,14 @@ +{ + "version": "1.0.0", + "private": false, + "name": "next/13/replace-next-head", + "description": "This codemod generates Next 13 metadata object", + "engine": "filemod", + "applicability": [["next", "<", "13.0.0"]], + "owner": "vercel", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/next/13/replace-next-head/README.md b/apps/registry/codemods/next/13/replace-next-head/README.md index 0b77ef189..73cf2f44f 100644 --- a/apps/registry/codemods/next/13/replace-next-head/README.md +++ b/apps/registry/codemods/next/13/replace-next-head/README.md @@ -55,33 +55,3 @@ export default function Page() { return ; } ``` - -## Applicability Criteria - -Next.js version higher or equal to 13. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -Codemod.com File Transformation Engine - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Vercel](https://github.com/vercel) - -### Links for more info - -- https://nextjs.org/docs/app/building-your-application/upgrading/app-router-migration#step-3-migrating-nexthead diff --git a/apps/registry/codemods/next/13/replace-next-head/config.json b/apps/registry/codemods/next/13/replace-next-head/config.json deleted file mode 100644 index 69f6ed9ae..000000000 --- a/apps/registry/codemods/next/13/replace-next-head/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "next/13/replace-next-head", - "description": "This codemod generates Next 13 metadata object", - "engine": "filemod", - "dependencyVersionLowerThan": ["next", "13.0.0"], - "owner": "codemod.com" -} diff --git a/apps/registry/codemods/next/13/replace-next-head/package.json b/apps/registry/codemods/next/13/replace-next-head/package.json index 00c655082..7b9b76a3c 100644 --- a/apps/registry/codemods/next/13/replace-next-head/package.json +++ b/apps/registry/codemods/next/13/replace-next-head/package.json @@ -30,6 +30,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/replace-next-router/config.json b/apps/registry/codemods/next/13/replace-next-router/.codemodrc.json similarity index 50% rename from apps/registry/codemods/next/13/replace-next-router/config.json rename to apps/registry/codemods/next/13/replace-next-router/.codemodrc.json index 23629bee7..085796e7d 100644 --- a/apps/registry/codemods/next/13/replace-next-router/config.json +++ b/apps/registry/codemods/next/13/replace-next-router/.codemodrc.json @@ -1,9 +1,15 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "name": "next/13/replace-next-router", "description": "Replaces all usages of the useRouter() calls with useSearchParams and usePathname", "engine": "ts-morph", "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["next", "13.0.0"], - "owner": "codemod.com" + "applicability": [["next", "<", "13.0.0"]], + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } } diff --git a/apps/registry/codemods/next/13/replace-next-router/README.md b/apps/registry/codemods/next/13/replace-next-router/README.md index fbb631eed..09c35c035 100644 --- a/apps/registry/codemods/next/13/replace-next-router/README.md +++ b/apps/registry/codemods/next/13/replace-next-router/README.md @@ -45,29 +45,3 @@ function Component() { const c = getParam('c'); } ``` - -## Applicability Criteria - -Next.js version is greater or equal to 13.4. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[ts-morph](https://github.com/dsherret/ts-morph) - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) diff --git a/apps/registry/codemods/next/13/replace-next-router/package.json b/apps/registry/codemods/next/13/replace-next-router/package.json index 1694d9ced..d3700bb19 100644 --- a/apps/registry/codemods/next/13/replace-next-router/package.json +++ b/apps/registry/codemods/next/13/replace-next-router/package.json @@ -19,6 +19,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/replace-use-search-params/config.json b/apps/registry/codemods/next/13/replace-use-search-params/.codemodrc.json similarity index 84% rename from apps/registry/codemods/next/13/replace-use-search-params/config.json rename to apps/registry/codemods/next/13/replace-use-search-params/.codemodrc.json index 9d78a4ce3..7c7f2e826 100644 --- a/apps/registry/codemods/next/13/replace-use-search-params/config.json +++ b/apps/registry/codemods/next/13/replace-use-search-params/.codemodrc.json @@ -1,15 +1,11 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "name": "next/13/replace-use-search-params", "description": "The codemod replaces getSearchParams with compatGetSearchParams", "engine": "filemod", "extensions": ["js*", "ts*"], - "dependencies": [ - { - "name": "next", - "range": "<13" - } - ], + "applicability": [["next", "<", "13.0.0"]], "arguments": [ { "name": "useCompatSearchParamsHookAbsolutePath", @@ -37,5 +33,10 @@ "required": false } ], - "owner": "codemod.com" + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } } diff --git a/apps/registry/codemods/next/13/replace-use-search-params/package.json b/apps/registry/codemods/next/13/replace-use-search-params/package.json index 6a3c44953..cfa56fd8f 100644 --- a/apps/registry/codemods/next/13/replace-use-search-params/package.json +++ b/apps/registry/codemods/next/13/replace-use-search-params/package.json @@ -23,6 +23,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/13/upsert-use-client-directive/.codemodrc.json b/apps/registry/codemods/next/13/upsert-use-client-directive/.codemodrc.json new file mode 100644 index 000000000..12da670a8 --- /dev/null +++ b/apps/registry/codemods/next/13/upsert-use-client-directive/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "name": "next/13/upsert-use-client-directive", + "private": false, + "engine": "ts-morph", + "owner": "codemod.com", + "applicability": [["next", "<", "13.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/next/13/upsert-use-client-directive/README.md b/apps/registry/codemods/next/13/upsert-use-client-directive/README.md index 118fb5a43..274b06ab4 100644 --- a/apps/registry/codemods/next/13/upsert-use-client-directive/README.md +++ b/apps/registry/codemods/next/13/upsert-use-client-directive/README.md @@ -35,29 +35,3 @@ export default function Page() { return x; } ``` - -## Applicability Criteria - -Next.js version is greater or equal to 13.4. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[ts-morph](https://github.com/dsherret/ts-morph) - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) diff --git a/apps/registry/codemods/next/13/upsert-use-client-directive/config.json b/apps/registry/codemods/next/13/upsert-use-client-directive/config.json deleted file mode 100644 index 3ce0ed4a4..000000000 --- a/apps/registry/codemods/next/13/upsert-use-client-directive/config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "engine": "ts-morph" -} diff --git a/apps/registry/codemods/next/13/upsert-use-client-directive/package.json b/apps/registry/codemods/next/13/upsert-use-client-directive/package.json index 7007ca836..b8115d41e 100644 --- a/apps/registry/codemods/next/13/upsert-use-client-directive/package.json +++ b/apps/registry/codemods/next/13/upsert-use-client-directive/package.json @@ -19,6 +19,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/14/metadata-to-viewport-export/.codemodrc.json b/apps/registry/codemods/next/14/metadata-to-viewport-export/.codemodrc.json new file mode 100644 index 000000000..356694e89 --- /dev/null +++ b/apps/registry/codemods/next/14/metadata-to-viewport-export/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "next/14/metadata-to-viewport-export", + "description": "This codemod migrates certain viewport metadata to viewport export.", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["next", ">=", "13.4.0"], ["next", "<", "14.0.0"]], + "owner": "vercel", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/next/14/metadata-to-viewport-export/README.md b/apps/registry/codemods/next/14/metadata-to-viewport-export/README.md index e28e96335..ae7c2429e 100644 --- a/apps/registry/codemods/next/14/metadata-to-viewport-export/README.md +++ b/apps/registry/codemods/next/14/metadata-to-viewport-export/README.md @@ -30,33 +30,3 @@ export const viewport = { themeColor: 'dark', }; ``` - -## Applicability Criteria - -Next.js version higher or equal to 14. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Vercel](https://github.com/vercel) - -### Links for more info - -- [Use `viewport` export](https://nextjs.org/docs/pages/building-your-application/upgrading/codemods#use-viewport-export) diff --git a/apps/registry/codemods/next/14/metadata-to-viewport-export/config.json b/apps/registry/codemods/next/14/metadata-to-viewport-export/config.json deleted file mode 100644 index 8814eb027..000000000 --- a/apps/registry/codemods/next/14/metadata-to-viewport-export/config.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "next/14/metadata-to-viewport-export", - "description": "This codemod migrates certain viewport metadata to viewport export.", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencies": [ - { - "name": "next", - "range": "<14" - } - ], - "owner": "vercel" -} diff --git a/apps/registry/codemods/next/14/metadata-to-viewport-export/package.json b/apps/registry/codemods/next/14/metadata-to-viewport-export/package.json index f4b63cb2c..67a497cb1 100644 --- a/apps/registry/codemods/next/14/metadata-to-viewport-export/package.json +++ b/apps/registry/codemods/next/14/metadata-to-viewport-export/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/next/14/next-og-import/config.json b/apps/registry/codemods/next/14/next-og-import/.codemodrc.json similarity index 50% rename from apps/registry/codemods/next/14/next-og-import/config.json rename to apps/registry/codemods/next/14/next-og-import/.codemodrc.json index 7660309bc..e82255403 100644 --- a/apps/registry/codemods/next/14/next-og-import/config.json +++ b/apps/registry/codemods/next/14/next-og-import/.codemodrc.json @@ -1,14 +1,15 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "name": "next/14/next-og-import", "description": "This codemod moves transforms imports from next/server to next/og for usage of Dynamic OG Image Generation.", "engine": "jscodeshift", "extensions": ["js*", "ts*"], - "dependencies": [ - { - "name": "next", - "range": "<14" - } - ], - "owner": "vercel" + "applicability": [["next", ">=", "13.4.0"], ["next", "<", "14.0.0"]], + "owner": "vercel", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } } diff --git a/apps/registry/codemods/next/14/next-og-import/README.md b/apps/registry/codemods/next/14/next-og-import/README.md index 0dac569aa..4beb5ca2a 100644 --- a/apps/registry/codemods/next/14/next-og-import/README.md +++ b/apps/registry/codemods/next/14/next-og-import/README.md @@ -17,33 +17,3 @@ import { ImageResponse } from 'next/server'; ```jsx import { ImageResponse } from 'next/og'; ``` - -## Applicability Criteria - -Next.js version higher or equal to 14. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Vercel](https://github.com/vercel) - -### Links for more info - -- [Migrate `ImageResponse` imports](https://nextjs.org/docs/pages/building-your-application/upgrading/codemods#migrate-imageresponse-imports) diff --git a/apps/registry/codemods/next/14/next-og-import/package.json b/apps/registry/codemods/next/14/next-og-import/package.json index f43100900..cd20c3303 100644 --- a/apps/registry/codemods/next/14/next-og-import/package.json +++ b/apps/registry/codemods/next/14/next-og-import/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/pull_request_template.md b/apps/registry/codemods/pull_request_template.md index 6f0210722..129227b62 100644 --- a/apps/registry/codemods/pull_request_template.md +++ b/apps/registry/codemods/pull_request_template.md @@ -10,11 +10,11 @@ For your codemod pull request to be compatible with the Codemod.com platform, it │ ├── . ├── test │ ├── test.ts # containts tests -├── config.json # contains the codemod's metadata; refer to existing codemods for the config file structure. +├── .codemodrc.json # contains the codemod's metadata; refer to existing codemods for the config file structure. ├── index.d.ts ├── package.json ├── tsconfig.json -└── README.md # must follow the structure described below +└── DESCRIPTION.md # must follow the structure described below ``` --- diff --git a/apps/registry/codemods/react-redux/0/add-state-type/.codemodrc.json b/apps/registry/codemods/react-redux/0/add-state-type/.codemodrc.json new file mode 100644 index 000000000..cd0936035 --- /dev/null +++ b/apps/registry/codemods/react-redux/0/add-state-type/.codemodrc.json @@ -0,0 +1,16 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-redux/0/add-state-type", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "dependency": "react-redux", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "applicability": [["react-redux", ">=", "0.0.0"]], + "owner": "codemod.com" +} diff --git a/apps/registry/codemods/react-redux/0/add-state-type/README.md b/apps/registry/codemods/react-redux/0/add-state-type/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/react-redux/0/add-state-type/config.json b/apps/registry/codemods/react-redux/0/add-state-type/config.json deleted file mode 100644 index df9b96809..000000000 --- a/apps/registry/codemods/react-redux/0/add-state-type/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-redux/0/add-state-type", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependency": "react-redux" -} diff --git a/apps/registry/codemods/react-redux/0/add-state-type/package.json b/apps/registry/codemods/react-redux/0/add-state-type/package.json index 2ea6b8a4a..623bc3b9b 100644 --- a/apps/registry/codemods/react-redux/0/add-state-type/package.json +++ b/apps/registry/codemods/react-redux/0/add-state-type/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/4/add-exact-prop/.codemodrc.json b/apps/registry/codemods/react-router/4/add-exact-prop/.codemodrc.json new file mode 100644 index 000000000..f4dac968e --- /dev/null +++ b/apps/registry/codemods/react-router/4/add-exact-prop/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/4/add-exact-prop", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "4.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/4/add-exact-prop/README.md b/apps/registry/codemods/react-router/4/add-exact-prop/README.md new file mode 100644 index 000000000..8763b2fc2 --- /dev/null +++ b/apps/registry/codemods/react-router/4/add-exact-prop/README.md @@ -0,0 +1,5 @@ +# Add Exact Prop + +## Description + +Add `exact` prop to all instances of `Route` component. \ No newline at end of file diff --git a/apps/registry/codemods/react-router/4/add-exact-prop/config.json b/apps/registry/codemods/react-router/4/add-exact-prop/config.json deleted file mode 100644 index 0484804d5..000000000 --- a/apps/registry/codemods/react-router/4/add-exact-prop/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/4/add-exact-prop", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "4.0.0"] -} diff --git a/apps/registry/codemods/react-router/4/add-exact-prop/package.json b/apps/registry/codemods/react-router/4/add-exact-prop/package.json index af8543cc5..fd10ff1f0 100644 --- a/apps/registry/codemods/react-router/4/add-exact-prop/package.json +++ b/apps/registry/codemods/react-router/4/add-exact-prop/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/4/browser-router/.codemod/DESCRIPTION.md b/apps/registry/codemods/react-router/4/browser-router/.codemod/DESCRIPTION.md new file mode 100644 index 000000000..cda9635d3 --- /dev/null +++ b/apps/registry/codemods/react-router/4/browser-router/.codemod/DESCRIPTION.md @@ -0,0 +1,5 @@ +# Browser Router + +## Description + +Run this codemod to replace `Router` using `browserHistory` to `BrowserRouter` in v4. \ No newline at end of file diff --git a/apps/registry/codemods/react-router/4/browser-router/.codemod/config.json b/apps/registry/codemods/react-router/4/browser-router/.codemod/config.json new file mode 100644 index 000000000..c0d0b12cf --- /dev/null +++ b/apps/registry/codemods/react-router/4/browser-router/.codemod/config.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/5/browser-router", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "4.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/4/browser-router/index.d.ts b/apps/registry/codemods/react-router/4/browser-router/index.d.ts new file mode 100644 index 000000000..e10deea54 --- /dev/null +++ b/apps/registry/codemods/react-router/4/browser-router/index.d.ts @@ -0,0 +1,3 @@ +import type { API, FileInfo } from 'jscodeshift'; + +export default function transform(file: FileInfo, api: API): string; diff --git a/apps/registry/codemods/react-router/4/browser-router/package.json b/apps/registry/codemods/react-router/4/browser-router/package.json new file mode 100644 index 000000000..cba32d08f --- /dev/null +++ b/apps/registry/codemods/react-router/4/browser-router/package.json @@ -0,0 +1,30 @@ +{ + "name": "@codemod-com/codemod-react-router-5-browser-router", + "dependencies": {}, + "devDependencies": { + "@codemod-com/utilities": "workspace:*", + "@codemod-com/registry-cjs-builder": "workspace:*", + "typescript": "^5.2.2", + "esbuild": "0.19.5", + "ts-node": "^10.9.1", + "jscodeshift": "^0.15.1", + "@types/jscodeshift": "^0.11.10", + "vitest": "^1.0.1", + "@vitest/coverage-v8": "^1.0.1" + }, + "main": "./dist/index.cjs", + "types": "/dist/index.d.ts", + "scripts": { + "build:cjs": "cjs-builder ./src/index.ts", + "test": "vitest run", + "test:watch": "vitest watch", + "coverage": "vitest run --coverage" + }, + "files": [ + "./.codemod/DESCRIPTION.md", + "./.codemod/config.json", + "./dist/index.cjs", + "./index.d.ts" + ], + "type": "module" +} diff --git a/apps/registry/codemods/react-router/4/browser-router/src/index.ts b/apps/registry/codemods/react-router/4/browser-router/src/index.ts new file mode 100644 index 000000000..6f07ecdc2 --- /dev/null +++ b/apps/registry/codemods/react-router/4/browser-router/src/index.ts @@ -0,0 +1,48 @@ +import type { API, FileInfo } from "jscodeshift"; + +function transform(file: FileInfo, api: API): string | undefined { + const j = api.jscodeshift; + + const root = j(file.source); + + root + .find(j.JSXElement, { + openingElement: { name: { name: "Router" } }, + }) + .forEach((path) => { + const attrs = path.value.openingElement.attributes; + + const historyAttr = + attrs?.filter((a) => ("name" in a ? a.name.name === "history" : false)) + .length ?? false; + + if (attrs && historyAttr) { + if ("name" in path.value.openingElement.name) { + path.value.openingElement.name.name = "BrowserRouter"; + } + + if ( + path.value.closingElement && + "name" in path.value.closingElement.name + ) { + path.value.closingElement.name.name = "BrowserRouter"; + } + + path.value.openingElement.attributes = attrs.filter((a) => + "name" in a ? a.name.name !== "history" : false, + ); + } + + const computedImport = j.importDeclaration( + [j.importSpecifier(j.identifier("BrowserRouter"))], + j.literal("react-router-dom"), + ); + + const body = root.get().value.program.body; + body.unshift(computedImport); + }); + + return root.toSource(); +} + +export default transform; diff --git a/apps/registry/codemods/react-router/4/browser-router/test/test.ts b/apps/registry/codemods/react-router/4/browser-router/test/test.ts new file mode 100644 index 000000000..6b94b4965 --- /dev/null +++ b/apps/registry/codemods/react-router/4/browser-router/test/test.ts @@ -0,0 +1,39 @@ +import assert from "node:assert/strict"; +import { buildApi, trimLicense } from "@codemod-com/utilities"; +import type { FileInfo } from "jscodeshift"; +import { describe, it } from "vitest"; +import transform from "../src/index.js"; + +describe("react-router v5 browser-router", () => { + it("should replace Router component with BrowserRouter, add BrowserRouter import", async () => { + const input = ` + import { Router, browserHistory } from 'react-router'; + const MyApp = () => ( + + + + ); + `; + + const output = ` + import { BrowserRouter } from 'react-router-dom'; + import { Router, browserHistory } from 'react-router'; + const MyApp = () => ( + + + + ); + `; + const fileInfo: FileInfo = { + path: "index.js", + source: trimLicense(input), + }; + + const actualOutput = transform(fileInfo, buildApi("js")); + + assert.deepEqual( + actualOutput?.replace(/\W/gm, ""), + trimLicense(output).replace(/\W/gm, ""), + ); + }); +}); diff --git a/apps/registry/codemods/react-router/4/browser-router/tsconfig.json b/apps/registry/codemods/react-router/4/browser-router/tsconfig.json new file mode 100644 index 000000000..5107bd222 --- /dev/null +++ b/apps/registry/codemods/react-router/4/browser-router/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@codemod-com/tsconfig/codemod.json", + "include": [ + "./src/**/*.ts", + "./src/**/*.js", + "./test/**/*.ts", + "./test/**/*.js" + ] +} diff --git a/apps/registry/codemods/react-router/4/create-hash-history/.codemodrc.json b/apps/registry/codemods/react-router/4/create-hash-history/.codemodrc.json new file mode 100644 index 000000000..fc198a0ac --- /dev/null +++ b/apps/registry/codemods/react-router/4/create-hash-history/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/4/create-hash-history", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "4.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/4/create-hash-history/README.md b/apps/registry/codemods/react-router/4/create-hash-history/README.md new file mode 100644 index 000000000..eca13e973 --- /dev/null +++ b/apps/registry/codemods/react-router/4/create-hash-history/README.md @@ -0,0 +1,4 @@ +# Create Hash History + +## Description + diff --git a/apps/registry/codemods/react-router/4/create-hash-history/config.json b/apps/registry/codemods/react-router/4/create-hash-history/config.json deleted file mode 100644 index d4fc73704..000000000 --- a/apps/registry/codemods/react-router/4/create-hash-history/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/4/create-hash-history", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "4.0.0"] -} diff --git a/apps/registry/codemods/react-router/4/create-hash-history/package.json b/apps/registry/codemods/react-router/4/create-hash-history/package.json index 68065a622..49053a0d0 100644 --- a/apps/registry/codemods/react-router/4/create-hash-history/package.json +++ b/apps/registry/codemods/react-router/4/create-hash-history/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/4/hash-router/.codemodrc.json b/apps/registry/codemods/react-router/4/hash-router/.codemodrc.json new file mode 100644 index 000000000..4d8a69553 --- /dev/null +++ b/apps/registry/codemods/react-router/4/hash-router/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/4/hash-router", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "4.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/4/hash-router/README.md b/apps/registry/codemods/react-router/4/hash-router/README.md new file mode 100644 index 000000000..eaf9a957d --- /dev/null +++ b/apps/registry/codemods/react-router/4/hash-router/README.md @@ -0,0 +1,5 @@ +# Hash Router + +## Description + +Run this codemod to replace `Router` using `hashHistory` to `HashRouter` in v4. \ No newline at end of file diff --git a/apps/registry/codemods/react-router/4/hash-router/config.json b/apps/registry/codemods/react-router/4/hash-router/config.json deleted file mode 100644 index c55fcb4a2..000000000 --- a/apps/registry/codemods/react-router/4/hash-router/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/4/hash-router", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "4.0.0"] -} diff --git a/apps/registry/codemods/react-router/4/hash-router/package.json b/apps/registry/codemods/react-router/4/hash-router/package.json index 0413fcf32..c96c94678 100644 --- a/apps/registry/codemods/react-router/4/hash-router/package.json +++ b/apps/registry/codemods/react-router/4/hash-router/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/4/index-route/.codemodrc.json b/apps/registry/codemods/react-router/4/index-route/.codemodrc.json new file mode 100644 index 000000000..da9715382 --- /dev/null +++ b/apps/registry/codemods/react-router/4/index-route/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/4/index-route", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "4.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/4/index-route/README.md b/apps/registry/codemods/react-router/4/index-route/README.md new file mode 100644 index 000000000..556564542 --- /dev/null +++ b/apps/registry/codemods/react-router/4/index-route/README.md @@ -0,0 +1,5 @@ +# Hash Router + +## Description + +Replace `IndexRoute` with `Route` having `exact` prop set to `true`. \ No newline at end of file diff --git a/apps/registry/codemods/react-router/4/index-route/config.json b/apps/registry/codemods/react-router/4/index-route/config.json deleted file mode 100644 index 27384f506..000000000 --- a/apps/registry/codemods/react-router/4/index-route/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/4/index-route", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "4.0.0"] -} diff --git a/apps/registry/codemods/react-router/4/index-route/package.json b/apps/registry/codemods/react-router/4/index-route/package.json index 284a8cf67..f81e34b48 100644 --- a/apps/registry/codemods/react-router/4/index-route/package.json +++ b/apps/registry/codemods/react-router/4/index-route/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/4/remove-with-props/.codemodrc.json b/apps/registry/codemods/react-router/4/remove-with-props/.codemodrc.json new file mode 100644 index 000000000..9d8adb4ac --- /dev/null +++ b/apps/registry/codemods/react-router/4/remove-with-props/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/4/remove-with-props", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "4.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/4/remove-with-props/README.md b/apps/registry/codemods/react-router/4/remove-with-props/README.md new file mode 100644 index 000000000..c3b16bf02 --- /dev/null +++ b/apps/registry/codemods/react-router/4/remove-with-props/README.md @@ -0,0 +1,4 @@ +# Remove With Props + +## Description + diff --git a/apps/registry/codemods/react-router/4/remove-with-props/config.json b/apps/registry/codemods/react-router/4/remove-with-props/config.json deleted file mode 100644 index b655672ce..000000000 --- a/apps/registry/codemods/react-router/4/remove-with-props/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/4/remove-with-props", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "4.0.0"] -} diff --git a/apps/registry/codemods/react-router/4/remove-with-props/package.json b/apps/registry/codemods/react-router/4/remove-with-props/package.json index 80a50ef2d..1f66cb6d0 100644 --- a/apps/registry/codemods/react-router/4/remove-with-props/package.json +++ b/apps/registry/codemods/react-router/4/remove-with-props/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/4/rename-imports/.codemodrc.json b/apps/registry/codemods/react-router/4/rename-imports/.codemodrc.json new file mode 100644 index 000000000..48473644a --- /dev/null +++ b/apps/registry/codemods/react-router/4/rename-imports/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/4/rename-imports", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "4.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/4/rename-imports/README.md b/apps/registry/codemods/react-router/4/rename-imports/README.md new file mode 100644 index 000000000..47dfc9f6b --- /dev/null +++ b/apps/registry/codemods/react-router/4/rename-imports/README.md @@ -0,0 +1,5 @@ +# Rename Imports + +## Description + +Replace `react-router` import source with `react-router-dom`. \ No newline at end of file diff --git a/apps/registry/codemods/react-router/4/rename-imports/config.json b/apps/registry/codemods/react-router/4/rename-imports/config.json deleted file mode 100644 index acf724b8d..000000000 --- a/apps/registry/codemods/react-router/4/rename-imports/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/4/rename-imports", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "4.0.0"] -} diff --git a/apps/registry/codemods/react-router/4/rename-imports/package.json b/apps/registry/codemods/react-router/4/rename-imports/package.json index 251106d91..1abac4900 100644 --- a/apps/registry/codemods/react-router/4/rename-imports/package.json +++ b/apps/registry/codemods/react-router/4/rename-imports/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/4/replace-location-query/.codemodrc.json b/apps/registry/codemods/react-router/4/replace-location-query/.codemodrc.json new file mode 100644 index 000000000..f2fab974a --- /dev/null +++ b/apps/registry/codemods/react-router/4/replace-location-query/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/4/replace-location-query", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "4.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/4/replace-location-query/config.json b/apps/registry/codemods/react-router/4/replace-location-query/config.json deleted file mode 100644 index 060596b22..000000000 --- a/apps/registry/codemods/react-router/4/replace-location-query/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/4/replace-location-query", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "4.0.0"] -} diff --git a/apps/registry/codemods/react-router/4/replace-location-query/package.json b/apps/registry/codemods/react-router/4/replace-location-query/package.json index 33565c2ef..1a931f226 100644 --- a/apps/registry/codemods/react-router/4/replace-location-query/package.json +++ b/apps/registry/codemods/react-router/4/replace-location-query/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/4/replace-param-prop/.codemodrc.json b/apps/registry/codemods/react-router/4/replace-param-prop/.codemodrc.json new file mode 100644 index 000000000..e7525780c --- /dev/null +++ b/apps/registry/codemods/react-router/4/replace-param-prop/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/4/replace-param-prop", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "4.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/4/replace-param-prop/config.json b/apps/registry/codemods/react-router/4/replace-param-prop/config.json deleted file mode 100644 index ff0fcce0d..000000000 --- a/apps/registry/codemods/react-router/4/replace-param-prop/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/4/replace-param-prop", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "4.0.0"] -} diff --git a/apps/registry/codemods/react-router/4/replace-param-prop/package.json b/apps/registry/codemods/react-router/4/replace-param-prop/package.json index 9c9ebf283..f6f45c730 100644 --- a/apps/registry/codemods/react-router/4/replace-param-prop/package.json +++ b/apps/registry/codemods/react-router/4/replace-param-prop/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/4/wrap-with-switch/.codemodrc.json b/apps/registry/codemods/react-router/4/wrap-with-switch/.codemodrc.json new file mode 100644 index 000000000..7f4df62c4 --- /dev/null +++ b/apps/registry/codemods/react-router/4/wrap-with-switch/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/4/wrap-with-switch", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "4.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/4/wrap-with-switch/README.md b/apps/registry/codemods/react-router/4/wrap-with-switch/README.md new file mode 100644 index 000000000..53fd34cd2 --- /dev/null +++ b/apps/registry/codemods/react-router/4/wrap-with-switch/README.md @@ -0,0 +1,4 @@ +# Wrap With Switch + +## Description + diff --git a/apps/registry/codemods/react-router/4/wrap-with-switch/config.json b/apps/registry/codemods/react-router/4/wrap-with-switch/config.json deleted file mode 100644 index 40c4ed755..000000000 --- a/apps/registry/codemods/react-router/4/wrap-with-switch/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/4/wrap-with-switch", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "4.0.0"] -} diff --git a/apps/registry/codemods/react-router/4/wrap-with-switch/package.json b/apps/registry/codemods/react-router/4/wrap-with-switch/package.json index 478e8c998..8dace3eca 100644 --- a/apps/registry/codemods/react-router/4/wrap-with-switch/package.json +++ b/apps/registry/codemods/react-router/4/wrap-with-switch/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/compat-route/.codemodrc.json b/apps/registry/codemods/react-router/6/compat-route/.codemodrc.json new file mode 100644 index 000000000..c29f37980 --- /dev/null +++ b/apps/registry/codemods/react-router/6/compat-route/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/compat-route", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/compat-route/README.md b/apps/registry/codemods/react-router/6/compat-route/README.md new file mode 100644 index 000000000..bbfa8f802 --- /dev/null +++ b/apps/registry/codemods/react-router/6/compat-route/README.md @@ -0,0 +1,4 @@ +# Compat Route + +## Description + diff --git a/apps/registry/codemods/react-router/6/compat-route/config.json b/apps/registry/codemods/react-router/6/compat-route/config.json deleted file mode 100644 index 5a461c6e2..000000000 --- a/apps/registry/codemods/react-router/6/compat-route/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/compat-route", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/compat-route/package.json b/apps/registry/codemods/react-router/6/compat-route/package.json index ecdb4cb4b..12ad64b9f 100644 --- a/apps/registry/codemods/react-router/6/compat-route/package.json +++ b/apps/registry/codemods/react-router/6/compat-route/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/compat-router/.codemodrc.json b/apps/registry/codemods/react-router/6/compat-router/.codemodrc.json new file mode 100644 index 000000000..322f6d213 --- /dev/null +++ b/apps/registry/codemods/react-router/6/compat-router/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/compat-router", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/compat-router/README.md b/apps/registry/codemods/react-router/6/compat-router/README.md new file mode 100644 index 000000000..cc83dff9e --- /dev/null +++ b/apps/registry/codemods/react-router/6/compat-router/README.md @@ -0,0 +1,4 @@ +# Compat Router + +## Description + diff --git a/apps/registry/codemods/react-router/6/compat-router/config.json b/apps/registry/codemods/react-router/6/compat-router/config.json deleted file mode 100644 index 39d083654..000000000 --- a/apps/registry/codemods/react-router/6/compat-router/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/compat-router", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/compat-router/package.json b/apps/registry/codemods/react-router/6/compat-router/package.json index 3d837857c..043ec708c 100644 --- a/apps/registry/codemods/react-router/6/compat-router/package.json +++ b/apps/registry/codemods/react-router/6/compat-router/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/link-to-props/.codemodrc.json b/apps/registry/codemods/react-router/6/link-to-props/.codemodrc.json new file mode 100644 index 000000000..f4c441d69 --- /dev/null +++ b/apps/registry/codemods/react-router/6/link-to-props/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/link-to-props", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/link-to-props/README.md b/apps/registry/codemods/react-router/6/link-to-props/README.md new file mode 100644 index 000000000..9915d625d --- /dev/null +++ b/apps/registry/codemods/react-router/6/link-to-props/README.md @@ -0,0 +1,4 @@ +# Link To Props + +## Description + diff --git a/apps/registry/codemods/react-router/6/link-to-props/config.json b/apps/registry/codemods/react-router/6/link-to-props/config.json deleted file mode 100644 index cec39fa20..000000000 --- a/apps/registry/codemods/react-router/6/link-to-props/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/link-to-props", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/link-to-props/package.json b/apps/registry/codemods/react-router/6/link-to-props/package.json index e2f395b64..2780e8cc3 100644 --- a/apps/registry/codemods/react-router/6/link-to-props/package.json +++ b/apps/registry/codemods/react-router/6/link-to-props/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/match-path-arguments/.codemodrc.json b/apps/registry/codemods/react-router/6/match-path-arguments/.codemodrc.json new file mode 100644 index 000000000..f9135207b --- /dev/null +++ b/apps/registry/codemods/react-router/6/match-path-arguments/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/match-path-arguments", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/match-path-arguments/README.md b/apps/registry/codemods/react-router/6/match-path-arguments/README.md new file mode 100644 index 000000000..0bac27fed --- /dev/null +++ b/apps/registry/codemods/react-router/6/match-path-arguments/README.md @@ -0,0 +1,4 @@ +# Match Path Arguments + +## Description + diff --git a/apps/registry/codemods/react-router/6/match-path-arguments/config.json b/apps/registry/codemods/react-router/6/match-path-arguments/config.json deleted file mode 100644 index 5bcde7252..000000000 --- a/apps/registry/codemods/react-router/6/match-path-arguments/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/match-path-arguments", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/match-path-arguments/package.json b/apps/registry/codemods/react-router/6/match-path-arguments/package.json index 488ac2c52..671acd9c7 100644 --- a/apps/registry/codemods/react-router/6/match-path-arguments/package.json +++ b/apps/registry/codemods/react-router/6/match-path-arguments/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/navlink-exact-end/.codemodrc.json b/apps/registry/codemods/react-router/6/navlink-exact-end/.codemodrc.json new file mode 100644 index 000000000..24eb1ccf2 --- /dev/null +++ b/apps/registry/codemods/react-router/6/navlink-exact-end/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/navlink-exact-end", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/navlink-exact-end/README.md b/apps/registry/codemods/react-router/6/navlink-exact-end/README.md new file mode 100644 index 000000000..d43bbf84f --- /dev/null +++ b/apps/registry/codemods/react-router/6/navlink-exact-end/README.md @@ -0,0 +1,4 @@ +# Navlink Exact End + +## Description + diff --git a/apps/registry/codemods/react-router/6/navlink-exact-end/config.json b/apps/registry/codemods/react-router/6/navlink-exact-end/config.json deleted file mode 100644 index c200b1f51..000000000 --- a/apps/registry/codemods/react-router/6/navlink-exact-end/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/navlink-exact-end", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/navlink-exact-end/package.json b/apps/registry/codemods/react-router/6/navlink-exact-end/package.json index ddcde74dc..a761123fb 100644 --- a/apps/registry/codemods/react-router/6/navlink-exact-end/package.json +++ b/apps/registry/codemods/react-router/6/navlink-exact-end/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/redirect-to-navigate/.codemodrc.json b/apps/registry/codemods/react-router/6/redirect-to-navigate/.codemodrc.json new file mode 100644 index 000000000..c33e98b19 --- /dev/null +++ b/apps/registry/codemods/react-router/6/redirect-to-navigate/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/redirect-to-navigate", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/redirect-to-navigate/README.md b/apps/registry/codemods/react-router/6/redirect-to-navigate/README.md new file mode 100644 index 000000000..1c95ef363 --- /dev/null +++ b/apps/registry/codemods/react-router/6/redirect-to-navigate/README.md @@ -0,0 +1,4 @@ +# Redirect To Navigate + +## Description + diff --git a/apps/registry/codemods/react-router/6/redirect-to-navigate/config.json b/apps/registry/codemods/react-router/6/redirect-to-navigate/config.json deleted file mode 100644 index 5fe6c62bd..000000000 --- a/apps/registry/codemods/react-router/6/redirect-to-navigate/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/redirect-to-navigate", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/redirect-to-navigate/package.json b/apps/registry/codemods/react-router/6/redirect-to-navigate/package.json index 00bb07a92..c3d1c85f0 100644 --- a/apps/registry/codemods/react-router/6/redirect-to-navigate/package.json +++ b/apps/registry/codemods/react-router/6/redirect-to-navigate/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/remove-active-classname/.codemodrc.json b/apps/registry/codemods/react-router/6/remove-active-classname/.codemodrc.json new file mode 100644 index 000000000..76b316069 --- /dev/null +++ b/apps/registry/codemods/react-router/6/remove-active-classname/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/remove-active-classname", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/remove-active-classname/README.md b/apps/registry/codemods/react-router/6/remove-active-classname/README.md new file mode 100644 index 000000000..8da5d8332 --- /dev/null +++ b/apps/registry/codemods/react-router/6/remove-active-classname/README.md @@ -0,0 +1,4 @@ +# Remove Active Classname + +## Description + diff --git a/apps/registry/codemods/react-router/6/remove-active-classname/config.json b/apps/registry/codemods/react-router/6/remove-active-classname/config.json deleted file mode 100644 index 043082e00..000000000 --- a/apps/registry/codemods/react-router/6/remove-active-classname/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/remove-active-classname", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/remove-active-classname/package.json b/apps/registry/codemods/react-router/6/remove-active-classname/package.json index 7b79d4b33..6bc6b4632 100644 --- a/apps/registry/codemods/react-router/6/remove-active-classname/package.json +++ b/apps/registry/codemods/react-router/6/remove-active-classname/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/remove-active-style/.codemodrc.json b/apps/registry/codemods/react-router/6/remove-active-style/.codemodrc.json new file mode 100644 index 000000000..f5028183d --- /dev/null +++ b/apps/registry/codemods/react-router/6/remove-active-style/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/remove-active-style", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/remove-active-style/README.md b/apps/registry/codemods/react-router/6/remove-active-style/README.md new file mode 100644 index 000000000..5b3274925 --- /dev/null +++ b/apps/registry/codemods/react-router/6/remove-active-style/README.md @@ -0,0 +1,4 @@ +# Remove Active Style + +## Description + diff --git a/apps/registry/codemods/react-router/6/remove-active-style/config.json b/apps/registry/codemods/react-router/6/remove-active-style/config.json deleted file mode 100644 index 6d342ac3b..000000000 --- a/apps/registry/codemods/react-router/6/remove-active-style/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/remove-active-style", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/remove-active-style/package.json b/apps/registry/codemods/react-router/6/remove-active-style/package.json index 836ef5ce4..8406df957 100644 --- a/apps/registry/codemods/react-router/6/remove-active-style/package.json +++ b/apps/registry/codemods/react-router/6/remove-active-style/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/remove-compat-router/.codemodrc.json b/apps/registry/codemods/react-router/6/remove-compat-router/.codemodrc.json new file mode 100644 index 000000000..113b4acab --- /dev/null +++ b/apps/registry/codemods/react-router/6/remove-compat-router/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/remove-compat-router", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/remove-compat-router/README.md b/apps/registry/codemods/react-router/6/remove-compat-router/README.md new file mode 100644 index 000000000..2cc379948 --- /dev/null +++ b/apps/registry/codemods/react-router/6/remove-compat-router/README.md @@ -0,0 +1,4 @@ +# Remove Compat Router + +## Description + diff --git a/apps/registry/codemods/react-router/6/remove-compat-router/config.json b/apps/registry/codemods/react-router/6/remove-compat-router/config.json deleted file mode 100644 index 623011d58..000000000 --- a/apps/registry/codemods/react-router/6/remove-compat-router/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/remove-compat-router", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/remove-compat-router/package.json b/apps/registry/codemods/react-router/6/remove-compat-router/package.json index 35e7564ba..7f04cc04e 100644 --- a/apps/registry/codemods/react-router/6/remove-compat-router/package.json +++ b/apps/registry/codemods/react-router/6/remove-compat-router/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/remove-go-hooks/.codemodrc.json b/apps/registry/codemods/react-router/6/remove-go-hooks/.codemodrc.json new file mode 100644 index 000000000..6dec127f3 --- /dev/null +++ b/apps/registry/codemods/react-router/6/remove-go-hooks/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/remove-go-hooks", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/remove-go-hooks/README.md b/apps/registry/codemods/react-router/6/remove-go-hooks/README.md new file mode 100644 index 000000000..259a3722a --- /dev/null +++ b/apps/registry/codemods/react-router/6/remove-go-hooks/README.md @@ -0,0 +1,4 @@ +# Remove Go Hooks + +## Description + diff --git a/apps/registry/codemods/react-router/6/remove-go-hooks/config.json b/apps/registry/codemods/react-router/6/remove-go-hooks/config.json deleted file mode 100644 index 946e3bff5..000000000 --- a/apps/registry/codemods/react-router/6/remove-go-hooks/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/remove-go-hooks", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/remove-go-hooks/package.json b/apps/registry/codemods/react-router/6/remove-go-hooks/package.json index 57518c9d4..3d86febda 100644 --- a/apps/registry/codemods/react-router/6/remove-go-hooks/package.json +++ b/apps/registry/codemods/react-router/6/remove-go-hooks/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/remove-redirect-inside-switch/.codemodrc.json b/apps/registry/codemods/react-router/6/remove-redirect-inside-switch/.codemodrc.json new file mode 100644 index 000000000..5e0cf772c --- /dev/null +++ b/apps/registry/codemods/react-router/6/remove-redirect-inside-switch/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/remove-redirect-inside-switch", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/remove-redirect-inside-switch/README.md b/apps/registry/codemods/react-router/6/remove-redirect-inside-switch/README.md new file mode 100644 index 000000000..4d18e940f --- /dev/null +++ b/apps/registry/codemods/react-router/6/remove-redirect-inside-switch/README.md @@ -0,0 +1,4 @@ +# Remove Redirect Inside Switch + +## Description + diff --git a/apps/registry/codemods/react-router/6/remove-redirect-inside-switch/config.json b/apps/registry/codemods/react-router/6/remove-redirect-inside-switch/config.json deleted file mode 100644 index 3725d58bf..000000000 --- a/apps/registry/codemods/react-router/6/remove-redirect-inside-switch/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/remove-redirect-inside-switch", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/remove-redirect-inside-switch/package.json b/apps/registry/codemods/react-router/6/remove-redirect-inside-switch/package.json index 01d4d0fa4..640aa4fe2 100644 --- a/apps/registry/codemods/react-router/6/remove-redirect-inside-switch/package.json +++ b/apps/registry/codemods/react-router/6/remove-redirect-inside-switch/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/rename-compat-imports/.codemodrc.json b/apps/registry/codemods/react-router/6/rename-compat-imports/.codemodrc.json new file mode 100644 index 000000000..6d9d28252 --- /dev/null +++ b/apps/registry/codemods/react-router/6/rename-compat-imports/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/rename-compat-imports", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/rename-compat-imports/README.md b/apps/registry/codemods/react-router/6/rename-compat-imports/README.md new file mode 100644 index 000000000..6050c8bab --- /dev/null +++ b/apps/registry/codemods/react-router/6/rename-compat-imports/README.md @@ -0,0 +1,4 @@ +# Remove Compat Imports + +## Description + diff --git a/apps/registry/codemods/react-router/6/rename-compat-imports/config.json b/apps/registry/codemods/react-router/6/rename-compat-imports/config.json deleted file mode 100644 index 13160971a..000000000 --- a/apps/registry/codemods/react-router/6/rename-compat-imports/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/rename-compat-imports", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/rename-compat-imports/package.json b/apps/registry/codemods/react-router/6/rename-compat-imports/package.json index 2e2ecdfbb..2fd39e2ae 100644 --- a/apps/registry/codemods/react-router/6/rename-compat-imports/package.json +++ b/apps/registry/codemods/react-router/6/rename-compat-imports/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/static-router-imports/.codemodrc.json b/apps/registry/codemods/react-router/6/static-router-imports/.codemodrc.json new file mode 100644 index 000000000..aaadbf8bb --- /dev/null +++ b/apps/registry/codemods/react-router/6/static-router-imports/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/static-router-imports", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/static-router-imports/README.md b/apps/registry/codemods/react-router/6/static-router-imports/README.md new file mode 100644 index 000000000..7d6aa9ead --- /dev/null +++ b/apps/registry/codemods/react-router/6/static-router-imports/README.md @@ -0,0 +1,4 @@ +# Static Router Imports + +## Description + diff --git a/apps/registry/codemods/react-router/6/static-router-imports/config.json b/apps/registry/codemods/react-router/6/static-router-imports/config.json deleted file mode 100644 index 6a36ee0e6..000000000 --- a/apps/registry/codemods/react-router/6/static-router-imports/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/static-router-imports", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/static-router-imports/package.json b/apps/registry/codemods/react-router/6/static-router-imports/package.json index c8dbea784..41d0d160e 100644 --- a/apps/registry/codemods/react-router/6/static-router-imports/package.json +++ b/apps/registry/codemods/react-router/6/static-router-imports/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.ts" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/use-location/.codemodrc.json b/apps/registry/codemods/react-router/6/use-location/.codemodrc.json new file mode 100644 index 000000000..914981456 --- /dev/null +++ b/apps/registry/codemods/react-router/6/use-location/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/use-location", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/use-location/README.md b/apps/registry/codemods/react-router/6/use-location/README.md new file mode 100644 index 000000000..2c65e5d52 --- /dev/null +++ b/apps/registry/codemods/react-router/6/use-location/README.md @@ -0,0 +1,4 @@ +# Use Location + +## Description + diff --git a/apps/registry/codemods/react-router/6/use-location/config.json b/apps/registry/codemods/react-router/6/use-location/config.json deleted file mode 100644 index 66e80cf0c..000000000 --- a/apps/registry/codemods/react-router/6/use-location/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/use-location", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/use-location/package.json b/apps/registry/codemods/react-router/6/use-location/package.json index 775641e11..88ab2bf8b 100644 --- a/apps/registry/codemods/react-router/6/use-location/package.json +++ b/apps/registry/codemods/react-router/6/use-location/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.js" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/use-navigate/.codemodrc.json b/apps/registry/codemods/react-router/6/use-navigate/.codemodrc.json new file mode 100644 index 000000000..2b9e28dc9 --- /dev/null +++ b/apps/registry/codemods/react-router/6/use-navigate/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/use-navigate", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/use-navigate/README.md b/apps/registry/codemods/react-router/6/use-navigate/README.md new file mode 100644 index 000000000..8d6334730 --- /dev/null +++ b/apps/registry/codemods/react-router/6/use-navigate/README.md @@ -0,0 +1,4 @@ +# Use Navigate + +## Description + diff --git a/apps/registry/codemods/react-router/6/use-navigate/config.json b/apps/registry/codemods/react-router/6/use-navigate/config.json deleted file mode 100644 index 8c91625e3..000000000 --- a/apps/registry/codemods/react-router/6/use-navigate/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/use-navigate", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/use-navigate/package.json b/apps/registry/codemods/react-router/6/use-navigate/package.json index 556fcd201..443498e5a 100644 --- a/apps/registry/codemods/react-router/6/use-navigate/package.json +++ b/apps/registry/codemods/react-router/6/use-navigate/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.js" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/use-params/.codemodrc.json b/apps/registry/codemods/react-router/6/use-params/.codemodrc.json new file mode 100644 index 000000000..e6af4e0cf --- /dev/null +++ b/apps/registry/codemods/react-router/6/use-params/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/use-params", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/use-params/README.md b/apps/registry/codemods/react-router/6/use-params/README.md new file mode 100644 index 000000000..5681c54ff --- /dev/null +++ b/apps/registry/codemods/react-router/6/use-params/README.md @@ -0,0 +1,4 @@ +# Use Params + +## Description + diff --git a/apps/registry/codemods/react-router/6/use-params/config.json b/apps/registry/codemods/react-router/6/use-params/config.json deleted file mode 100644 index 83a941fd9..000000000 --- a/apps/registry/codemods/react-router/6/use-params/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/use-params", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/use-params/package.json b/apps/registry/codemods/react-router/6/use-params/package.json index 039bebdb4..7af1afbd9 100644 --- a/apps/registry/codemods/react-router/6/use-params/package.json +++ b/apps/registry/codemods/react-router/6/use-params/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.js" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react-router/6/use-route-match/.codemodrc.json b/apps/registry/codemods/react-router/6/use-route-match/.codemodrc.json new file mode 100644 index 000000000..1e533ed54 --- /dev/null +++ b/apps/registry/codemods/react-router/6/use-route-match/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react-router/6/use-route-match", + "deps": ["vitest@latest"], + "owner": "codemod.com", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["react-router", "<", "6.0.0"]], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/react-router/6/use-route-match/README.md b/apps/registry/codemods/react-router/6/use-route-match/README.md new file mode 100644 index 000000000..0796c1ad5 --- /dev/null +++ b/apps/registry/codemods/react-router/6/use-route-match/README.md @@ -0,0 +1,4 @@ +# Use Route Match + +## Description + diff --git a/apps/registry/codemods/react-router/6/use-route-match/config.json b/apps/registry/codemods/react-router/6/use-route-match/config.json deleted file mode 100644 index e50a89a0e..000000000 --- a/apps/registry/codemods/react-router/6/use-route-match/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react-router/6/use-route-match", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["react-router", "6.0.0"] -} diff --git a/apps/registry/codemods/react-router/6/use-route-match/package.json b/apps/registry/codemods/react-router/6/use-route-match/package.json index dc8d179fb..75b31e178 100644 --- a/apps/registry/codemods/react-router/6/use-route-match/package.json +++ b/apps/registry/codemods/react-router/6/use-route-match/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.js" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react/19/remove-context-provider/.codemodrc.json b/apps/registry/codemods/react/19/remove-context-provider/.codemodrc.json new file mode 100644 index 000000000..c94e316b2 --- /dev/null +++ b/apps/registry/codemods/react/19/remove-context-provider/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "name": "react/19/remove-context-provider", + "private": false, + "engine": "jscodeshift", + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "applicability": [["react", "<=", "18"]] +} diff --git a/apps/registry/codemods/react/19/remove-context-provider/README.md b/apps/registry/codemods/react/19/remove-context-provider/README.md index 37316b10c..fa1b733d5 100644 --- a/apps/registry/codemods/react/19/remove-context-provider/README.md +++ b/apps/registry/codemods/react/19/remove-context-provider/README.md @@ -32,30 +32,4 @@ function App() { ); } -``` - -## Applicability Criteria - -React <=18 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) +``` \ No newline at end of file diff --git a/apps/registry/codemods/react/19/remove-context-provider/config.json b/apps/registry/codemods/react/19/remove-context-provider/config.json deleted file mode 100644 index dd749b515..000000000 --- a/apps/registry/codemods/react/19/remove-context-provider/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "engine": "jscodeshift", - "owner": "Codemod.com" -} diff --git a/apps/registry/codemods/react/19/remove-context-provider/package.json b/apps/registry/codemods/react/19/remove-context-provider/package.json index 17dafe385..12f8b3ccf 100644 --- a/apps/registry/codemods/react/19/remove-context-provider/package.json +++ b/apps/registry/codemods/react/19/remove-context-provider/package.json @@ -1,30 +1,30 @@ { - "name": "@codemod-com/codemod-react-19-remove-context-provider", - "dependencies": {}, - "devDependencies": { - "@codemod-com/utilities": "workspace:*", - "@codemod-com/registry-cjs-builder": "workspace:*", - "typescript": "^5.2.2", - "esbuild": "0.19.5", - "ts-node": "^10.9.1", - "jscodeshift": "^0.15.1", - "@types/jscodeshift": "^0.11.10", - "vitest": "^1.0.1", - "@vitest/coverage-v8": "^1.0.1" - }, - "main": "./dist/index.cjs", - "types": "/dist/index.d.ts", - "scripts": { - "build:cjs": "cjs-builder ./src/index.ts", - "test": "vitest run", - "test:watch": "vitest watch", - "coverage": "vitest run --coverage" - }, - "files": [ - "README.md", - "config.json", - "./dist/index.cjs", - "./index.d.ts" - ], - "type": "module" + "name": "@codemod-com/codemod-react-19-remove-context-provider", + "dependencies": {}, + "devDependencies": { + "@codemod-com/utilities": "workspace:*", + "@codemod-com/registry-cjs-builder": "workspace:*", + "typescript": "^5.2.2", + "esbuild": "0.19.5", + "ts-node": "^10.9.1", + "jscodeshift": "^0.15.1", + "@types/jscodeshift": "^0.11.10", + "vitest": "^1.0.1", + "@vitest/coverage-v8": "^1.0.1" + }, + "main": "./dist/index.cjs", + "types": "/dist/index.d.ts", + "scripts": { + "build:cjs": "cjs-builder ./src/index.ts", + "test": "vitest run", + "test:watch": "vitest watch", + "coverage": "vitest run --coverage" + }, + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], + "type": "module" } diff --git a/apps/registry/codemods/react/19/remove-forward-ref/.codemodrc.json b/apps/registry/codemods/react/19/remove-forward-ref/.codemodrc.json new file mode 100644 index 000000000..5ef01a303 --- /dev/null +++ b/apps/registry/codemods/react/19/remove-forward-ref/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react/19/remove-forward-ref", + "description": "Codemod to remove React.forwardRef function that will be deprecated in next major React release", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "applicability": [["react", "<=", "18"]] +} diff --git a/apps/registry/codemods/react/19/remove-forward-ref/README.md b/apps/registry/codemods/react/19/remove-forward-ref/README.md index b175ff591..484713f7a 100644 --- a/apps/registry/codemods/react/19/remove-forward-ref/README.md +++ b/apps/registry/codemods/react/19/remove-forward-ref/README.md @@ -23,27 +23,3 @@ const MyInput = function MyInput({ ref, ...otherProps }) { // ... }; ``` - -## Applicability Criteria - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) diff --git a/apps/registry/codemods/react/19/remove-forward-ref/config.json b/apps/registry/codemods/react/19/remove-forward-ref/config.json deleted file mode 100644 index 81a96b352..000000000 --- a/apps/registry/codemods/react/19/remove-forward-ref/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react/remove-forward-ref", - "description": "Codemod to remove React.forwardRef function that will be deprecated in next major React release", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "owner": "Codemod.com" -} diff --git a/apps/registry/codemods/react/19/remove-forward-ref/package.json b/apps/registry/codemods/react/19/remove-forward-ref/package.json index 66e7f7268..8117d63a7 100644 --- a/apps/registry/codemods/react/19/remove-forward-ref/package.json +++ b/apps/registry/codemods/react/19/remove-forward-ref/package.json @@ -21,8 +21,8 @@ "coverage": "vitest run --coverage" }, "files": [ - "README.md", - "config.json", + "./README.md", + "./.codemodrc.json", "./dist/index.cjs", "./index.d.ts" ], diff --git a/apps/registry/codemods/react/19/remove-memoization-hooks/.codemodrc.json b/apps/registry/codemods/react/19/remove-memoization-hooks/.codemodrc.json new file mode 100644 index 000000000..636a2d38a --- /dev/null +++ b/apps/registry/codemods/react/19/remove-memoization-hooks/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "name": "react/19/remove-memoization", + "private": false, + "engine": "jscodeshift", + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "applicability": [["react", "<=", "18"]] +} diff --git a/apps/registry/codemods/react/19/remove-memoization-hooks/README.md b/apps/registry/codemods/react/19/remove-memoization-hooks/README.md index 32094a491..c505093e2 100644 --- a/apps/registry/codemods/react/19/remove-memoization-hooks/README.md +++ b/apps/registry/codemods/react/19/remove-memoization-hooks/README.md @@ -3,29 +3,3 @@ ## Description This codemod will remove manual memoization hooks: `useCallback`, `useMemo` and `memo`. This codemod goes hand in hand with React Compiler. - -## Applicability Criteria - -React <=18 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) diff --git a/apps/registry/codemods/react/19/remove-memoization-hooks/config.json b/apps/registry/codemods/react/19/remove-memoization-hooks/config.json deleted file mode 100644 index dd749b515..000000000 --- a/apps/registry/codemods/react/19/remove-memoization-hooks/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "engine": "jscodeshift", - "owner": "Codemod.com" -} diff --git a/apps/registry/codemods/react/19/remove-memoization-hooks/package.json b/apps/registry/codemods/react/19/remove-memoization-hooks/package.json index 076fa5923..6471ccc76 100644 --- a/apps/registry/codemods/react/19/remove-memoization-hooks/package.json +++ b/apps/registry/codemods/react/19/remove-memoization-hooks/package.json @@ -1,30 +1,30 @@ { - "name": "@codemod-com/codemod-react-19-remove-memoization-hooks", - "dependencies": {}, - "devDependencies": { - "@codemod-com/utilities": "workspace:*", - "@codemod-com/registry-cjs-builder": "workspace:*", - "typescript": "^5.2.2", - "esbuild": "0.19.5", - "ts-node": "^10.9.1", - "jscodeshift": "^0.15.1", - "@types/jscodeshift": "^0.11.10", - "vitest": "^1.0.1", - "@vitest/coverage-v8": "^1.0.1" - }, - "main": "./dist/index.cjs", - "types": "/dist/index.d.ts", - "scripts": { - "build:cjs": "cjs-builder ./src/index.ts", - "test": "vitest run", - "test:watch": "vitest watch", - "coverage": "vitest run --coverage" - }, - "files": [ - "README.md", - "config.json", - "./dist/index.cjs", - "./index.d.ts" - ], - "type": "module" + "name": "@codemod-com/codemod-react-19-remove-memoization-hooks", + "dependencies": {}, + "devDependencies": { + "@codemod-com/utilities": "workspace:*", + "@codemod-com/registry-cjs-builder": "workspace:*", + "typescript": "^5.2.2", + "esbuild": "0.19.5", + "ts-node": "^10.9.1", + "jscodeshift": "^0.15.1", + "@types/jscodeshift": "^0.11.10", + "vitest": "^1.0.1", + "@vitest/coverage-v8": "^1.0.1" + }, + "main": "./dist/index.cjs", + "types": "/dist/index.d.ts", + "scripts": { + "build:cjs": "cjs-builder ./src/index.ts", + "test": "vitest run", + "test:watch": "vitest watch", + "coverage": "vitest run --coverage" + }, + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], + "type": "module" } diff --git a/apps/registry/codemods/react/19/use-context-hook/.codemodrc.json b/apps/registry/codemods/react/19/use-context-hook/.codemodrc.json new file mode 100644 index 000000000..8d0c7ab3f --- /dev/null +++ b/apps/registry/codemods/react/19/use-context-hook/.codemodrc.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0", + "name": "react/19/use-context-hook", + "private": false, + "engine": "jscodeshift", + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "applicability": [["react", "<=", "18"]] +} diff --git a/apps/registry/codemods/react/19/use-context-hook/README.md b/apps/registry/codemods/react/19/use-context-hook/README.md index e6aee8225..14b6f0040 100644 --- a/apps/registry/codemods/react/19/use-context-hook/README.md +++ b/apps/registry/codemods/react/19/use-context-hook/README.md @@ -23,33 +23,3 @@ import ThemeContext from "./ThemeContext"; const theme = use(ThemeContext); ``` - -## Applicability Criteria - -React <=18 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Codemod.com](https://github.com/codemod-com) - -### Links for more info - -- https://react.dev/reference/react/use#reading-context-with-use \ No newline at end of file diff --git a/apps/registry/codemods/react/19/use-context-hook/config.json b/apps/registry/codemods/react/19/use-context-hook/config.json deleted file mode 100644 index dd749b515..000000000 --- a/apps/registry/codemods/react/19/use-context-hook/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "engine": "jscodeshift", - "owner": "Codemod.com" -} diff --git a/apps/registry/codemods/react/19/use-context-hook/package.json b/apps/registry/codemods/react/19/use-context-hook/package.json index d826e6eac..c61115550 100644 --- a/apps/registry/codemods/react/19/use-context-hook/package.json +++ b/apps/registry/codemods/react/19/use-context-hook/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react/19/use-context-hook/src/index.ts b/apps/registry/codemods/react/19/use-context-hook/src/index.ts index ef632d69a..fcf38f827 100644 --- a/apps/registry/codemods/react/19/use-context-hook/src/index.ts +++ b/apps/registry/codemods/react/19/use-context-hook/src/index.ts @@ -8,13 +8,62 @@ export default function transform( const j = api.jscodeshift; const root = j(file.source); - root.find(j.Identifier, { name: "useContext" }).forEach((path) => { - if (path.node.type === "Identifier") { + // Get default import from react + const defaultReactImport = + root + .find(j.ImportDeclaration, { + source: { value: "react" }, + specifiers: [{ type: "ImportDefaultSpecifier" }], + }) + .paths() + .at(0) + ?.node.specifiers?.at(0)?.local?.name ?? "React"; + + // For usages like `import React from 'react'; React.useContext(ThemeContext)` + root + .find(j.MemberExpression, { + object: { name: defaultReactImport }, + property: { name: "useContext" }, + }) + .forEach((path) => { + const identifierPath = j(path) + .find(j.Identifier, { name: "useContext" }) + .paths() + .at(0); + const newIdentifier = j.identifier.from({ name: "use" }); - path.replace(newIdentifier); - } - }); + identifierPath?.replace(newIdentifier); + }); + + // Get useContext import name + const useContextImport = root + .find(j.ImportDeclaration, { + source: { value: "react" }, + specifiers: [ + { type: "ImportSpecifier", imported: { name: "useContext" } }, + ], + }) + .paths() + .at(0) + ?.node.specifiers?.at(0)?.local?.name; + + if (useContextImport) { + // For usages like `import { useContext } from 'react'; useContext(ThemeContext)` + root.find(j.Identifier, { name: useContextImport }).forEach((path) => { + // If parent is a member expression, we don't want that change, we handle React.useContext separately + if (path.parentPath.node.type === "MemberExpression") { + return; + } + + // In all other cases, replace usages of imported useContext with use + if (path.node.type === "Identifier") { + const newIdentifier = j.identifier.from({ name: "use" }); + + path.replace(newIdentifier); + } + }); + } return root.toSource(); } diff --git a/apps/registry/codemods/react/19/use-context-hook/test/test.ts b/apps/registry/codemods/react/19/use-context-hook/test/test.ts index db67d25d8..719a42eea 100644 --- a/apps/registry/codemods/react/19/use-context-hook/test/test.ts +++ b/apps/registry/codemods/react/19/use-context-hook/test/test.ts @@ -61,4 +61,25 @@ describe("useContext -> use", () => { assert.deepEqual(actualOutput, output); }); + + it("should not replace any.useContext() with use", async () => { + const input = ` + const theme = trpc.useContext(); + `; + + const output = ` + const theme = trpc.useContext(); + `; + + const fileInfo: FileInfo = { + path: "index.js", + source: input, + }; + + const actualOutput = transform(fileInfo, buildApi("js"), { + quote: "single", + }); + + assert.deepEqual(actualOutput, output); + }); }); diff --git a/apps/registry/codemods/react/prop-types-typescript/config.json b/apps/registry/codemods/react/prop-types-typescript/.codemodrc.json similarity index 67% rename from apps/registry/codemods/react/prop-types-typescript/config.json rename to apps/registry/codemods/react/prop-types-typescript/.codemodrc.json index 19695e865..2c69baec3 100644 --- a/apps/registry/codemods/react/prop-types-typescript/config.json +++ b/apps/registry/codemods/react/prop-types-typescript/.codemodrc.json @@ -1,10 +1,12 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "name": "react/prop-types-typescript", "description": "Codemod to convert React PropTypes to TypeScript types.", "engine": "jscodeshift", "extensions": ["js*", "ts*"], - "owner": "Mark Skelton", + "owner": "mskelton", + "applicability": [["react", ">=", "15.0.0"]], "arguments": [ { "name": "preserve-prop-types", @@ -13,5 +15,10 @@ "default": "none", "required": false } - ] + ], + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "30m" + } } diff --git a/apps/registry/codemods/react/prop-types-typescript/README.md b/apps/registry/codemods/react/prop-types-typescript/README.md index fbef23abe..b4902b24e 100644 --- a/apps/registry/codemods/react/prop-types-typescript/README.md +++ b/apps/registry/codemods/react/prop-types-typescript/README.md @@ -42,32 +42,4 @@ interface MyComponentProps { export function MyComponent(props: MyComponentProps) { return ; } -``` - -## Applicability Criteria - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~30 minutes per occurrence - -### Owner - -[Mark Skelton](https://github.com/mskelton/ratchet) - -### Links for more info - -- [Ratchet Codemod](https://github.com/mskelton/ratchet) +``` \ No newline at end of file diff --git a/apps/registry/codemods/react/prop-types-typescript/package.json b/apps/registry/codemods/react/prop-types-typescript/package.json index 714bcc238..6404e663a 100644 --- a/apps/registry/codemods/react/prop-types-typescript/package.json +++ b/apps/registry/codemods/react/prop-types-typescript/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/react/replace-react-fc-typescript/.codemodrc.json b/apps/registry/codemods/react/replace-react-fc-typescript/.codemodrc.json new file mode 100644 index 000000000..53ada9b1f --- /dev/null +++ b/apps/registry/codemods/react/replace-react-fc-typescript/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "react/replace-react-fc-typescript", + "description": "Codemod to replace React.FC when using React with Typescript.", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "owner": "gndelia", + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "5m" + }, + "applicability": [["react", ">=", "15.0.0"]] +} diff --git a/apps/registry/codemods/react/replace-react-fc-typescript/README.md b/apps/registry/codemods/react/replace-react-fc-typescript/README.md index 0e2f6a87e..364151534 100644 --- a/apps/registry/codemods/react/replace-react-fc-typescript/README.md +++ b/apps/registry/codemods/react/replace-react-fc-typescript/README.md @@ -32,34 +32,4 @@ type Props2 = { id: number }; export const MyComponent2 = (props: Props2) => { return {props.id}; }; -``` - -## Applicability Criteria - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -[Gonzalo D'Elia](https://github.com/gndelia) - -### Links for more info - -- [gndelia/codemod-replace-react-fc-typescript](https://github.com/gndelia/codemod-replace-react-fc-typescript/tree/main) -- [facebook/create-react-app - Remove React.FC from Typescript template (PR#8177)](https://github.com/facebook/create-react-app/pull/8177) -- [Spotify Architecture Decision Records - Avoid React.FC and React.SFC](https://backstage.io/docs/architecture-decisions/adrs-adr006) +``` \ No newline at end of file diff --git a/apps/registry/codemods/react/replace-react-fc-typescript/config.json b/apps/registry/codemods/react/replace-react-fc-typescript/config.json deleted file mode 100644 index 775e8060e..000000000 --- a/apps/registry/codemods/react/replace-react-fc-typescript/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "react/replace-react-fc-typescript", - "description": "Codemod to replace React.FC when using React with Typescript.", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "owner": "Gonzalo D'Elia" -} diff --git a/apps/registry/codemods/react/replace-react-fc-typescript/package.json b/apps/registry/codemods/react/replace-react-fc-typescript/package.json index 541d5f445..5ae88eb1d 100644 --- a/apps/registry/codemods/react/replace-react-fc-typescript/package.json +++ b/apps/registry/codemods/react/replace-react-fc-typescript/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/redwoodjs/core/4/auth-decoder/.codemodrc.json b/apps/registry/codemods/redwoodjs/core/4/auth-decoder/.codemodrc.json new file mode 100644 index 000000000..96befcf35 --- /dev/null +++ b/apps/registry/codemods/redwoodjs/core/4/auth-decoder/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "redwoodjs/core/4/auth-decoder", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["@redwoodjs/core", "<", "4.0.0"]], + "owner": "rajasegar", + "meta": { + "type": "migration", + "changeType": "assistive", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/redwoodjs/core/4/auth-decoder/README.md b/apps/registry/codemods/redwoodjs/core/4/auth-decoder/README.md index 0d2e4ad30..f33080bd6 100644 --- a/apps/registry/codemods/redwoodjs/core/4/auth-decoder/README.md +++ b/apps/registry/codemods/redwoodjs/core/4/auth-decoder/README.md @@ -51,30 +51,4 @@ export const handler = createGraphQLHandler({ db.$disconnect(); }, }); -``` - -## Applicability Criteria - -RedwoodJS < v4.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[jscodeshift](https://github.com/facebook/jscodeshift) - -### Estimated Time Saving - -~6 minutes per occurrence - -### Owner - -[Rajasegar Chandran](https://github.com/rajasegar) +``` \ No newline at end of file diff --git a/apps/registry/codemods/redwoodjs/core/4/auth-decoder/config.json b/apps/registry/codemods/redwoodjs/core/4/auth-decoder/config.json deleted file mode 100644 index 57057cedc..000000000 --- a/apps/registry/codemods/redwoodjs/core/4/auth-decoder/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "redwoodjs/core/4/auth-decoder", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["@redwoodjs/core", "4.0.0"] -} diff --git a/apps/registry/codemods/redwoodjs/core/4/auth-decoder/package.json b/apps/registry/codemods/redwoodjs/core/4/auth-decoder/package.json index 38725b32b..cc25cb9be 100644 --- a/apps/registry/codemods/redwoodjs/core/4/auth-decoder/package.json +++ b/apps/registry/codemods/redwoodjs/core/4/auth-decoder/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/redwoodjs/core/4/redwood-apollo-provider/.codemodrc.json b/apps/registry/codemods/redwoodjs/core/4/redwood-apollo-provider/.codemodrc.json new file mode 100644 index 000000000..83df1f4a5 --- /dev/null +++ b/apps/registry/codemods/redwoodjs/core/4/redwood-apollo-provider/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "redwoodjs/core/4/redwood-apollo-provider", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["@redwoodjs/core", "<", "4.0.0"]], + "owner": "rajasegar", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/redwoodjs/core/4/redwood-apollo-provider/README.md b/apps/registry/codemods/redwoodjs/core/4/redwood-apollo-provider/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/redwoodjs/core/4/redwood-apollo-provider/config.json b/apps/registry/codemods/redwoodjs/core/4/redwood-apollo-provider/config.json deleted file mode 100644 index e13d841a1..000000000 --- a/apps/registry/codemods/redwoodjs/core/4/redwood-apollo-provider/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "redwoodjs/core/4/redwood-apollo-provider", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["@redwoodjs/core", "4.0.0"] -} diff --git a/apps/registry/codemods/redwoodjs/core/4/redwood-apollo-provider/package.json b/apps/registry/codemods/redwoodjs/core/4/redwood-apollo-provider/package.json index ed73b3d4c..9ebc746e9 100644 --- a/apps/registry/codemods/redwoodjs/core/4/redwood-apollo-provider/package.json +++ b/apps/registry/codemods/redwoodjs/core/4/redwood-apollo-provider/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/redwoodjs/core/4/router-use-auth/.codemodrc.json b/apps/registry/codemods/redwoodjs/core/4/router-use-auth/.codemodrc.json new file mode 100644 index 000000000..2f63d1233 --- /dev/null +++ b/apps/registry/codemods/redwoodjs/core/4/router-use-auth/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "redwoodjs/core/4/router-use-auth", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["@redwoodjs/core", "<", "4.0.0"]], + "owner": "rajasegar", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/redwoodjs/core/4/router-use-auth/README.md b/apps/registry/codemods/redwoodjs/core/4/router-use-auth/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/redwoodjs/core/4/router-use-auth/config.json b/apps/registry/codemods/redwoodjs/core/4/router-use-auth/config.json deleted file mode 100644 index 366f360b5..000000000 --- a/apps/registry/codemods/redwoodjs/core/4/router-use-auth/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "redwoodjs/core/4/router-use-auth", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["@redwoodjs/core", "4.0.0"] -} diff --git a/apps/registry/codemods/redwoodjs/core/4/router-use-auth/package.json b/apps/registry/codemods/redwoodjs/core/4/router-use-auth/package.json index 63b8562b6..9e502d59e 100644 --- a/apps/registry/codemods/redwoodjs/core/4/router-use-auth/package.json +++ b/apps/registry/codemods/redwoodjs/core/4/router-use-auth/package.json @@ -20,6 +20,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/redwoodjs/core/4/use-armor/.codemodrc.json b/apps/registry/codemods/redwoodjs/core/4/use-armor/.codemodrc.json new file mode 100644 index 000000000..2b66fe0e9 --- /dev/null +++ b/apps/registry/codemods/redwoodjs/core/4/use-armor/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "redwoodjs/core/4/use-armor", + "deps": ["vitest@latest"], + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "applicability": [["@redwoodjs/core", "<", "4.0.0"]], + "owner": "rajasegar", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + } +} diff --git a/apps/registry/codemods/redwoodjs/core/4/use-armor/README.md b/apps/registry/codemods/redwoodjs/core/4/use-armor/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/apps/registry/codemods/redwoodjs/core/4/use-armor/config.json b/apps/registry/codemods/redwoodjs/core/4/use-armor/config.json deleted file mode 100644 index 255719d41..000000000 --- a/apps/registry/codemods/redwoodjs/core/4/use-armor/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "redwoodjs/core/4/use-armor", - "description": "", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "dependencyVersionLowerThan": ["@redwoodjs/core", "4.0.0"] -} diff --git a/apps/registry/codemods/redwoodjs/core/4/use-armor/package.json b/apps/registry/codemods/redwoodjs/core/4/use-armor/package.json index dbf25444d..f0dde0455 100644 --- a/apps/registry/codemods/redwoodjs/core/4/use-armor/package.json +++ b/apps/registry/codemods/redwoodjs/core/4/use-armor/package.json @@ -15,6 +15,11 @@ "main": "./dist/index.cjs", "types": "/dist/index.d.ts", "scripts": { "build:cjs": "cjs-builder ./src/index.js" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/remove-unused-feature-flags-2/config.json b/apps/registry/codemods/remove-unused-feature-flags-2/.codemodrc.json similarity index 60% rename from apps/registry/codemods/remove-unused-feature-flags-2/config.json rename to apps/registry/codemods/remove-unused-feature-flags-2/.codemodrc.json index c599a14e9..effa366db 100644 --- a/apps/registry/codemods/remove-unused-feature-flags-2/config.json +++ b/apps/registry/codemods/remove-unused-feature-flags-2/.codemodrc.json @@ -1,6 +1,10 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "engine": "filemod", + "name": "remove-unused-feature-flags-2", + "applicability": [], + "owner": "codemod.com", "arguments": [ { "name": "fileMarker", @@ -20,5 +24,10 @@ "default": "", "required": true } - ] + ], + "meta": { + "type": "cleanup", + "changeType": "autonomous", + "timeSave": "5m" + } } diff --git a/apps/registry/codemods/remove-unused-feature-flags-2/README.md b/apps/registry/codemods/remove-unused-feature-flags-2/README.md index 111e3a960..37afefeb3 100644 --- a/apps/registry/codemods/remove-unused-feature-flags-2/README.md +++ b/apps/registry/codemods/remove-unused-feature-flags-2/README.md @@ -26,30 +26,4 @@ export async function Component() { export async function Component() { const a = true; } -``` - -## Applicability Criteria - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~5 minutes per occurrence - -### Owner - -Codemod.com - -### Links for more info +``` \ No newline at end of file diff --git a/apps/registry/codemods/remove-unused-feature-flags-2/package.json b/apps/registry/codemods/remove-unused-feature-flags-2/package.json index 0bb92a87a..b3de58f32 100644 --- a/apps/registry/codemods/remove-unused-feature-flags-2/package.json +++ b/apps/registry/codemods/remove-unused-feature-flags-2/package.json @@ -23,6 +23,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/typescript/remove-public-modifier/config.json b/apps/registry/codemods/typescript/remove-public-modifier/.codemodrc.json similarity index 50% rename from apps/registry/codemods/typescript/remove-public-modifier/config.json rename to apps/registry/codemods/typescript/remove-public-modifier/.codemodrc.json index 6e3ee7d87..72bf26383 100644 --- a/apps/registry/codemods/typescript/remove-public-modifier/config.json +++ b/apps/registry/codemods/typescript/remove-public-modifier/.codemodrc.json @@ -1,8 +1,15 @@ { - "schemaVersion": "1.0.0", + "version": "1.0.0", + "private": false, "name": "typescript/remove-public-modifier", "description": "This codemod removes public modifier in interface declarations as it is implicit.", "engine": "jscodeshift", "extensions": ["js*", "ts*"], - "owner": "Codemod.com" + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "applicability": [["typescript", ">=", "1.4.0"]] } diff --git a/apps/registry/codemods/typescript/remove-public-modifier/README.md b/apps/registry/codemods/typescript/remove-public-modifier/README.md index 7da831381..812c356d4 100644 --- a/apps/registry/codemods/typescript/remove-public-modifier/README.md +++ b/apps/registry/codemods/typescript/remove-public-modifier/README.md @@ -33,29 +33,3 @@ class MyClass { } } ``` - -## Applicability Criteria - -TypeScript version higher or equal to 1.4. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~1 minute per occurrence - -### Owner - -[Codemod.com](https://codemod.com) diff --git a/apps/registry/codemods/typescript/remove-public-modifier/package.json b/apps/registry/codemods/typescript/remove-public-modifier/package.json index 94f2218c2..30ed50659 100644 --- a/apps/registry/codemods/typescript/remove-public-modifier/package.json +++ b/apps/registry/codemods/typescript/remove-public-modifier/package.json @@ -21,6 +21,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/codemods/typescript/use-template-literals/.codemodrc.json b/apps/registry/codemods/typescript/use-template-literals/.codemodrc.json new file mode 100644 index 000000000..e32d1f463 --- /dev/null +++ b/apps/registry/codemods/typescript/use-template-literals/.codemodrc.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "private": false, + "name": "typescript/use-template-literals", + "description": "This codemod replaces string concatenations with template literals.", + "engine": "jscodeshift", + "extensions": ["js*", "ts*"], + "owner": "codemod.com", + "meta": { + "type": "migration", + "changeType": "autonomous", + "timeSave": "5m" + }, + "applicability": [["typescript", ">=", "1.4.0"]] +} diff --git a/apps/registry/codemods/typescript/use-template-literals/README.md b/apps/registry/codemods/typescript/use-template-literals/README.md index 966c38d58..dade2d986 100644 --- a/apps/registry/codemods/typescript/use-template-literals/README.md +++ b/apps/registry/codemods/typescript/use-template-literals/README.md @@ -19,29 +19,3 @@ const greeting = 'Hello, ' + name + '!'; const name = 'John'; const greeting = `Hello, ${name}!`; ``` - -## Applicability Criteria - -TypeScript version higher or equal to 1.4. - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Autonomous**: Changes can safely be pushed and merged without further human involvement. - -### **Codemod Engine** - -jscodeshift - -### Estimated Time Saving - -~2 minutes per occurrence - -### Owner - -[Codemod.com](https://codemod.com) diff --git a/apps/registry/codemods/typescript/use-template-literals/config.json b/apps/registry/codemods/typescript/use-template-literals/config.json deleted file mode 100644 index 7149a03c7..000000000 --- a/apps/registry/codemods/typescript/use-template-literals/config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "schemaVersion": "1.0.0", - "name": "typescript/use-template-literals", - "description": "This codemod replaces string concatenations with template literals.", - "engine": "jscodeshift", - "extensions": ["js*", "ts*"], - "owner": "Codemod.com" -} diff --git a/apps/registry/codemods/typescript/use-template-literals/package.json b/apps/registry/codemods/typescript/use-template-literals/package.json index 92108aa91..9bdc5cc71 100644 --- a/apps/registry/codemods/typescript/use-template-literals/package.json +++ b/apps/registry/codemods/typescript/use-template-literals/package.json @@ -21,6 +21,11 @@ "test:watch": "vitest watch", "coverage": "vitest run --coverage" }, - "files": ["README.md", "config.json", "./dist/index.cjs", "./index.d.ts"], + "files": [ + "./README.md", + "./.codemodrc.json", + "./dist/index.cjs", + "./index.d.ts" + ], "type": "module" } diff --git a/apps/registry/creator/buildPackageJsonData.ts b/apps/registry/creator/buildPackageJsonData.ts index 1cf9f90cd..92f98e3df 100644 --- a/apps/registry/creator/buildPackageJsonData.ts +++ b/apps/registry/creator/buildPackageJsonData.ts @@ -54,7 +54,7 @@ export const buildPackageJsonData = (argv: ArgvSchema): string => { } : undefined; - const files: string[] = ["README.md", "config.json"]; + const files: string[] = ["README.md", ".codemodrc.json"]; if (jsEngineUsed) { files.push("./dist/index.cjs", "./index.d.ts"); diff --git a/apps/registry/creator/index.ts b/apps/registry/creator/index.ts index 1e2beb2e3..68da6aef5 100644 --- a/apps/registry/creator/index.ts +++ b/apps/registry/creator/index.ts @@ -105,7 +105,7 @@ const main = async () => { { const data = buildConfigJsonData(argv); - await writeFile(join(codemodDirectoryPath, "./config.json"), data); + await writeFile(join(codemodDirectoryPath, "./.codemodrc.json"), data); } { diff --git a/apps/registry/package.json b/apps/registry/package.json index 06b6d14e7..fa616435a 100644 --- a/apps/registry/package.json +++ b/apps/registry/package.json @@ -4,7 +4,7 @@ "author": "Codemod, Inc.", "packageManager": "pnpm@8.9.0", "scripts": { - "build": "turbo run build:cjs && pnpm --filter @codemod-com/builder build:registry && pnpm --filter @codemod-com/readme-parser build:registry", + "build": "turbo run build:cjs && pnpm --filter @codemod-com/builder build:registry", "build:homedir": "turbo run build:cjs && pnpm --filter @codemod-com/builder build:homedir", "create": "turbo run create", "test": "vitest run test.ts", diff --git a/apps/registry/readme-parser/build.ts b/apps/registry/readme-parser/build.ts deleted file mode 100644 index 0e3a550a9..000000000 --- a/apps/registry/readme-parser/build.ts +++ /dev/null @@ -1,29 +0,0 @@ -import esbuild from "esbuild"; - -const getOptions = (fileName: string): Parameters[0] => { - return { - entryPoints: [`${fileName}.ts`], - banner: { - js: ` - // BANNER START - const require = (await import("node:module")).createRequire(import.meta.url); - const __filename = (await import("node:url")).fileURLToPath(import.meta.url); - const __dirname = (await import("node:path")).dirname(__filename); - // BANNER END - `, - }, - bundle: true, - platform: "node", - minify: true, - minifyWhitespace: true, - format: "esm", - outfile: `./dist/${fileName}.js`, - }; -}; - -const build = async () => { - await esbuild.build(getOptions("parse")); - await esbuild.build(getOptions("sync")); -}; - -build(); diff --git a/apps/registry/readme-parser/package.json b/apps/registry/readme-parser/package.json deleted file mode 100644 index 9fb37e4e6..000000000 --- a/apps/registry/readme-parser/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "@codemod-com/readme-parser", - "type": "module", - "dependencies": { - "js-yaml": "4.1.0", - "mdast-util-from-markdown": "2.0.0", - "simple-git": "^3.21.0", - "valibot": "^0.24.1" - }, - "devDependencies": { - "@types/js-yaml": "4.0.9", - "@types/mdast": "4.0.3", - "@types/node": "20.10.4", - "esbuild": "^0.19.7", - "tsx": "^4.7.0", - "typescript": "5.3.3", - "vitest": "1.0.4" - }, - "scripts": { "build:registry": "tsx build.ts", "test": "vitest" } -} diff --git a/apps/registry/readme-parser/parse.test.ts b/apps/registry/readme-parser/parse.test.ts deleted file mode 100644 index f20787490..000000000 --- a/apps/registry/readme-parser/parse.test.ts +++ /dev/null @@ -1,255 +0,0 @@ -import { deepEqual } from "assert"; -import { createHash } from "crypto"; -import { afterEach, beforeEach, describe, it, vi } from "vitest"; -import { convertToYaml, parse } from "./parse.js"; - -const DATA = ` -# Do the thing - -## Description - -This is an amazing codemod which does \`the thing\`. Changes: - -### WARNING - -This codemod does the thing - -Following the original msw [upgrade guide](https://mswjs.io/docs/migrations/1.x-to-2.x/#imports), there are certain imports that changed their location and/or naming. This codemod will adjust your imports to the new location and naming. - -- \`setupWorker\` is now imported from \`msw/browser\` -- \`rest\` from \`msw\` is now named \`http\` -- \`RestHandler\` from \`msw\` is now named \`HttpHandler\` - -## Example - -### \`tsconfig.json\` - -### Before - -\`\`\`ts -http.get('/resource', (req, res, ctx) => { - return res(ctx.json({ firstName: 'John' })); -}); -\`\`\` - -### After - -\`\`\`ts -http.get('/resource', (req, res, ctx) => { - return res(ctx.json({ firstName: 'John' })); -}); -\`\`\` - -### **engine.tsx** - -### Before - -\`\`\`ts -http.get('/resource', (req, res, ctx) => { - return res(ctx.json({ firstName: 'John' })); -}); -\`\`\` - -### After - -\`\`\`ts -http.get('/resource', (req, res, ctx) => { - return res(ctx.json({ firstName: 'John' })); -}); -\`\`\` - -## Applicability Criteria - -\`MSW\` >= 1.0.0 - -## Other Metadata - -### Codemod Version - -v1.0.0 - -### Change Mode - -**Assistive**: The automation partially completes changes. Human involvement is needed to make changes ready to be pushed and merged. - -### **Codemod Engine** - -[ts-morph](https://github.com/dsherret/ts-morph) - -### Estimated Time Saving - -5 minutes per occurrence -Maybe more... - -### Owner - -[The Author](https://github.com/author) - -### Links for more info - -- [Link1](https://example.com/) -- [Link2](https://example1.com/) -`; - -describe("parse/yaml", () => { - const parseResult = parse(DATA); - - it("should parse correctly", async () => { - deepEqual(parseResult, { - name: "Do the thing", - description: - "This is an amazing codemod which does `the thing`. Changes:\n\n\n### WARNING\n\nThis codemod does the thing\n" + - "Following the original msw [upgrade guide](https://mswjs.io/docs/migrations/1.x-to-2.x/#imports), " + - "there are certain imports that changed their location and/or naming. This codemod will adjust your imports to the new location and naming.\n" + - " - `setupWorker` is now imported from `msw/browser`\n" + - " - `rest` from `msw` is now named `http`\n" + - " - `RestHandler` from `msw` is now named `HttpHandler`", - examples: - "\n### `tsconfig.json`\n\n" + - "### Before\n\n" + - "```ts\n\n" + - "http.get('/resource', (req, res, ctx) => {\n" + - " return res(ctx.json({ firstName: 'John' }));\n" + - "});\n\n" + - "```\n\n" + - "### After\n\n" + - "```ts\n\n" + - "http.get('/resource', (req, res, ctx) => {\n" + - " return res(ctx.json({ firstName: 'John' }));\n" + - "});\n\n" + - "```\n\n" + - "### **engine.tsx**\n\n" + - "### Before\n\n" + - "```ts\n\n" + - "http.get('/resource', (req, res, ctx) => {\n" + - " return res(ctx.json({ firstName: 'John' }));\n" + - "});\n\n" + - "```\n\n" + - "### After\n\n" + - "```ts\n\n" + - "http.get('/resource', (req, res, ctx) => {\n" + - " return res(ctx.json({ firstName: 'John' }));\n" + - "});\n\n" + - "```", - applicability: "`MSW` >= 1.0.0", - version: "1.0.0", - changeMode: "assistive", - engine: "ts-morph", - timeSave: "5 minutes/occurrence\nMaybe more...", - owner: "The Author", - links: "https://example.com/,https://example1.com/", - }); - }); - - it("should output correct YAML", async () => { - beforeEach(() => { - vi.useFakeTimers(); - }); - - afterEach(() => { - vi.useRealTimers(); - }); - - // 5th Dec 2023 - const date = new Date(2023, 11, 5); - vi.setSystemTime(date); - - const yaml = convertToYaml( - parseResult, - "apps/registry/codemods/msw/2/imports/README.md", - ); - - const vscodeHashDigest = createHash("ripemd160") - .update("msw/2/imports") - .digest("base64url"); - - deepEqual( - yaml, - ` -created-on: ${date.toISOString()} -f_long-description: >- - ## Description - - - This is an amazing codemod which does \`the thing\`. Changes: - - - ### WARNING - - This codemod does the thing - Following the original msw [upgrade guide](https://mswjs.io/docs/migrations/1.x-to-2.x/#imports), there are certain imports that changed their location and/or naming. This codemod will adjust your imports to the new location and naming. - - \`setupWorker\` is now imported from \`msw/browser\` - - \`rest\` from \`msw\` is now named \`http\` - - \`RestHandler\` from \`msw\` is now named \`HttpHandler\` - - - - ### \`tsconfig.json\` - - ### Before - - \`\`\`ts - - http.get('/resource', (req, res, ctx) => { - return res(ctx.json({ firstName: 'John' })); - }); - - \`\`\` - - ### After - - \`\`\`ts - - http.get('/resource', (req, res, ctx) => { - return res(ctx.json({ firstName: 'John' })); - }); - - \`\`\` - - ### **engine.tsx** - - ### Before - - \`\`\`ts - - http.get('/resource', (req, res, ctx) => { - return res(ctx.json({ firstName: 'John' })); - }); - - \`\`\` - - ### After - - \`\`\`ts - - http.get('/resource', (req, res, ctx) => { - return res(ctx.json({ firstName: 'John' })); - }); - - \`\`\` -f_github-link: https://github.com/codemod-com/codemod/tree/main/apps/registry/codemods/msw/2/imports -f_vs-code-link: vscode://codemod.codemod-vscode-extension/showCodemod?chd=${vscodeHashDigest} -f_cli-command: codemod msw/2/imports -f_framework: cms/framework/msw.md -f_applicability-criteria: "\`MSW\` >= 1.0.0" -f_verified-codemod: false -f_author: cms/authors/the-author.md -layout: "[automations].html" -slug: msw-2-imports -title: Msw V2 - Do the thing -f_slug-name: msw-2-imports -f_codemod-engine: cms/codemod-engines/ts-morph.md -f_change-mode-2: Assistive -f_estimated-time-saving: >- - 5 minutes/occurrence - Maybe more... -tags: automations -updated-on: ${date.toISOString()} -published-on: ${date.toISOString()} -seo: - title: Msw V2 - Do the thing - description: This is an amazing codemod which does the thing - `.trim(), - ); - }); -}); diff --git a/apps/registry/readme-parser/parse.ts b/apps/registry/readme-parser/parse.ts deleted file mode 100644 index 1a23e2216..000000000 --- a/apps/registry/readme-parser/parse.ts +++ /dev/null @@ -1,477 +0,0 @@ -/* DO NOT LOG ANYTHING. IT WILL BE APPENDED TO THE TOP OF THE GENERATED STRING */ - -import { createHash } from "crypto"; -import { readFileSync } from "fs"; -import * as nodePath from "node:path"; -import type { Heading, PhrasingContent, RootContent } from "mdast"; -import { fromMarkdown } from "mdast-util-from-markdown"; -import { is, object, optional, string } from "valibot"; - -const configJsonSchema = object({ - schemaVersion: optional(string()), - name: optional(string()), - engine: string(), -}); - -const UNESCAPED = ["inlineCode", "link"]; - -const noFirstLetterLowerCase = (str: string) => - str.length ? str[0] + str.slice(1).toLowerCase() : str; - -const capitalize = (str: string) => - str[0] ? str[0].toUpperCase() + str.slice(1) : str; - -// TODO: -// const getStyledValue = (node) => {}; - -const getTextFromNode = ( - node: RootContent | PhrasingContent | null, - style = false, -): string | null => { - if (!node) { - return null; - } - - if ("value" in node) { - if (node.type === "inlineCode") { - return `\`${node.value}\``; - } - - return node.value; - } - - if ("children" in node) { - let textContent = ""; - for (const child of node.children) { - if (!style) { - textContent += getTextFromNode(child, style); - continue; - } - - if (node.type === "strong") { - textContent += `**${getTextFromNode(child, style)}**`; - } else { - textContent += getTextFromNode(child, style); - } - } - - return textContent; - } - - return null; -}; - -const getUrlFromNode = ( - node: RootContent | PhrasingContent | null, -): string | null => { - if (!node) { - return null; - } - - if ("url" in node) { - return node.url; - } - - if ("children" in node) { - return getUrlFromNode(node.children[0] ?? null); - } - - return null; -}; - -const getHeading = ( - rootContents: ReadonlyArray, - depth: 1 | 2 | 3, - name: string | null, -): Heading | null => { - for (const rootContent of rootContents) { - if (rootContent.type !== "heading") { - continue; - } - - if (name !== null) { - const headerTitle = getTextFromNode(rootContent); - - if ( - !headerTitle || - !noFirstLetterLowerCase(headerTitle).startsWith( - noFirstLetterLowerCase(name), - ) - ) { - continue; - } - } - - if (rootContent.depth === depth) { - return rootContent; - } - } - - return null; -}; - -const getTextByHeader = ( - rootContents: ReadonlyArray, - heading: Heading, - delimiter: string, -) => { - const headerIndex = rootContents.findIndex( - (rc) => rc.position?.start.line === heading.position?.start.line, - ); - const nextHeaderIndex = rootContents.findIndex( - (rc) => - rc.type === "heading" && - rc.position?.start.line && - heading.position?.start.line && - rc.position?.start.line > heading.position?.start.line && - rc.depth === heading.depth, - ); - - const contentParts = rootContents.slice( - headerIndex + 1, - nextHeaderIndex > -1 ? nextHeaderIndex : undefined, - ); - - const textParts: string[] = []; - - for (const rc of contentParts) { - if ("children" in rc) { - rc.children - .map((child, idx, arr) => { - const isDescription = - getTextFromNode(heading)?.includes("Description"); - - const isLinks = getTextFromNode(heading)?.includes("Links"); - - // Preserve ### on higher-depth headings - if ( - rc.type === "heading" && - rc.depth > heading.depth && - idx === 0 && - (child.type === "text" || - child.type === "inlineCode" || - child.type === "strong") - ) { - const conditionalDelimiter = delimiter.repeat( - isDescription ? 2 : 1, - ); - return `${conditionalDelimiter}${"#".repeat( - rc.depth, - )} ${getTextFromNode(child, true)}${conditionalDelimiter}`; - } - - if (child.type === "inlineCode") { - return `\`${child.value}\``; - } - - if (child.type === "text") { - const nextEl = arr[idx + 1]; - if (nextEl && UNESCAPED.includes(nextEl.type)) { - return child.value; - } - - return `${child.value}${delimiter}`; - } - - if (child.type === "listItem") { - if (isDescription) { - return ` - ${getTextFromNode( - child.children[0] ?? null, - true, - )}${delimiter}`; - } - - if (isLinks) { - return `${getUrlFromNode(child.children[0] ?? null)}${delimiter}`; - } - - return `${getTextFromNode(child.children[0] ?? null)}${delimiter}`; - } - - if (child.type === "link") { - if (isDescription) { - return `[${getTextFromNode( - child.children[0] ?? null, - true, - )}](${getUrlFromNode(child ?? null)})`; - } - - return getTextFromNode(child.children[0] ?? null, isDescription); - } - - if (child.type === "strong") { - return getTextFromNode(child.children[0] ?? null); - } - - // Do not add new line after certain blocks (treated as separate AST nodes) - if (UNESCAPED.includes(child.type)) { - return getTextFromNode(child); - } - - return null; - }) - .forEach((child) => { - if (child !== null) { - textParts.push(child); - } - }); - } - - if ("value" in rc) { - if (rc.type === "code") { - textParts.push(`\n\`\`\`${rc.lang}\n\n${rc.value}\n\n\`\`\`\n`); - } else { - textParts.push(`${rc.value}${delimiter}`); - } - } - } - - // Trim last el to remove delimiter - textParts[textParts.length - 1] = - textParts.at(-1)?.replace(new RegExp(`${delimiter}$`), "") ?? ""; - - return textParts.join(""); -}; - -export const parse = (data: string) => { - const { children } = fromMarkdown(data); - - const nameHeading = getHeading(children, 1, null); - const name = - nameHeading?.children[0] && "value" in nameHeading.children[0] - ? nameHeading.children[0].value - : null; - - if (!name) { - throw new Error("Name not found"); - } - - const descHeading = getHeading(children, 2, "Description"); - const description = descHeading - ? getTextByHeader(children, descHeading, "\n") - : null; - if (!description) { - throw new Error("Description not found"); - } - - const exampleHeading = getHeading(children, 2, "Example"); - const examples = exampleHeading - ? getTextByHeader(children, exampleHeading, "\n") - : null; - // if (!examples) { - // throw new Error('Examples not found'); - // } - - const applicabilityHeader = getHeading(children, 2, "Applicability"); - const applicability = applicabilityHeader - ? getTextByHeader(children, applicabilityHeader, "\n") - : null; - if (!applicability) { - throw new Error("Applicability criteria not found"); - } - // This should be enforced for future codemods. For now, validation should be disabled. - // if (!applicability.match(/[\w]+ (>|>=) \d+\.\d+\.\d+/)) { - // throw new Error('Applicability criteria is of a wrong format'); - // } - - const versionHeader = getHeading(children, 3, "Codemod Version"); - const version = versionHeader - ? getTextByHeader(children, versionHeader, "\n") - : null; - if (!version) { - throw new Error("Codemod version not found"); - } - const versionMatch = version.match(/(v)?(\d+\.\d+\.\d+)/)?.at(2); - - const changeModeHeader = getHeading(children, 3, "Change Mode"); - const changeModeText = changeModeHeader - ? getTextByHeader(children, changeModeHeader, "\n").toLowerCase() - : null; - if (!changeModeText) { - throw new Error("Change mode not found"); - } - let changeMode: string | null = null; - if (changeModeText.includes("assistive")) { - changeMode = "assistive"; - } else if (changeModeText.includes("autonomous")) { - changeMode = "autonomous"; - } - if (!changeMode) { - throw new Error("Change mode is of a wrong format"); - } - - const engineHeader = getHeading(children, 3, "Codemod Engine"); - const engineText = engineHeader - ? getTextByHeader(children, engineHeader, "\n") - : null; - if (!engineText) { - throw new Error("Codemod engine not found"); - } - let engine: string | null = null; - if (engineText.includes("ts-morph")) { - engine = "ts-morph"; - } else if (engineText.includes("jscodeshift")) { - engine = "jscodeshift"; - } else if (engineText.toLowerCase().includes("file")) { - engine = "filemod"; - } - if (!engine) { - throw new Error("Codemod engine is of a wrong format"); - } - - const timeSaveHeader = getHeading(children, 3, "Estimated Time Saving"); - const timeSave = timeSaveHeader - ? getTextByHeader(children, timeSaveHeader, "\n").replace(" per ", "/") - : null; - if (!timeSave) { - throw new Error("Estimated time saving not found"); - } - - const ownerHeader = getHeading(children, 3, "Owner"); - const owner = ownerHeader - ? getTextByHeader(children, ownerHeader, "\n") ?? "Codemod.com" - : null; - - const linksHeader = getHeading(children, 3, "Links"); - const links = linksHeader - ? getTextByHeader(children, linksHeader, ",") - : null; - - return { - name, - description, - examples, - applicability, - version: versionMatch, - changeMode, - engine, - timeSave, - owner, - links, - }; -}; - -export const convertToYaml = ( - data: ReturnType, - path?: string, -) => { - const { - name: title, - description, - examples, - applicability, - changeMode, - engine, - timeSave, - owner, - } = data; - - let slug: string | null = null; - let framework: string | null = null; - let frameworkVersion: string | null = null; - let cliCommand: string | null = null; - let cleanPath: string | null = null; - let codemodName: string | null = null; - if (path) { - const splitPath = path.split("/"); - cleanPath = splitPath.slice(0, -1).join("/"); - - const parts = __dirname.split("/"); - const pivot = parts.indexOf("apps"); - const pathToCodemod = nodePath.join( - parts.slice(0, pivot).join("/"), - cleanPath, - ); - - framework = splitPath.at(3) ?? null; - frameworkVersion = splitPath.at(4) ?? null; - - try { - const config = readFileSync(`${pathToCodemod}/config.json`).toString(); - const json = JSON.parse(config); - codemodName = json.name ?? cleanPath.split("/").slice(3).join("/"); - - if (is(configJsonSchema, json)) { - slug = codemodName!.replace(/\//g, "-"); - cliCommand = `codemod ${codemodName}`; - } - } catch (e) { - /* empty */ - } - } - - let vscodeHashDigest: string | null = null; - if (codemodName) { - vscodeHashDigest = createHash("ripemd160") - .update(codemodName) - .digest("base64url"); - } - - let titleWithVersion = title; - if (framework) { - if (frameworkVersion) { - if (frameworkVersion?.match(/^\d+(\.\d+)*$/)) { - titleWithVersion = `${framework} V${frameworkVersion} - ${title}`; - } else { - titleWithVersion = `${framework} to ${frameworkVersion} - ${title}`; - } - } else { - titleWithVersion = `${framework} - ${title}`; - } - } - titleWithVersion = capitalize(titleWithVersion); - - const shortDescription = description - .split("\n") - .at(0) - ?.split(".") - .at(0) - ?.replace("`", "") - .replace(/\W$/g, ""); - - const res = ` -created-on: ${new Date().toISOString()} -f_long-description: >- - ## Description - \n - ${description.replace(/\n/g, "\n ")} - ${examples ? `\n\n ${examples.replace(/\n/g, "\n ")}` : ""}${ - path - ? `\nf_github-link: https://github.com/codemod-com/codemod/tree/main/${cleanPath}` - : "" - }${ - vscodeHashDigest - ? `\nf_vs-code-link: vscode://codemod.codemod-vscode-extension/showCodemod?chd=${vscodeHashDigest}` - : "" - }${cliCommand ? `\nf_cli-command: ${cliCommand}` : ""}${ - framework ? `\nf_framework: cms/framework/${framework}.md` : "" - } -f_applicability-criteria: "${applicability}" -f_verified-codemod: ${owner === "Codemod.com" ? "true" : "false"}${ - owner - ? `\nf_author: ${ - owner === "Codemod.com" - ? "cms/authors/codemod-com.md" - : `cms/authors/${owner?.toLowerCase().replace(/ /g, "-") ?? ""}.md` - }` - : "" - } -layout: "[automations].html"${slug ? `\nslug: ${slug}` : ""} -title: ${capitalize(titleWithVersion)}${slug ? `\nf_slug-name: ${slug}` : ""} -f_codemod-engine: cms/codemod-engines/${engine}.md -f_change-mode-2: ${capitalize(changeMode)} -f_estimated-time-saving: ${ - timeSave.includes("\n") - ? `>-\n ${timeSave.replace(/\n/, "\n ")}` - : `"${timeSave}"` - } -tags: automations -updated-on: ${new Date().toISOString()} -published-on: ${new Date().toISOString()} -seo: - title: ${titleWithVersion} - description: ${shortDescription} -`.trim(); - - return res; -}; diff --git a/apps/registry/readme-parser/sync.ts b/apps/registry/readme-parser/sync.ts deleted file mode 100644 index 623cb2e4d..000000000 --- a/apps/registry/readme-parser/sync.ts +++ /dev/null @@ -1,245 +0,0 @@ -#!/usr/bin/env node -import { writeFile } from "fs/promises"; -import * as yaml from "js-yaml"; -import { simpleGit } from "simple-git"; -import { any, parse as valibotParse, record } from "valibot"; -import { convertToYaml, parse } from "./parse.js"; - -const findKeyLineRange = (yaml: string, key: string) => { - const splitYaml = yaml.split("\n"); - - let fieldStartLine: number | null = null; - let fieldEndLine: number | null = null; - let startFound = false; - - for (const [index, line] of splitYaml.entries()) { - if (startFound && /^[A-Za-z0-9_-]+:\s/.test(line)) { - fieldEndLine = index; - break; - } - - if (new RegExp(`^${key}:\\s`).test(line)) { - fieldStartLine = index; - startFound = true; - } - } - - if (fieldStartLine === null) { - return null; - } - - if (fieldEndLine === null) { - fieldEndLine = splitYaml.length - 1; - } - - return [fieldStartLine, fieldEndLine] as const; -}; - -export const sync = async () => { - const git = simpleGit(); - - await git.addRemote("website", "https://github.com/codemod-com/website.git"); - await git.addConfig("user.email", "auto@codemod.com", false, "local"); - await git.addConfig("user.name", "codemod.com", false, "local"); - - await git.fetch(["website", "main"]); - await git.fetch(["origin", "main", "--depth=2"]); - - const diff = await git.diff(["--name-only", "origin/main~1"]); - const readmesChanged = diff - .split("\n") - .filter((path) => path.match(/.*\/codemods\/.*README\.md$/)); - - if (!readmesChanged.length) { - console.log("No READMEs changed. Exiting."); - process.exit(0); - } - - const staged: Record = {}; - for (const path of readmesChanged) { - console.log(`Syncing ${path}`); - const [migratingFrom, migratingTo, ...rest] = path.split("/").slice(3, -1); - - let generatedSlug = migratingFrom; - - if (migratingTo) { - const joint = migratingTo.match(/^\d+(\.\d+)*$/) ? "-" : "-to-"; - const leftoverParts = rest.length ? `-${rest.join("-")}` : ""; - - generatedSlug = `${migratingFrom}${joint}${migratingTo}${leftoverParts}`; - } - - const websitePath = `cms/automations/${generatedSlug}.md`; - - let websiteFile: string | null; - let oldFile: string | null; - let newFile: string | null; - try { - websiteFile = await git.catFile(["-p", `website/main:${websitePath}`]); - } catch (err) { - websiteFile = null; - } - - try { - oldFile = await git.catFile(["-p", `origin/main~1:${path}`]); - } catch (err) { - oldFile = null; - } - - try { - newFile = await git.catFile(["-p", `origin/main:${path}`]); - } catch (err) { - newFile = null; - } - - if (!newFile) { - console.error(`File was deleted in HEAD: ${path}`); - continue; - } - - let parsedNewFile: ReturnType; - try { - parsedNewFile = parse(newFile); - } catch (err) { - console.error(`Could not parse new README file under ${path}`); - continue; - } - const newFileShortDescription = parsedNewFile.description.split("\n").at(0); - const newReadmeYamlContent = convertToYaml(parsedNewFile, path); - - // If !websiteFile, we just add the file - // If websiteFile is present, but oldFile is not, this means that - // the website somehow had that file prior to codemod being added to the registry, - // which technically should not be possible. - // In that case we just update the entire file with the new one anyways. - if (!websiteFile || !oldFile) { - staged[websitePath] = - `---\n${newReadmeYamlContent}\n---\n${newFileShortDescription}`; - continue; - } - - // Otherwise: - // 1. Perform a diff between old file and new file, decide what do we need to filter - // 2. Iterate over filtered fields that have changed between commits - // 3. If the field's version from old readme is different from website, we remove it from update list - // 4. Otherwise, proceed and add update the fields in the object, based on website version - // 5. Commit the file - - const websiteContentSplit = websiteFile.split("---", 3); - - const websiteYamlContent = websiteContentSplit.at(1)?.trim(); - - if (!websiteYamlContent) { - console.error(`Could not parse website file ${websitePath}`); - process.exit(1); - } - - // Here, we are actually doing double-convert, json->yaml->json, but it's meant to be that way. - // Our content's source of truth is yaml from the beginning, plus it has a lot of multi-line strings, - // which would be a pain to handle in json. We are converting to json, just to be able to operate - // the fields just like any other JS object, to perform the comparison. - // Not using valibot's safeParse, because we can just error if that's not an object and we don't care - // about the fields to be of a specific type. - let oldFileParsedYaml: unknown; - try { - oldFileParsedYaml = yaml.load(convertToYaml(parse(oldFile), path)); - } catch (err) { - console.error(`Could not parse old README file under ${path}`); - continue; - } - const oldContent = valibotParse(record(any()), oldFileParsedYaml); - const newContent = valibotParse( - record(any()), - yaml.load(newReadmeYamlContent), - ); - const websiteContent = valibotParse( - record(any()), - yaml.load(websiteYamlContent), - ); - - const changedKeys: string[] = []; - for (const key of Object.keys(newContent)) { - // Field did not change - if (oldContent[key] === newContent[key]) { - continue; - } - - // Field was changed in the CMS, no update - if (oldContent[key] !== websiteContent[key]) { - continue; - } - - // Field is already the same as in the new README version - if (newContent[key] === websiteContent[key]) { - continue; - } - - changedKeys.push(key); - } - - if (!changedKeys.length) { - console.log(`Nothing to update in path ${path}`); - continue; - } - - // Also update the updated-on field - changedKeys.push("updated-on"); - // Yaml to be updated on each iteration serving as a target to make replacements in - let updatedYaml = websiteYamlContent; - const newFileLines = newReadmeYamlContent.split("\n"); - - for (const key of changedKeys) { - const websiteRange = findKeyLineRange(updatedYaml, key); - if (!websiteRange) { - console.error(`Could not find ${key} in website file ${websitePath}`); - process.exit(1); - } - - const newFileRange = findKeyLineRange(newReadmeYamlContent, key); - if (!newFileRange) { - console.error(`Could not find ${key} in new file ${path}`); - process.exit(1); - } - - const [websiteStartIndex, websiteEndIndex] = websiteRange; - const [newFileStartIndex, newFileEndIndex] = newFileRange; - - // Use the latest version of yaml that's being updated - const websiteLines = updatedYaml.split("\n"); - - updatedYaml = [ - ...websiteLines.slice(0, websiteStartIndex), - ...newFileLines.slice(newFileStartIndex, newFileEndIndex), - ...websiteLines.slice(websiteEndIndex), - ].join("\n"); - } - - const websiteLeftoverDescription = websiteContentSplit.at(2)?.trim(); - updatedYaml = `---\n${updatedYaml}\n---\n${ - websiteLeftoverDescription ?? newFileShortDescription - }`; - - staged[websitePath] = updatedYaml; - } - - if (Object.keys(staged).length === 0) { - console.log("No commits were created. Skipping push..."); - process.exit(0); - } - - await git.checkout(["-b", "update-codemods", "website/main"]); - - for (const [websitePath, newContent] of Object.entries(staged)) { - await writeFile(websitePath, newContent); - await git.add(websitePath); - await git.commit(`Syncs ${websitePath} from codemod-registry`); - console.log(`Created commit for ${websitePath}`); - } - - await git.push("website", "HEAD:main"); - console.log("Successfully pushed to website repo"); - - process.exit(0); -}; - -sync(); diff --git a/apps/registry/readme-parser/tsconfig.json b/apps/registry/readme-parser/tsconfig.json deleted file mode 100644 index a1387cd2b..000000000 --- a/apps/registry/readme-parser/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "@codemod-com/tsconfig/base.json", - "include": ["./*.ts", "parse.test.ts"], - "compilerOptions": { - "noUncheckedIndexedAccess": true - } -} diff --git a/apps/studio-backend/.gitignore b/apps/studio-backend/.gitignore new file mode 100644 index 000000000..2d50b5940 --- /dev/null +++ b/apps/studio-backend/.gitignore @@ -0,0 +1,4 @@ +node_modules +prisma/generated +# Keep environment variables out of version control +.env diff --git a/apps/studio-backend/Dockerfile b/apps/studio-backend/Dockerfile index ba85e00c7..eedadd6e2 100644 --- a/apps/studio-backend/Dockerfile +++ b/apps/studio-backend/Dockerfile @@ -1,26 +1,27 @@ -# stage0 -FROM node:19-alpine3.16 as stage0 +FROM node:19-alpine3.16 -WORKDIR /opt/studio-backend +WORKDIR /app/ RUN npm install -g pnpm -COPY ./package.json ./pnpm-lock.yaml /opt/studio-backend/ +COPY ./apps/studio-backend/package.json ./apps/studio-backend/pnpm-lock.yaml /app/apps/studio-backend/ +COPY ./pnpm-workspace.yaml /app/ +COPY ./packages /app/packages/ RUN pnpm install -COPY ./tsconfig.json /opt/studio-backend/ -COPY ./src /opt/studio-backend/src +COPY ./apps/studio-backend/prisma /app/apps/studio-backend/prisma/ +COPY ./apps/studio-backend/.env /app/apps/studio-backend/ +COPY ./apps/studio-backend/tsconfig.json /app/apps/studio-backend/ +COPY ./apps/studio-backend/esbuild.config.js /app/apps/studio-backend/ +COPY ./apps/studio-backend/src /app/apps/studio-backend/src/ -RUN pnpm run build:ncc +WORKDIR /app/apps/studio-backend -# stage 1 -FROM node:19-alpine3.16 as stage1 +RUN pnpm db:generate -WORKDIR /opt/studio-backend - -COPY --from=stage0 /opt/studio-backend/build-ncc/ /opt/studio-backend +RUN pnpm build EXPOSE 8081 -CMD ["node", "./index.js"] +CMD ["node", "./build/server.js"] diff --git a/apps/studio-backend/development.Dockerfile b/apps/studio-backend/development.Dockerfile index eed34019c..91538033d 100644 --- a/apps/studio-backend/development.Dockerfile +++ b/apps/studio-backend/development.Dockerfile @@ -1,13 +1,19 @@ FROM node:19-alpine3.16 -WORKDIR /opt/studio-backend +WORKDIR /app/ RUN npm install -g pnpm -COPY ./package.json ./pnpm-lock.yaml /opt/studio-backend/ +COPY ./apps/studio-backend/package.json ./apps/studio-backend/pnpm-lock.yaml /app/apps/studio-backend/ +COPY ./pnpm-workspace.yaml /app/ +COPY ./packages /app/packages/ RUN pnpm install -COPY ./tsconfig.json /opt/studio-backend/ -COPY ./src /opt/studio-backend/src +COPY ./apps/studio-backend/prisma /app/apps/studio-backend/prisma/ +COPY ./apps/studio-backend/tsconfig.json /app/apps/studio-backend/ +COPY ./apps/studio-backend/src /app/apps/studio-backend/src/ +# WORKDIR /app/studio-backend + +CMD pnpm --filter studio-backend watch diff --git a/apps/studio-backend/docker-compose.yml b/apps/studio-backend/docker-compose.yml index 2ec3b6e14..cfb2699ea 100644 --- a/apps/studio-backend/docker-compose.yml +++ b/apps/studio-backend/docker-compose.yml @@ -12,19 +12,18 @@ services: - 'codemod-local-network' studio-backend: build: - context: . - dockerfile: development.Dockerfile + context: ../.. + dockerfile: apps/studio-backend/development.Dockerfile environment: PORT: '8081' CLERK_DISABLED: 'true' - DATABASE_URL: 'postgres://postgres:postgres@studio-database:5432/studio' + DATABASE_URI: 'postgres://postgres:postgres@studio-database:5432/studio' ports: - '8081:8081' networks: - 'codemod-local-network' - command: ['pnpm', 'watch'] volumes: - - ./src:/opt/studio-backend/src + - ./src:/app/studio-backend/src networks: codemod-local-network: diff --git a/apps/studio-backend/esbuild.config.js b/apps/studio-backend/esbuild.config.js new file mode 100644 index 000000000..8866c137e --- /dev/null +++ b/apps/studio-backend/esbuild.config.js @@ -0,0 +1,16 @@ +import esbuild from "esbuild"; + +esbuild + .build({ + entryPoints: ["src/server.ts"], + bundle: true, + minify: true, + platform: "node", + outfile: "build/server.js", + external: ["@prisma/client", "pg-hstore"], + banner: { + js: `import { createRequire } from 'module';\nconst require = createRequire(import.meta.url);`, + }, + format: "esm", + }) + .catch(() => process.exit(1)); diff --git a/apps/studio-backend/package.json b/apps/studio-backend/package.json index af040a269..521d2d724 100644 --- a/apps/studio-backend/package.json +++ b/apps/studio-backend/package.json @@ -2,39 +2,51 @@ "name": "studio-backend", "version": "1.0.0", "scripts": { - "start:ncc": "node ./build-ncc/index.js", + "build": "node esbuild.config.js", + "start": "node build/server.js", "test": "vitest --run", - "watch": "nodemon --exec ./node_modules/.bin/ts-node --esm ./src/index.ts", - "build:ncc": "ncc build ./src/index.ts -m -o ./build-ncc" + "watch": "pnpm db:generate && nodemon --exec ./node_modules/.bin/ts-node --esm ./src/server.ts", + "db:push": "prisma db push", + "db:generate": "prisma generate", + "db:migrate:generate": "prisma migrate dev --name", + "db:migrate:apply": "prisma migrate deploy", + "db:seed": "tsx prisma/seed.ts", + "db:studio": "prisma studio" }, "author": "Codemod inc.", "private": true, "devDependencies": { + "@biomejs/biome": "1.5.3", + "@codemod-com/tsconfig": "workspace:*", + "@faker-js/faker": "^8.4.1", "@types/node": "20.10.5", "@types/parse-github-url": "1.0.3", - "@vercel/ncc": "0.38.1", + "@types/pg": "^8.11.2", + "esbuild": "^0.19.12", "fastify-plugin": "4.5.1", "nodemon": "3.0.2", "sqlite3": "^5.1.7", "ts-node": "10.9.2", + "tsx": "^4.7.1", "typescript": "5.3.3", - "vitest": "1.1.0", - "@biomejs/biome": "1.5.3" + "vitest": "1.1.0" }, "dependencies": { - "@aws-sdk/client-s3": "^3.478.0", - "@clerk/fastify": "0.6.27", + "@aws-sdk/client-s3": "^3.525.0", "@clerk/backend": "0.36.0", + "@clerk/fastify": "0.6.27", "@effect/schema": "0.54.0", - "@fastify/busboy": "^2.1.0", + "@fastify/busboy": "^2.1.1", "@fastify/cors": "8.5.0", - "@fastify/multipart": "^8.0.0", + "@fastify/multipart": "^8.1.0", "@fastify/rate-limit": "9.0.1", - "@types/tar": "^6.1.10", + "@prisma/client": "5.10.2", + "@types/tar": "^6.1.11", "ai": "2.2.29", "axios": "1.6.2", "chatgpt": "5.2.5", "chromadb": "1.7.2", + "dotenv": "^16.4.5", "fastify": "4.25.1", "langchain": "0.0.209", "lru-cache": "10.1.0", @@ -42,10 +54,13 @@ "openai-edge": "1.2.2", "parse-github-url": "1.0.2", "pg": "^8.11.3", + "prisma": "^5.10.2", "replicate": "0.25.2", - "sequelize": "^6.36.0", + "sequelize": "^6.37.1", "tar": "^6.2.0", - "valibot": "^0.24.1" + "valibot": "^0.24.1", + "zod": "3.21.4", + "zod-prisma-types": "^3.1.6" }, "type": "module", "peerDependencies": { diff --git a/apps/studio-backend/pnpm-lock.yaml b/apps/studio-backend/pnpm-lock.yaml deleted file mode 100644 index 61e9f604c..000000000 --- a/apps/studio-backend/pnpm-lock.yaml +++ /dev/null @@ -1,6455 +0,0 @@ -lockfileVersion: '6.0' - -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - -dependencies: - '@aws-sdk/client-s3': - specifier: ^3.478.0 - version: 3.478.0 - '@clerk/backend': - specifier: 0.36.0 - version: 0.36.0(react@18.2.0) - '@clerk/fastify': - specifier: 0.6.27 - version: 0.6.27(fastify-plugin@4.5.1)(fastify@4.25.1)(react@18.2.0) - '@effect/schema': - specifier: 0.54.0 - version: 0.54.0(effect@2.0.0-next.61)(fast-check@3.15.0) - '@fastify/busboy': - specifier: ^2.1.0 - version: 2.1.0 - '@fastify/cors': - specifier: 8.5.0 - version: 8.5.0 - '@fastify/multipart': - specifier: ^8.0.0 - version: 8.0.0 - '@fastify/rate-limit': - specifier: 9.0.1 - version: 9.0.1 - '@types/tar': - specifier: ^6.1.10 - version: 6.1.10 - ai: - specifier: 2.2.29 - version: 2.2.29(react@18.2.0)(solid-js@1.7.11)(svelte@4.2.0)(vue@3.3.4) - axios: - specifier: 1.6.2 - version: 1.6.2 - chatgpt: - specifier: 5.2.5 - version: 5.2.5 - chromadb: - specifier: 1.7.2 - version: 1.7.2(openai@4.23.0) - fastify: - specifier: 4.25.1 - version: 4.25.1 - langchain: - specifier: 0.0.209 - version: 0.0.209(@aws-sdk/client-s3@3.478.0)(axios@1.6.2)(chromadb@1.7.2)(pg@8.11.3)(replicate@0.25.2) - lru-cache: - specifier: 10.1.0 - version: 10.1.0 - openai: - specifier: 4.23.0 - version: 4.23.0 - openai-edge: - specifier: 1.2.2 - version: 1.2.2 - parse-github-url: - specifier: 1.0.2 - version: 1.0.2 - pg: - specifier: ^8.11.3 - version: 8.11.3 - replicate: - specifier: 0.25.2 - version: 0.25.2 - sequelize: - specifier: ^6.36.0 - version: 6.36.0(pg@8.11.3)(sqlite3@5.1.7) - tar: - specifier: ^6.2.0 - version: 6.2.0 - valibot: - specifier: ^0.24.1 - version: 0.24.1 - -devDependencies: - '@types/node': - specifier: 20.10.5 - version: 20.10.5 - '@types/parse-github-url': - specifier: 1.0.3 - version: 1.0.3 - '@typescript-eslint/eslint-plugin': - specifier: ^5.59.5 - version: 5.59.5(@typescript-eslint/parser@5.59.5)(eslint@8.40.0)(typescript@5.3.3) - '@typescript-eslint/parser': - specifier: ^5.59.5 - version: 5.59.5(eslint@8.40.0)(typescript@5.3.3) - '@vercel/ncc': - specifier: 0.38.1 - version: 0.38.1 - eslint: - specifier: ^8.40.0 - version: 8.40.0 - eslint-config-prettier: - specifier: ^8.8.0 - version: 8.8.0(eslint@8.40.0) - eslint-plugin-prettier: - specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.8.0)(eslint@8.40.0)(prettier@2.8.8) - fastify-plugin: - specifier: 4.5.1 - version: 4.5.1 - nodemon: - specifier: 3.0.2 - version: 3.0.2 - prettier: - specifier: ^2.8.8 - version: 2.8.8 - sqlite3: - specifier: ^5.1.7 - version: 5.1.7 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.10.5)(typescript@5.3.3) - typescript: - specifier: 5.3.3 - version: 5.3.3 - vitest: - specifier: 1.1.0 - version: 1.1.0(@types/node@20.10.5) - -packages: - - /@ampproject/remapping@2.2.1: - resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} - engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.19 - dev: false - - /@anthropic-ai/sdk@0.9.1: - resolution: {integrity: sha512-wa1meQ2WSfoY8Uor3EdrJq0jTiZJoKoSii2ZVWRY1oN4Tlr5s59pADg9T79FTbPe1/se5c3pBeZgJL63wmuoBA==} - dependencies: - '@types/node': 18.16.7 - '@types/node-fetch': 2.6.4 - abort-controller: 3.0.0 - agentkeepalive: 4.5.0 - digest-fetch: 1.3.0 - form-data-encoder: 1.7.2 - formdata-node: 4.4.1 - node-fetch: 2.6.12 - web-streams-polyfill: 3.2.1 - transitivePeerDependencies: - - encoding - dev: false - - /@aws-crypto/crc32@3.0.0: - resolution: {integrity: sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA==} - dependencies: - '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.468.0 - tslib: 1.14.1 - dev: false - - /@aws-crypto/crc32c@3.0.0: - resolution: {integrity: sha512-ENNPPManmnVJ4BTXlOjAgD7URidbAznURqD0KvfREyc4o20DPYdEldU1f5cQ7Jbj0CJJSPaMIk/9ZshdB3210w==} - dependencies: - '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.468.0 - tslib: 1.14.1 - dev: false - - /@aws-crypto/ie11-detection@3.0.0: - resolution: {integrity: sha512-341lBBkiY1DfDNKai/wXM3aujNBkXR7tq1URPQDL9wi3AUbI80NR74uF1TXHMm7po1AcnFk8iu2S2IeU/+/A+Q==} - dependencies: - tslib: 1.14.1 - dev: false - - /@aws-crypto/sha1-browser@3.0.0: - resolution: {integrity: sha512-NJth5c997GLHs6nOYTzFKTbYdMNA6/1XlKVgnZoaZcQ7z7UJlOgj2JdbHE8tiYLS3fzXNCguct77SPGat2raSw==} - dependencies: - '@aws-crypto/ie11-detection': 3.0.0 - '@aws-crypto/supports-web-crypto': 3.0.0 - '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.468.0 - '@aws-sdk/util-locate-window': 3.465.0 - '@aws-sdk/util-utf8-browser': 3.259.0 - tslib: 1.14.1 - dev: false - - /@aws-crypto/sha256-browser@3.0.0: - resolution: {integrity: sha512-8VLmW2B+gjFbU5uMeqtQM6Nj0/F1bro80xQXCW6CQBWgosFWXTx77aeOF5CAIAmbOK64SdMBJdNr6J41yP5mvQ==} - dependencies: - '@aws-crypto/ie11-detection': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-crypto/supports-web-crypto': 3.0.0 - '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.468.0 - '@aws-sdk/util-locate-window': 3.465.0 - '@aws-sdk/util-utf8-browser': 3.259.0 - tslib: 1.14.1 - dev: false - - /@aws-crypto/sha256-js@3.0.0: - resolution: {integrity: sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ==} - dependencies: - '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.468.0 - tslib: 1.14.1 - dev: false - - /@aws-crypto/supports-web-crypto@3.0.0: - resolution: {integrity: sha512-06hBdMwUAb2WFTuGG73LSC0wfPu93xWwo5vL2et9eymgmu3Id5vFAHBbajVWiGhPO37qcsdCap/FqXvJGJWPIg==} - dependencies: - tslib: 1.14.1 - dev: false - - /@aws-crypto/util@3.0.0: - resolution: {integrity: sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w==} - dependencies: - '@aws-sdk/types': 3.468.0 - '@aws-sdk/util-utf8-browser': 3.259.0 - tslib: 1.14.1 - dev: false - - /@aws-sdk/client-s3@3.478.0: - resolution: {integrity: sha512-OUpbCCnK71lQQ07BohJOx9ZER0rPqRAGOVIIVhNEkeN0uYFLzB7/o5a7+FEPUQXEd5rZRZgbxN5xEmnNW/0Waw==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-crypto/sha1-browser': 3.0.0 - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.478.0 - '@aws-sdk/core': 3.477.0 - '@aws-sdk/credential-provider-node': 3.478.0 - '@aws-sdk/middleware-bucket-endpoint': 3.470.0 - '@aws-sdk/middleware-expect-continue': 3.468.0 - '@aws-sdk/middleware-flexible-checksums': 3.468.0 - '@aws-sdk/middleware-host-header': 3.468.0 - '@aws-sdk/middleware-location-constraint': 3.468.0 - '@aws-sdk/middleware-logger': 3.468.0 - '@aws-sdk/middleware-recursion-detection': 3.468.0 - '@aws-sdk/middleware-sdk-s3': 3.474.0 - '@aws-sdk/middleware-signing': 3.468.0 - '@aws-sdk/middleware-ssec': 3.468.0 - '@aws-sdk/middleware-user-agent': 3.478.0 - '@aws-sdk/region-config-resolver': 3.470.0 - '@aws-sdk/signature-v4-multi-region': 3.474.0 - '@aws-sdk/types': 3.468.0 - '@aws-sdk/util-endpoints': 3.478.0 - '@aws-sdk/util-user-agent-browser': 3.468.0 - '@aws-sdk/util-user-agent-node': 3.470.0 - '@aws-sdk/xml-builder': 3.472.0 - '@smithy/config-resolver': 2.0.21 - '@smithy/core': 1.2.0 - '@smithy/eventstream-serde-browser': 2.0.15 - '@smithy/eventstream-serde-config-resolver': 2.0.15 - '@smithy/eventstream-serde-node': 2.0.15 - '@smithy/fetch-http-handler': 2.3.1 - '@smithy/hash-blob-browser': 2.0.16 - '@smithy/hash-node': 2.0.17 - '@smithy/hash-stream-node': 2.0.17 - '@smithy/invalid-dependency': 2.0.15 - '@smithy/md5-js': 2.0.17 - '@smithy/middleware-content-length': 2.0.17 - '@smithy/middleware-endpoint': 2.2.3 - '@smithy/middleware-retry': 2.0.24 - '@smithy/middleware-serde': 2.0.15 - '@smithy/middleware-stack': 2.0.9 - '@smithy/node-config-provider': 2.1.8 - '@smithy/node-http-handler': 2.2.1 - '@smithy/protocol-http': 3.0.11 - '@smithy/smithy-client': 2.1.18 - '@smithy/types': 2.7.0 - '@smithy/url-parser': 2.0.15 - '@smithy/util-base64': 2.0.1 - '@smithy/util-body-length-browser': 2.0.1 - '@smithy/util-body-length-node': 2.1.0 - '@smithy/util-defaults-mode-browser': 2.0.22 - '@smithy/util-defaults-mode-node': 2.0.29 - '@smithy/util-endpoints': 1.0.7 - '@smithy/util-retry': 2.0.8 - '@smithy/util-stream': 2.0.23 - '@smithy/util-utf8': 2.0.2 - '@smithy/util-waiter': 2.0.15 - fast-xml-parser: 4.2.5 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - - /@aws-sdk/client-sso@3.478.0: - resolution: {integrity: sha512-Jxy9cE1JMkPR0PklCpq3cORHnZq/Z4klhSTNGgZNeBWovMa+plor52kyh8iUNHKl3XEJvTbHM7V+dvrr/x0P1g==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/core': 3.477.0 - '@aws-sdk/middleware-host-header': 3.468.0 - '@aws-sdk/middleware-logger': 3.468.0 - '@aws-sdk/middleware-recursion-detection': 3.468.0 - '@aws-sdk/middleware-user-agent': 3.478.0 - '@aws-sdk/region-config-resolver': 3.470.0 - '@aws-sdk/types': 3.468.0 - '@aws-sdk/util-endpoints': 3.478.0 - '@aws-sdk/util-user-agent-browser': 3.468.0 - '@aws-sdk/util-user-agent-node': 3.470.0 - '@smithy/config-resolver': 2.0.21 - '@smithy/core': 1.2.0 - '@smithy/fetch-http-handler': 2.3.1 - '@smithy/hash-node': 2.0.17 - '@smithy/invalid-dependency': 2.0.15 - '@smithy/middleware-content-length': 2.0.17 - '@smithy/middleware-endpoint': 2.2.3 - '@smithy/middleware-retry': 2.0.24 - '@smithy/middleware-serde': 2.0.15 - '@smithy/middleware-stack': 2.0.9 - '@smithy/node-config-provider': 2.1.8 - '@smithy/node-http-handler': 2.2.1 - '@smithy/protocol-http': 3.0.11 - '@smithy/smithy-client': 2.1.18 - '@smithy/types': 2.7.0 - '@smithy/url-parser': 2.0.15 - '@smithy/util-base64': 2.0.1 - '@smithy/util-body-length-browser': 2.0.1 - '@smithy/util-body-length-node': 2.1.0 - '@smithy/util-defaults-mode-browser': 2.0.22 - '@smithy/util-defaults-mode-node': 2.0.29 - '@smithy/util-endpoints': 1.0.7 - '@smithy/util-retry': 2.0.8 - '@smithy/util-utf8': 2.0.2 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - - /@aws-sdk/client-sts@3.478.0: - resolution: {integrity: sha512-D+QID0dYzmn9dcxgKP3/nMndUqiQbDLsqI0Zf2pG4MW5gPhVNKlDGIV3Ztz8SkMjzGJExNOLW2L569o8jshJVw==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/core': 3.477.0 - '@aws-sdk/credential-provider-node': 3.478.0 - '@aws-sdk/middleware-host-header': 3.468.0 - '@aws-sdk/middleware-logger': 3.468.0 - '@aws-sdk/middleware-recursion-detection': 3.468.0 - '@aws-sdk/middleware-user-agent': 3.478.0 - '@aws-sdk/region-config-resolver': 3.470.0 - '@aws-sdk/types': 3.468.0 - '@aws-sdk/util-endpoints': 3.478.0 - '@aws-sdk/util-user-agent-browser': 3.468.0 - '@aws-sdk/util-user-agent-node': 3.470.0 - '@smithy/config-resolver': 2.0.21 - '@smithy/core': 1.2.0 - '@smithy/fetch-http-handler': 2.3.1 - '@smithy/hash-node': 2.0.17 - '@smithy/invalid-dependency': 2.0.15 - '@smithy/middleware-content-length': 2.0.17 - '@smithy/middleware-endpoint': 2.2.3 - '@smithy/middleware-retry': 2.0.24 - '@smithy/middleware-serde': 2.0.15 - '@smithy/middleware-stack': 2.0.9 - '@smithy/node-config-provider': 2.1.8 - '@smithy/node-http-handler': 2.2.1 - '@smithy/protocol-http': 3.0.11 - '@smithy/smithy-client': 2.1.18 - '@smithy/types': 2.7.0 - '@smithy/url-parser': 2.0.15 - '@smithy/util-base64': 2.0.1 - '@smithy/util-body-length-browser': 2.0.1 - '@smithy/util-body-length-node': 2.1.0 - '@smithy/util-defaults-mode-browser': 2.0.22 - '@smithy/util-defaults-mode-node': 2.0.29 - '@smithy/util-endpoints': 1.0.7 - '@smithy/util-middleware': 2.0.8 - '@smithy/util-retry': 2.0.8 - '@smithy/util-utf8': 2.0.2 - fast-xml-parser: 4.2.5 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - - /@aws-sdk/core@3.477.0: - resolution: {integrity: sha512-o0434EH+d1BxHZvgG7z8vph2SYefciQ5RnJw2MgvETGnthgqsnI4nnNJLSw0FVeqCeS18n6vRtzqlGYR2YPCNg==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/core': 1.2.0 - '@smithy/protocol-http': 3.0.11 - '@smithy/signature-v4': 2.0.18 - '@smithy/smithy-client': 2.1.18 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/credential-provider-env@3.468.0: - resolution: {integrity: sha512-k/1WHd3KZn0EQYjadooj53FC0z24/e4dUZhbSKTULgmxyO62pwh9v3Brvw4WRa/8o2wTffU/jo54tf4vGuP/ZA==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@smithy/property-provider': 2.0.16 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/credential-provider-ini@3.478.0: - resolution: {integrity: sha512-SsrYEYUvTG9ZoPC+zB19AnVoOKID+QIEHJDIi1GCZXW5kTVyr1saTVm4orG2TjYvbHQMddsWtHOvGYXZWAYMbw==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/credential-provider-env': 3.468.0 - '@aws-sdk/credential-provider-process': 3.468.0 - '@aws-sdk/credential-provider-sso': 3.478.0 - '@aws-sdk/credential-provider-web-identity': 3.468.0 - '@aws-sdk/types': 3.468.0 - '@smithy/credential-provider-imds': 2.1.4 - '@smithy/property-provider': 2.0.16 - '@smithy/shared-ini-file-loader': 2.2.7 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - - /@aws-sdk/credential-provider-node@3.478.0: - resolution: {integrity: sha512-nwDutJYeHiIZCQDgKIUrsgwAWTil0mNe+cbd+j8fi+wwxkWUzip+F0+z02molJ8WrUUKNRhqB1V5aVx7IranuA==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/credential-provider-env': 3.468.0 - '@aws-sdk/credential-provider-ini': 3.478.0 - '@aws-sdk/credential-provider-process': 3.468.0 - '@aws-sdk/credential-provider-sso': 3.478.0 - '@aws-sdk/credential-provider-web-identity': 3.468.0 - '@aws-sdk/types': 3.468.0 - '@smithy/credential-provider-imds': 2.1.4 - '@smithy/property-provider': 2.0.16 - '@smithy/shared-ini-file-loader': 2.2.7 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - - /@aws-sdk/credential-provider-process@3.468.0: - resolution: {integrity: sha512-OYSn1A/UsyPJ7Z8Q2cNhTf55O36shPmSsvOfND04nSfu1nPaR+VUvvsP7v+brhGpwC/GAKTIdGAo4blH31BS6A==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@smithy/property-provider': 2.0.16 - '@smithy/shared-ini-file-loader': 2.2.7 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/credential-provider-sso@3.478.0: - resolution: {integrity: sha512-LsDShG51X/q+s5ZFN7kHVqrd8ZHdyEyHqdhoocmRvvw2Dif50M0AqQfvCrW1ndj5CNzXO4x/eH8EK5ZOVlS6Sg==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/client-sso': 3.478.0 - '@aws-sdk/token-providers': 3.478.0 - '@aws-sdk/types': 3.468.0 - '@smithy/property-provider': 2.0.16 - '@smithy/shared-ini-file-loader': 2.2.7 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - - /@aws-sdk/credential-provider-web-identity@3.468.0: - resolution: {integrity: sha512-rexymPmXjtkwCPfhnUq3EjO1rSkf39R4Jz9CqiM7OsqK2qlT5Y/V3gnMKn0ZMXsYaQOMfM3cT5xly5R+OKDHlw==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@smithy/property-provider': 2.0.16 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-bucket-endpoint@3.470.0: - resolution: {integrity: sha512-vLXXNWtsRmEIwzJ9HUQfIuTNAsEzvCv0Icsnkvt2BiBZXnmHdp2vIC3e3+kfy1D7dVQloXqMmnfcLu/BUMu2Jw==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@aws-sdk/util-arn-parser': 3.465.0 - '@smithy/node-config-provider': 2.1.8 - '@smithy/protocol-http': 3.0.11 - '@smithy/types': 2.7.0 - '@smithy/util-config-provider': 2.0.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-expect-continue@3.468.0: - resolution: {integrity: sha512-/wmLjmfgeulxhhmnxX3X3N933TvGsYckVIFjAtDSpLjqkbwzEcNiLq7AdmNJ4BfxG0MCMgcht561DCCD19x8Bg==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@smithy/protocol-http': 3.0.11 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-flexible-checksums@3.468.0: - resolution: {integrity: sha512-LQwL/N5MCj3Y5keLLewHTqeAXUIMsHFZyxDXRm/uxrOon9ufLKDvGvzAmfwn1/CuSUo66ZfT8VPSA4BsC90RtA==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-crypto/crc32': 3.0.0 - '@aws-crypto/crc32c': 3.0.0 - '@aws-sdk/types': 3.468.0 - '@smithy/is-array-buffer': 2.0.0 - '@smithy/protocol-http': 3.0.11 - '@smithy/types': 2.7.0 - '@smithy/util-utf8': 2.0.2 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-host-header@3.468.0: - resolution: {integrity: sha512-gwQ+/QhX+lhof304r6zbZ/V5l5cjhGRxLL3CjH1uJPMcOAbw9wUlMdl+ibr8UwBZ5elfKFGiB1cdW/0uMchw0w==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@smithy/protocol-http': 3.0.11 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-location-constraint@3.468.0: - resolution: {integrity: sha512-0gBX/lDynQr4YIhM9h1dVnkVWqrg+34iOCVIUq8jHxzUzgZWglGkG9lHGGg0r1xkLTmegeoo1OKH8wrQ6n33Cg==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-logger@3.468.0: - resolution: {integrity: sha512-X5XHKV7DHRXI3f29SAhJPe/OxWRFgDWDMMCALfzhmJfCi6Jfh0M14cJKoC+nl+dk9lB+36+jKjhjETZaL2bPlA==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-recursion-detection@3.468.0: - resolution: {integrity: sha512-vch9IQib2Ng9ucSyRW2eKNQXHUPb5jUPCLA5otTW/8nGjcOU37LxQG4WrxO7uaJ9Oe8hjHO+hViE3P0KISUhtA==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@smithy/protocol-http': 3.0.11 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-sdk-s3@3.474.0: - resolution: {integrity: sha512-62aAo/8u5daIabeJ+gseYeHeShe9eYH6mH+kfWmLsHybXCCv1EaD/ZkdXWNhL0HZ3bUI1z1SF1p8jjTAWALnwA==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@aws-sdk/util-arn-parser': 3.465.0 - '@smithy/node-config-provider': 2.1.8 - '@smithy/protocol-http': 3.0.11 - '@smithy/signature-v4': 2.0.18 - '@smithy/smithy-client': 2.1.18 - '@smithy/types': 2.7.0 - '@smithy/util-config-provider': 2.0.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-signing@3.468.0: - resolution: {integrity: sha512-s+7fSB1gdnnTj5O0aCCarX3z5Vppop8kazbNSZADdkfHIDWCN80IH4ZNjY3OWqaAz0HmR4LNNrovdR304ojb4Q==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@smithy/property-provider': 2.0.16 - '@smithy/protocol-http': 3.0.11 - '@smithy/signature-v4': 2.0.18 - '@smithy/types': 2.7.0 - '@smithy/util-middleware': 2.0.8 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-ssec@3.468.0: - resolution: {integrity: sha512-y1qLW24wRkOGBTK5d6eJXf6d8HYo4rzT4a1mNDN1rd18NSffwQ6Yke5qeUiIaxa0y/l+FvvNYErbhYtij2rJoQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/middleware-user-agent@3.478.0: - resolution: {integrity: sha512-Rec+nAPIzzwxgHPW+xqY6tooJGFOytpYg/xSRv8/IXl3xKGhmpMGs6gDWzmMBv/qy5nKTvLph/csNWJ98GWXCw==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@aws-sdk/util-endpoints': 3.478.0 - '@smithy/protocol-http': 3.0.11 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/region-config-resolver@3.470.0: - resolution: {integrity: sha512-C1o1J06iIw8cyAAOvHqT4Bbqf+PgQ/RDlSyjt2gFfP2OovDpc2o2S90dE8f8iZdSGpg70N5MikT1DBhW9NbhtQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/node-config-provider': 2.1.8 - '@smithy/types': 2.7.0 - '@smithy/util-config-provider': 2.0.0 - '@smithy/util-middleware': 2.0.8 - tslib: 2.6.2 - dev: false - - /@aws-sdk/signature-v4-multi-region@3.474.0: - resolution: {integrity: sha512-93OWRQgTJZASXLrlUNX7mmXknNkYxFYldRLARmYQccONmnIqgYQW0lQj8BFwqkHJTzSMik3/UsU0SHKwZ9ynYA==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/middleware-sdk-s3': 3.474.0 - '@aws-sdk/types': 3.468.0 - '@smithy/protocol-http': 3.0.11 - '@smithy/signature-v4': 2.0.18 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/token-providers@3.478.0: - resolution: {integrity: sha512-7b5tj1y/wGHZIZ+ckjOUKgKrMuCJMF/G1UKZKIqqdekeEsjcThbvoxAMeY0FEowu2ODVk/ggOmpBFxcu0iYd6A==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/middleware-host-header': 3.468.0 - '@aws-sdk/middleware-logger': 3.468.0 - '@aws-sdk/middleware-recursion-detection': 3.468.0 - '@aws-sdk/middleware-user-agent': 3.478.0 - '@aws-sdk/region-config-resolver': 3.470.0 - '@aws-sdk/types': 3.468.0 - '@aws-sdk/util-endpoints': 3.478.0 - '@aws-sdk/util-user-agent-browser': 3.468.0 - '@aws-sdk/util-user-agent-node': 3.470.0 - '@smithy/config-resolver': 2.0.21 - '@smithy/fetch-http-handler': 2.3.1 - '@smithy/hash-node': 2.0.17 - '@smithy/invalid-dependency': 2.0.15 - '@smithy/middleware-content-length': 2.0.17 - '@smithy/middleware-endpoint': 2.2.3 - '@smithy/middleware-retry': 2.0.24 - '@smithy/middleware-serde': 2.0.15 - '@smithy/middleware-stack': 2.0.9 - '@smithy/node-config-provider': 2.1.8 - '@smithy/node-http-handler': 2.2.1 - '@smithy/property-provider': 2.0.16 - '@smithy/protocol-http': 3.0.11 - '@smithy/shared-ini-file-loader': 2.2.7 - '@smithy/smithy-client': 2.1.18 - '@smithy/types': 2.7.0 - '@smithy/url-parser': 2.0.15 - '@smithy/util-base64': 2.0.1 - '@smithy/util-body-length-browser': 2.0.1 - '@smithy/util-body-length-node': 2.1.0 - '@smithy/util-defaults-mode-browser': 2.0.22 - '@smithy/util-defaults-mode-node': 2.0.29 - '@smithy/util-endpoints': 1.0.7 - '@smithy/util-retry': 2.0.8 - '@smithy/util-utf8': 2.0.2 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - - /@aws-sdk/types@3.468.0: - resolution: {integrity: sha512-rx/9uHI4inRbp2tw3Y4Ih4PNZkVj32h7WneSg3MVgVjAoVD5Zti9KhS5hkvsBxfgmQmg0AQbE+b1sy5WGAgntA==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/util-arn-parser@3.465.0: - resolution: {integrity: sha512-zOJ82vzDJFqBX9yZBlNeHHrul/kpx/DCoxzW5UBbZeb26kfV53QhMSoEmY8/lEbBqlqargJ/sgRC845GFhHNQw==} - engines: {node: '>=14.0.0'} - dependencies: - tslib: 2.6.2 - dev: false - - /@aws-sdk/util-endpoints@3.478.0: - resolution: {integrity: sha512-u9Mcg3euGJGs5clPt9mBuhBjHiEKiD0PnfvArhfq9i+dcY5mbCq/i1Dezp3iv1fZH9xxQt7hPXDfSpt1yUSM6g==} - engines: {node: '>=14.0.0'} - dependencies: - '@aws-sdk/types': 3.468.0 - '@smithy/util-endpoints': 1.0.7 - tslib: 2.6.2 - dev: false - - /@aws-sdk/util-locate-window@3.465.0: - resolution: {integrity: sha512-f+QNcWGswredzC1ExNAB/QzODlxwaTdXkNT5cvke2RLX8SFU5pYk6h4uCtWC0vWPELzOfMfloBrJefBzlarhsw==} - engines: {node: '>=14.0.0'} - dependencies: - tslib: 2.6.2 - dev: false - - /@aws-sdk/util-user-agent-browser@3.468.0: - resolution: {integrity: sha512-OJyhWWsDEizR3L+dCgMXSUmaCywkiZ7HSbnQytbeKGwokIhD69HTiJcibF/sgcM5gk4k3Mq3puUhGnEZ46GIig==} - dependencies: - '@aws-sdk/types': 3.468.0 - '@smithy/types': 2.7.0 - bowser: 2.11.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/util-user-agent-node@3.470.0: - resolution: {integrity: sha512-QxsZ9iVHcBB/XRdYvwfM5AMvNp58HfqkIrH88mY0cmxuvtlIGDfWjczdDrZMJk9y0vIq+cuoCHsGXHu7PyiEAQ==} - engines: {node: '>=14.0.0'} - peerDependencies: - aws-crt: '>=1.0.0' - peerDependenciesMeta: - aws-crt: - optional: true - dependencies: - '@aws-sdk/types': 3.468.0 - '@smithy/node-config-provider': 2.1.8 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@aws-sdk/util-utf8-browser@3.259.0: - resolution: {integrity: sha512-UvFa/vR+e19XookZF8RzFZBrw2EUkQWxiBW0yYQAhvk3C+QVGl0H3ouca8LDBlBfQKXwmW3huo/59H8rwb1wJw==} - dependencies: - tslib: 2.6.2 - dev: false - - /@aws-sdk/xml-builder@3.472.0: - resolution: {integrity: sha512-PwjVxz1hr9up8QkddabuScPZ/d5aDHgvHYgK4acHYzltXL4wngfvimi5ZqXTzVWF2QANxHmWnHUr45QJX71oJQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@babel/code-frame@7.22.13: - resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/highlight': 7.22.20 - chalk: 2.4.2 - dev: false - - /@babel/helper-string-parser@7.22.5: - resolution: {integrity: sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==} - engines: {node: '>=6.9.0'} - dev: false - - /@babel/helper-validator-identifier@7.22.20: - resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} - engines: {node: '>=6.9.0'} - dev: false - - /@babel/highlight@7.22.20: - resolution: {integrity: sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.22.20 - chalk: 2.4.2 - js-tokens: 4.0.0 - dev: false - - /@babel/parser@7.22.16: - resolution: {integrity: sha512-+gPfKv8UWeKKeJTUxe59+OobVcrYHETCsORl61EmSkmgymguYk/X5bp7GuUIXaFsc6y++v8ZxPsLSSuujqDphA==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.22.19 - dev: false - - /@babel/types@7.22.19: - resolution: {integrity: sha512-P7LAw/LbojPzkgp5oznjE6tQEIWbp4PkkfrZDINTro9zgBRtI324/EYsiSI7lhPbpIQ+DCeR2NNmMWANGGfZsg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-string-parser': 7.22.5 - '@babel/helper-validator-identifier': 7.22.20 - to-fast-properties: 2.0.0 - dev: false - - /@clerk/backend@0.36.0(react@18.2.0): - resolution: {integrity: sha512-iJTASBSitQqdgIUANzifwsRURmS+zaXJ2vtD/j3r/Ir/nmJWm1PwY9eGKWyE6rlk8iAnh+OoUmBJB1tz1SpXkw==} - engines: {node: '>=14'} - dependencies: - '@clerk/shared': 1.1.1(react@18.2.0) - '@clerk/types': 3.60.0 - '@peculiar/webcrypto': 1.4.1 - '@types/node': 16.18.6 - cookie: 0.5.0 - deepmerge: 4.2.2 - node-fetch-native: 1.0.1 - snakecase-keys: 5.4.4 - tslib: 2.4.1 - transitivePeerDependencies: - - react - dev: false - - /@clerk/fastify@0.6.27(fastify-plugin@4.5.1)(fastify@4.25.1)(react@18.2.0): - resolution: {integrity: sha512-JqPnD+q8hjSC+KX+fOHgfPQRAYmmCEFApL8ouZhY6UCuvZlZo0zIL05JDtmG8YWQV4H94gNLg99X+9l3QvizAg==} - engines: {node: '>=14'} - peerDependencies: - fastify: '>=4' - fastify-plugin: ^4.5.0 - dependencies: - '@clerk/backend': 0.36.0(react@18.2.0) - '@clerk/shared': 1.1.1(react@18.2.0) - '@clerk/types': 3.60.0 - cookies: 0.8.0 - fastify: 4.25.1 - fastify-plugin: 4.5.1 - transitivePeerDependencies: - - react - dev: false - - /@clerk/shared@1.1.1(react@18.2.0): - resolution: {integrity: sha512-pEzhalD1Yo/gGsOE2BQugVQTjlIl2aYmoeRld3BDXHRDV1jnk+yUE2CFOw6bojgFWN9sbeN/ph/47UWvvoCSOg==} - peerDependencies: - react: '>=16' - peerDependenciesMeta: - react: - optional: true - dependencies: - glob-to-regexp: 0.4.1 - js-cookie: 3.0.1 - react: 18.2.0 - swr: 2.2.0(react@18.2.0) - dev: false - - /@clerk/types@3.60.0: - resolution: {integrity: sha512-f1A16wFh5MtikxEo7o6vAVX7FxpqC1YmzA6c4ugwq5MH8J2mvIM/LwNVIHgNpZkn/s/G+BUhBcJJmUXqajDK2Q==} - engines: {node: '>=14'} - dependencies: - csstype: 3.1.1 - dev: false - - /@cspotcode/source-map-support@0.8.1: - resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/trace-mapping': 0.3.9 - dev: true - - /@effect/schema@0.54.0(effect@2.0.0-next.61)(fast-check@3.15.0): - resolution: {integrity: sha512-RdiAOIgmjOVihyGUGd0TS3iM92bvQ55A3dPh6OeOZPDr+MEYWhSDqaxt+TK6tUdaQ+sBRmgc6cFlW1OAt+BBwg==} - peerDependencies: - effect: 2.0.0-next.61 - fast-check: ^3.13.2 - dependencies: - effect: 2.0.0-next.61 - fast-check: 3.15.0 - dev: false - - /@esbuild/aix-ppc64@0.19.10: - resolution: {integrity: sha512-Q+mk96KJ+FZ30h9fsJl+67IjNJm3x2eX+GBWGmocAKgzp27cowCOOqSdscX80s0SpdFXZnIv/+1xD1EctFx96Q==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [aix] - requiresBuild: true - dev: true - optional: true - - /@esbuild/android-arm64@0.19.10: - resolution: {integrity: sha512-1X4CClKhDgC3by7k8aOWZeBXQX8dHT5QAMCAQDArCLaYfkppoARvh0fit3X2Qs+MXDngKcHv6XXyQCpY0hkK1Q==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@esbuild/android-arm@0.19.10: - resolution: {integrity: sha512-7W0bK7qfkw1fc2viBfrtAEkDKHatYfHzr/jKAHNr9BvkYDXPcC6bodtm8AyLJNNuqClLNaeTLuwURt4PRT9d7w==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@esbuild/android-x64@0.19.10: - resolution: {integrity: sha512-O/nO/g+/7NlitUxETkUv/IvADKuZXyH4BHf/g/7laqKC4i/7whLpB0gvpPc2zpF0q9Q6FXS3TS75QHac9MvVWw==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@esbuild/darwin-arm64@0.19.10: - resolution: {integrity: sha512-YSRRs2zOpwypck+6GL3wGXx2gNP7DXzetmo5pHXLrY/VIMsS59yKfjPizQ4lLt5vEI80M41gjm2BxrGZ5U+VMA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /@esbuild/darwin-x64@0.19.10: - resolution: {integrity: sha512-alfGtT+IEICKtNE54hbvPg13xGBe4GkVxyGWtzr+yHO7HIiRJppPDhOKq3zstTcVf8msXb/t4eavW3jCDpMSmA==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /@esbuild/freebsd-arm64@0.19.10: - resolution: {integrity: sha512-dMtk1wc7FSH8CCkE854GyGuNKCewlh+7heYP/sclpOG6Cectzk14qdUIY5CrKDbkA/OczXq9WesqnPl09mj5dg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - /@esbuild/freebsd-x64@0.19.10: - resolution: {integrity: sha512-G5UPPspryHu1T3uX8WiOEUa6q6OlQh6gNl4CO4Iw5PS+Kg5bVggVFehzXBJY6X6RSOMS8iXDv2330VzaObm4Ag==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-arm64@0.19.10: - resolution: {integrity: sha512-QxaouHWZ+2KWEj7cGJmvTIHVALfhpGxo3WLmlYfJ+dA5fJB6lDEIg+oe/0//FuyVHuS3l79/wyBxbHr0NgtxJQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-arm@0.19.10: - resolution: {integrity: sha512-j6gUW5aAaPgD416Hk9FHxn27On28H4eVI9rJ4az7oCGTFW48+LcgNDBN+9f8rKZz7EEowo889CPKyeaD0iw9Kg==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-ia32@0.19.10: - resolution: {integrity: sha512-4ub1YwXxYjj9h1UIZs2hYbnTZBtenPw5NfXCRgEkGb0b6OJ2gpkMvDqRDYIDRjRdWSe/TBiZltm3Y3Q8SN1xNg==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-loong64@0.19.10: - resolution: {integrity: sha512-lo3I9k+mbEKoxtoIbM0yC/MZ1i2wM0cIeOejlVdZ3D86LAcFXFRdeuZmh91QJvUTW51bOK5W2BznGNIl4+mDaA==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-mips64el@0.19.10: - resolution: {integrity: sha512-J4gH3zhHNbdZN0Bcr1QUGVNkHTdpijgx5VMxeetSk6ntdt+vR1DqGmHxQYHRmNb77tP6GVvD+K0NyO4xjd7y4A==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-ppc64@0.19.10: - resolution: {integrity: sha512-tgT/7u+QhV6ge8wFMzaklOY7KqiyitgT1AUHMApau32ZlvTB/+efeCtMk4eXS+uEymYK249JsoiklZN64xt6oQ==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-riscv64@0.19.10: - resolution: {integrity: sha512-0f/spw0PfBMZBNqtKe5FLzBDGo0SKZKvMl5PHYQr3+eiSscfJ96XEknCe+JoOayybWUFQbcJTrk946i3j9uYZA==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-s390x@0.19.10: - resolution: {integrity: sha512-pZFe0OeskMHzHa9U38g+z8Yx5FNCLFtUnJtQMpwhS+r4S566aK2ci3t4NCP4tjt6d5j5uo4h7tExZMjeKoehAA==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-x64@0.19.10: - resolution: {integrity: sha512-SpYNEqg/6pZYoc+1zLCjVOYvxfZVZj6w0KROZ3Fje/QrM3nfvT2llI+wmKSrWuX6wmZeTapbarvuNNK/qepSgA==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/netbsd-x64@0.19.10: - resolution: {integrity: sha512-ACbZ0vXy9zksNArWlk2c38NdKg25+L9pr/mVaj9SUq6lHZu/35nx2xnQVRGLrC1KKQqJKRIB0q8GspiHI3J80Q==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - /@esbuild/openbsd-x64@0.19.10: - resolution: {integrity: sha512-PxcgvjdSjtgPMiPQrM3pwSaG4kGphP+bLSb+cihuP0LYdZv1epbAIecHVl5sD3npkfYBZ0ZnOjR878I7MdJDFg==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - /@esbuild/sunos-x64@0.19.10: - resolution: {integrity: sha512-ZkIOtrRL8SEJjr+VHjmW0znkPs+oJXhlJbNwfI37rvgeMtk3sxOQevXPXjmAPZPigVTncvFqLMd+uV0IBSEzqA==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-arm64@0.19.10: - resolution: {integrity: sha512-+Sa4oTDbpBfGpl3Hn3XiUe4f8TU2JF7aX8cOfqFYMMjXp6ma6NJDztl5FDG8Ezx0OjwGikIHw+iA54YLDNNVfw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-ia32@0.19.10: - resolution: {integrity: sha512-EOGVLK1oWMBXgfttJdPHDTiivYSjX6jDNaATeNOaCOFEVcfMjtbx7WVQwPSE1eIfCp/CaSF2nSrDtzc4I9f8TQ==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-x64@0.19.10: - resolution: {integrity: sha512-whqLG6Sc70AbU73fFYvuYzaE4MNMBIlR1Y/IrUeOXFrWHxBEjjbZaQ3IXIQS8wJdAzue2GwYZCjOrgrU1oUHoA==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@eslint-community/eslint-utils@4.4.0(eslint@8.40.0): - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - dependencies: - eslint: 8.40.0 - eslint-visitor-keys: 3.4.1 - dev: true - - /@eslint-community/regexpp@4.5.1: - resolution: {integrity: sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - dev: true - - /@eslint/eslintrc@2.0.3: - resolution: {integrity: sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - ajv: 6.12.6 - debug: 4.3.4(supports-color@5.5.0) - espree: 9.5.2 - globals: 13.20.0 - ignore: 5.2.4 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - minimatch: 3.1.2 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - dev: true - - /@eslint/js@8.40.0: - resolution: {integrity: sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - - /@fastify/accept-negotiator@1.1.0: - resolution: {integrity: sha512-OIHZrb2ImZ7XG85HXOONLcJWGosv7sIvM2ifAPQVhg9Lv7qdmMBNVaai4QTdyuaqbKM5eO6sLSQOYI7wEQeCJQ==} - engines: {node: '>=14'} - dev: false - - /@fastify/ajv-compiler@3.5.0: - resolution: {integrity: sha512-ebbEtlI7dxXF5ziNdr05mOY8NnDiPB1XvAlLHctRt/Rc+C3LCOVW5imUVX+mhvUhnNzmPBHewUkOFgGlCxgdAA==} - dependencies: - ajv: 8.12.0 - ajv-formats: 2.1.1(ajv@8.12.0) - fast-uri: 2.2.0 - dev: false - - /@fastify/busboy@1.2.1: - resolution: {integrity: sha512-7PQA7EH43S0CxcOa9OeAnaeA0oQ+e/DHNPZwSQM9CQHW76jle5+OvLdibRp/Aafs9KXbLhxyjOTkRjWUbQEd3Q==} - engines: {node: '>=14'} - dependencies: - text-decoding: 1.0.0 - dev: false - - /@fastify/busboy@2.1.0: - resolution: {integrity: sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA==} - engines: {node: '>=14'} - dev: false - - /@fastify/cors@8.5.0: - resolution: {integrity: sha512-/oZ1QSb02XjP0IK1U0IXktEsw/dUBTxJOW7IpIeO8c/tNalw/KjoNSJv1Sf6eqoBPO+TDGkifq6ynFK3v68HFQ==} - dependencies: - fastify-plugin: 4.5.1 - mnemonist: 0.39.6 - dev: false - - /@fastify/deepmerge@1.3.0: - resolution: {integrity: sha512-J8TOSBq3SoZbDhM9+R/u77hP93gz/rajSA+K2kGyijPpORPWUXHUpTaleoj+92As0S9uPRP7Oi8IqMf0u+ro6A==} - dev: false - - /@fastify/error@3.4.1: - resolution: {integrity: sha512-wWSvph+29GR783IhmvdwWnN4bUxTD01Vm5Xad4i7i1VuAOItLvbPAb69sb0IQ2N57yprvhNIwAP5B6xfKTmjmQ==} - dev: false - - /@fastify/fast-json-stringify-compiler@4.3.0: - resolution: {integrity: sha512-aZAXGYo6m22Fk1zZzEUKBvut/CIIQe/BapEORnxiD5Qr0kPHqqI69NtEMCme74h+at72sPhbkb4ZrLd1W3KRLA==} - dependencies: - fast-json-stringify: 5.9.1 - dev: false - - /@fastify/multipart@8.0.0: - resolution: {integrity: sha512-xaH1pGIqYnIJjYs5qG6ryhPSFnWuJIfSXYqEUtzmcyREkMk0SwONd2y+SZ9JXfDmETAC/Ogtc/SRbz+AjZhCkw==} - dependencies: - '@fastify/busboy': 1.2.1 - '@fastify/deepmerge': 1.3.0 - '@fastify/error': 3.4.1 - '@fastify/swagger': 8.12.1 - '@fastify/swagger-ui': 1.10.2 - fastify-plugin: 4.5.1 - secure-json-parse: 2.7.0 - stream-wormhole: 1.1.0 - transitivePeerDependencies: - - supports-color - dev: false - - /@fastify/rate-limit@9.0.1: - resolution: {integrity: sha512-BNKWtMHyJV+f3TUAQxWacq8dVfJLeTzBOthKpTpkYEBdBRY0cYn2UTPGpHglwZ84o0V+U7pS3wfO4mzF8eXFzg==} - dependencies: - '@lukeed/ms': 2.0.2 - fastify-plugin: 4.5.1 - toad-cache: 3.4.1 - dev: false - - /@fastify/send@2.1.0: - resolution: {integrity: sha512-yNYiY6sDkexoJR0D8IDy3aRP3+L4wdqCpvx5WP+VtEU58sn7USmKynBzDQex5X42Zzvw2gNzzYgP90UfWShLFA==} - dependencies: - '@lukeed/ms': 2.0.2 - escape-html: 1.0.3 - fast-decode-uri-component: 1.0.1 - http-errors: 2.0.0 - mime: 3.0.0 - dev: false - - /@fastify/static@6.12.0: - resolution: {integrity: sha512-KK1B84E6QD/FcQWxDI2aiUCwHxMJBI1KeCUzm1BwYpPY1b742+jeKruGHP2uOluuM6OkBPI8CIANrXcCRtC2oQ==} - dependencies: - '@fastify/accept-negotiator': 1.1.0 - '@fastify/send': 2.1.0 - content-disposition: 0.5.4 - fastify-plugin: 4.5.1 - glob: 8.1.0 - p-limit: 3.1.0 - dev: false - - /@fastify/swagger-ui@1.10.2: - resolution: {integrity: sha512-f2mRqtblm6eRAFQ3e8zSngxVNEtiYY7rISKQVjPA++ZsWc5WYlPVTb6Bx0G/zy0BIoucNqDr/Q2Vb/kTYkOq1A==} - dependencies: - '@fastify/static': 6.12.0 - fastify-plugin: 4.5.1 - openapi-types: 12.1.3 - rfdc: 1.3.0 - yaml: 2.3.1 - dev: false - - /@fastify/swagger@8.12.1: - resolution: {integrity: sha512-0GATwS+a1QHHhTYtyZfoIpRD5lL1XlDSiV2DqsTVMQxKpL18kx5o6oMz0l0rtFr4883XIGiRuvTv2rxFRIxp4Q==} - dependencies: - fastify-plugin: 4.5.1 - json-schema-resolver: 2.0.0 - openapi-types: 12.1.3 - rfdc: 1.3.0 - yaml: 2.3.1 - transitivePeerDependencies: - - supports-color - dev: false - - /@gar/promisify@1.1.3: - resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==} - requiresBuild: true - optional: true - - /@humanwhocodes/config-array@0.11.8: - resolution: {integrity: sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==} - engines: {node: '>=10.10.0'} - dependencies: - '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.4(supports-color@5.5.0) - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color - dev: true - - /@humanwhocodes/module-importer@1.0.1: - resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} - engines: {node: '>=12.22'} - dev: true - - /@humanwhocodes/object-schema@1.2.1: - resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} - dev: true - - /@jest/schemas@29.6.3: - resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@sinclair/typebox': 0.27.8 - dev: true - - /@jridgewell/gen-mapping@0.3.3: - resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} - engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.19 - dev: false - - /@jridgewell/resolve-uri@3.1.1: - resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} - engines: {node: '>=6.0.0'} - - /@jridgewell/set-array@1.1.2: - resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} - engines: {node: '>=6.0.0'} - dev: false - - /@jridgewell/sourcemap-codec@1.4.15: - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - - /@jridgewell/trace-mapping@0.3.19: - resolution: {integrity: sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==} - dependencies: - '@jridgewell/resolve-uri': 3.1.1 - '@jridgewell/sourcemap-codec': 1.4.15 - dev: false - - /@jridgewell/trace-mapping@0.3.9: - resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} - dependencies: - '@jridgewell/resolve-uri': 3.1.1 - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - - /@langchain/community@0.0.7(chromadb@1.7.2)(pg@8.11.3)(replicate@0.25.2): - resolution: {integrity: sha512-4O41IF8Cirqbb/SC7xNecxUIjuHX7HZkOlEgj98Zex+UuBF4aggPawUAJnP7+ak30PfOxH7NymnIWcs4MqRfxg==} - engines: {node: '>=18'} - peerDependencies: - '@aws-crypto/sha256-js': ^5.0.0 - '@aws-sdk/client-bedrock-runtime': ^3.422.0 - '@aws-sdk/client-dynamodb': ^3.310.0 - '@aws-sdk/client-kendra': ^3.352.0 - '@aws-sdk/client-lambda': ^3.310.0 - '@aws-sdk/client-sagemaker-runtime': ^3.310.0 - '@aws-sdk/client-sfn': ^3.310.0 - '@aws-sdk/credential-provider-node': ^3.388.0 - '@clickhouse/client': ^0.2.5 - '@cloudflare/ai': ^1.0.12 - '@elastic/elasticsearch': ^8.4.0 - '@getmetal/metal-sdk': '*' - '@getzep/zep-js': ^0.9.0 - '@gomomento/sdk': ^1.51.1 - '@gomomento/sdk-core': ^1.51.1 - '@google-ai/generativelanguage': ^0.2.1 - '@gradientai/nodejs-sdk': ^1.2.0 - '@huggingface/inference': ^2.6.4 - '@mozilla/readability': '*' - '@opensearch-project/opensearch': '*' - '@pinecone-database/pinecone': ^1.1.0 - '@planetscale/database': ^1.8.0 - '@qdrant/js-client-rest': ^1.2.0 - '@raycast/api': ^1.55.2 - '@rockset/client': ^0.9.1 - '@smithy/eventstream-codec': ^2.0.5 - '@smithy/protocol-http': ^3.0.6 - '@smithy/signature-v4': ^2.0.10 - '@smithy/util-utf8': ^2.0.0 - '@supabase/postgrest-js': ^1.1.1 - '@supabase/supabase-js': ^2.10.0 - '@tensorflow-models/universal-sentence-encoder': '*' - '@tensorflow/tfjs-converter': '*' - '@tensorflow/tfjs-core': '*' - '@upstash/redis': ^1.20.6 - '@vercel/kv': ^0.2.3 - '@vercel/postgres': ^0.5.0 - '@writerai/writer-sdk': ^0.40.2 - '@xata.io/client': ^0.28.0 - '@xenova/transformers': ^2.5.4 - '@zilliz/milvus2-sdk-node': '>=2.2.7' - cassandra-driver: ^4.7.2 - chromadb: '*' - closevector-common: 0.1.0-alpha.1 - closevector-node: 0.1.0-alpha.10 - closevector-web: 0.1.0-alpha.16 - cohere-ai: '>=6.0.0' - convex: ^1.3.1 - discord.js: ^14.14.1 - faiss-node: ^0.5.1 - firebase-admin: ^11.9.0 - google-auth-library: ^8.9.0 - googleapis: ^126.0.1 - hnswlib-node: ^1.4.2 - html-to-text: ^9.0.5 - ioredis: ^5.3.2 - jsdom: '*' - llmonitor: ^0.5.9 - lodash: ^4.17.21 - mongodb: ^5.2.0 - mysql2: ^3.3.3 - neo4j-driver: '*' - node-llama-cpp: '*' - pg: ^8.11.0 - pg-copy-streams: ^6.0.5 - pickleparser: ^0.2.1 - portkey-ai: ^0.1.11 - redis: ^4.6.4 - replicate: ^0.18.0 - typeorm: ^0.3.12 - typesense: ^1.5.3 - usearch: ^1.1.1 - vectordb: ^0.1.4 - voy-search: 0.6.2 - weaviate-ts-client: ^1.4.0 - web-auth-library: ^1.0.3 - ws: ^8.14.2 - peerDependenciesMeta: - '@aws-crypto/sha256-js': - optional: true - '@aws-sdk/client-bedrock-runtime': - optional: true - '@aws-sdk/client-dynamodb': - optional: true - '@aws-sdk/client-kendra': - optional: true - '@aws-sdk/client-lambda': - optional: true - '@aws-sdk/client-sagemaker-runtime': - optional: true - '@aws-sdk/client-sfn': - optional: true - '@aws-sdk/credential-provider-node': - optional: true - '@clickhouse/client': - optional: true - '@cloudflare/ai': - optional: true - '@elastic/elasticsearch': - optional: true - '@getmetal/metal-sdk': - optional: true - '@getzep/zep-js': - optional: true - '@gomomento/sdk': - optional: true - '@gomomento/sdk-core': - optional: true - '@google-ai/generativelanguage': - optional: true - '@gradientai/nodejs-sdk': - optional: true - '@huggingface/inference': - optional: true - '@mozilla/readability': - optional: true - '@opensearch-project/opensearch': - optional: true - '@pinecone-database/pinecone': - optional: true - '@planetscale/database': - optional: true - '@qdrant/js-client-rest': - optional: true - '@raycast/api': - optional: true - '@rockset/client': - optional: true - '@smithy/eventstream-codec': - optional: true - '@smithy/protocol-http': - optional: true - '@smithy/signature-v4': - optional: true - '@smithy/util-utf8': - optional: true - '@supabase/postgrest-js': - optional: true - '@supabase/supabase-js': - optional: true - '@tensorflow-models/universal-sentence-encoder': - optional: true - '@tensorflow/tfjs-converter': - optional: true - '@tensorflow/tfjs-core': - optional: true - '@upstash/redis': - optional: true - '@vercel/kv': - optional: true - '@vercel/postgres': - optional: true - '@writerai/writer-sdk': - optional: true - '@xata.io/client': - optional: true - '@xenova/transformers': - optional: true - '@zilliz/milvus2-sdk-node': - optional: true - cassandra-driver: - optional: true - chromadb: - optional: true - closevector-common: - optional: true - closevector-node: - optional: true - closevector-web: - optional: true - cohere-ai: - optional: true - convex: - optional: true - discord.js: - optional: true - faiss-node: - optional: true - firebase-admin: - optional: true - google-auth-library: - optional: true - googleapis: - optional: true - hnswlib-node: - optional: true - html-to-text: - optional: true - ioredis: - optional: true - jsdom: - optional: true - llmonitor: - optional: true - lodash: - optional: true - mongodb: - optional: true - mysql2: - optional: true - neo4j-driver: - optional: true - node-llama-cpp: - optional: true - pg: - optional: true - pg-copy-streams: - optional: true - pickleparser: - optional: true - portkey-ai: - optional: true - redis: - optional: true - replicate: - optional: true - typeorm: - optional: true - typesense: - optional: true - usearch: - optional: true - vectordb: - optional: true - voy-search: - optional: true - weaviate-ts-client: - optional: true - web-auth-library: - optional: true - ws: - optional: true - dependencies: - '@langchain/core': 0.1.2 - '@langchain/openai': 0.0.6 - chromadb: 1.7.2(openai@4.23.0) - flat: 5.0.2 - langsmith: 0.0.52 - pg: 8.11.3 - replicate: 0.25.2 - uuid: 9.0.0 - zod: 3.22.4 - transitivePeerDependencies: - - encoding - dev: false - - /@langchain/core@0.1.2: - resolution: {integrity: sha512-BX9vBovUi+FQLsUy+kh32kGtNU3Iv5GIBDB63xfCvAPefrt/WnqdsqwYnaXMB2MohBcZavIVMewHymsgiEYNcQ==} - engines: {node: '>=18'} - dependencies: - ansi-styles: 5.2.0 - camelcase: 6.3.0 - decamelize: 1.2.0 - js-tiktoken: 1.0.8 - langsmith: 0.0.52 - ml-distance: 4.0.1 - p-queue: 6.6.2 - p-retry: 4.6.2 - uuid: 9.0.0 - zod: 3.22.4 - dev: false - - /@langchain/openai@0.0.6: - resolution: {integrity: sha512-t4ZzBAPfBCHk56MyS/BlSzEHyXEJ6LLhw3QTjqt8+QKfl8U31pSKDOe3xuVveM2YqpaoVAqWY27DHUKNTZ0gNg==} - engines: {node: '>=18'} - dependencies: - '@langchain/core': 0.1.2 - js-tiktoken: 1.0.7 - openai: 4.23.0 - zod: 3.22.4 - zod-to-json-schema: 3.20.3(zod@3.22.4) - transitivePeerDependencies: - - encoding - dev: false - - /@lukeed/ms@2.0.2: - resolution: {integrity: sha512-9I2Zn6+NJLfaGoz9jN3lpwDgAYvfGeNYdbAIjJOqzs4Tpc+VU3Jqq4IofSUBKajiDS8k9fZIg18/z13mpk1bsA==} - engines: {node: '>=8'} - dev: false - - /@nodelib/fs.scandir@2.1.5: - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} - dependencies: - '@nodelib/fs.stat': 2.0.5 - run-parallel: 1.2.0 - dev: true - - /@nodelib/fs.stat@2.0.5: - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} - dev: true - - /@nodelib/fs.walk@1.2.8: - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} - dependencies: - '@nodelib/fs.scandir': 2.1.5 - fastq: 1.15.0 - dev: true - - /@npmcli/fs@1.1.1: - resolution: {integrity: sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==} - requiresBuild: true - dependencies: - '@gar/promisify': 1.1.3 - semver: 7.5.4 - optional: true - - /@npmcli/move-file@1.1.2: - resolution: {integrity: sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==} - engines: {node: '>=10'} - deprecated: This functionality has been moved to @npmcli/fs - requiresBuild: true - dependencies: - mkdirp: 1.0.4 - rimraf: 3.0.2 - optional: true - - /@peculiar/asn1-schema@2.3.6: - resolution: {integrity: sha512-izNRxPoaeJeg/AyH8hER6s+H7p4itk+03QCa4sbxI3lNdseQYCuxzgsuNK8bTXChtLTjpJz6NmXKA73qLa3rCA==} - dependencies: - asn1js: 3.0.5 - pvtsutils: 1.3.2 - tslib: 2.6.2 - dev: false - - /@peculiar/json-schema@1.1.12: - resolution: {integrity: sha512-coUfuoMeIB7B8/NMekxaDzLhaYmp0HZNPEjYRm9goRou8UZIC3z21s0sL9AWoCw4EG876QyO3kYrc61WNF9B/w==} - engines: {node: '>=8.0.0'} - dependencies: - tslib: 2.6.2 - dev: false - - /@peculiar/webcrypto@1.4.1: - resolution: {integrity: sha512-eK4C6WTNYxoI7JOabMoZICiyqRRtJB220bh0Mbj5RwRycleZf9BPyZoxsTvpP0FpmVS2aS13NKOuh5/tN3sIRw==} - engines: {node: '>=10.12.0'} - dependencies: - '@peculiar/asn1-schema': 2.3.6 - '@peculiar/json-schema': 1.1.12 - pvtsutils: 1.3.2 - tslib: 2.6.2 - webcrypto-core: 1.7.7 - dev: false - - /@rollup/rollup-android-arm-eabi@4.9.1: - resolution: {integrity: sha512-6vMdBZqtq1dVQ4CWdhFwhKZL6E4L1dV6jUjuBvsavvNJSppzi6dLBbuV+3+IyUREaj9ZFvQefnQm28v4OCXlig==} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-android-arm64@4.9.1: - resolution: {integrity: sha512-Jto9Fl3YQ9OLsTDWtLFPtaIMSL2kwGyGoVCmPC8Gxvym9TCZm4Sie+cVeblPO66YZsYH8MhBKDMGZ2NDxuk/XQ==} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-darwin-arm64@4.9.1: - resolution: {integrity: sha512-LtYcLNM+bhsaKAIGwVkh5IOWhaZhjTfNOkGzGqdHvhiCUVuJDalvDxEdSnhFzAn+g23wgsycmZk1vbnaibZwwA==} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-darwin-x64@4.9.1: - resolution: {integrity: sha512-KyP/byeXu9V+etKO6Lw3E4tW4QdcnzDG/ake031mg42lob5tN+5qfr+lkcT/SGZaH2PdW4Z1NX9GHEkZ8xV7og==} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-linux-arm-gnueabihf@4.9.1: - resolution: {integrity: sha512-Yqz/Doumf3QTKplwGNrCHe/B2p9xqDghBZSlAY0/hU6ikuDVQuOUIpDP/YcmoT+447tsZTmirmjgG3znvSCR0Q==} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-linux-arm64-gnu@4.9.1: - resolution: {integrity: sha512-u3XkZVvxcvlAOlQJ3UsD1rFvLWqu4Ef/Ggl40WAVCuogf4S1nJPHh5RTgqYFpCOvuGJ7H5yGHabjFKEZGExk5Q==} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-linux-arm64-musl@4.9.1: - resolution: {integrity: sha512-0XSYN/rfWShW+i+qjZ0phc6vZ7UWI8XWNz4E/l+6edFt+FxoEghrJHjX1EY/kcUGCnZzYYRCl31SNdfOi450Aw==} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-linux-riscv64-gnu@4.9.1: - resolution: {integrity: sha512-LmYIO65oZVfFt9t6cpYkbC4d5lKHLYv5B4CSHRpnANq0VZUQXGcCPXHzbCXCz4RQnx7jvlYB1ISVNCE/omz5cw==} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-linux-x64-gnu@4.9.1: - resolution: {integrity: sha512-kr8rEPQ6ns/Lmr/hiw8sEVj9aa07gh1/tQF2Y5HrNCCEPiCBGnBUt9tVusrcBBiJfIt1yNaXN6r1CCmpbFEDpg==} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-linux-x64-musl@4.9.1: - resolution: {integrity: sha512-t4QSR7gN+OEZLG0MiCgPqMWZGwmeHhsM4AkegJ0Kiy6TnJ9vZ8dEIwHw1LcZKhbHxTY32hp9eVCMdR3/I8MGRw==} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-win32-arm64-msvc@4.9.1: - resolution: {integrity: sha512-7XI4ZCBN34cb+BH557FJPmh0kmNz2c25SCQeT9OiFWEgf8+dL6ZwJ8f9RnUIit+j01u07Yvrsuu1rZGxJCc51g==} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-win32-ia32-msvc@4.9.1: - resolution: {integrity: sha512-yE5c2j1lSWOH5jp+Q0qNL3Mdhr8WuqCNVjc6BxbVfS5cAS6zRmdiw7ktb8GNpDCEUJphILY6KACoFoRtKoqNQg==} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-win32-x64-msvc@4.9.1: - resolution: {integrity: sha512-PyJsSsafjmIhVgaI1Zdj7m8BB8mMckFah/xbpplObyHfiXzKcI5UOUXRyOdHW7nz4DpMCuzLnF7v5IWHenCwYA==} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@sinclair/typebox@0.27.8: - resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} - dev: true - - /@smithy/abort-controller@2.0.15: - resolution: {integrity: sha512-JkS36PIS3/UCbq/MaozzV7jECeL+BTt4R75bwY8i+4RASys4xOyUS1HsRyUNSqUXFP4QyCz5aNnh3ltuaxv+pw==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/chunked-blob-reader-native@2.0.1: - resolution: {integrity: sha512-N2oCZRglhWKm7iMBu7S6wDzXirjAofi7tAd26cxmgibRYOBS4D3hGfmkwCpHdASZzwZDD8rluh0Rcqw1JeZDRw==} - dependencies: - '@smithy/util-base64': 2.0.1 - tslib: 2.6.2 - dev: false - - /@smithy/chunked-blob-reader@2.0.0: - resolution: {integrity: sha512-k+J4GHJsMSAIQPChGBrjEmGS+WbPonCXesoqP9fynIqjn7rdOThdH8FAeCmokP9mxTYKQAKoHCLPzNlm6gh7Wg==} - dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/config-resolver@2.0.21: - resolution: {integrity: sha512-rlLIGT+BeqjnA6C2FWumPRJS1UW07iU5ZxDHtFuyam4W65gIaOFMjkB90ofKCIh+0mLVQrQFrl/VLtQT/6FWTA==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/node-config-provider': 2.1.8 - '@smithy/types': 2.7.0 - '@smithy/util-config-provider': 2.0.0 - '@smithy/util-middleware': 2.0.8 - tslib: 2.6.2 - dev: false - - /@smithy/core@1.2.0: - resolution: {integrity: sha512-l8R89X7+hlt2FEFg+OrNq29LP3h9DfGPmO6ObwT9IXWHD6V7ycpj5u2rVQyIis26ovrgOYakl6nfgmPMm8m1IQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/middleware-endpoint': 2.2.3 - '@smithy/middleware-retry': 2.0.24 - '@smithy/middleware-serde': 2.0.15 - '@smithy/protocol-http': 3.0.11 - '@smithy/smithy-client': 2.1.18 - '@smithy/types': 2.7.0 - '@smithy/util-middleware': 2.0.8 - tslib: 2.6.2 - dev: false - - /@smithy/credential-provider-imds@2.1.4: - resolution: {integrity: sha512-cwPJN1fa1YOQzhBlTXRavABEYRRchci1X79QRwzaNLySnIMJfztyv1Zkst0iZPLMnpn8+CnHu3wOHS11J5Dr3A==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/node-config-provider': 2.1.8 - '@smithy/property-provider': 2.0.16 - '@smithy/types': 2.7.0 - '@smithy/url-parser': 2.0.15 - tslib: 2.6.2 - dev: false - - /@smithy/eventstream-codec@2.0.15: - resolution: {integrity: sha512-crjvz3j1gGPwA0us6cwS7+5gAn35CTmqu/oIxVbYJo2Qm/sGAye6zGJnMDk3BKhWZw5kcU1G4MxciTkuBpOZPg==} - dependencies: - '@aws-crypto/crc32': 3.0.0 - '@smithy/types': 2.7.0 - '@smithy/util-hex-encoding': 2.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/eventstream-serde-browser@2.0.15: - resolution: {integrity: sha512-WiFG5N9j3jmS5P0z5Xev6dO0c3lf7EJYC2Ncb0xDnWFvShwXNn741AF71ABr5EcZw8F4rQma0362MMjAwJeZog==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/eventstream-serde-universal': 2.0.15 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/eventstream-serde-config-resolver@2.0.15: - resolution: {integrity: sha512-o65d2LRjgCbWYH+VVNlWXtmsI231SO99ZTOL4UuIPa6WTjbSHWtlXvUcJG9libhEKWmEV9DIUiH2IqyPWi7ubA==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/eventstream-serde-node@2.0.15: - resolution: {integrity: sha512-9OOXiIhHq1VeOG6xdHkn2ZayfMYM3vzdUTV3zhcCnt+tMqA3BJK3XXTJFRR2BV28rtRM778DzqbBTf+hqwQPTg==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/eventstream-serde-universal': 2.0.15 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/eventstream-serde-universal@2.0.15: - resolution: {integrity: sha512-dP8AQp/pXlWBjvL0TaPBJC3rM0GoYv7O0Uim8d/7UKZ2Wo13bFI3/BhQfY/1DeiP1m23iCHFNFtOQxfQNBB8rQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/eventstream-codec': 2.0.15 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/fetch-http-handler@2.3.1: - resolution: {integrity: sha512-6MNk16fqb8EwcYY8O8WxB3ArFkLZ2XppsSNo1h7SQcFdDDwIumiJeO6wRzm7iB68xvsOQzsdQKbdtTieS3hfSQ==} - dependencies: - '@smithy/protocol-http': 3.0.11 - '@smithy/querystring-builder': 2.0.15 - '@smithy/types': 2.7.0 - '@smithy/util-base64': 2.0.1 - tslib: 2.6.2 - dev: false - - /@smithy/hash-blob-browser@2.0.16: - resolution: {integrity: sha512-cSYRi05LA7DZDwjB1HL0BP8B56eUNNeLglVH147QTXFyuXJq/7erAIiLRfsyXB8+GfFHkSS5BHbc76a7k/AYPA==} - dependencies: - '@smithy/chunked-blob-reader': 2.0.0 - '@smithy/chunked-blob-reader-native': 2.0.1 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/hash-node@2.0.17: - resolution: {integrity: sha512-Il6WuBcI1nD+e2DM7tTADMf01wEPGK8PAhz4D+YmDUVaoBqlA+CaH2uDJhiySifmuKBZj748IfygXty81znKhw==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - '@smithy/util-buffer-from': 2.0.0 - '@smithy/util-utf8': 2.0.2 - tslib: 2.6.2 - dev: false - - /@smithy/hash-stream-node@2.0.17: - resolution: {integrity: sha512-ey8DtnATzp1mOXgS7rqMwSmAki6iJA+jgNucKcxRkhMB1rrICfHg+rhmIF50iLPDHUhTcS5pBMOrLzzpZftvNQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - '@smithy/util-utf8': 2.0.2 - tslib: 2.6.2 - dev: false - - /@smithy/invalid-dependency@2.0.15: - resolution: {integrity: sha512-dlEKBFFwVfzA5QroHlBS94NpgYjXhwN/bFfun+7w3rgxNvVy79SK0w05iGc7UAeC5t+D7gBxrzdnD6hreZnDVQ==} - dependencies: - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/is-array-buffer@2.0.0: - resolution: {integrity: sha512-z3PjFjMyZNI98JFRJi/U0nGoLWMSJlDjAW4QUX2WNZLas5C0CmVV6LJ01JI0k90l7FvpmixjWxPFmENSClQ7ug==} - engines: {node: '>=14.0.0'} - dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/md5-js@2.0.17: - resolution: {integrity: sha512-jmISTCnEkOnm2oCNx/rMkvBT/eQh3aA6nktevkzbmn/VYqYEuc5Z2n5sTTqsciMSO01Lvf56wG1A4twDqovYeQ==} - dependencies: - '@smithy/types': 2.7.0 - '@smithy/util-utf8': 2.0.2 - tslib: 2.6.2 - dev: false - - /@smithy/middleware-content-length@2.0.17: - resolution: {integrity: sha512-OyadvMcKC7lFXTNBa8/foEv7jOaqshQZkjWS9coEXPRZnNnihU/Ls+8ZuJwGNCOrN2WxXZFmDWhegbnM4vak8w==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/protocol-http': 3.0.11 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/middleware-endpoint@2.2.3: - resolution: {integrity: sha512-nYfxuq0S/xoAjdLbyn1ixeVB6cyH9wYCMtbbOCpcCRYR5u2mMtqUtVjjPAZ/DIdlK3qe0tpB0Q76szFGNuz+kQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/middleware-serde': 2.0.15 - '@smithy/node-config-provider': 2.1.8 - '@smithy/shared-ini-file-loader': 2.2.7 - '@smithy/types': 2.7.0 - '@smithy/url-parser': 2.0.15 - '@smithy/util-middleware': 2.0.8 - tslib: 2.6.2 - dev: false - - /@smithy/middleware-retry@2.0.24: - resolution: {integrity: sha512-q2SvHTYu96N7lYrn3VSuX3vRpxXHR/Cig6MJpGWxd0BWodUQUWlKvXpWQZA+lTaFJU7tUvpKhRd4p4MU3PbeJg==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/node-config-provider': 2.1.8 - '@smithy/protocol-http': 3.0.11 - '@smithy/service-error-classification': 2.0.8 - '@smithy/smithy-client': 2.1.18 - '@smithy/types': 2.7.0 - '@smithy/util-middleware': 2.0.8 - '@smithy/util-retry': 2.0.8 - tslib: 2.6.2 - uuid: 8.3.2 - dev: false - - /@smithy/middleware-serde@2.0.15: - resolution: {integrity: sha512-FOZRFk/zN4AT4wzGuBY+39XWe+ZnCFd0gZtyw3f9Okn2CJPixl9GyWe98TIaljeZdqWkgrzGyPre20AcW2UMHQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/middleware-stack@2.0.9: - resolution: {integrity: sha512-bCB5dUtGQ5wh7QNL2ELxmDc6g7ih7jWU3Kx6MYH1h4mZbv9xL3WyhKHojRltThCB1arLPyTUFDi+x6fB/oabtA==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/node-config-provider@2.1.8: - resolution: {integrity: sha512-+w26OKakaBUGp+UG+dxYZtFb5fs3tgHg3/QrRrmUZj+rl3cIuw840vFUXX35cVPTUCQIiTqmz7CpVF7+hdINdQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/property-provider': 2.0.16 - '@smithy/shared-ini-file-loader': 2.2.7 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/node-http-handler@2.2.1: - resolution: {integrity: sha512-8iAKQrC8+VFHPAT8pg4/j6hlsTQh+NKOWlctJBrYtQa4ExcxX7aSg3vdQ2XLoYwJotFUurg/NLqFCmZaPRrogw==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/abort-controller': 2.0.15 - '@smithy/protocol-http': 3.0.11 - '@smithy/querystring-builder': 2.0.15 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/property-provider@2.0.16: - resolution: {integrity: sha512-28Ky0LlOqtEjwg5CdHmwwaDRHcTWfPRzkT6HrhwOSRS2RryAvuDfJrZpM+BMcrdeCyEg1mbcgIMoqTla+rdL8Q==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/protocol-http@3.0.11: - resolution: {integrity: sha512-3ziB8fHuXIRamV/akp/sqiWmNPR6X+9SB8Xxnozzj+Nq7hSpyKdFHd1FLpBkgfGFUTzzcBJQlDZPSyxzmdcx5A==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/querystring-builder@2.0.15: - resolution: {integrity: sha512-e1q85aT6HutvouOdN+dMsN0jcdshp50PSCvxDvo6aIM57LqeXimjfONUEgfqQ4IFpYWAtVixptyIRE5frMp/2A==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - '@smithy/util-uri-escape': 2.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/querystring-parser@2.0.15: - resolution: {integrity: sha512-jbBvoK3cc81Cj1c1TH1qMYxNQKHrYQ2DoTntN9FBbtUWcGhc+T4FP6kCKYwRLXyU4AajwGIZstvNAmIEgUUNTQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/service-error-classification@2.0.8: - resolution: {integrity: sha512-jCw9+005im8tsfYvwwSc4TTvd29kXRFkH9peQBg5R/4DD03ieGm6v6Hpv9nIAh98GwgYg1KrztcINC1s4o7/hg==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - dev: false - - /@smithy/shared-ini-file-loader@2.2.7: - resolution: {integrity: sha512-0Qt5CuiogIuvQIfK+be7oVHcPsayLgfLJGkPlbgdbl0lD28nUKu4p11L+UG3SAEsqc9UsazO+nErPXw7+IgDpQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/signature-v4@2.0.18: - resolution: {integrity: sha512-SJRAj9jT/l9ocm8D0GojMbnA1sp7I4JeStOQ4lEXI8A5eHE73vbjlzlqIFB7cLvIgau0oUl4cGVpF9IGCrvjlw==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/eventstream-codec': 2.0.15 - '@smithy/is-array-buffer': 2.0.0 - '@smithy/types': 2.7.0 - '@smithy/util-hex-encoding': 2.0.0 - '@smithy/util-middleware': 2.0.8 - '@smithy/util-uri-escape': 2.0.0 - '@smithy/util-utf8': 2.0.2 - tslib: 2.6.2 - dev: false - - /@smithy/smithy-client@2.1.18: - resolution: {integrity: sha512-7FqdbaJiVaHJDD9IfDhmzhSDbpjyx+ZsfdYuOpDJF09rl8qlIAIlZNoSaflKrQ3cEXZN2YxGPaNWGhbYimyIRQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/middleware-stack': 2.0.9 - '@smithy/types': 2.7.0 - '@smithy/util-stream': 2.0.23 - tslib: 2.6.2 - dev: false - - /@smithy/types@2.7.0: - resolution: {integrity: sha512-1OIFyhK+vOkMbu4aN2HZz/MomREkrAC/HqY5mlJMUJfGrPRwijJDTeiN8Rnj9zUaB8ogXAfIOtZrrgqZ4w7Wnw==} - engines: {node: '>=14.0.0'} - dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/url-parser@2.0.15: - resolution: {integrity: sha512-sADUncUj9rNbOTrdDGm4EXlUs0eQ9dyEo+V74PJoULY4jSQxS+9gwEgsPYyiu8PUOv16JC/MpHonOgqP/IEDZA==} - dependencies: - '@smithy/querystring-parser': 2.0.15 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-base64@2.0.1: - resolution: {integrity: sha512-DlI6XFYDMsIVN+GH9JtcRp3j02JEVuWIn/QOZisVzpIAprdsxGveFed0bjbMRCqmIFe8uetn5rxzNrBtIGrPIQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/util-buffer-from': 2.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-body-length-browser@2.0.1: - resolution: {integrity: sha512-NXYp3ttgUlwkaug4bjBzJ5+yIbUbUx8VsSLuHZROQpoik+gRkIBeEG9MPVYfvPNpuXb/puqodeeUXcKFe7BLOQ==} - dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/util-body-length-node@2.1.0: - resolution: {integrity: sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==} - engines: {node: '>=14.0.0'} - dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/util-buffer-from@2.0.0: - resolution: {integrity: sha512-/YNnLoHsR+4W4Vf2wL5lGv0ksg8Bmk3GEGxn2vEQt52AQaPSCuaO5PM5VM7lP1K9qHRKHwrPGktqVoAHKWHxzw==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/is-array-buffer': 2.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-config-provider@2.0.0: - resolution: {integrity: sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==} - engines: {node: '>=14.0.0'} - dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/util-defaults-mode-browser@2.0.22: - resolution: {integrity: sha512-qcF20IHHH96FlktvBRICDXDhLPtpVmtksHmqNGtotb9B0DYWXsC6jWXrkhrrwF7tH26nj+npVTqh9isiFV1gdA==} - engines: {node: '>= 10.0.0'} - dependencies: - '@smithy/property-provider': 2.0.16 - '@smithy/smithy-client': 2.1.18 - '@smithy/types': 2.7.0 - bowser: 2.11.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-defaults-mode-node@2.0.29: - resolution: {integrity: sha512-+uG/15VoUh6JV2fdY9CM++vnSuMQ1VKZ6BdnkUM7R++C/vLjnlg+ToiSR1FqKZbMmKBXmsr8c/TsDWMAYvxbxQ==} - engines: {node: '>= 10.0.0'} - dependencies: - '@smithy/config-resolver': 2.0.21 - '@smithy/credential-provider-imds': 2.1.4 - '@smithy/node-config-provider': 2.1.8 - '@smithy/property-provider': 2.0.16 - '@smithy/smithy-client': 2.1.18 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-endpoints@1.0.7: - resolution: {integrity: sha512-Q2gEind3jxoLk6hdKWyESMU7LnXz8aamVwM+VeVjOYzYT1PalGlY/ETa48hv2YpV4+YV604y93YngyzzzQ4IIA==} - engines: {node: '>= 14.0.0'} - dependencies: - '@smithy/node-config-provider': 2.1.8 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-hex-encoding@2.0.0: - resolution: {integrity: sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==} - engines: {node: '>=14.0.0'} - dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/util-middleware@2.0.8: - resolution: {integrity: sha512-qkvqQjM8fRGGA8P2ydWylMhenCDP8VlkPn8kiNuFEaFz9xnUKC2irfqsBSJrfrOB9Qt6pQsI58r3zvvumhFMkw==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-retry@2.0.8: - resolution: {integrity: sha512-cQTPnVaVFMjjS6cb44WV2yXtHVyXDC5icKyIbejMarJEApYeJWpBU3LINTxHqp/tyLI+MZOUdosr2mZ3sdziNg==} - engines: {node: '>= 14.0.0'} - dependencies: - '@smithy/service-error-classification': 2.0.8 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-stream@2.0.23: - resolution: {integrity: sha512-OJMWq99LAZJUzUwTk+00plyxX3ESktBaGPhqNIEVab+53gLULiWN9B/8bRABLg0K6R6Xg4t80uRdhk3B/LZqMQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/fetch-http-handler': 2.3.1 - '@smithy/node-http-handler': 2.2.1 - '@smithy/types': 2.7.0 - '@smithy/util-base64': 2.0.1 - '@smithy/util-buffer-from': 2.0.0 - '@smithy/util-hex-encoding': 2.0.0 - '@smithy/util-utf8': 2.0.2 - tslib: 2.6.2 - dev: false - - /@smithy/util-uri-escape@2.0.0: - resolution: {integrity: sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==} - engines: {node: '>=14.0.0'} - dependencies: - tslib: 2.6.2 - dev: false - - /@smithy/util-utf8@2.0.2: - resolution: {integrity: sha512-qOiVORSPm6Ce4/Yu6hbSgNHABLP2VMv8QOC3tTDNHHlWY19pPyc++fBTbZPtx6egPXi4HQxKDnMxVxpbtX2GoA==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/util-buffer-from': 2.0.0 - tslib: 2.6.2 - dev: false - - /@smithy/util-waiter@2.0.15: - resolution: {integrity: sha512-9Y+btzzB7MhLADW7xgD6SjvmoYaRkrb/9SCbNGmNdfO47v38rxb90IGXyDtAK0Shl9bMthTmLgjlfYc+vtz2Qw==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/abort-controller': 2.0.15 - '@smithy/types': 2.7.0 - tslib: 2.6.2 - dev: false - - /@tootallnate/once@1.1.2: - resolution: {integrity: sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==} - engines: {node: '>= 6'} - requiresBuild: true - optional: true - - /@tsconfig/node10@1.0.9: - resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} - dev: true - - /@tsconfig/node12@1.0.11: - resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} - dev: true - - /@tsconfig/node14@1.0.3: - resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} - dev: true - - /@tsconfig/node16@1.0.4: - resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} - dev: true - - /@types/debug@4.1.12: - resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} - dependencies: - '@types/ms': 0.7.34 - dev: false - - /@types/estree@1.0.1: - resolution: {integrity: sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==} - dev: false - - /@types/json-schema@7.0.11: - resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} - dev: true - - /@types/ms@0.7.34: - resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - dev: false - - /@types/node-fetch@2.6.4: - resolution: {integrity: sha512-1ZX9fcN4Rvkvgv4E6PAY5WXUFWFcRWxZa3EW83UjycOB9ljJCedb2CupIP4RZMEwF/M3eTcCihbBRgwtGbg5Rg==} - dependencies: - '@types/node': 20.10.5 - form-data: 3.0.1 - dev: false - - /@types/node@16.18.6: - resolution: {integrity: sha512-vmYJF0REqDyyU0gviezF/KHq/fYaUbFhkcNbQCuPGFQj6VTbXuHZoxs/Y7mutWe73C8AC6l9fFu8mSYiBAqkGA==} - dev: false - - /@types/node@18.16.7: - resolution: {integrity: sha512-MFg7ua/bRtnA1hYE3pVyWxGd/r7aMqjNOdHvlSsXV3n8iaeGKkOaPzpJh6/ovf4bEXWcojkeMJpTsq3mzXW4IQ==} - dev: false - - /@types/node@20.10.5: - resolution: {integrity: sha512-nNPsNE65wjMxEKI93yOP+NPGGBJz/PoN3kZsVLee0XMiJolxSekEVD8wRwBUBqkwc7UWop0edW50yrCQW4CyRw==} - dependencies: - undici-types: 5.26.5 - - /@types/normalize-package-data@2.4.1: - resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} - dev: false - - /@types/parse-github-url@1.0.3: - resolution: {integrity: sha512-7sTbCVmSVzK/iAsHGIxoqiyAnqix9opZm68lOvaU6DBx9EQ9kHMSp0y7Criu2OCsZ9wDllEyCRU+LU4hPRxXUA==} - dependencies: - '@types/node': 20.10.5 - dev: true - - /@types/retry@0.12.0: - resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==} - dev: false - - /@types/semver@7.5.0: - resolution: {integrity: sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==} - dev: true - - /@types/tar@6.1.10: - resolution: {integrity: sha512-60ZO+W0tRKJ3ggdzJKp75xKVlNogKYMqGvr2bMH/+k3T0BagfYTnbmVDFMJB1BFttz6yRgP5MDGP27eh7brrqw==} - dependencies: - '@types/node': 20.10.5 - minipass: 4.2.8 - dev: false - - /@types/uuid@9.0.2: - resolution: {integrity: sha512-kNnC1GFBLuhImSnV7w4njQkUiJi0ZXUycu1rUaouPqiKlXkh77JKgdRnTAp1x5eBwcIwbtI+3otwzuIDEuDoxQ==} - dev: false - - /@types/validator@13.11.8: - resolution: {integrity: sha512-c/hzNDBh7eRF+KbCf+OoZxKbnkpaK/cKp9iLQWqB7muXtM+MtL9SUUH8vCFcLn6dH1Qm05jiexK0ofWY7TfOhQ==} - dev: false - - /@typescript-eslint/eslint-plugin@5.59.5(@typescript-eslint/parser@5.59.5)(eslint@8.40.0)(typescript@5.3.3): - resolution: {integrity: sha512-feA9xbVRWJZor+AnLNAr7A8JRWeZqHUf4T9tlP+TN04b05pFVhO5eN7/O93Y/1OUlLMHKbnJisgDURs/qvtqdg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - '@typescript-eslint/parser': ^5.0.0 - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@eslint-community/regexpp': 4.5.1 - '@typescript-eslint/parser': 5.59.5(eslint@8.40.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 5.59.5 - '@typescript-eslint/type-utils': 5.59.5(eslint@8.40.0)(typescript@5.3.3) - '@typescript-eslint/utils': 5.59.5(eslint@8.40.0)(typescript@5.3.3) - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.40.0 - grapheme-splitter: 1.0.4 - ignore: 5.2.4 - natural-compare-lite: 1.4.0 - semver: 7.5.0 - tsutils: 3.21.0(typescript@5.3.3) - typescript: 5.3.3 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/parser@5.59.5(eslint@8.40.0)(typescript@5.3.3): - resolution: {integrity: sha512-NJXQC4MRnF9N9yWqQE2/KLRSOLvrrlZb48NGVfBa+RuPMN6B7ZcK5jZOvhuygv4D64fRKnZI4L4p8+M+rfeQuw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/scope-manager': 5.59.5 - '@typescript-eslint/types': 5.59.5 - '@typescript-eslint/typescript-estree': 5.59.5(typescript@5.3.3) - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.40.0 - typescript: 5.3.3 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/scope-manager@5.59.5: - resolution: {integrity: sha512-jVecWwnkX6ZgutF+DovbBJirZcAxgxC0EOHYt/niMROf8p4PwxxG32Qdhj/iIQQIuOflLjNkxoXyArkcIP7C3A==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.59.5 - '@typescript-eslint/visitor-keys': 5.59.5 - dev: true - - /@typescript-eslint/type-utils@5.59.5(eslint@8.40.0)(typescript@5.3.3): - resolution: {integrity: sha512-4eyhS7oGym67/pSxA2mmNq7X164oqDYNnZCUayBwJZIRVvKpBCMBzFnFxjeoDeShjtO6RQBHBuwybuX3POnDqg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: '*' - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/typescript-estree': 5.59.5(typescript@5.3.3) - '@typescript-eslint/utils': 5.59.5(eslint@8.40.0)(typescript@5.3.3) - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.40.0 - tsutils: 3.21.0(typescript@5.3.3) - typescript: 5.3.3 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/types@5.59.5: - resolution: {integrity: sha512-xkfRPHbqSH4Ggx4eHRIO/eGL8XL4Ysb4woL8c87YuAo8Md7AUjyWKa9YMwTL519SyDPrfEgKdewjkxNCVeJW7w==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - - /@typescript-eslint/typescript-estree@5.59.5(typescript@5.3.3): - resolution: {integrity: sha512-+XXdLN2CZLZcD/mO7mQtJMvCkzRfmODbeSKuMY/yXbGkzvA9rJyDY5qDYNoiz2kP/dmyAxXquL2BvLQLJFPQIg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 5.59.5 - '@typescript-eslint/visitor-keys': 5.59.5 - debug: 4.3.4(supports-color@5.5.0) - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.5.0 - tsutils: 3.21.0(typescript@5.3.3) - typescript: 5.3.3 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/utils@5.59.5(eslint@8.40.0)(typescript@5.3.3): - resolution: {integrity: sha512-sCEHOiw+RbyTii9c3/qN74hYDPNORb8yWCoPLmB7BIflhplJ65u2PBpdRla12e3SSTJ2erRkPjz7ngLHhUegxA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.40.0) - '@types/json-schema': 7.0.11 - '@types/semver': 7.5.0 - '@typescript-eslint/scope-manager': 5.59.5 - '@typescript-eslint/types': 5.59.5 - '@typescript-eslint/typescript-estree': 5.59.5(typescript@5.3.3) - eslint: 8.40.0 - eslint-scope: 5.1.1 - semver: 7.5.0 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - - /@typescript-eslint/visitor-keys@5.59.5: - resolution: {integrity: sha512-qL+Oz+dbeBRTeyJTIy0eniD3uvqU7x+y1QceBismZ41hd4aBSRh8UAw4pZP0+XzLuPZmx4raNMq/I+59W2lXKA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.59.5 - eslint-visitor-keys: 3.4.1 - dev: true - - /@vercel/ncc@0.38.1: - resolution: {integrity: sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==} - hasBin: true - dev: true - - /@vitest/expect@1.1.0: - resolution: {integrity: sha512-9IE2WWkcJo2BR9eqtY5MIo3TPmS50Pnwpm66A6neb2hvk/QSLfPXBz2qdiwUOQkwyFuuXEUj5380CbwfzW4+/w==} - dependencies: - '@vitest/spy': 1.1.0 - '@vitest/utils': 1.1.0 - chai: 4.3.10 - dev: true - - /@vitest/runner@1.1.0: - resolution: {integrity: sha512-zdNLJ00pm5z/uhbWF6aeIJCGMSyTyWImy3Fcp9piRGvueERFlQFbUwCpzVce79OLm2UHk9iwaMSOaU9jVHgNVw==} - dependencies: - '@vitest/utils': 1.1.0 - p-limit: 5.0.0 - pathe: 1.1.1 - dev: true - - /@vitest/snapshot@1.1.0: - resolution: {integrity: sha512-5O/wyZg09V5qmNmAlUgCBqflvn2ylgsWJRRuPrnHEfDNT6tQpQ8O1isNGgo+VxofISHqz961SG3iVvt3SPK/QQ==} - dependencies: - magic-string: 0.30.5 - pathe: 1.1.1 - pretty-format: 29.7.0 - dev: true - - /@vitest/spy@1.1.0: - resolution: {integrity: sha512-sNOVSU/GE+7+P76qYo+VXdXhXffzWZcYIPQfmkiRxaNCSPiLANvQx5Mx6ZURJ/ndtEkUJEpvKLXqAYTKEY+lTg==} - dependencies: - tinyspy: 2.2.0 - dev: true - - /@vitest/utils@1.1.0: - resolution: {integrity: sha512-z+s510fKmYz4Y41XhNs3vcuFTFhcij2YF7F8VQfMEYAAUfqQh0Zfg7+w9xdgFGhPf3tX3TicAe+8BDITk6ampQ==} - dependencies: - diff-sequences: 29.6.3 - loupe: 2.3.7 - pretty-format: 29.7.0 - dev: true - - /@vue/compiler-core@3.3.4: - resolution: {integrity: sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==} - dependencies: - '@babel/parser': 7.22.16 - '@vue/shared': 3.3.4 - estree-walker: 2.0.2 - source-map-js: 1.0.2 - dev: false - - /@vue/compiler-dom@3.3.4: - resolution: {integrity: sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w==} - dependencies: - '@vue/compiler-core': 3.3.4 - '@vue/shared': 3.3.4 - dev: false - - /@vue/compiler-sfc@3.3.4: - resolution: {integrity: sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==} - dependencies: - '@babel/parser': 7.22.16 - '@vue/compiler-core': 3.3.4 - '@vue/compiler-dom': 3.3.4 - '@vue/compiler-ssr': 3.3.4 - '@vue/reactivity-transform': 3.3.4 - '@vue/shared': 3.3.4 - estree-walker: 2.0.2 - magic-string: 0.30.5 - postcss: 8.4.32 - source-map-js: 1.0.2 - dev: false - - /@vue/compiler-ssr@3.3.4: - resolution: {integrity: sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ==} - dependencies: - '@vue/compiler-dom': 3.3.4 - '@vue/shared': 3.3.4 - dev: false - - /@vue/reactivity-transform@3.3.4: - resolution: {integrity: sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==} - dependencies: - '@babel/parser': 7.22.16 - '@vue/compiler-core': 3.3.4 - '@vue/shared': 3.3.4 - estree-walker: 2.0.2 - magic-string: 0.30.5 - dev: false - - /@vue/reactivity@3.3.4: - resolution: {integrity: sha512-kLTDLwd0B1jG08NBF3R5rqULtv/f8x3rOFByTDz4J53ttIQEDmALqKqXY0J+XQeN0aV2FBxY8nJDf88yvOPAqQ==} - dependencies: - '@vue/shared': 3.3.4 - dev: false - - /@vue/runtime-core@3.3.4: - resolution: {integrity: sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==} - dependencies: - '@vue/reactivity': 3.3.4 - '@vue/shared': 3.3.4 - dev: false - - /@vue/runtime-dom@3.3.4: - resolution: {integrity: sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==} - dependencies: - '@vue/runtime-core': 3.3.4 - '@vue/shared': 3.3.4 - csstype: 3.1.1 - dev: false - - /@vue/server-renderer@3.3.4(vue@3.3.4): - resolution: {integrity: sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==} - peerDependencies: - vue: 3.3.4 - dependencies: - '@vue/compiler-ssr': 3.3.4 - '@vue/shared': 3.3.4 - vue: 3.3.4 - dev: false - - /@vue/shared@3.3.4: - resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==} - dev: false - - /abbrev@1.1.1: - resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} - - /abort-controller@3.0.0: - resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} - engines: {node: '>=6.5'} - dependencies: - event-target-shim: 5.0.1 - dev: false - - /abstract-logging@2.0.1: - resolution: {integrity: sha512-2BjRTZxTPvheOvGbBslFSYOUkr+SjPtOnrLP33f+VIWLzezQpZcqVg7ja3L4dBXmzzgwT+a029jRx5PCi3JuiA==} - dev: false - - /acorn-jsx@5.3.2(acorn@8.8.2): - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - acorn: 8.8.2 - dev: true - - /acorn-walk@8.3.1: - resolution: {integrity: sha512-TgUZgYvqZprrl7YldZNoa9OciCAyZR+Ejm9eXzKCmjsF5IKp/wgQ7Z/ZpjpGTIUPwrHQIcYeI8qDh4PsEwxMbw==} - engines: {node: '>=0.4.0'} - dev: true - - /acorn@8.10.0: - resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==} - engines: {node: '>=0.4.0'} - hasBin: true - - /acorn@8.8.2: - resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==} - engines: {node: '>=0.4.0'} - hasBin: true - dev: true - - /agent-base@6.0.2: - resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} - engines: {node: '>= 6.0.0'} - requiresBuild: true - dependencies: - debug: 4.3.4(supports-color@5.5.0) - transitivePeerDependencies: - - supports-color - optional: true - - /agentkeepalive@4.5.0: - resolution: {integrity: sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==} - engines: {node: '>= 8.0.0'} - dependencies: - humanize-ms: 1.2.1 - - /aggregate-error@3.1.0: - resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} - engines: {node: '>=8'} - requiresBuild: true - dependencies: - clean-stack: 2.2.0 - indent-string: 4.0.0 - optional: true - - /ai@2.2.29(react@18.2.0)(solid-js@1.7.11)(svelte@4.2.0)(vue@3.3.4): - resolution: {integrity: sha512-/zzSTTKF5LxMGQuNVUnNjs7X6PWYfb6M88Zn74gCUnM3KCYgh0CiAWhLyhKP6UtK0H5mHSmXgt0ZkZYUecRp0w==} - engines: {node: '>=14.6'} - peerDependencies: - react: ^18.2.0 - solid-js: ^1.7.7 - svelte: ^3.0.0 || ^4.0.0 - vue: ^3.3.4 - peerDependenciesMeta: - react: - optional: true - solid-js: - optional: true - svelte: - optional: true - vue: - optional: true - dependencies: - eventsource-parser: 1.0.0 - nanoid: 3.3.6 - react: 18.2.0 - solid-js: 1.7.11 - solid-swr-store: 0.10.7(solid-js@1.7.11)(swr-store@0.10.6) - sswr: 2.0.0(svelte@4.2.0) - svelte: 4.2.0 - swr: 2.2.0(react@18.2.0) - swr-store: 0.10.6 - swrv: 1.0.4(vue@3.3.4) - vue: 3.3.4 - dev: false - - /ajv-formats@2.1.1(ajv@8.12.0): - resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} - peerDependencies: - ajv: ^8.0.0 - peerDependenciesMeta: - ajv: - optional: true - dependencies: - ajv: 8.12.0 - dev: false - - /ajv@6.12.6: - resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} - dependencies: - fast-deep-equal: 3.1.3 - fast-json-stable-stringify: 2.1.0 - json-schema-traverse: 0.4.1 - uri-js: 4.4.1 - dev: true - - /ajv@8.12.0: - resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} - dependencies: - fast-deep-equal: 3.1.3 - json-schema-traverse: 1.0.0 - require-from-string: 2.0.2 - uri-js: 4.4.1 - dev: false - - /ansi-regex@5.0.1: - resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} - engines: {node: '>=8'} - - /ansi-styles@3.2.1: - resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} - engines: {node: '>=4'} - dependencies: - color-convert: 1.9.3 - dev: false - - /ansi-styles@4.3.0: - resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} - engines: {node: '>=8'} - dependencies: - color-convert: 2.0.1 - - /ansi-styles@5.2.0: - resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} - engines: {node: '>=10'} - - /anymatch@3.1.3: - resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} - engines: {node: '>= 8'} - dependencies: - normalize-path: 3.0.0 - picomatch: 2.3.1 - dev: true - - /aproba@2.0.0: - resolution: {integrity: sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==} - requiresBuild: true - optional: true - - /archy@1.0.0: - resolution: {integrity: sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==} - dev: false - - /are-we-there-yet@3.0.1: - resolution: {integrity: sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - requiresBuild: true - dependencies: - delegates: 1.0.0 - readable-stream: 3.6.2 - optional: true - - /arg@4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} - dev: true - - /argparse@2.0.1: - resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} - - /aria-query@5.3.0: - resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} - dependencies: - dequal: 2.0.3 - dev: false - - /array-union@2.1.0: - resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} - engines: {node: '>=8'} - dev: true - - /asn1js@3.0.5: - resolution: {integrity: sha512-FVnvrKJwpt9LP2lAMl8qZswRNm3T4q9CON+bxldk2iwk3FFpuwhx2FfinyitizWHsVYyaY+y5JzDR0rCMV5yTQ==} - engines: {node: '>=12.0.0'} - dependencies: - pvtsutils: 1.3.2 - pvutils: 1.1.3 - tslib: 2.6.2 - dev: false - - /assertion-error@1.1.0: - resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} - dev: true - - /asynckit@0.4.0: - resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - dev: false - - /atomic-sleep@1.0.0: - resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} - engines: {node: '>=8.0.0'} - dev: false - - /atomically@2.0.1: - resolution: {integrity: sha512-sxBhVZUFBFhqSAsYMM3X2oaUi2NVDJ8U026FsIusM8gYXls9AYs/eXzgGrufs1Qjpkxi9zunds+75QUFz+m7UQ==} - dependencies: - stubborn-fs: 1.2.4 - when-exit: 2.1.0 - dev: false - - /avvio@8.2.1: - resolution: {integrity: sha512-TAlMYvOuwGyLK3PfBb5WKBXZmXz2fVCgv23d6zZFdle/q3gPjmxBaeuC0pY0Dzs5PWMSgfqqEZkrye19GlDTgw==} - dependencies: - archy: 1.0.0 - debug: 4.3.4(supports-color@5.5.0) - fastq: 1.15.0 - transitivePeerDependencies: - - supports-color - dev: false - - /axios@1.6.2: - resolution: {integrity: sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==} - dependencies: - follow-redirects: 1.15.2 - form-data: 4.0.0 - proxy-from-env: 1.1.0 - transitivePeerDependencies: - - debug - dev: false - - /axobject-query@3.2.1: - resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==} - dependencies: - dequal: 2.0.3 - dev: false - - /balanced-match@1.0.2: - resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - - /base-64@0.1.0: - resolution: {integrity: sha512-Y5gU45svrR5tI2Vt/X9GPd3L0HNIKzGu202EjxrXMpuc2V2CiKgemAbUUsqYmZJvPtCXoUKjNZwBJzsNScUbXA==} - dev: false - - /base64-js@1.5.1: - resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - - /binary-extensions@2.2.0: - resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} - engines: {node: '>=8'} - - /binary-search@1.3.6: - resolution: {integrity: sha512-nbE1WxOTTrUWIfsfZ4aHGYu5DOuNkbxGokjV6Z2kxfJK3uaAb8zNK1muzOeipoLHZjInT4Br88BHpzevc681xA==} - dev: false - - /bindings@1.5.0: - resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} - dependencies: - file-uri-to-path: 1.0.0 - - /bl@4.1.0: - resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} - dependencies: - buffer: 5.7.1 - inherits: 2.0.4 - readable-stream: 3.6.2 - - /bowser@2.11.0: - resolution: {integrity: sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==} - dev: false - - /brace-expansion@1.1.11: - resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} - dependencies: - balanced-match: 1.0.2 - concat-map: 0.0.1 - - /brace-expansion@2.0.1: - resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} - dependencies: - balanced-match: 1.0.2 - dev: false - - /braces@3.0.2: - resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} - engines: {node: '>=8'} - dependencies: - fill-range: 7.0.1 - dev: true - - /buffer-writer@2.0.0: - resolution: {integrity: sha512-a7ZpuTZU1TRtnwyCNW3I5dc0wWNC3VR9S++Ewyk2HHZdrO3CQJqSpd+95Us590V6AL7JqUAH2IwZ/398PmNFgw==} - engines: {node: '>=4'} - dev: false - - /buffer@5.7.1: - resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} - dependencies: - base64-js: 1.5.1 - ieee754: 1.2.1 - - /buffer@6.0.3: - resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} - requiresBuild: true - dependencies: - base64-js: 1.5.1 - ieee754: 1.2.1 - dev: false - - /cac@6.7.14: - resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} - engines: {node: '>=8'} - - /cacache@15.3.0: - resolution: {integrity: sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==} - engines: {node: '>= 10'} - requiresBuild: true - dependencies: - '@npmcli/fs': 1.1.1 - '@npmcli/move-file': 1.1.2 - chownr: 2.0.0 - fs-minipass: 2.1.0 - glob: 7.2.3 - infer-owner: 1.0.4 - lru-cache: 6.0.0 - minipass: 3.3.6 - minipass-collect: 1.0.2 - minipass-flush: 1.0.5 - minipass-pipeline: 1.2.4 - mkdirp: 1.0.4 - p-map: 4.0.0 - promise-inflight: 1.0.1 - rimraf: 3.0.2 - ssri: 8.0.1 - tar: 6.2.0 - unique-filename: 1.1.1 - transitivePeerDependencies: - - bluebird - optional: true - - /callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} - dev: true - - /camelcase@6.3.0: - resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} - engines: {node: '>=10'} - dev: false - - /chai@4.3.10: - resolution: {integrity: sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==} - engines: {node: '>=4'} - dependencies: - assertion-error: 1.1.0 - check-error: 1.0.3 - deep-eql: 4.1.3 - get-func-name: 2.0.2 - loupe: 2.3.7 - pathval: 1.1.1 - type-detect: 4.0.8 - dev: true - - /chalk@2.4.2: - resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} - engines: {node: '>=4'} - dependencies: - ansi-styles: 3.2.1 - escape-string-regexp: 1.0.5 - supports-color: 5.5.0 - dev: false - - /chalk@4.1.2: - resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} - engines: {node: '>=10'} - dependencies: - ansi-styles: 4.3.0 - supports-color: 7.2.0 - dev: true - - /charenc@0.0.2: - resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==} - dev: false - - /chatgpt@5.2.5: - resolution: {integrity: sha512-DNhBzPb2zTDjJADY44XfngMvsvrvHRq1md2VPXLmnKeP1UCeA1B6pV3s9ZRwlcgjVT0RyM77fRj1xj5V11Vctg==} - engines: {node: '>=14'} - hasBin: true - dependencies: - cac: 6.7.14 - conf: 11.0.1 - eventsource-parser: 1.0.0 - js-tiktoken: 1.0.7 - keyv: 4.5.2 - p-timeout: 6.1.1 - quick-lru: 6.1.1 - read-pkg-up: 9.1.0 - uuid: 9.0.0 - dev: false - - /check-error@1.0.3: - resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} - dependencies: - get-func-name: 2.0.2 - dev: true - - /chokidar@3.5.3: - resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} - engines: {node: '>= 8.10.0'} - dependencies: - anymatch: 3.1.3 - braces: 3.0.2 - glob-parent: 5.1.2 - is-binary-path: 2.1.0 - is-glob: 4.0.3 - normalize-path: 3.0.0 - readdirp: 3.6.0 - optionalDependencies: - fsevents: 2.3.3 - dev: true - - /chownr@1.1.4: - resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} - - /chownr@2.0.0: - resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} - engines: {node: '>=10'} - - /chromadb@1.7.2(openai@4.23.0): - resolution: {integrity: sha512-Zf+opwc4uHfDu2gfWx3Uk/yak7KXiS1ThA9SzdaREh9wh5EXytkAhuJ9EPY4vOcp5qNriZ6Ep5+rr4YPSrw6vA==} - engines: {node: '>=14.17.0'} - peerDependencies: - '@google/generative-ai': ^0.1.1 - cohere-ai: ^5.0.0 || ^6.0.0 - openai: ^3.0.0 || ^4.0.0 - peerDependenciesMeta: - '@google/generative-ai': - optional: true - cohere-ai: - optional: true - openai: - optional: true - dependencies: - cliui: 8.0.1 - isomorphic-fetch: 3.0.0 - openai: 4.23.0 - transitivePeerDependencies: - - encoding - dev: false - - /clean-stack@2.2.0: - resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} - engines: {node: '>=6'} - requiresBuild: true - optional: true - - /cliui@8.0.1: - resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} - engines: {node: '>=12'} - dependencies: - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 7.0.0 - dev: false - - /code-red@1.0.4: - resolution: {integrity: sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - '@types/estree': 1.0.1 - acorn: 8.10.0 - estree-walker: 3.0.3 - periscopic: 3.1.0 - dev: false - - /color-convert@1.9.3: - resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} - dependencies: - color-name: 1.1.3 - dev: false - - /color-convert@2.0.1: - resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} - engines: {node: '>=7.0.0'} - dependencies: - color-name: 1.1.4 - - /color-name@1.1.3: - resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} - dev: false - - /color-name@1.1.4: - resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} - - /color-support@1.1.3: - resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} - hasBin: true - requiresBuild: true - optional: true - - /combined-stream@1.0.8: - resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} - engines: {node: '>= 0.8'} - dependencies: - delayed-stream: 1.0.0 - dev: false - - /commander@10.0.1: - resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} - engines: {node: '>=14'} - dev: false - - /concat-map@0.0.1: - resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - - /conf@11.0.1: - resolution: {integrity: sha512-WlLiQboEjKx0bYx2IIRGedBgNjLAxtwPaCSnsjWPST5xR0DB4q8lcsO/bEH9ZRYNcj63Y9vj/JG/5Fg6uWzI0Q==} - engines: {node: '>=14.16'} - dependencies: - ajv: 8.12.0 - ajv-formats: 2.1.1(ajv@8.12.0) - atomically: 2.0.1 - debounce-fn: 5.1.2 - dot-prop: 7.2.0 - env-paths: 3.0.0 - json-schema-typed: 8.0.1 - semver: 7.5.0 - dev: false - - /console-control-strings@1.1.0: - resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==} - requiresBuild: true - optional: true - - /content-disposition@0.5.4: - resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==} - engines: {node: '>= 0.6'} - dependencies: - safe-buffer: 5.2.1 - dev: false - - /cookie@0.5.0: - resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==} - engines: {node: '>= 0.6'} - dev: false - - /cookies@0.8.0: - resolution: {integrity: sha512-8aPsApQfebXnuI+537McwYsDtjVxGm8gTIzQI3FDW6t5t/DAhERxtnbEPN/8RX+uZthoz4eCOgloXaE5cYyNow==} - engines: {node: '>= 0.8'} - dependencies: - depd: 2.0.0 - keygrip: 1.1.0 - dev: false - - /create-require@1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} - dev: true - - /cross-spawn@7.0.3: - resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} - engines: {node: '>= 8'} - dependencies: - path-key: 3.1.1 - shebang-command: 2.0.0 - which: 2.0.2 - dev: true - - /crypt@0.0.2: - resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==} - dev: false - - /css-tree@2.3.1: - resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} - engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} - dependencies: - mdn-data: 2.0.30 - source-map-js: 1.0.2 - dev: false - - /csstype@3.1.1: - resolution: {integrity: sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==} - dev: false - - /debounce-fn@5.1.2: - resolution: {integrity: sha512-Sr4SdOZ4vw6eQDvPYNxHogvrxmCIld/VenC5JbNrFwMiwd7lY/Z18ZFfo+EWNG4DD9nFlAujWAo/wGuOPHmy5A==} - engines: {node: '>=12'} - dependencies: - mimic-fn: 4.0.0 - dev: false - - /debug@4.3.4(supports-color@5.5.0): - resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - dependencies: - ms: 2.1.2 - supports-color: 5.5.0 - - /decamelize@1.2.0: - resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} - engines: {node: '>=0.10.0'} - dev: false - - /decompress-response@6.0.0: - resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==} - engines: {node: '>=10'} - dependencies: - mimic-response: 3.1.0 - - /deep-eql@4.1.3: - resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} - engines: {node: '>=6'} - dependencies: - type-detect: 4.0.8 - dev: true - - /deep-extend@0.6.0: - resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} - engines: {node: '>=4.0.0'} - - /deep-is@0.1.4: - resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - dev: true - - /deepmerge@4.2.2: - resolution: {integrity: sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==} - engines: {node: '>=0.10.0'} - dev: false - - /delayed-stream@1.0.0: - resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} - engines: {node: '>=0.4.0'} - dev: false - - /delegates@1.0.0: - resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} - requiresBuild: true - optional: true - - /depd@2.0.0: - resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} - engines: {node: '>= 0.8'} - dev: false - - /dequal@2.0.3: - resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} - engines: {node: '>=6'} - dev: false - - /detect-libc@2.0.2: - resolution: {integrity: sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==} - engines: {node: '>=8'} - - /diff-sequences@29.6.3: - resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dev: true - - /diff@4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} - engines: {node: '>=0.3.1'} - dev: true - - /digest-fetch@1.3.0: - resolution: {integrity: sha512-CGJuv6iKNM7QyZlM2T3sPAdZWd/p9zQiRNS9G+9COUCwzWFTs0Xp8NF5iePx7wtvhDykReiRRrSeNb4oMmB8lA==} - dependencies: - base-64: 0.1.0 - md5: 2.3.0 - dev: false - - /dir-glob@3.0.1: - resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} - engines: {node: '>=8'} - dependencies: - path-type: 4.0.0 - dev: true - - /doctrine@3.0.0: - resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} - engines: {node: '>=6.0.0'} - dependencies: - esutils: 2.0.3 - dev: true - - /dot-case@3.0.4: - resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} - dependencies: - no-case: 3.0.4 - tslib: 2.6.2 - dev: false - - /dot-prop@7.2.0: - resolution: {integrity: sha512-Ol/IPXUARn9CSbkrdV4VJo7uCy1I3VuSiWCaFSg+8BdUOzF9n3jefIpcgAydvUZbTdEBZs2vEiTiS9m61ssiDA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - type-fest: 2.19.0 - dev: false - - /dottie@2.0.6: - resolution: {integrity: sha512-iGCHkfUc5kFekGiqhe8B/mdaurD+lakO9txNnTvKtA6PISrw86LgqHvRzWYPyoE2Ph5aMIrCw9/uko6XHTKCwA==} - dev: false - - /effect@2.0.0-next.61: - resolution: {integrity: sha512-BuRr9SEwYdMVLQunATRjm3MAkTgWI21Tyn5ooWVZnTeXj0lUqSV0fjaqNFksEymssmwJ1ucogbuYQ/3RLmwxgA==} - dev: false - - /emoji-regex@8.0.0: - resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - - /encoding@0.1.13: - resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==} - requiresBuild: true - dependencies: - iconv-lite: 0.6.3 - optional: true - - /end-of-stream@1.4.4: - resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} - dependencies: - once: 1.4.0 - - /env-paths@2.2.1: - resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} - engines: {node: '>=6'} - requiresBuild: true - optional: true - - /env-paths@3.0.0: - resolution: {integrity: sha512-dtJUTepzMW3Lm/NPxRf3wP4642UWhjL2sQxc+ym2YMj1m/H2zDNQOlezafzkHwn6sMstjHTwG6iQQsctDW/b1A==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: false - - /err-code@2.0.3: - resolution: {integrity: sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==} - requiresBuild: true - optional: true - - /error-ex@1.3.2: - resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} - dependencies: - is-arrayish: 0.2.1 - dev: false - - /esbuild@0.19.10: - resolution: {integrity: sha512-S1Y27QGt/snkNYrRcswgRFqZjaTG5a5xM3EQo97uNBnH505pdzSNe/HLBq1v0RO7iK/ngdbhJB6mDAp0OK+iUA==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/aix-ppc64': 0.19.10 - '@esbuild/android-arm': 0.19.10 - '@esbuild/android-arm64': 0.19.10 - '@esbuild/android-x64': 0.19.10 - '@esbuild/darwin-arm64': 0.19.10 - '@esbuild/darwin-x64': 0.19.10 - '@esbuild/freebsd-arm64': 0.19.10 - '@esbuild/freebsd-x64': 0.19.10 - '@esbuild/linux-arm': 0.19.10 - '@esbuild/linux-arm64': 0.19.10 - '@esbuild/linux-ia32': 0.19.10 - '@esbuild/linux-loong64': 0.19.10 - '@esbuild/linux-mips64el': 0.19.10 - '@esbuild/linux-ppc64': 0.19.10 - '@esbuild/linux-riscv64': 0.19.10 - '@esbuild/linux-s390x': 0.19.10 - '@esbuild/linux-x64': 0.19.10 - '@esbuild/netbsd-x64': 0.19.10 - '@esbuild/openbsd-x64': 0.19.10 - '@esbuild/sunos-x64': 0.19.10 - '@esbuild/win32-arm64': 0.19.10 - '@esbuild/win32-ia32': 0.19.10 - '@esbuild/win32-x64': 0.19.10 - dev: true - - /escape-html@1.0.3: - resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} - dev: false - - /escape-string-regexp@1.0.5: - resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} - engines: {node: '>=0.8.0'} - dev: false - - /escape-string-regexp@4.0.0: - resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} - engines: {node: '>=10'} - dev: true - - /eslint-config-prettier@8.8.0(eslint@8.40.0): - resolution: {integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==} - hasBin: true - peerDependencies: - eslint: '>=7.0.0' - dependencies: - eslint: 8.40.0 - dev: true - - /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.8.0)(eslint@8.40.0)(prettier@2.8.8): - resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} - engines: {node: '>=12.0.0'} - peerDependencies: - eslint: '>=7.28.0' - eslint-config-prettier: '*' - prettier: '>=2.0.0' - peerDependenciesMeta: - eslint-config-prettier: - optional: true - dependencies: - eslint: 8.40.0 - eslint-config-prettier: 8.8.0(eslint@8.40.0) - prettier: 2.8.8 - prettier-linter-helpers: 1.0.0 - dev: true - - /eslint-scope@5.1.1: - resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} - engines: {node: '>=8.0.0'} - dependencies: - esrecurse: 4.3.0 - estraverse: 4.3.0 - dev: true - - /eslint-scope@7.2.0: - resolution: {integrity: sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 - dev: true - - /eslint-visitor-keys@3.4.1: - resolution: {integrity: sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - - /eslint@8.40.0: - resolution: {integrity: sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - hasBin: true - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.40.0) - '@eslint-community/regexpp': 4.5.1 - '@eslint/eslintrc': 2.0.3 - '@eslint/js': 8.40.0 - '@humanwhocodes/config-array': 0.11.8 - '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - ajv: 6.12.6 - chalk: 4.1.2 - cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@5.5.0) - doctrine: 3.0.0 - escape-string-regexp: 4.0.0 - eslint-scope: 7.2.0 - eslint-visitor-keys: 3.4.1 - espree: 9.5.2 - esquery: 1.5.0 - esutils: 2.0.3 - fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 - find-up: 5.0.0 - glob-parent: 6.0.2 - globals: 13.20.0 - grapheme-splitter: 1.0.4 - ignore: 5.2.4 - import-fresh: 3.3.0 - imurmurhash: 0.1.4 - is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-sdsl: 4.4.0 - js-yaml: 4.1.0 - json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 - lodash.merge: 4.6.2 - minimatch: 3.1.2 - natural-compare: 1.4.0 - optionator: 0.9.1 - strip-ansi: 6.0.1 - strip-json-comments: 3.1.1 - text-table: 0.2.0 - transitivePeerDependencies: - - supports-color - dev: true - - /espree@9.5.2: - resolution: {integrity: sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - acorn: 8.8.2 - acorn-jsx: 5.3.2(acorn@8.8.2) - eslint-visitor-keys: 3.4.1 - dev: true - - /esquery@1.5.0: - resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} - engines: {node: '>=0.10'} - dependencies: - estraverse: 5.3.0 - dev: true - - /esrecurse@4.3.0: - resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} - engines: {node: '>=4.0'} - dependencies: - estraverse: 5.3.0 - dev: true - - /estraverse@4.3.0: - resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} - engines: {node: '>=4.0'} - dev: true - - /estraverse@5.3.0: - resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} - engines: {node: '>=4.0'} - dev: true - - /estree-walker@2.0.2: - resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} - dev: false - - /estree-walker@3.0.3: - resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} - dependencies: - '@types/estree': 1.0.1 - dev: false - - /esutils@2.0.3: - resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} - engines: {node: '>=0.10.0'} - dev: true - - /event-target-shim@5.0.1: - resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} - engines: {node: '>=6'} - dev: false - - /eventemitter3@4.0.7: - resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==} - dev: false - - /events@3.3.0: - resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} - engines: {node: '>=0.8.x'} - requiresBuild: true - dev: false - - /eventsource-parser@1.0.0: - resolution: {integrity: sha512-9jgfSCa3dmEme2ES3mPByGXfgZ87VbP97tng1G2nWwWx6bV2nYxm2AWCrbQjXToSe+yYlqaZNtxffR9IeQr95g==} - engines: {node: '>=14.18'} - dev: false - - /execa@8.0.1: - resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} - engines: {node: '>=16.17'} - dependencies: - cross-spawn: 7.0.3 - get-stream: 8.0.1 - human-signals: 5.0.0 - is-stream: 3.0.0 - merge-stream: 2.0.0 - npm-run-path: 5.1.0 - onetime: 6.0.0 - signal-exit: 4.1.0 - strip-final-newline: 3.0.0 - dev: true - - /expand-template@2.0.3: - resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==} - engines: {node: '>=6'} - - /expr-eval@2.0.2: - resolution: {integrity: sha512-4EMSHGOPSwAfBiibw3ndnP0AvjDWLsMvGOvWEZ2F96IGk0bIVdjQisOHxReSkE13mHcfbuCiXw+G4y0zv6N8Eg==} - dev: false - - /fast-check@3.15.0: - resolution: {integrity: sha512-iBz6c+EXL6+nI931x/sbZs1JYTZtLG6Cko0ouS8LRTikhDR7+wZk4TYzdRavlnByBs2G6+nuuJ7NYL9QplNt8Q==} - engines: {node: '>=8.0.0'} - dependencies: - pure-rand: 6.0.2 - dev: false - - /fast-content-type-parse@1.1.0: - resolution: {integrity: sha512-fBHHqSTFLVnR61C+gltJuE5GkVQMV0S2nqUO8TJ+5Z3qAKG8vAx4FKai1s5jq/inV1+sREynIWSuQ6HgoSXpDQ==} - dev: false - - /fast-decode-uri-component@1.0.1: - resolution: {integrity: sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==} - dev: false - - /fast-deep-equal@3.1.3: - resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} - - /fast-diff@1.2.0: - resolution: {integrity: sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==} - dev: true - - /fast-glob@3.2.12: - resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} - engines: {node: '>=8.6.0'} - dependencies: - '@nodelib/fs.stat': 2.0.5 - '@nodelib/fs.walk': 1.2.8 - glob-parent: 5.1.2 - merge2: 1.4.1 - micromatch: 4.0.5 - dev: true - - /fast-json-stable-stringify@2.1.0: - resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} - dev: true - - /fast-json-stringify@5.9.1: - resolution: {integrity: sha512-NMrf+uU9UJnTzfxaumMDXK1NWqtPCfGoM9DYIE+ESlaTQqjlANFBy0VAbsm6FB88Mx0nceyi18zTo5kIEUlzxg==} - dependencies: - '@fastify/deepmerge': 1.3.0 - ajv: 8.12.0 - ajv-formats: 2.1.1(ajv@8.12.0) - fast-deep-equal: 3.1.3 - fast-uri: 2.2.0 - json-schema-ref-resolver: 1.0.1 - rfdc: 1.3.0 - dev: false - - /fast-levenshtein@2.0.6: - resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - dev: true - - /fast-querystring@1.1.1: - resolution: {integrity: sha512-qR2r+e3HvhEFmpdHMv//U8FnFlnYjaC6QKDuaXALDkw2kvHO8WDjxH+f/rHGR4Me4pnk8p9JAkRNTjYHAKRn2Q==} - dependencies: - fast-decode-uri-component: 1.0.1 - dev: false - - /fast-redact@3.1.2: - resolution: {integrity: sha512-+0em+Iya9fKGfEQGcd62Yv6onjBmmhV1uh86XVfOU8VwAe6kaFdQCWI9s0/Nnugx5Vd9tdbZ7e6gE2tR9dzXdw==} - engines: {node: '>=6'} - dev: false - - /fast-uri@2.2.0: - resolution: {integrity: sha512-cIusKBIt/R/oI6z/1nyfe2FvGKVTohVRfvkOhvx0nCEW+xf5NoCXjAHcWp93uOUBchzYcsvPlrapAdX1uW+YGg==} - dev: false - - /fast-xml-parser@4.2.5: - resolution: {integrity: sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==} - hasBin: true - dependencies: - strnum: 1.0.5 - dev: false - - /fastify-plugin@4.5.1: - resolution: {integrity: sha512-stRHYGeuqpEZTL1Ef0Ovr2ltazUT9g844X5z/zEBFLG8RYlpDiOCIG+ATvYEp+/zmc7sN29mcIMp8gvYplYPIQ==} - - /fastify@4.25.1: - resolution: {integrity: sha512-D8d0rv61TwqoAS7lom2tvIlgVMlx88lLsiwXyWNjA7CU/LC/mx/Gp2WAlC0S/ABq19U+y/aRvYFG5xLUu2aMrg==} - dependencies: - '@fastify/ajv-compiler': 3.5.0 - '@fastify/error': 3.4.1 - '@fastify/fast-json-stringify-compiler': 4.3.0 - abstract-logging: 2.0.1 - avvio: 8.2.1 - fast-content-type-parse: 1.1.0 - fast-json-stringify: 5.9.1 - find-my-way: 7.7.0 - light-my-request: 5.11.0 - pino: 8.17.1 - process-warning: 3.0.0 - proxy-addr: 2.0.7 - rfdc: 1.3.0 - secure-json-parse: 2.7.0 - semver: 7.5.4 - toad-cache: 3.4.1 - transitivePeerDependencies: - - supports-color - dev: false - - /fastq@1.15.0: - resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} - dependencies: - reusify: 1.0.4 - - /file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} - dependencies: - flat-cache: 3.0.4 - dev: true - - /file-uri-to-path@1.0.0: - resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} - - /fill-range@7.0.1: - resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} - engines: {node: '>=8'} - dependencies: - to-regex-range: 5.0.1 - dev: true - - /find-my-way@7.7.0: - resolution: {integrity: sha512-+SrHpvQ52Q6W9f3wJoJBbAQULJuNEEQwBvlvYwACDhBTLOTMiQ0HYWh4+vC3OivGP2ENcTI1oKlFA2OepJNjhQ==} - engines: {node: '>=14'} - dependencies: - fast-deep-equal: 3.1.3 - fast-querystring: 1.1.1 - safe-regex2: 2.0.0 - dev: false - - /find-up@5.0.0: - resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} - engines: {node: '>=10'} - dependencies: - locate-path: 6.0.0 - path-exists: 4.0.0 - dev: true - - /find-up@6.3.0: - resolution: {integrity: sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - locate-path: 7.2.0 - path-exists: 5.0.0 - dev: false - - /flat-cache@3.0.4: - resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} - engines: {node: ^10.12.0 || >=12.0.0} - dependencies: - flatted: 3.2.7 - rimraf: 3.0.2 - dev: true - - /flat@5.0.2: - resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} - hasBin: true - dev: false - - /flatted@3.2.7: - resolution: {integrity: sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==} - dev: true - - /follow-redirects@1.15.2: - resolution: {integrity: sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==} - engines: {node: '>=4.0'} - peerDependencies: - debug: '*' - peerDependenciesMeta: - debug: - optional: true - dev: false - - /form-data-encoder@1.7.2: - resolution: {integrity: sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==} - dev: false - - /form-data@3.0.1: - resolution: {integrity: sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==} - engines: {node: '>= 6'} - dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.35 - dev: false - - /form-data@4.0.0: - resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} - engines: {node: '>= 6'} - dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.35 - dev: false - - /formdata-node@4.4.1: - resolution: {integrity: sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==} - engines: {node: '>= 12.20'} - dependencies: - node-domexception: 1.0.0 - web-streams-polyfill: 4.0.0-beta.3 - dev: false - - /forwarded@0.2.0: - resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} - engines: {node: '>= 0.6'} - dev: false - - /fs-constants@1.0.0: - resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} - - /fs-minipass@2.1.0: - resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==} - engines: {node: '>= 8'} - dependencies: - minipass: 3.3.6 - - /fs.realpath@1.0.0: - resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} - - /fsevents@2.3.3: - resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /function-bind@1.1.1: - resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} - dev: false - - /gauge@4.0.4: - resolution: {integrity: sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - requiresBuild: true - dependencies: - aproba: 2.0.0 - color-support: 1.1.3 - console-control-strings: 1.1.0 - has-unicode: 2.0.1 - signal-exit: 3.0.7 - string-width: 4.2.3 - strip-ansi: 6.0.1 - wide-align: 1.1.5 - optional: true - - /get-func-name@2.0.2: - resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} - dev: true - - /get-stream@8.0.1: - resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} - engines: {node: '>=16'} - dev: true - - /github-from-package@0.0.0: - resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==} - - /glob-parent@5.1.2: - resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} - engines: {node: '>= 6'} - dependencies: - is-glob: 4.0.3 - dev: true - - /glob-parent@6.0.2: - resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} - engines: {node: '>=10.13.0'} - dependencies: - is-glob: 4.0.3 - dev: true - - /glob-to-regexp@0.4.1: - resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} - dev: false - - /glob@7.2.3: - resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - requiresBuild: true - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - - /glob@8.1.0: - resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} - engines: {node: '>=12'} - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 5.1.6 - once: 1.4.0 - dev: false - - /globals@13.20.0: - resolution: {integrity: sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==} - engines: {node: '>=8'} - dependencies: - type-fest: 0.20.2 - dev: true - - /globby@11.1.0: - resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} - engines: {node: '>=10'} - dependencies: - array-union: 2.1.0 - dir-glob: 3.0.1 - fast-glob: 3.2.12 - ignore: 5.2.4 - merge2: 1.4.1 - slash: 3.0.0 - dev: true - - /graceful-fs@4.2.11: - resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - requiresBuild: true - optional: true - - /grapheme-splitter@1.0.4: - resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} - dev: true - - /has-flag@3.0.0: - resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} - engines: {node: '>=4'} - - /has-flag@4.0.0: - resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} - engines: {node: '>=8'} - dev: true - - /has-unicode@2.0.1: - resolution: {integrity: sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==} - requiresBuild: true - optional: true - - /has@1.0.3: - resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} - engines: {node: '>= 0.4.0'} - dependencies: - function-bind: 1.1.1 - dev: false - - /hosted-git-info@4.1.0: - resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} - engines: {node: '>=10'} - dependencies: - lru-cache: 6.0.0 - dev: false - - /http-cache-semantics@4.1.1: - resolution: {integrity: sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==} - requiresBuild: true - optional: true - - /http-errors@2.0.0: - resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} - engines: {node: '>= 0.8'} - dependencies: - depd: 2.0.0 - inherits: 2.0.4 - setprototypeof: 1.2.0 - statuses: 2.0.1 - toidentifier: 1.0.1 - dev: false - - /http-proxy-agent@4.0.1: - resolution: {integrity: sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==} - engines: {node: '>= 6'} - requiresBuild: true - dependencies: - '@tootallnate/once': 1.1.2 - agent-base: 6.0.2 - debug: 4.3.4(supports-color@5.5.0) - transitivePeerDependencies: - - supports-color - optional: true - - /https-proxy-agent@5.0.1: - resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} - engines: {node: '>= 6'} - requiresBuild: true - dependencies: - agent-base: 6.0.2 - debug: 4.3.4(supports-color@5.5.0) - transitivePeerDependencies: - - supports-color - optional: true - - /human-signals@5.0.0: - resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} - engines: {node: '>=16.17.0'} - dev: true - - /humanize-ms@1.2.1: - resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==} - dependencies: - ms: 2.1.3 - - /iconv-lite@0.6.3: - resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} - engines: {node: '>=0.10.0'} - requiresBuild: true - dependencies: - safer-buffer: 2.1.2 - optional: true - - /ieee754@1.2.1: - resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} - requiresBuild: true - - /ignore-by-default@1.0.1: - resolution: {integrity: sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==} - dev: true - - /ignore@5.2.4: - resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} - engines: {node: '>= 4'} - dev: true - - /import-fresh@3.3.0: - resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} - engines: {node: '>=6'} - dependencies: - parent-module: 1.0.1 - resolve-from: 4.0.0 - dev: true - - /imurmurhash@0.1.4: - resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} - engines: {node: '>=0.8.19'} - - /indent-string@4.0.0: - resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} - engines: {node: '>=8'} - requiresBuild: true - optional: true - - /infer-owner@1.0.4: - resolution: {integrity: sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==} - requiresBuild: true - optional: true - - /inflection@1.13.4: - resolution: {integrity: sha512-6I/HUDeYFfuNCVS3td055BaXBwKYuzw7K3ExVMStBowKo9oOAMJIXIHvdyR3iboTCp1b+1i5DSkIZTcwIktuDw==} - engines: {'0': node >= 0.4.0} - dev: false - - /inflight@1.0.6: - resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} - dependencies: - once: 1.4.0 - wrappy: 1.0.2 - - /inherits@2.0.4: - resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} - - /ini@1.3.8: - resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} - - /ip@2.0.0: - resolution: {integrity: sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==} - requiresBuild: true - optional: true - - /ipaddr.js@1.9.1: - resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} - engines: {node: '>= 0.10'} - dev: false - - /is-any-array@2.0.1: - resolution: {integrity: sha512-UtilS7hLRu++wb/WBAw9bNuP1Eg04Ivn1vERJck8zJthEvXCBEBpGR/33u/xLKWEQf95803oalHrVDptcAvFdQ==} - dev: false - - /is-arrayish@0.2.1: - resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} - dev: false - - /is-binary-path@2.1.0: - resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} - engines: {node: '>=8'} - dependencies: - binary-extensions: 2.2.0 - dev: true - - /is-buffer@1.1.6: - resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} - dev: false - - /is-core-module@2.12.0: - resolution: {integrity: sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ==} - dependencies: - has: 1.0.3 - dev: false - - /is-extglob@2.1.1: - resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} - engines: {node: '>=0.10.0'} - dev: true - - /is-fullwidth-code-point@3.0.0: - resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} - engines: {node: '>=8'} - - /is-glob@4.0.3: - resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} - engines: {node: '>=0.10.0'} - dependencies: - is-extglob: 2.1.1 - dev: true - - /is-lambda@1.0.1: - resolution: {integrity: sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==} - requiresBuild: true - optional: true - - /is-number@7.0.0: - resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} - engines: {node: '>=0.12.0'} - dev: true - - /is-path-inside@3.0.3: - resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} - engines: {node: '>=8'} - dev: true - - /is-reference@3.0.1: - resolution: {integrity: sha512-baJJdQLiYaJdvFbJqXrcGv3WU3QCzBlUcI5QhbesIm6/xPsvmO+2CDoi/GMOFBQEQm+PXkwOPrp9KK5ozZsp2w==} - dependencies: - '@types/estree': 1.0.1 - dev: false - - /is-stream@3.0.0: - resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: true - - /isexe@2.0.0: - resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - - /isomorphic-fetch@3.0.0: - resolution: {integrity: sha512-qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA==} - dependencies: - node-fetch: 2.6.12 - whatwg-fetch: 3.6.17 - transitivePeerDependencies: - - encoding - dev: false - - /js-cookie@3.0.1: - resolution: {integrity: sha512-+0rgsUXZu4ncpPxRL+lNEptWMOWl9etvPHc/koSRp6MPwpRYAhmk0dUG00J4bxVV3r9uUzfo24wW0knS07SKSw==} - engines: {node: '>=12'} - dev: false - - /js-sdsl@4.4.0: - resolution: {integrity: sha512-FfVSdx6pJ41Oa+CF7RDaFmTnCaFhua+SNYQX74riGOpl96x+2jQCqEfQ2bnXu/5DPCqlRuiqyvTJM0Qjz26IVg==} - dev: true - - /js-tiktoken@1.0.7: - resolution: {integrity: sha512-biba8u/clw7iesNEWLOLwrNGoBP2lA+hTaBLs/D45pJdUPFXyxD6nhcDVtADChghv4GgyAiMKYMiRx7x6h7Biw==} - dependencies: - base64-js: 1.5.1 - dev: false - - /js-tiktoken@1.0.8: - resolution: {integrity: sha512-r7XK3E9/I+SOrbAGqb39pyO/rHAS1diAOSRAvaaLfHgXjkUSK9AiSd+r84Vn2f/GvXJYRAxKj8NHrUvqlaH5qg==} - dependencies: - base64-js: 1.5.1 - dev: false - - /js-tokens@4.0.0: - resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - dev: false - - /js-yaml@4.1.0: - resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} - hasBin: true - dependencies: - argparse: 2.0.1 - - /json-buffer@3.0.1: - resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} - dev: false - - /json-parse-even-better-errors@2.3.1: - resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} - dev: false - - /json-schema-ref-resolver@1.0.1: - resolution: {integrity: sha512-EJAj1pgHc1hxF6vo2Z3s69fMjO1INq6eGHXZ8Z6wCQeldCuwxGK9Sxf4/cScGn3FZubCVUehfWtcDM/PLteCQw==} - dependencies: - fast-deep-equal: 3.1.3 - dev: false - - /json-schema-resolver@2.0.0: - resolution: {integrity: sha512-pJ4XLQP4Q9HTxl6RVDLJ8Cyh1uitSs0CzDBAz1uoJ4sRD/Bk7cFSXL1FUXDW3zJ7YnfliJx6eu8Jn283bpZ4Yg==} - engines: {node: '>=10'} - dependencies: - debug: 4.3.4(supports-color@5.5.0) - rfdc: 1.3.0 - uri-js: 4.4.1 - transitivePeerDependencies: - - supports-color - dev: false - - /json-schema-traverse@0.4.1: - resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} - dev: true - - /json-schema-traverse@1.0.0: - resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} - dev: false - - /json-schema-typed@8.0.1: - resolution: {integrity: sha512-XQmWYj2Sm4kn4WeTYvmpKEbyPsL7nBsb647c7pMe6l02/yx2+Jfc4dT6UZkEXnIUb5LhD55r2HPsJ1milQ4rDg==} - dev: false - - /json-stable-stringify-without-jsonify@1.0.1: - resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} - dev: true - - /jsonc-parser@3.2.0: - resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} - dev: true - - /jsonpointer@5.0.1: - resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==} - engines: {node: '>=0.10.0'} - dev: false - - /keygrip@1.1.0: - resolution: {integrity: sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ==} - engines: {node: '>= 0.6'} - dependencies: - tsscmp: 1.0.6 - dev: false - - /keyv@4.5.2: - resolution: {integrity: sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g==} - dependencies: - json-buffer: 3.0.1 - dev: false - - /langchain@0.0.209(@aws-sdk/client-s3@3.478.0)(axios@1.6.2)(chromadb@1.7.2)(pg@8.11.3)(replicate@0.25.2): - resolution: {integrity: sha512-5+ixk2z6XP7NiPqAinrolwd4LKA4b+gWDiFHGaMnk3AHeOnquUHEEqDXghuQrMpr93p8egwO9AgmpKpAIvznFg==} - engines: {node: '>=18'} - peerDependencies: - '@aws-sdk/client-s3': ^3.310.0 - '@aws-sdk/client-sagemaker-runtime': ^3.310.0 - '@aws-sdk/client-sfn': ^3.310.0 - '@aws-sdk/credential-provider-node': ^3.388.0 - '@azure/storage-blob': ^12.15.0 - '@gomomento/sdk': ^1.51.1 - '@gomomento/sdk-core': ^1.51.1 - '@gomomento/sdk-web': ^1.51.1 - '@google-ai/generativelanguage': ^0.2.1 - '@google-cloud/storage': ^6.10.1 - '@notionhq/client': ^2.2.10 - '@pinecone-database/pinecone': ^1.1.0 - '@supabase/supabase-js': ^2.10.0 - '@vercel/kv': ^0.2.3 - '@xata.io/client': ^0.28.0 - apify-client: ^2.7.1 - assemblyai: ^4.0.0 - axios: '*' - cheerio: ^1.0.0-rc.12 - chromadb: '*' - convex: ^1.3.1 - d3-dsv: ^2.0.0 - epub2: ^3.0.1 - faiss-node: '*' - fast-xml-parser: ^4.2.7 - google-auth-library: ^8.9.0 - googleapis: ^126.0.1 - html-to-text: ^9.0.5 - ignore: ^5.2.0 - ioredis: ^5.3.2 - jsdom: '*' - mammoth: '*' - mongodb: ^5.2.0 - node-llama-cpp: '*' - notion-to-md: ^3.1.0 - officeparser: ^4.0.4 - pdf-parse: 1.1.1 - peggy: ^3.0.2 - playwright: ^1.32.1 - puppeteer: ^19.7.2 - pyodide: ^0.24.1 - redis: ^4.6.4 - sonix-speech-recognition: ^2.1.1 - srt-parser-2: ^1.2.2 - typeorm: ^0.3.12 - vectordb: ^0.1.4 - weaviate-ts-client: ^1.4.0 - web-auth-library: ^1.0.3 - ws: ^8.14.2 - youtube-transcript: ^1.0.6 - youtubei.js: ^5.8.0 - peerDependenciesMeta: - '@aws-sdk/client-s3': - optional: true - '@aws-sdk/client-sagemaker-runtime': - optional: true - '@aws-sdk/client-sfn': - optional: true - '@aws-sdk/credential-provider-node': - optional: true - '@azure/storage-blob': - optional: true - '@gomomento/sdk': - optional: true - '@gomomento/sdk-core': - optional: true - '@gomomento/sdk-web': - optional: true - '@google-ai/generativelanguage': - optional: true - '@google-cloud/storage': - optional: true - '@notionhq/client': - optional: true - '@pinecone-database/pinecone': - optional: true - '@supabase/supabase-js': - optional: true - '@vercel/kv': - optional: true - '@xata.io/client': - optional: true - apify-client: - optional: true - assemblyai: - optional: true - axios: - optional: true - cheerio: - optional: true - chromadb: - optional: true - convex: - optional: true - d3-dsv: - optional: true - epub2: - optional: true - faiss-node: - optional: true - fast-xml-parser: - optional: true - google-auth-library: - optional: true - googleapis: - optional: true - html-to-text: - optional: true - ignore: - optional: true - ioredis: - optional: true - jsdom: - optional: true - mammoth: - optional: true - mongodb: - optional: true - node-llama-cpp: - optional: true - notion-to-md: - optional: true - officeparser: - optional: true - pdf-parse: - optional: true - peggy: - optional: true - playwright: - optional: true - puppeteer: - optional: true - pyodide: - optional: true - redis: - optional: true - sonix-speech-recognition: - optional: true - srt-parser-2: - optional: true - typeorm: - optional: true - vectordb: - optional: true - weaviate-ts-client: - optional: true - web-auth-library: - optional: true - ws: - optional: true - youtube-transcript: - optional: true - youtubei.js: - optional: true - dependencies: - '@anthropic-ai/sdk': 0.9.1 - '@aws-sdk/client-s3': 3.478.0 - '@langchain/community': 0.0.7(chromadb@1.7.2)(pg@8.11.3)(replicate@0.25.2) - '@langchain/core': 0.1.2 - '@langchain/openai': 0.0.6 - axios: 1.6.2 - binary-extensions: 2.2.0 - chromadb: 1.7.2(openai@4.23.0) - expr-eval: 2.0.2 - js-tiktoken: 1.0.7 - js-yaml: 4.1.0 - jsonpointer: 5.0.1 - langchainhub: 0.0.6 - langsmith: 0.0.52 - ml-distance: 4.0.1 - openapi-types: 12.1.3 - p-retry: 4.6.2 - uuid: 9.0.0 - yaml: 2.3.1 - zod: 3.22.4 - zod-to-json-schema: 3.20.3(zod@3.22.4) - transitivePeerDependencies: - - '@aws-crypto/sha256-js' - - '@aws-sdk/client-bedrock-runtime' - - '@aws-sdk/client-dynamodb' - - '@aws-sdk/client-kendra' - - '@aws-sdk/client-lambda' - - '@clickhouse/client' - - '@cloudflare/ai' - - '@elastic/elasticsearch' - - '@getmetal/metal-sdk' - - '@getzep/zep-js' - - '@gradientai/nodejs-sdk' - - '@huggingface/inference' - - '@mozilla/readability' - - '@opensearch-project/opensearch' - - '@planetscale/database' - - '@qdrant/js-client-rest' - - '@raycast/api' - - '@rockset/client' - - '@smithy/eventstream-codec' - - '@smithy/protocol-http' - - '@smithy/signature-v4' - - '@smithy/util-utf8' - - '@supabase/postgrest-js' - - '@tensorflow-models/universal-sentence-encoder' - - '@tensorflow/tfjs-converter' - - '@tensorflow/tfjs-core' - - '@upstash/redis' - - '@vercel/postgres' - - '@writerai/writer-sdk' - - '@xenova/transformers' - - '@zilliz/milvus2-sdk-node' - - cassandra-driver - - closevector-common - - closevector-node - - closevector-web - - cohere-ai - - discord.js - - encoding - - firebase-admin - - hnswlib-node - - llmonitor - - lodash - - mysql2 - - neo4j-driver - - pg - - pg-copy-streams - - pickleparser - - portkey-ai - - replicate - - typesense - - usearch - - voy-search - dev: false - - /langchainhub@0.0.6: - resolution: {integrity: sha512-SW6105T+YP1cTe0yMf//7kyshCgvCTyFBMTgH2H3s9rTAR4e+78DA/BBrUL/Mt4Q5eMWui7iGuAYb3pgGsdQ9w==} - dev: false - - /langsmith@0.0.52: - resolution: {integrity: sha512-xfEi2gpXvPgCBR4x3MqFHXmAJ5sFpfrcsb2QduXj2gylk6V+8CG5AONgvo0Y1Wx/nue+6EZjmcDjjH+aDi8NIA==} - hasBin: true - dependencies: - '@types/uuid': 9.0.2 - commander: 10.0.1 - p-queue: 6.6.2 - p-retry: 4.6.2 - uuid: 9.0.0 - dev: false - - /levn@0.4.1: - resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} - engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.2.1 - type-check: 0.4.0 - dev: true - - /light-my-request@5.11.0: - resolution: {integrity: sha512-qkFCeloXCOMpmEdZ/MV91P8AT4fjwFXWaAFz3lUeStM8RcoM1ks4J/F8r1b3r6y/H4u3ACEJ1T+Gv5bopj7oDA==} - dependencies: - cookie: 0.5.0 - process-warning: 2.2.0 - set-cookie-parser: 2.6.0 - dev: false - - /lines-and-columns@1.2.4: - resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - dev: false - - /local-pkg@0.5.0: - resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} - engines: {node: '>=14'} - dependencies: - mlly: 1.4.2 - pkg-types: 1.0.3 - dev: true - - /locate-character@3.0.0: - resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==} - dev: false - - /locate-path@6.0.0: - resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} - engines: {node: '>=10'} - dependencies: - p-locate: 5.0.0 - dev: true - - /locate-path@7.2.0: - resolution: {integrity: sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - p-locate: 6.0.0 - dev: false - - /lodash.merge@4.6.2: - resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - dev: true - - /lodash@4.17.21: - resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} - dev: false - - /loose-envify@1.4.0: - resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} - hasBin: true - dependencies: - js-tokens: 4.0.0 - dev: false - - /loupe@2.3.7: - resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} - dependencies: - get-func-name: 2.0.2 - dev: true - - /lower-case@2.0.2: - resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} - dependencies: - tslib: 2.6.2 - dev: false - - /lru-cache@10.1.0: - resolution: {integrity: sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==} - engines: {node: 14 || >=16.14} - dev: false - - /lru-cache@6.0.0: - resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} - engines: {node: '>=10'} - dependencies: - yallist: 4.0.0 - - /magic-string@0.30.5: - resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - - /make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - dev: true - - /make-fetch-happen@9.1.0: - resolution: {integrity: sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==} - engines: {node: '>= 10'} - requiresBuild: true - dependencies: - agentkeepalive: 4.5.0 - cacache: 15.3.0 - http-cache-semantics: 4.1.1 - http-proxy-agent: 4.0.1 - https-proxy-agent: 5.0.1 - is-lambda: 1.0.1 - lru-cache: 6.0.0 - minipass: 3.3.6 - minipass-collect: 1.0.2 - minipass-fetch: 1.4.1 - minipass-flush: 1.0.5 - minipass-pipeline: 1.2.4 - negotiator: 0.6.3 - promise-retry: 2.0.1 - socks-proxy-agent: 6.2.1 - ssri: 8.0.1 - transitivePeerDependencies: - - bluebird - - supports-color - optional: true - - /map-obj@4.3.0: - resolution: {integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==} - engines: {node: '>=8'} - dev: false - - /md5@2.3.0: - resolution: {integrity: sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==} - dependencies: - charenc: 0.0.2 - crypt: 0.0.2 - is-buffer: 1.1.6 - dev: false - - /mdn-data@2.0.30: - resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} - dev: false - - /merge-stream@2.0.0: - resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} - dev: true - - /merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} - dev: true - - /micromatch@4.0.5: - resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} - engines: {node: '>=8.6'} - dependencies: - braces: 3.0.2 - picomatch: 2.3.1 - dev: true - - /mime-db@1.52.0: - resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} - engines: {node: '>= 0.6'} - dev: false - - /mime-types@2.1.35: - resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} - engines: {node: '>= 0.6'} - dependencies: - mime-db: 1.52.0 - dev: false - - /mime@3.0.0: - resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} - engines: {node: '>=10.0.0'} - hasBin: true - dev: false - - /mimic-fn@4.0.0: - resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} - engines: {node: '>=12'} - - /mimic-response@3.1.0: - resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==} - engines: {node: '>=10'} - - /minimatch@3.1.2: - resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} - dependencies: - brace-expansion: 1.1.11 - - /minimatch@5.1.6: - resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} - engines: {node: '>=10'} - dependencies: - brace-expansion: 2.0.1 - dev: false - - /minimist@1.2.8: - resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - - /minipass-collect@1.0.2: - resolution: {integrity: sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==} - engines: {node: '>= 8'} - requiresBuild: true - dependencies: - minipass: 3.3.6 - optional: true - - /minipass-fetch@1.4.1: - resolution: {integrity: sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==} - engines: {node: '>=8'} - requiresBuild: true - dependencies: - minipass: 3.3.6 - minipass-sized: 1.0.3 - minizlib: 2.1.2 - optionalDependencies: - encoding: 0.1.13 - optional: true - - /minipass-flush@1.0.5: - resolution: {integrity: sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==} - engines: {node: '>= 8'} - requiresBuild: true - dependencies: - minipass: 3.3.6 - optional: true - - /minipass-pipeline@1.2.4: - resolution: {integrity: sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==} - engines: {node: '>=8'} - requiresBuild: true - dependencies: - minipass: 3.3.6 - optional: true - - /minipass-sized@1.0.3: - resolution: {integrity: sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==} - engines: {node: '>=8'} - requiresBuild: true - dependencies: - minipass: 3.3.6 - optional: true - - /minipass@3.3.6: - resolution: {integrity: sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==} - engines: {node: '>=8'} - dependencies: - yallist: 4.0.0 - - /minipass@4.2.8: - resolution: {integrity: sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==} - engines: {node: '>=8'} - dev: false - - /minipass@5.0.0: - resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==} - engines: {node: '>=8'} - - /minizlib@2.1.2: - resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==} - engines: {node: '>= 8'} - dependencies: - minipass: 3.3.6 - yallist: 4.0.0 - - /mkdirp-classic@0.5.3: - resolution: {integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==} - - /mkdirp@1.0.4: - resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} - engines: {node: '>=10'} - hasBin: true - - /ml-array-mean@1.1.6: - resolution: {integrity: sha512-MIdf7Zc8HznwIisyiJGRH9tRigg3Yf4FldW8DxKxpCCv/g5CafTw0RRu51nojVEOXuCQC7DRVVu5c7XXO/5joQ==} - dependencies: - ml-array-sum: 1.1.6 - dev: false - - /ml-array-sum@1.1.6: - resolution: {integrity: sha512-29mAh2GwH7ZmiRnup4UyibQZB9+ZLyMShvt4cH4eTK+cL2oEMIZFnSyB3SS8MlsTh6q/w/yh48KmqLxmovN4Dw==} - dependencies: - is-any-array: 2.0.1 - dev: false - - /ml-distance-euclidean@2.0.0: - resolution: {integrity: sha512-yC9/2o8QF0A3m/0IXqCTXCzz2pNEzvmcE/9HFKOZGnTjatvBbsn4lWYJkxENkA4Ug2fnYl7PXQxnPi21sgMy/Q==} - dev: false - - /ml-distance@4.0.1: - resolution: {integrity: sha512-feZ5ziXs01zhyFUUUeZV5hwc0f5JW0Sh0ckU1koZe/wdVkJdGxcP06KNQuF0WBTj8FttQUzcvQcpcrOp/XrlEw==} - dependencies: - ml-array-mean: 1.1.6 - ml-distance-euclidean: 2.0.0 - ml-tree-similarity: 1.0.0 - dev: false - - /ml-tree-similarity@1.0.0: - resolution: {integrity: sha512-XJUyYqjSuUQkNQHMscr6tcjldsOoAekxADTplt40QKfwW6nd++1wHWV9AArl0Zvw/TIHgNaZZNvr8QGvE8wLRg==} - dependencies: - binary-search: 1.3.6 - num-sort: 2.1.0 - dev: false - - /mlly@1.4.2: - resolution: {integrity: sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==} - dependencies: - acorn: 8.10.0 - pathe: 1.1.1 - pkg-types: 1.0.3 - ufo: 1.3.2 - dev: true - - /mnemonist@0.39.6: - resolution: {integrity: sha512-A/0v5Z59y63US00cRSLiloEIw3t5G+MiKz4BhX21FI+YBJXBOGW0ohFxTxO08dsOYlzxo87T7vGfZKYp2bcAWA==} - dependencies: - obliterator: 2.0.4 - dev: false - - /moment-timezone@0.5.45: - resolution: {integrity: sha512-HIWmqA86KcmCAhnMAN0wuDOARV/525R2+lOLotuGFzn4HO+FH+/645z2wx0Dt3iDv6/p61SIvKnDstISainhLQ==} - dependencies: - moment: 2.30.1 - dev: false - - /moment@2.30.1: - resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==} - dev: false - - /ms@2.1.2: - resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - - /ms@2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - - /nanoid@3.3.6: - resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true - dev: false - - /nanoid@3.3.7: - resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true - - /napi-build-utils@1.0.2: - resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==} - - /natural-compare-lite@1.4.0: - resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} - dev: true - - /natural-compare@1.4.0: - resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - dev: true - - /negotiator@0.6.3: - resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} - engines: {node: '>= 0.6'} - requiresBuild: true - optional: true - - /no-case@3.0.4: - resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} - dependencies: - lower-case: 2.0.2 - tslib: 2.6.2 - dev: false - - /node-abi@3.54.0: - resolution: {integrity: sha512-p7eGEiQil0YUV3ItH4/tBb781L5impVmmx2E9FRKF7d18XXzp4PGT2tdYMFY6wQqgxD0IwNZOiSJ0/K0fSi/OA==} - engines: {node: '>=10'} - dependencies: - semver: 7.5.4 - - /node-addon-api@7.1.0: - resolution: {integrity: sha512-mNcltoe1R8o7STTegSOHdnJNN7s5EUvhoS7ShnTHDyOSd+8H+UdWODq6qSv67PjC8Zc5JRT8+oLAMCr0SIXw7g==} - engines: {node: ^16 || ^18 || >= 20} - - /node-domexception@1.0.0: - resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} - engines: {node: '>=10.5.0'} - dev: false - - /node-fetch-native@1.0.1: - resolution: {integrity: sha512-VzW+TAk2wE4X9maiKMlT+GsPU4OMmR1U9CrHSmd3DFLn2IcZ9VJ6M6BBugGfYUnPCLSYxXdZy17M0BEJyhUTwg==} - dev: false - - /node-fetch@2.6.12: - resolution: {integrity: sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - dependencies: - whatwg-url: 5.0.0 - dev: false - - /node-gyp@8.4.1: - resolution: {integrity: sha512-olTJRgUtAb/hOXG0E93wZDs5YiJlgbXxTwQAFHyNlRsXQnYzUaF2aGgujZbw+hR8aF4ZG/rST57bWMWD16jr9w==} - engines: {node: '>= 10.12.0'} - hasBin: true - requiresBuild: true - dependencies: - env-paths: 2.2.1 - glob: 7.2.3 - graceful-fs: 4.2.11 - make-fetch-happen: 9.1.0 - nopt: 5.0.0 - npmlog: 6.0.2 - rimraf: 3.0.2 - semver: 7.5.4 - tar: 6.2.0 - which: 2.0.2 - transitivePeerDependencies: - - bluebird - - supports-color - optional: true - - /nodemon@3.0.2: - resolution: {integrity: sha512-9qIN2LNTrEzpOPBaWHTm4Asy1LxXLSickZStAQ4IZe7zsoIpD/A7LWxhZV3t4Zu352uBcqVnRsDXSMR2Sc3lTA==} - engines: {node: '>=10'} - hasBin: true - dependencies: - chokidar: 3.5.3 - debug: 4.3.4(supports-color@5.5.0) - ignore-by-default: 1.0.1 - minimatch: 3.1.2 - pstree.remy: 1.1.8 - semver: 7.5.4 - simple-update-notifier: 2.0.0 - supports-color: 5.5.0 - touch: 3.1.0 - undefsafe: 2.0.5 - dev: true - - /nopt@1.0.10: - resolution: {integrity: sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==} - hasBin: true - dependencies: - abbrev: 1.1.1 - dev: true - - /nopt@5.0.0: - resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==} - engines: {node: '>=6'} - hasBin: true - requiresBuild: true - dependencies: - abbrev: 1.1.1 - optional: true - - /normalize-package-data@3.0.3: - resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==} - engines: {node: '>=10'} - dependencies: - hosted-git-info: 4.1.0 - is-core-module: 2.12.0 - semver: 7.5.4 - validate-npm-package-license: 3.0.4 - dev: false - - /normalize-path@3.0.0: - resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} - engines: {node: '>=0.10.0'} - dev: true - - /npm-run-path@5.1.0: - resolution: {integrity: sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - path-key: 4.0.0 - dev: true - - /npmlog@6.0.2: - resolution: {integrity: sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - requiresBuild: true - dependencies: - are-we-there-yet: 3.0.1 - console-control-strings: 1.1.0 - gauge: 4.0.4 - set-blocking: 2.0.0 - optional: true - - /num-sort@2.1.0: - resolution: {integrity: sha512-1MQz1Ed8z2yckoBeSfkQHHO9K1yDRxxtotKSJ9yvcTUUxSvfvzEq5GwBrjjHEpMlq/k5gvXdmJ1SbYxWtpNoVg==} - engines: {node: '>=8'} - dev: false - - /obliterator@2.0.4: - resolution: {integrity: sha512-lgHwxlxV1qIg1Eap7LgIeoBWIMFibOjbrYPIPJZcI1mmGAI2m3lNYpK12Y+GBdPQ0U1hRwSord7GIaawz962qQ==} - dev: false - - /on-exit-leak-free@2.1.0: - resolution: {integrity: sha512-VuCaZZAjReZ3vUwgOB8LxAosIurDiAW0s13rI1YwmaP++jvcxP77AWoQvenZebpCA2m8WC1/EosPYPMjnRAp/w==} - dev: false - - /once@1.4.0: - resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} - dependencies: - wrappy: 1.0.2 - - /onetime@6.0.0: - resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} - engines: {node: '>=12'} - dependencies: - mimic-fn: 4.0.0 - dev: true - - /openai-edge@1.2.2: - resolution: {integrity: sha512-C3/Ao9Hkx5uBPv9YFBpX/x59XMPgPUU4dyGg/0J2sOJ7O9D98kD+lfdOc7v/60oYo5xzMGct80uFkYLH+X2qgw==} - engines: {node: '>=18'} - dev: false - - /openai@4.23.0: - resolution: {integrity: sha512-ey2CXh1OTcTUa0AWZWuTpgA9t5GuAG3DVU1MofCRUI7fQJij8XJ3Sr0VtgxoAE69C9wbHBMCux8Z/IQZfSwHiA==} - hasBin: true - dependencies: - '@types/node': 18.16.7 - '@types/node-fetch': 2.6.4 - abort-controller: 3.0.0 - agentkeepalive: 4.5.0 - digest-fetch: 1.3.0 - form-data-encoder: 1.7.2 - formdata-node: 4.4.1 - node-fetch: 2.6.12 - web-streams-polyfill: 3.2.1 - transitivePeerDependencies: - - encoding - dev: false - - /openapi-types@12.1.3: - resolution: {integrity: sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==} - dev: false - - /optionator@0.9.1: - resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==} - engines: {node: '>= 0.8.0'} - dependencies: - deep-is: 0.1.4 - fast-levenshtein: 2.0.6 - levn: 0.4.1 - prelude-ls: 1.2.1 - type-check: 0.4.0 - word-wrap: 1.2.3 - dev: true - - /p-finally@1.0.0: - resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} - engines: {node: '>=4'} - dev: false - - /p-limit@3.1.0: - resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} - engines: {node: '>=10'} - dependencies: - yocto-queue: 0.1.0 - - /p-limit@4.0.0: - resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - yocto-queue: 1.0.0 - dev: false - - /p-limit@5.0.0: - resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} - engines: {node: '>=18'} - dependencies: - yocto-queue: 1.0.0 - dev: true - - /p-locate@5.0.0: - resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} - engines: {node: '>=10'} - dependencies: - p-limit: 3.1.0 - dev: true - - /p-locate@6.0.0: - resolution: {integrity: sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - p-limit: 4.0.0 - dev: false - - /p-map@4.0.0: - resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} - engines: {node: '>=10'} - requiresBuild: true - dependencies: - aggregate-error: 3.1.0 - optional: true - - /p-queue@6.6.2: - resolution: {integrity: sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==} - engines: {node: '>=8'} - dependencies: - eventemitter3: 4.0.7 - p-timeout: 3.2.0 - dev: false - - /p-retry@4.6.2: - resolution: {integrity: sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==} - engines: {node: '>=8'} - dependencies: - '@types/retry': 0.12.0 - retry: 0.13.1 - dev: false - - /p-timeout@3.2.0: - resolution: {integrity: sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==} - engines: {node: '>=8'} - dependencies: - p-finally: 1.0.0 - dev: false - - /p-timeout@6.1.1: - resolution: {integrity: sha512-yqz2Wi4fiFRpMmK0L2pGAU49naSUaP23fFIQL2Y6YT+qDGPoFwpvgQM/wzc6F8JoenUkIlAFa4Ql7NguXBxI7w==} - engines: {node: '>=14.16'} - dev: false - - /packet-reader@1.0.0: - resolution: {integrity: sha512-HAKu/fG3HpHFO0AA8WE8q2g+gBJaZ9MG7fcKk+IJPLTGAD6Psw4443l+9DGRbOIh3/aXr7Phy0TjilYivJo5XQ==} - dev: false - - /parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} - dependencies: - callsites: 3.1.0 - dev: true - - /parse-github-url@1.0.2: - resolution: {integrity: sha512-kgBf6avCbO3Cn6+RnzRGLkUsv4ZVqv/VfAYkRsyBcgkshNvVBkRn1FEZcW0Jb+npXQWm2vHPnnOqFteZxRRGNw==} - engines: {node: '>=0.10.0'} - hasBin: true - dev: false - - /parse-json@5.2.0: - resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} - engines: {node: '>=8'} - dependencies: - '@babel/code-frame': 7.22.13 - error-ex: 1.3.2 - json-parse-even-better-errors: 2.3.1 - lines-and-columns: 1.2.4 - dev: false - - /path-exists@4.0.0: - resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} - engines: {node: '>=8'} - dev: true - - /path-exists@5.0.0: - resolution: {integrity: sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: false - - /path-is-absolute@1.0.1: - resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} - engines: {node: '>=0.10.0'} - requiresBuild: true - - /path-key@3.1.1: - resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} - engines: {node: '>=8'} - dev: true - - /path-key@4.0.0: - resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} - engines: {node: '>=12'} - dev: true - - /path-type@4.0.0: - resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} - engines: {node: '>=8'} - dev: true - - /pathe@1.1.1: - resolution: {integrity: sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==} - dev: true - - /pathval@1.1.1: - resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} - dev: true - - /periscopic@3.1.0: - resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} - dependencies: - '@types/estree': 1.0.1 - estree-walker: 3.0.3 - is-reference: 3.0.1 - dev: false - - /pg-cloudflare@1.1.1: - resolution: {integrity: sha512-xWPagP/4B6BgFO+EKz3JONXv3YDgvkbVrGw2mTo3D6tVDQRh1e7cqVGvyR3BE+eQgAvx1XhW/iEASj4/jCWl3Q==} - requiresBuild: true - dev: false - optional: true - - /pg-connection-string@2.6.2: - resolution: {integrity: sha512-ch6OwaeaPYcova4kKZ15sbJ2hKb/VP48ZD2gE7i1J+L4MspCtBMAx8nMgz7bksc7IojCIIWuEhHibSMFH8m8oA==} - dev: false - - /pg-int8@1.0.1: - resolution: {integrity: sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==} - engines: {node: '>=4.0.0'} - dev: false - - /pg-pool@3.6.1(pg@8.11.3): - resolution: {integrity: sha512-jizsIzhkIitxCGfPRzJn1ZdcosIt3pz9Sh3V01fm1vZnbnCMgmGl5wvGGdNN2EL9Rmb0EcFoCkixH4Pu+sP9Og==} - peerDependencies: - pg: '>=8.0' - dependencies: - pg: 8.11.3 - dev: false - - /pg-protocol@1.6.0: - resolution: {integrity: sha512-M+PDm637OY5WM307051+bsDia5Xej6d9IR4GwJse1qA1DIhiKlksvrneZOYQq42OM+spubpcNYEo2FcKQrDk+Q==} - dev: false - - /pg-types@2.2.0: - resolution: {integrity: sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==} - engines: {node: '>=4'} - dependencies: - pg-int8: 1.0.1 - postgres-array: 2.0.0 - postgres-bytea: 1.0.0 - postgres-date: 1.0.7 - postgres-interval: 1.2.0 - dev: false - - /pg@8.11.3: - resolution: {integrity: sha512-+9iuvG8QfaaUrrph+kpF24cXkH1YOOUeArRNYIxq1viYHZagBxrTno7cecY1Fa44tJeZvaoG+Djpkc3JwehN5g==} - engines: {node: '>= 8.0.0'} - peerDependencies: - pg-native: '>=3.0.1' - peerDependenciesMeta: - pg-native: - optional: true - dependencies: - buffer-writer: 2.0.0 - packet-reader: 1.0.0 - pg-connection-string: 2.6.2 - pg-pool: 3.6.1(pg@8.11.3) - pg-protocol: 1.6.0 - pg-types: 2.2.0 - pgpass: 1.0.5 - optionalDependencies: - pg-cloudflare: 1.1.1 - dev: false - - /pgpass@1.0.5: - resolution: {integrity: sha512-FdW9r/jQZhSeohs1Z3sI1yxFQNFvMcnmfuj4WBMUTxOrAyLMaTcE1aAMBiTlbMNaXvBCQuVi0R7hd8udDSP7ug==} - dependencies: - split2: 4.2.0 - dev: false - - /picocolors@1.0.0: - resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} - - /picomatch@2.3.1: - resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} - engines: {node: '>=8.6'} - dev: true - - /pino-abstract-transport@1.1.0: - resolution: {integrity: sha512-lsleG3/2a/JIWUtf9Q5gUNErBqwIu1tUKTT3dUzaf5DySw9ra1wcqKjJjLX1VTY64Wk1eEOYsVGSaGfCK85ekA==} - dependencies: - readable-stream: 4.4.0 - split2: 4.2.0 - dev: false - - /pino-std-serializers@6.2.1: - resolution: {integrity: sha512-wHuWB+CvSVb2XqXM0W/WOYUkVSPbiJb9S5fNB7TBhd8s892Xq910bRxwHtC4l71hgztObTjXL6ZheZXFjhDrDQ==} - dev: false - - /pino@8.17.1: - resolution: {integrity: sha512-YoN7/NJgnsJ+fkADZqjhRt96iepWBndQHeClmSBH0sQWCb8zGD74t00SK4eOtKFi/f8TUmQnfmgglEhd2kI1RQ==} - hasBin: true - dependencies: - atomic-sleep: 1.0.0 - fast-redact: 3.1.2 - on-exit-leak-free: 2.1.0 - pino-abstract-transport: 1.1.0 - pino-std-serializers: 6.2.1 - process-warning: 2.2.0 - quick-format-unescaped: 4.0.4 - real-require: 0.2.0 - safe-stable-stringify: 2.4.3 - sonic-boom: 3.7.0 - thread-stream: 2.3.0 - dev: false - - /pkg-types@1.0.3: - resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==} - dependencies: - jsonc-parser: 3.2.0 - mlly: 1.4.2 - pathe: 1.1.1 - dev: true - - /postcss@8.4.32: - resolution: {integrity: sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==} - engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: 3.3.7 - picocolors: 1.0.0 - source-map-js: 1.0.2 - - /postgres-array@2.0.0: - resolution: {integrity: sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==} - engines: {node: '>=4'} - dev: false - - /postgres-bytea@1.0.0: - resolution: {integrity: sha512-xy3pmLuQqRBZBXDULy7KbaitYqLcmxigw14Q5sj8QBVLqEwXfeybIKVWiqAXTlcvdvb0+xkOtDbfQMOf4lST1w==} - engines: {node: '>=0.10.0'} - dev: false - - /postgres-date@1.0.7: - resolution: {integrity: sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==} - engines: {node: '>=0.10.0'} - dev: false - - /postgres-interval@1.2.0: - resolution: {integrity: sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==} - engines: {node: '>=0.10.0'} - dependencies: - xtend: 4.0.2 - dev: false - - /prebuild-install@7.1.1: - resolution: {integrity: sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==} - engines: {node: '>=10'} - hasBin: true - dependencies: - detect-libc: 2.0.2 - expand-template: 2.0.3 - github-from-package: 0.0.0 - minimist: 1.2.8 - mkdirp-classic: 0.5.3 - napi-build-utils: 1.0.2 - node-abi: 3.54.0 - pump: 3.0.0 - rc: 1.2.8 - simple-get: 4.0.1 - tar-fs: 2.1.1 - tunnel-agent: 0.6.0 - - /prelude-ls@1.2.1: - resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} - engines: {node: '>= 0.8.0'} - dev: true - - /prettier-linter-helpers@1.0.0: - resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} - engines: {node: '>=6.0.0'} - dependencies: - fast-diff: 1.2.0 - dev: true - - /prettier@2.8.8: - resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} - engines: {node: '>=10.13.0'} - hasBin: true - dev: true - - /pretty-format@29.7.0: - resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/schemas': 29.6.3 - ansi-styles: 5.2.0 - react-is: 18.2.0 - dev: true - - /process-warning@2.2.0: - resolution: {integrity: sha512-/1WZ8+VQjR6avWOgHeEPd7SDQmFQ1B5mC1eRXsCm5TarlNmx/wCsa5GEaxGm05BORRtyG/Ex/3xq3TuRvq57qg==} - dev: false - - /process-warning@3.0.0: - resolution: {integrity: sha512-mqn0kFRl0EoqhnL0GQ0veqFHyIN1yig9RHh/InzORTUiZHFRAur+aMtRkELNwGs9aNwKS6tg/An4NYBPGwvtzQ==} - dev: false - - /process@0.11.10: - resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} - engines: {node: '>= 0.6.0'} - requiresBuild: true - dev: false - - /promise-inflight@1.0.1: - resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==} - requiresBuild: true - peerDependencies: - bluebird: '*' - peerDependenciesMeta: - bluebird: - optional: true - optional: true - - /promise-retry@2.0.1: - resolution: {integrity: sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==} - engines: {node: '>=10'} - requiresBuild: true - dependencies: - err-code: 2.0.3 - retry: 0.12.0 - optional: true - - /proxy-addr@2.0.7: - resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} - engines: {node: '>= 0.10'} - dependencies: - forwarded: 0.2.0 - ipaddr.js: 1.9.1 - dev: false - - /proxy-from-env@1.1.0: - resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} - dev: false - - /pstree.remy@1.1.8: - resolution: {integrity: sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==} - dev: true - - /pump@3.0.0: - resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} - dependencies: - end-of-stream: 1.4.4 - once: 1.4.0 - - /punycode@2.3.0: - resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} - engines: {node: '>=6'} - - /pure-rand@6.0.2: - resolution: {integrity: sha512-6Yg0ekpKICSjPswYOuC5sku/TSWaRYlA0qsXqJgM/d/4pLPHPuTxK7Nbf7jFKzAeedUhR8C7K9Uv63FBsSo8xQ==} - dev: false - - /pvtsutils@1.3.2: - resolution: {integrity: sha512-+Ipe2iNUyrZz+8K/2IOo+kKikdtfhRKzNpQbruF2URmqPtoqAs8g3xS7TJvFF2GcPXjh7DkqMnpVveRFq4PgEQ==} - dependencies: - tslib: 2.6.2 - dev: false - - /pvutils@1.1.3: - resolution: {integrity: sha512-pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ==} - engines: {node: '>=6.0.0'} - dev: false - - /queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - dev: true - - /quick-format-unescaped@4.0.4: - resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} - dev: false - - /quick-lru@6.1.1: - resolution: {integrity: sha512-S27GBT+F0NTRiehtbrgaSE1idUAJ5bX8dPAQTdylEyNlrdcH5X4Lz7Edz3DYzecbsCluD5zO8ZNEe04z3D3u6Q==} - engines: {node: '>=12'} - dev: false - - /rc@1.2.8: - resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} - hasBin: true - dependencies: - deep-extend: 0.6.0 - ini: 1.3.8 - minimist: 1.2.8 - strip-json-comments: 2.0.1 - - /react-is@18.2.0: - resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} - dev: true - - /react@18.2.0: - resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} - engines: {node: '>=0.10.0'} - dependencies: - loose-envify: 1.4.0 - dev: false - - /read-pkg-up@9.1.0: - resolution: {integrity: sha512-vaMRR1AC1nrd5CQM0PhlRsO5oc2AAigqr7cCrZ/MW/Rsaflz4RlgzkpL4qoU/z1F6wrbd85iFv1OQj/y5RdGvg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - find-up: 6.3.0 - read-pkg: 7.1.0 - type-fest: 2.19.0 - dev: false - - /read-pkg@7.1.0: - resolution: {integrity: sha512-5iOehe+WF75IccPc30bWTbpdDQLOCc3Uu8bi3Dte3Eueij81yx1Mrufk8qBx/YAbR4uL1FdUr+7BKXDwEtisXg==} - engines: {node: '>=12.20'} - dependencies: - '@types/normalize-package-data': 2.4.1 - normalize-package-data: 3.0.3 - parse-json: 5.2.0 - type-fest: 2.19.0 - dev: false - - /readable-stream@3.6.2: - resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} - engines: {node: '>= 6'} - dependencies: - inherits: 2.0.4 - string_decoder: 1.3.0 - util-deprecate: 1.0.2 - - /readable-stream@4.4.0: - resolution: {integrity: sha512-kDMOq0qLtxV9f/SQv522h8cxZBqNZXuXNyjyezmfAAuribMyVXziljpQ/uQhfE1XLg2/TLTW2DsnoE4VAi/krg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - abort-controller: 3.0.0 - buffer: 6.0.3 - events: 3.3.0 - process: 0.11.10 - dev: false - - /readdirp@3.6.0: - resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} - engines: {node: '>=8.10.0'} - dependencies: - picomatch: 2.3.1 - dev: true - - /real-require@0.2.0: - resolution: {integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==} - engines: {node: '>= 12.13.0'} - dev: false - - /replicate@0.25.2: - resolution: {integrity: sha512-c5otBJ5E66XLS0X196pBCsyy85b03ZBLeV/lbKfU8cqfkt3Qd6NGEiPwTtxtsQ4AznggMJNn2Qq68t/bV85M2w==} - engines: {git: '>=2.11.0', node: '>=18.0.0', npm: '>=7.19.0', yarn: '>=1.7.0'} - optionalDependencies: - readable-stream: 4.4.0 - dev: false - - /require-from-string@2.0.2: - resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} - engines: {node: '>=0.10.0'} - dev: false - - /resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} - dev: true - - /ret@0.2.2: - resolution: {integrity: sha512-M0b3YWQs7R3Z917WRQy1HHA7Ba7D8hvZg6UE5mLykJxQVE2ju0IXbGlaHPPlkY+WN7wFP+wUMXmBFA0aV6vYGQ==} - engines: {node: '>=4'} - dev: false - - /retry-as-promised@7.0.4: - resolution: {integrity: sha512-XgmCoxKWkDofwH8WddD0w85ZfqYz+ZHlr5yo+3YUCfycWawU56T5ckWXsScsj5B8tqUcIG67DxXByo3VUgiAdA==} - dev: false - - /retry@0.12.0: - resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} - engines: {node: '>= 4'} - requiresBuild: true - optional: true - - /retry@0.13.1: - resolution: {integrity: sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==} - engines: {node: '>= 4'} - dev: false - - /reusify@1.0.4: - resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - - /rfdc@1.3.0: - resolution: {integrity: sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==} - dev: false - - /rimraf@3.0.2: - resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} - hasBin: true - dependencies: - glob: 7.2.3 - - /rollup@4.9.1: - resolution: {integrity: sha512-pgPO9DWzLoW/vIhlSoDByCzcpX92bKEorbgXuZrqxByte3JFk2xSW2JEeAcyLc9Ru9pqcNNW+Ob7ntsk2oT/Xw==} - engines: {node: '>=18.0.0', npm: '>=8.0.0'} - hasBin: true - optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.9.1 - '@rollup/rollup-android-arm64': 4.9.1 - '@rollup/rollup-darwin-arm64': 4.9.1 - '@rollup/rollup-darwin-x64': 4.9.1 - '@rollup/rollup-linux-arm-gnueabihf': 4.9.1 - '@rollup/rollup-linux-arm64-gnu': 4.9.1 - '@rollup/rollup-linux-arm64-musl': 4.9.1 - '@rollup/rollup-linux-riscv64-gnu': 4.9.1 - '@rollup/rollup-linux-x64-gnu': 4.9.1 - '@rollup/rollup-linux-x64-musl': 4.9.1 - '@rollup/rollup-win32-arm64-msvc': 4.9.1 - '@rollup/rollup-win32-ia32-msvc': 4.9.1 - '@rollup/rollup-win32-x64-msvc': 4.9.1 - fsevents: 2.3.3 - dev: true - - /run-parallel@1.2.0: - resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - dependencies: - queue-microtask: 1.2.3 - dev: true - - /safe-buffer@5.2.1: - resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - - /safe-regex2@2.0.0: - resolution: {integrity: sha512-PaUSFsUaNNuKwkBijoAPHAK6/eM6VirvyPWlZ7BAQy4D+hCvh4B6lIG+nPdhbFfIbP+gTGBcrdsOaUs0F+ZBOQ==} - dependencies: - ret: 0.2.2 - dev: false - - /safe-stable-stringify@2.4.3: - resolution: {integrity: sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==} - engines: {node: '>=10'} - dev: false - - /safer-buffer@2.1.2: - resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - requiresBuild: true - optional: true - - /secure-json-parse@2.7.0: - resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==} - dev: false - - /semver@7.5.0: - resolution: {integrity: sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - - /semver@7.5.4: - resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - - /sequelize-pool@7.1.0: - resolution: {integrity: sha512-G9c0qlIWQSK29pR/5U2JF5dDQeqqHRragoyahj/Nx4KOOQ3CPPfzxnfqFPCSB7x5UgjOgnZ61nSxz+fjDpRlJg==} - engines: {node: '>= 10.0.0'} - dev: false - - /sequelize@6.36.0(pg@8.11.3)(sqlite3@5.1.7): - resolution: {integrity: sha512-PqOa11EHwA/zLmGDU4aynbsavbHJUlgRvFuC/2cA4LhOuV6NHKcQ0IXB+hNdFrGT3rULmvc4kdIwnfCNsrECMQ==} - engines: {node: '>=10.0.0'} - peerDependencies: - ibm_db: '*' - mariadb: '*' - mysql2: '*' - oracledb: '*' - pg: '*' - pg-hstore: '*' - snowflake-sdk: '*' - sqlite3: '*' - tedious: '*' - peerDependenciesMeta: - ibm_db: - optional: true - mariadb: - optional: true - mysql2: - optional: true - oracledb: - optional: true - pg: - optional: true - pg-hstore: - optional: true - snowflake-sdk: - optional: true - sqlite3: - optional: true - tedious: - optional: true - dependencies: - '@types/debug': 4.1.12 - '@types/validator': 13.11.8 - debug: 4.3.4(supports-color@5.5.0) - dottie: 2.0.6 - inflection: 1.13.4 - lodash: 4.17.21 - moment: 2.30.1 - moment-timezone: 0.5.45 - pg: 8.11.3 - pg-connection-string: 2.6.2 - retry-as-promised: 7.0.4 - semver: 7.5.4 - sequelize-pool: 7.1.0 - sqlite3: 5.1.7 - toposort-class: 1.0.1 - uuid: 8.3.2 - validator: 13.11.0 - wkx: 0.5.0 - transitivePeerDependencies: - - supports-color - dev: false - - /seroval@0.5.1: - resolution: {integrity: sha512-ZfhQVB59hmIauJG5Ydynupy8KHyr5imGNtdDhbZG68Ufh1Ynkv9KOYOAABf71oVbQxJ8VkWnMHAjEHE7fWkH5g==} - engines: {node: '>=10'} - dev: false - - /set-blocking@2.0.0: - resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} - requiresBuild: true - optional: true - - /set-cookie-parser@2.6.0: - resolution: {integrity: sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ==} - dev: false - - /setprototypeof@1.2.0: - resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} - dev: false - - /shebang-command@2.0.0: - resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} - engines: {node: '>=8'} - dependencies: - shebang-regex: 3.0.0 - dev: true - - /shebang-regex@3.0.0: - resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} - engines: {node: '>=8'} - dev: true - - /siginfo@2.0.0: - resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} - dev: true - - /signal-exit@3.0.7: - resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} - requiresBuild: true - optional: true - - /signal-exit@4.1.0: - resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} - engines: {node: '>=14'} - dev: true - - /simple-concat@1.0.1: - resolution: {integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==} - - /simple-get@4.0.1: - resolution: {integrity: sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==} - dependencies: - decompress-response: 6.0.0 - once: 1.4.0 - simple-concat: 1.0.1 - - /simple-update-notifier@2.0.0: - resolution: {integrity: sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==} - engines: {node: '>=10'} - dependencies: - semver: 7.5.4 - dev: true - - /slash@3.0.0: - resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} - dev: true - - /smart-buffer@4.2.0: - resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} - engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} - requiresBuild: true - optional: true - - /snake-case@3.0.4: - resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==} - dependencies: - dot-case: 3.0.4 - tslib: 2.6.2 - dev: false - - /snakecase-keys@5.4.4: - resolution: {integrity: sha512-YTywJG93yxwHLgrYLZjlC75moVEX04LZM4FHfihjHe1FCXm+QaLOFfSf535aXOAd0ArVQMWUAe8ZPm4VtWyXaA==} - engines: {node: '>=12'} - dependencies: - map-obj: 4.3.0 - snake-case: 3.0.4 - type-fest: 2.19.0 - dev: false - - /socks-proxy-agent@6.2.1: - resolution: {integrity: sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==} - engines: {node: '>= 10'} - requiresBuild: true - dependencies: - agent-base: 6.0.2 - debug: 4.3.4(supports-color@5.5.0) - socks: 2.7.1 - transitivePeerDependencies: - - supports-color - optional: true - - /socks@2.7.1: - resolution: {integrity: sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==} - engines: {node: '>= 10.13.0', npm: '>= 3.0.0'} - requiresBuild: true - dependencies: - ip: 2.0.0 - smart-buffer: 4.2.0 - optional: true - - /solid-js@1.7.11: - resolution: {integrity: sha512-JkuvsHt8jqy7USsy9xJtT18aF9r2pFO+GB8JQ2XGTvtF49rGTObB46iebD25sE3qVNvIbwglXOXdALnJq9IHtQ==} - dependencies: - csstype: 3.1.1 - seroval: 0.5.1 - dev: false - - /solid-swr-store@0.10.7(solid-js@1.7.11)(swr-store@0.10.6): - resolution: {integrity: sha512-A6d68aJmRP471aWqKKPE2tpgOiR5fH4qXQNfKIec+Vap+MGQm3tvXlT8n0I8UgJSlNAsSAUuw2VTviH2h3Vv5g==} - engines: {node: '>=10'} - peerDependencies: - solid-js: ^1.2 - swr-store: ^0.10 - dependencies: - solid-js: 1.7.11 - swr-store: 0.10.6 - dev: false - - /sonic-boom@3.7.0: - resolution: {integrity: sha512-IudtNvSqA/ObjN97tfgNmOKyDOs4dNcg4cUUsHDebqsgb8wGBBwb31LIgShNO8fye0dFI52X1+tFoKKI6Rq1Gg==} - dependencies: - atomic-sleep: 1.0.0 - dev: false - - /source-map-js@1.0.2: - resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} - engines: {node: '>=0.10.0'} - - /spdx-correct@3.2.0: - resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} - dependencies: - spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.13 - dev: false - - /spdx-exceptions@2.3.0: - resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} - dev: false - - /spdx-expression-parse@3.0.1: - resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} - dependencies: - spdx-exceptions: 2.3.0 - spdx-license-ids: 3.0.13 - dev: false - - /spdx-license-ids@3.0.13: - resolution: {integrity: sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==} - dev: false - - /split2@4.2.0: - resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} - engines: {node: '>= 10.x'} - dev: false - - /sqlite3@5.1.7: - resolution: {integrity: sha512-GGIyOiFaG+TUra3JIfkI/zGP8yZYLPQ0pl1bH+ODjiX57sPhrLU5sQJn1y9bDKZUFYkX1crlrPfSYt0BKKdkog==} - requiresBuild: true - peerDependenciesMeta: - node-gyp: - optional: true - dependencies: - bindings: 1.5.0 - node-addon-api: 7.1.0 - prebuild-install: 7.1.1 - tar: 6.2.0 - optionalDependencies: - node-gyp: 8.4.1 - transitivePeerDependencies: - - bluebird - - supports-color - - /ssri@8.0.1: - resolution: {integrity: sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==} - engines: {node: '>= 8'} - requiresBuild: true - dependencies: - minipass: 3.3.6 - optional: true - - /sswr@2.0.0(svelte@4.2.0): - resolution: {integrity: sha512-mV0kkeBHcjcb0M5NqKtKVg/uTIYNlIIniyDfSGrSfxpEdM9C365jK0z55pl9K0xAkNTJi2OAOVFQpgMPUk+V0w==} - peerDependencies: - svelte: ^4.0.0 - dependencies: - svelte: 4.2.0 - swrev: 4.0.0 - dev: false - - /stackback@0.0.2: - resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} - dev: true - - /statuses@2.0.1: - resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} - engines: {node: '>= 0.8'} - dev: false - - /std-env@3.6.0: - resolution: {integrity: sha512-aFZ19IgVmhdB2uX599ve2kE6BIE3YMnQ6Gp6BURhW/oIzpXGKr878TQfAQZn1+i0Flcc/UKUy1gOlcfaUBCryg==} - dev: true - - /stream-wormhole@1.1.0: - resolution: {integrity: sha512-gHFfL3px0Kctd6Po0M8TzEvt3De/xu6cnRrjlfYNhwbhLPLwigI2t1nc6jrzNuaYg5C4YF78PPFuQPzRiqn9ew==} - engines: {node: '>=4.0.0'} - dev: false - - /string-width@4.2.3: - resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} - engines: {node: '>=8'} - dependencies: - emoji-regex: 8.0.0 - is-fullwidth-code-point: 3.0.0 - strip-ansi: 6.0.1 - - /string_decoder@1.3.0: - resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} - requiresBuild: true - dependencies: - safe-buffer: 5.2.1 - - /strip-ansi@6.0.1: - resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} - engines: {node: '>=8'} - dependencies: - ansi-regex: 5.0.1 - - /strip-final-newline@3.0.0: - resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} - engines: {node: '>=12'} - dev: true - - /strip-json-comments@2.0.1: - resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} - engines: {node: '>=0.10.0'} - - /strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} - dev: true - - /strip-literal@1.3.0: - resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==} - dependencies: - acorn: 8.10.0 - dev: true - - /strnum@1.0.5: - resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==} - dev: false - - /stubborn-fs@1.2.4: - resolution: {integrity: sha512-KRa4nIRJ8q6uApQbPwYZVhOof8979fw4xbajBWa5kPJFa4nyY3aFaMWVyIVCDnkNCCG/3HLipUZ4QaNlYsmX1w==} - dev: false - - /supports-color@5.5.0: - resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} - engines: {node: '>=4'} - dependencies: - has-flag: 3.0.0 - - /supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} - dependencies: - has-flag: 4.0.0 - dev: true - - /svelte@4.2.0: - resolution: {integrity: sha512-kVsdPjDbLrv74SmLSUzAsBGquMs4MPgWGkGLpH+PjOYnFOziAvENVzgJmyOCV2gntxE32aNm8/sqNKD6LbIpeQ==} - engines: {node: '>=16'} - dependencies: - '@ampproject/remapping': 2.2.1 - '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.19 - acorn: 8.10.0 - aria-query: 5.3.0 - axobject-query: 3.2.1 - code-red: 1.0.4 - css-tree: 2.3.1 - estree-walker: 3.0.3 - is-reference: 3.0.1 - locate-character: 3.0.0 - magic-string: 0.30.5 - periscopic: 3.1.0 - dev: false - - /swr-store@0.10.6: - resolution: {integrity: sha512-xPjB1hARSiRaNNlUQvWSVrG5SirCjk2TmaUyzzvk69SZQan9hCJqw/5rG9iL7xElHU784GxRPISClq4488/XVw==} - engines: {node: '>=10'} - dependencies: - dequal: 2.0.3 - dev: false - - /swr@2.2.0(react@18.2.0): - resolution: {integrity: sha512-AjqHOv2lAhkuUdIiBu9xbuettzAzWXmCEcLONNKJRba87WAefz8Ca9d6ds/SzrPc235n1IxWYdhJ2zF3MNUaoQ==} - peerDependencies: - react: ^16.11.0 || ^17.0.0 || ^18.0.0 - dependencies: - react: 18.2.0 - use-sync-external-store: 1.2.0(react@18.2.0) - dev: false - - /swrev@4.0.0: - resolution: {integrity: sha512-LqVcOHSB4cPGgitD1riJ1Hh4vdmITOp+BkmfmXRh4hSF/t7EnS4iD+SOTmq7w5pPm/SiPeto4ADbKS6dHUDWFA==} - dev: false - - /swrv@1.0.4(vue@3.3.4): - resolution: {integrity: sha512-zjEkcP8Ywmj+xOJW3lIT65ciY/4AL4e/Or7Gj0MzU3zBJNMdJiT8geVZhINavnlHRMMCcJLHhraLTAiDOTmQ9g==} - peerDependencies: - vue: '>=3.2.26 < 4' - dependencies: - vue: 3.3.4 - dev: false - - /tar-fs@2.1.1: - resolution: {integrity: sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==} - dependencies: - chownr: 1.1.4 - mkdirp-classic: 0.5.3 - pump: 3.0.0 - tar-stream: 2.2.0 - - /tar-stream@2.2.0: - resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==} - engines: {node: '>=6'} - dependencies: - bl: 4.1.0 - end-of-stream: 1.4.4 - fs-constants: 1.0.0 - inherits: 2.0.4 - readable-stream: 3.6.2 - - /tar@6.2.0: - resolution: {integrity: sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==} - engines: {node: '>=10'} - dependencies: - chownr: 2.0.0 - fs-minipass: 2.1.0 - minipass: 5.0.0 - minizlib: 2.1.2 - mkdirp: 1.0.4 - yallist: 4.0.0 - - /text-decoding@1.0.0: - resolution: {integrity: sha512-/0TJD42KDnVwKmDK6jj3xP7E2MG7SHAOG4tyTgyUCRPdHwvkquYNLEQltmdMa3owq3TkddCVcTsoctJI8VQNKA==} - dev: false - - /text-table@0.2.0: - resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - dev: true - - /thread-stream@2.3.0: - resolution: {integrity: sha512-kaDqm1DET9pp3NXwR8382WHbnpXnRkN9xGN9dQt3B2+dmXiW8X1SOwmFOxAErEQ47ObhZ96J6yhZNXuyCOL7KA==} - dependencies: - real-require: 0.2.0 - dev: false - - /tinybench@2.5.1: - resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} - dev: true - - /tinypool@0.8.1: - resolution: {integrity: sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==} - engines: {node: '>=14.0.0'} - dev: true - - /tinyspy@2.2.0: - resolution: {integrity: sha512-d2eda04AN/cPOR89F7Xv5bK/jrQEhmcLFe6HFldoeO9AJtps+fqEnh486vnT/8y4bw38pSyxDcTCAq+Ks2aJTg==} - engines: {node: '>=14.0.0'} - dev: true - - /to-fast-properties@2.0.0: - resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} - engines: {node: '>=4'} - dev: false - - /to-regex-range@5.0.1: - resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} - engines: {node: '>=8.0'} - dependencies: - is-number: 7.0.0 - dev: true - - /toad-cache@3.4.1: - resolution: {integrity: sha512-T0m3MxP3wcqW0LaV3dF1mHBU294sgYSm4FOpa5eEJaYO7PqJZBOjZEQI1y4YaKNnih1FXCEYTWDS9osCoTUefg==} - engines: {node: '>=12'} - dev: false - - /toidentifier@1.0.1: - resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} - engines: {node: '>=0.6'} - dev: false - - /toposort-class@1.0.1: - resolution: {integrity: sha512-OsLcGGbYF3rMjPUf8oKktyvCiUxSbqMMS39m33MAjLTC1DVIH6x3WSt63/M77ihI09+Sdfk1AXvfhCEeUmC7mg==} - dev: false - - /touch@3.1.0: - resolution: {integrity: sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==} - hasBin: true - dependencies: - nopt: 1.0.10 - dev: true - - /tr46@0.0.3: - resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - dev: false - - /ts-node@10.9.2(@types/node@20.10.5)(typescript@5.3.3): - resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.9 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 20.10.5 - acorn: 8.10.0 - acorn-walk: 8.3.1 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.3.3 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - dev: true - - /tslib@1.14.1: - resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} - - /tslib@2.4.1: - resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==} - dev: false - - /tslib@2.6.2: - resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - dev: false - - /tsscmp@1.0.6: - resolution: {integrity: sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==} - engines: {node: '>=0.6.x'} - dev: false - - /tsutils@3.21.0(typescript@5.3.3): - resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} - engines: {node: '>= 6'} - peerDependencies: - typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' - dependencies: - tslib: 1.14.1 - typescript: 5.3.3 - dev: true - - /tunnel-agent@0.6.0: - resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} - dependencies: - safe-buffer: 5.2.1 - - /type-check@0.4.0: - resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} - engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.2.1 - dev: true - - /type-detect@4.0.8: - resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} - engines: {node: '>=4'} - dev: true - - /type-fest@0.20.2: - resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} - dev: true - - /type-fest@2.19.0: - resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} - engines: {node: '>=12.20'} - dev: false - - /typescript@5.3.3: - resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} - engines: {node: '>=14.17'} - hasBin: true - dev: true - - /ufo@1.3.2: - resolution: {integrity: sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA==} - dev: true - - /undefsafe@2.0.5: - resolution: {integrity: sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==} - dev: true - - /undici-types@5.26.5: - resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - - /unique-filename@1.1.1: - resolution: {integrity: sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==} - requiresBuild: true - dependencies: - unique-slug: 2.0.2 - optional: true - - /unique-slug@2.0.2: - resolution: {integrity: sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==} - requiresBuild: true - dependencies: - imurmurhash: 0.1.4 - optional: true - - /uri-js@4.4.1: - resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} - dependencies: - punycode: 2.3.0 - - /use-sync-external-store@1.2.0(react@18.2.0): - resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - dependencies: - react: 18.2.0 - dev: false - - /util-deprecate@1.0.2: - resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - requiresBuild: true - - /uuid@8.3.2: - resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} - hasBin: true - dev: false - - /uuid@9.0.0: - resolution: {integrity: sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==} - hasBin: true - dev: false - - /v8-compile-cache-lib@3.0.1: - resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - dev: true - - /valibot@0.24.1: - resolution: {integrity: sha512-Toclbuy20XsECZiueh2dkQ63he2AGaBIj/FJRDAFti2kueFldm9bjJzSYvPaL5CE1HXDMRhq7olak8at7xCz5A==} - dev: false - - /validate-npm-package-license@3.0.4: - resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} - dependencies: - spdx-correct: 3.2.0 - spdx-expression-parse: 3.0.1 - dev: false - - /validator@13.11.0: - resolution: {integrity: sha512-Ii+sehpSfZy+At5nPdnyMhx78fEoPDkR2XW/zimHEL3MyGJQOCQ7WeP20jPYRz7ZCpcKLB21NxuXHF3bxjStBQ==} - engines: {node: '>= 0.10'} - dev: false - - /vite-node@1.1.0(@types/node@20.10.5): - resolution: {integrity: sha512-jV48DDUxGLEBdHCQvxL1mEh7+naVy+nhUUUaPAZLd3FJgXuxQiewHcfeZebbJ6onDqNGkP4r3MhQ342PRlG81Q==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - dependencies: - cac: 6.7.14 - debug: 4.3.4(supports-color@5.5.0) - pathe: 1.1.1 - picocolors: 1.0.0 - vite: 5.0.10(@types/node@20.10.5) - transitivePeerDependencies: - - '@types/node' - - less - - lightningcss - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true - - /vite@5.0.10(@types/node@20.10.5): - resolution: {integrity: sha512-2P8J7WWgmc355HUMlFrwofacvr98DAjoE52BfdbwQtyLH06XKwaL/FMnmKM2crF0iX4MpmMKoDlNCB1ok7zHCw==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@types/node': ^18.0.0 || >=20.0.0 - less: '*' - lightningcss: ^1.21.0 - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - '@types/node': 20.10.5 - esbuild: 0.19.10 - postcss: 8.4.32 - rollup: 4.9.1 - optionalDependencies: - fsevents: 2.3.3 - dev: true - - /vitest@1.1.0(@types/node@20.10.5): - resolution: {integrity: sha512-oDFiCrw7dd3Jf06HoMtSRARivvyjHJaTxikFxuqJjO76U436PqlVw1uLn7a8OSPrhSfMGVaRakKpA2lePdw79A==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@edge-runtime/vm': '*' - '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': ^1.0.0 - '@vitest/ui': ^1.0.0 - happy-dom: '*' - jsdom: '*' - peerDependenciesMeta: - '@edge-runtime/vm': - optional: true - '@types/node': - optional: true - '@vitest/browser': - optional: true - '@vitest/ui': - optional: true - happy-dom: - optional: true - jsdom: - optional: true - dependencies: - '@types/node': 20.10.5 - '@vitest/expect': 1.1.0 - '@vitest/runner': 1.1.0 - '@vitest/snapshot': 1.1.0 - '@vitest/spy': 1.1.0 - '@vitest/utils': 1.1.0 - acorn-walk: 8.3.1 - cac: 6.7.14 - chai: 4.3.10 - debug: 4.3.4(supports-color@5.5.0) - execa: 8.0.1 - local-pkg: 0.5.0 - magic-string: 0.30.5 - pathe: 1.1.1 - picocolors: 1.0.0 - std-env: 3.6.0 - strip-literal: 1.3.0 - tinybench: 2.5.1 - tinypool: 0.8.1 - vite: 5.0.10(@types/node@20.10.5) - vite-node: 1.1.0(@types/node@20.10.5) - why-is-node-running: 2.2.2 - transitivePeerDependencies: - - less - - lightningcss - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true - - /vue@3.3.4: - resolution: {integrity: sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==} - dependencies: - '@vue/compiler-dom': 3.3.4 - '@vue/compiler-sfc': 3.3.4 - '@vue/runtime-dom': 3.3.4 - '@vue/server-renderer': 3.3.4(vue@3.3.4) - '@vue/shared': 3.3.4 - dev: false - - /web-streams-polyfill@3.2.1: - resolution: {integrity: sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==} - engines: {node: '>= 8'} - dev: false - - /web-streams-polyfill@4.0.0-beta.3: - resolution: {integrity: sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==} - engines: {node: '>= 14'} - dev: false - - /webcrypto-core@1.7.7: - resolution: {integrity: sha512-7FjigXNsBfopEj+5DV2nhNpfic2vumtjjgPmeDKk45z+MJwXKKfhPB7118Pfzrmh4jqOMST6Ch37iPAHoImg5g==} - dependencies: - '@peculiar/asn1-schema': 2.3.6 - '@peculiar/json-schema': 1.1.12 - asn1js: 3.0.5 - pvtsutils: 1.3.2 - tslib: 2.6.2 - dev: false - - /webidl-conversions@3.0.1: - resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} - dev: false - - /whatwg-fetch@3.6.17: - resolution: {integrity: sha512-c4ghIvG6th0eudYwKZY5keb81wtFz9/WeAHAoy8+r18kcWlitUIrmGFQ2rWEl4UCKUilD3zCLHOIPheHx5ypRQ==} - dev: false - - /whatwg-url@5.0.0: - resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} - dependencies: - tr46: 0.0.3 - webidl-conversions: 3.0.1 - dev: false - - /when-exit@2.1.0: - resolution: {integrity: sha512-H85ulNwUBU1e6PGxkWUDgxnbohSXD++ah6Xw1VHAN7CtypcbZaC4aYjQ+C2PMVaDkURDuOinNAT+Lnz3utWXxQ==} - dev: false - - /which@2.0.2: - resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} - engines: {node: '>= 8'} - hasBin: true - dependencies: - isexe: 2.0.0 - - /why-is-node-running@2.2.2: - resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==} - engines: {node: '>=8'} - hasBin: true - dependencies: - siginfo: 2.0.0 - stackback: 0.0.2 - dev: true - - /wide-align@1.1.5: - resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} - requiresBuild: true - dependencies: - string-width: 4.2.3 - optional: true - - /wkx@0.5.0: - resolution: {integrity: sha512-Xng/d4Ichh8uN4l0FToV/258EjMGU9MGcA0HV2d9B/ZpZB3lqQm7nkOdZdm5GhKtLLhAE7PiVQwN4eN+2YJJUg==} - dependencies: - '@types/node': 20.10.5 - dev: false - - /word-wrap@1.2.3: - resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} - engines: {node: '>=0.10.0'} - dev: true - - /wrap-ansi@7.0.0: - resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} - engines: {node: '>=10'} - dependencies: - ansi-styles: 4.3.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 - dev: false - - /wrappy@1.0.2: - resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - requiresBuild: true - - /xtend@4.0.2: - resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} - engines: {node: '>=0.4'} - dev: false - - /yallist@4.0.0: - resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - - /yaml@2.3.1: - resolution: {integrity: sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==} - engines: {node: '>= 14'} - dev: false - - /yn@3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} - engines: {node: '>=6'} - dev: true - - /yocto-queue@0.1.0: - resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} - engines: {node: '>=10'} - - /yocto-queue@1.0.0: - resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} - engines: {node: '>=12.20'} - - /zod-to-json-schema@3.20.3(zod@3.22.4): - resolution: {integrity: sha512-/Q3wnyxAfCt94ZcrGiXXoiAfRqasxl9CX64LZ9fj+4dKH68zulUtU0uk1WMxQPfAxQ0ZI70dKzcoW7hHj+DwSQ==} - peerDependencies: - zod: ^3.20.0 - dependencies: - zod: 3.22.4 - dev: false - - /zod@3.22.4: - resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} - dev: false diff --git a/apps/studio-backend/prisma/migrations/20240229145752_init/migration.sql b/apps/studio-backend/prisma/migrations/20240229145752_init/migration.sql new file mode 100644 index 000000000..f51aa0332 --- /dev/null +++ b/apps/studio-backend/prisma/migrations/20240229145752_init/migration.sql @@ -0,0 +1,39 @@ +-- CreateEnum +CREATE TYPE "Type" AS ENUM ('recipe', 'codemod'); + +-- CreateTable +CREATE TABLE "Codemod" ( + "id" SERIAL NOT NULL, + "slug" VARCHAR(255) NOT NULL, + "name" VARCHAR(255) NOT NULL, + "shortDescription" TEXT NOT NULL, + "private" BOOLEAN NOT NULL, + "type" "Type" NOT NULL, + "featured" BOOLEAN NOT NULL DEFAULT false, + "verified" BOOLEAN NOT NULL, + "author" VARCHAR(255) NOT NULL, + "engine" VARCHAR(255) NOT NULL, + "version" VARCHAR(255) NOT NULL, + "command" VARCHAR(255) NOT NULL, + "vsCodeLink" VARCHAR(255) NOT NULL, + "codemodStudioExampleLink" VARCHAR(255) NOT NULL, + "testProjectCommand" VARCHAR(255) NOT NULL, + "sourceRepo" VARCHAR(255) NOT NULL, + "amountOfUses" INTEGER NOT NULL DEFAULT 0, + "totalTimeSaved" INTEGER NOT NULL DEFAULT 0, + "openedPrs" INTEGER NOT NULL DEFAULT 0, + "labels" TEXT[] DEFAULT ARRAY[]::TEXT[], + "readmeLink" VARCHAR(255) NOT NULL, + "indexTsLink" VARCHAR(255) NOT NULL, + "framework" VARCHAR(255), + "frameworkVersion" VARCHAR(255), + "userStories" VARCHAR(255), + "requirements" VARCHAR(255), + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + "lastUpdate" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + + CONSTRAINT "Codemod_pkey" PRIMARY KEY ("id") +); + +-- CreateIndex +CREATE UNIQUE INDEX "Codemod_slug_key" ON "Codemod"("slug"); diff --git a/apps/studio-backend/prisma/migrations/migration_lock.toml b/apps/studio-backend/prisma/migrations/migration_lock.toml new file mode 100644 index 000000000..fbffa92c2 --- /dev/null +++ b/apps/studio-backend/prisma/migrations/migration_lock.toml @@ -0,0 +1,3 @@ +# Please do not edit this file manually +# It should be added in your version-control system (i.e. Git) +provider = "postgresql" \ No newline at end of file diff --git a/apps/studio-backend/prisma/schema.prisma b/apps/studio-backend/prisma/schema.prisma new file mode 100644 index 000000000..b9132e435 --- /dev/null +++ b/apps/studio-backend/prisma/schema.prisma @@ -0,0 +1,52 @@ +generator client { + provider = "prisma-client-js" + binaryTargets = ["native", "linux-musl"] +} + +generator zod { + provider = "zod-prisma-types" + createOptionalDefaultValuesTypes = true +} + +datasource db { + provider = "postgresql" + url = env("DATABASE_URI") +} + +enum CodemodType { + recipe + codemod +} + +model Codemod { + id Int @id @default(autoincrement()) + slug String @unique @db.VarChar(255) + name String @db.VarChar(255) + shortDescription String @db.Text + type CodemodType + private Boolean + featured Boolean @default(false) + verified Boolean + author String @db.VarChar(255) + engine String @db.VarChar(255) + version String @db.VarChar(255) + command String @db.VarChar(255) + vsCodeLink String @db.VarChar(255) + codemodStudioExampleLink String @db.VarChar(255) + testProjectCommand String @db.VarChar(255) + sourceRepo String @db.VarChar(255) + amountOfUses Int @default(0) + totalTimeSaved Int @default(0) + openedPrs Int @default(0) + labels String[] @default([]) + readmeLink String @db.VarChar(255) + indexTsLink String @db.VarChar(255) + + framework String? @db.VarChar(255) + frameworkVersion String? @db.VarChar(255) + userStories String? @db.VarChar(255) + requirements String? @db.VarChar(255) + + createdAt DateTime @default(now()) + lastUpdate DateTime @default(now()) @updatedAt +} diff --git a/apps/studio-backend/prisma/seed.ts b/apps/studio-backend/prisma/seed.ts new file mode 100644 index 000000000..f214cdf08 --- /dev/null +++ b/apps/studio-backend/prisma/seed.ts @@ -0,0 +1,55 @@ +import "dotenv/config"; + +import { faker } from "@faker-js/faker"; +import { CodemodType, PrismaClient } from "@prisma/client"; +import { z } from "zod"; +import { CodemodCreateInputSchema } from "./generated/zod"; + +if (!("DATABASE_URI" in process.env)) { + throw new Error("DATABASE_URI not found in .env"); +} + +const prisma = new PrismaClient(); + +async function main() { + const data: z.infer[] = []; + + for (let i = 0; i < 10; i++) { + data.push({ + slug: faker.string.alpha(10), + name: faker.lorem.words(2), + shortDescription: faker.lorem.words(10), + type: faker.helpers.arrayElement(Object.values(CodemodType)), + featured: faker.datatype.boolean(), + verified: faker.datatype.boolean(), + framework: faker.lorem.word(), + frameworkVersion: faker.system.semver(), + author: faker.lorem.word(), + engine: faker.helpers.arrayElement(["jscodeshift", "ts-morph"]), + requirements: faker.lorem.words(3), + version: faker.system.semver(), + lastUpdate: faker.date.recent(), + command: faker.lorem.words(2), + vsCodeLink: faker.internet.url(), + codemodStudioExampleLink: faker.internet.url(), + testProjectCommand: faker.lorem.words(2), + sourceRepo: faker.internet.url(), + readmeLink: faker.internet.url(), + indexTsLink: faker.internet.url(), + private: faker.datatype.boolean(), + }); + } + + await prisma.codemod.createMany({ data }); + console.log({ data }); +} + +main() + .then(async () => { + await prisma.$disconnect(); + }) + .catch(async (e) => { + console.error(e); + await prisma.$disconnect(); + process.exit(1); + }); diff --git a/apps/studio-backend/src/chroma.ts b/apps/studio-backend/src/chroma.ts index 1741fba16..e4697163b 100644 --- a/apps/studio-backend/src/chroma.ts +++ b/apps/studio-backend/src/chroma.ts @@ -5,7 +5,7 @@ import { OpenAI } from "langchain/llms/openai"; import { Chroma } from "langchain/vectorstores/chroma"; import { findFunctionComponent } from "./chromaSnippets/findFunctionComponent.js"; import { findPositionAfterImports } from "./chromaSnippets/findPositionAfterImports.js"; -import { Environment } from "./schema.js"; +import { Environment } from "./schemata/env.js"; const buildChromaService = async (environment: Environment) => { if (environment.OPEN_AI_API_KEY === undefined) { diff --git a/apps/studio-backend/src/dataAccessLayer/buildTokenMetadataRepository.ts b/apps/studio-backend/src/db/buildTokenMetadataRepository.ts similarity index 100% rename from apps/studio-backend/src/dataAccessLayer/buildTokenMetadataRepository.ts rename to apps/studio-backend/src/db/buildTokenMetadataRepository.ts diff --git a/apps/studio-backend/src/dataAccessLayer/buildTokenRevocationsRepository.ts b/apps/studio-backend/src/db/buildTokenRevocationsRepository.ts similarity index 100% rename from apps/studio-backend/src/dataAccessLayer/buildTokenRevocationsRepository.ts rename to apps/studio-backend/src/db/buildTokenRevocationsRepository.ts diff --git a/apps/studio-backend/src/dataAccessLayer/dataAccessLayer.ts b/apps/studio-backend/src/db/dataAccessLayer.ts similarity index 100% rename from apps/studio-backend/src/dataAccessLayer/dataAccessLayer.ts rename to apps/studio-backend/src/db/dataAccessLayer.ts diff --git a/apps/studio-backend/src/db/prisma.ts b/apps/studio-backend/src/db/prisma.ts new file mode 100644 index 000000000..901f3a0d9 --- /dev/null +++ b/apps/studio-backend/src/db/prisma.ts @@ -0,0 +1,3 @@ +import { PrismaClient } from "@prisma/client"; + +export const prisma = new PrismaClient(); diff --git a/apps/studio-backend/src/dataAccessLayer/schemata.ts b/apps/studio-backend/src/db/schemata.ts similarity index 100% rename from apps/studio-backend/src/dataAccessLayer/schemata.ts rename to apps/studio-backend/src/db/schemata.ts diff --git a/apps/studio-backend/src/index.ts b/apps/studio-backend/src/index.ts deleted file mode 100644 index 47116d25e..000000000 --- a/apps/studio-backend/src/index.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { runServer } from "./runServer.js"; -import { parseEnvironment } from "./schema.js"; - -let callback: (() => void) | undefined; - -const handleProcessExit = (code: 0 | 1) => { - callback?.(); - - setTimeout(() => { - process.exit(code); - }, 1000).unref(); -}; - -process.on("uncaughtException", (error) => { - console.error(error); - - process.exit(1); -}); -process.on("unhandledRejection", (reason) => { - console.error(reason); - - handleProcessExit(1); -}); -process.on("SIGTERM", (signal) => { - console.log(signal); - - handleProcessExit(0); -}); -process.on("SIGINT", (signal) => { - console.log(signal); - - handleProcessExit(0); -}); - -const environment = parseEnvironment(process.env); - -runServer(environment).then((close) => { - callback = close; -}); diff --git a/apps/studio-backend/src/publishHandler.ts b/apps/studio-backend/src/publishHandler.ts index 7c8ddf1c4..51437d601 100644 --- a/apps/studio-backend/src/publishHandler.ts +++ b/apps/studio-backend/src/publishHandler.ts @@ -3,7 +3,7 @@ import { PutObjectCommand, S3Client } from "@aws-sdk/client-s3"; import { createClerkClient } from "@clerk/fastify"; import { RouteHandlerMethod } from "fastify"; import { literal, object, parse, string } from "valibot"; -import { Environment } from "./schema.js"; +import { Environment } from "./schemata/env.js"; import { CLAIM_PUBLISHING, TokenService } from "./services/tokenService.js"; import { areClerkKeysSet, getCustomAccessToken } from "./util.js"; @@ -56,7 +56,7 @@ export const publishHandler = for await (const multipartFile of request.files()) { const buffer = await multipartFile.toBuffer(); - if (multipartFile.fieldname === "config.json") { + if (multipartFile.fieldname === ".codemodrc.json") { configJsonBuffer = buffer; const configJson = JSON.parse(configJsonBuffer.toString("utf8")); @@ -86,7 +86,7 @@ export const publishHandler = if (configJsonBuffer === null || indexCjsBuffer === null || name === null) { throw new Error( - "Could not find either the config.json or the index.cjs file", + "Could not find either the .codemodrc.json or the index.cjs file", ); } @@ -105,7 +105,7 @@ export const publishHandler = await client.send( new PutObjectCommand({ Bucket: "codemod-public", - Key: `codemod-registry/${hashDigest}/config.json`, + Key: `codemod-registry/${hashDigest}/.codemodrc.json`, Body: configJsonBuffer, }), { diff --git a/apps/studio-backend/src/runServer.ts b/apps/studio-backend/src/runServer.ts deleted file mode 100644 index 6c02b3882..000000000 --- a/apps/studio-backend/src/runServer.ts +++ /dev/null @@ -1,495 +0,0 @@ -import { OutgoingHttpHeaders } from "node:http"; -import { clerkPlugin, createClerkClient, getAuth } from "@clerk/fastify"; -import cors, { FastifyCorsOptions } from "@fastify/cors"; -import fastifyMultipart from "@fastify/multipart"; -import fastifyRateLimit from "@fastify/rate-limit"; -import { OpenAIStream } from "ai"; -import Fastify, { RouteHandlerMethod } from "fastify"; -import * as openAiEdge from "openai-edge"; -import { buildSafeChromaService } from "./chroma.js"; -import { ClaudeService } from "./claudeService.js"; -import { COMPLETION_PARAMS } from "./constants.js"; -import { - CustomHandler, - ForbiddenError, - UnauthorizedError, -} from "./customHandler.js"; -import { buildDataAccessLayer } from "./dataAccessLayer/dataAccessLayer.js"; -import { buildAccessTokenHandler } from "./handlers/buildAccessTokenHandler.js"; -import { revokeTokenHandler } from "./handlers/revokeTokenHandler.js"; -import { validationHandler } from "./handlers/validationHandler.js"; -import { publishHandler } from "./publishHandler.js"; -import { ReplicateService } from "./replicateService.js"; -import { - Environment, - parseCreateIssueBody, - parseCreateIssueParams, - parseSendChatBody, - parseSendMessageBody, -} from "./schema.js"; -import { Auth } from "./services/Auth.js"; -import { GithubProvider } from "./services/GithubProvider.js"; -import { SourceControl } from "./services/SourceControl.js"; -import { - CLAIM_ISSUE_CREATION, - TokenExpiredError, - TokenInsufficientClaimsError, - TokenNotFoundError, - TokenNotVerifiedError, - TokenRevokedError, - TokenService, -} from "./services/tokenService.js"; -import { areClerkKeysSet, getCustomAccessToken } from "./util.js"; - -const getSourceControlProvider = ( - provider: "github", - repo: string, - oAuthToken: string, -) => { - switch (provider) { - case "github": { - return new GithubProvider(repo, oAuthToken); - } - } -}; - -export const runServer = async (environment: Environment) => { - const port = parseInt(environment.PORT, 10); - const X_CODEMOD_ACCESS_TOKEN = ( - environment.X_CODEMOD_ACCESS_TOKEN ?? "" - ).toLocaleLowerCase(); - const X_INTUITA_ACCESS_TOKEN = ( - environment.X_INTUITA_ACCESS_TOKEN ?? "" - ).toLocaleLowerCase(); - - if (Number.isNaN(port)) { - throw new Error(`Invalid port ${environment.PORT}`); - } - - const dataAccessLayer = await buildDataAccessLayer( - environment.DATABASE_URI ?? "sqlite::memory:", - ); - - const { ChatGPTAPI } = await import("chatgpt"); - - const chromaService = await buildSafeChromaService(environment); - - const sourceControl = new SourceControl(); - const auth = environment.CLERK_SECRET_KEY - ? new Auth(environment.CLERK_SECRET_KEY) - : null; - - const chatGptApi = - environment.OPEN_AI_API_KEY !== undefined - ? new ChatGPTAPI({ - apiKey: environment.OPEN_AI_API_KEY, - completionParams: { - ...COMPLETION_PARAMS, - }, - }) - : null; - - const openAiEdgeApi = - environment.OPEN_AI_API_KEY !== undefined - ? new openAiEdge.OpenAIApi( - new openAiEdge.Configuration({ - apiKey: environment.OPEN_AI_API_KEY, - }), - ) - : null; - - const fastify = Fastify({ - logger: true, - }); - - await fastify.register(cors, { - origin: (origin, cb) => { - if (!origin) { - cb(null, true); - return; - } - - const hostname = new URL(origin).hostname.replace(/^www\./, ""); - - if (hostname === "localhost" || hostname === "codemod.studio") { - cb(null, true); - return; - } - - cb(new Error("Not allowed"), false); - }, - methods: ["POST", "PUT", "PATCH", "GET", "DELETE", "OPTIONS"], - exposedHeaders: [ - X_CODEMOD_ACCESS_TOKEN, - // TODO deprecated - X_INTUITA_ACCESS_TOKEN, - "x-clerk-auth-reason", - "x-clerk-auth-message", - ], - allowedHeaders: [ - X_CODEMOD_ACCESS_TOKEN, - // TODO deprecated - X_INTUITA_ACCESS_TOKEN, - "Content-Type", - "Authorization", - ], - } satisfies FastifyCorsOptions); - - await fastify.register(fastifyRateLimit.default, { - max: 20, - timeWindow: 60 * 1000, // 1 minute - }); - - await fastify.register(fastifyMultipart); - - const tokenService = new TokenService( - dataAccessLayer, - environment.ENCRYPTION_KEY ?? "", - environment.SIGNATURE_PRIVATE_KEY ?? "", - environment.PEPPER ?? "", - ); - - const clerkClient = areClerkKeysSet(environment) - ? createClerkClient({ - publishableKey: environment.CLERK_PUBLISH_KEY, - secretKey: environment.CLERK_SECRET_KEY, - jwtKey: environment.CLERK_JWT_KEY, - }) - : null; - - const wrapRequestHandlerMethod = - (handler: CustomHandler): RouteHandlerMethod => - async (request, reply) => { - const getAccessTokenOrThrow = () => { - const accessToken = getCustomAccessToken(environment, request.headers); - - if (accessToken === null) { - throw new UnauthorizedError(); - } - - return accessToken; - }; - - const setAccessToken = (accessToken: string) => { - reply.header(X_INTUITA_ACCESS_TOKEN, accessToken); - reply.header(X_CODEMOD_ACCESS_TOKEN, accessToken); - }; - - const getClerkUserId = async (): Promise => { - const { userId } = getAuth(request); - - if (!userId) { - throw new UnauthorizedError(); - } - - return userId; - }; - - const now = () => Date.now(); - - try { - const data = await handler({ - tokenService, - getAccessTokenOrThrow, - setAccessToken, - clerkClient, - getClerkUserId, - now, - }); - - reply.type("application/json").code(200); - - return data; - } catch (error) { - if (error instanceof TokenExpiredError) { - reply.type("application/json").code(400); - - return { - error: "Token expired", - }; - } - - if (error instanceof TokenRevokedError) { - reply.type("application/json").code(400); - return { - error: "Token revoked", - }; - } - if (error instanceof TokenNotFoundError) { - reply.type("application/json").code(400); - return { - error: "Token not found", - }; - } - if (error instanceof TokenInsufficientClaimsError) { - reply.type("application/json").code(400); - return { - error: "Token has insufficient claims", - }; - } - if (error instanceof TokenNotVerifiedError) { - reply.type("application/json").code(400); - return { - error: "Token not verified", - }; - } - - if (error instanceof UnauthorizedError) { - reply.code(401).send(); - return; - } - - if (error instanceof ForbiddenError) { - reply.code(403).send(); - return; - } - - reply.code(500).send(); - return; - } - }; - - const publicRoutes: Fastify.FastifyPluginCallback = ( - instance, - _opts, - done, - ) => { - instance.get("/", async (_, reply) => { - reply.type("application/json").code(200); - return { data: {} }; - }); - - instance.post( - "/validateAccessToken", - wrapRequestHandlerMethod(validationHandler), - ); - - instance.delete( - "/revokeToken", - wrapRequestHandlerMethod(revokeTokenHandler), - ); - - instance.post("/sourceControl/:provider/issues", async (request, reply) => { - if (!auth) { - throw new Error("This endpoint requires auth configuration."); - } - - const { provider } = parseCreateIssueParams(request.params); - - const { repo, title, body } = parseCreateIssueBody(request.body); - - const accessToken = getCustomAccessToken(environment, request.headers); - - if (accessToken === null) { - return reply.code(401).send(); - } - - const userId = await tokenService.findUserIdMetadataFromToken( - accessToken, - Date.now(), - CLAIM_ISSUE_CREATION, - ); - - const oAuthToken = await auth.getOAuthToken(userId, provider); - - const sourceControlProvider = getSourceControlProvider( - provider, - repo, - oAuthToken, - ); - - const result = await sourceControl.createIssue(sourceControlProvider, { - title, - body, - }); - - reply.type("application/json").code(200); - return result; - }); - - done(); - }; - const protectedRoutes: Fastify.FastifyPluginCallback = ( - instance, - _opts, - done, - ) => { - if (areClerkKeysSet(environment)) { - const clerkOptions = { - publishableKey: environment.CLERK_PUBLISH_KEY, - secretKey: environment.CLERK_SECRET_KEY, - jwtKey: environment.CLERK_JWT_KEY, - }; - - instance.register(clerkPlugin, clerkOptions); - } else { - console.warn("No Clerk keys set. Authentication is disabled."); - } - - const claudeService = new ClaudeService( - environment.CLAUDE_API_KEY ?? null, - 1024, - ); - - const replicateService = new ReplicateService( - environment.REPLICATE_API_KEY ?? null, - ); - - instance.post( - "/buildAccessToken", - wrapRequestHandlerMethod(buildAccessTokenHandler), - ); - - instance.post("/sendMessage", async (request, reply) => { - if (areClerkKeysSet(environment)) { - const { userId } = getAuth(request); - if (!userId) { - return reply.code(401).send(); - } - } else { - console.warn("No Clerk keys set. Authentication is disabled."); - } - - if (chatGptApi === null) { - throw new Error("The Chat GPT API requires the authentication key"); - } - - const { message, parentMessageId } = parseSendMessageBody(request.body); - - const options: { - parentMessageId?: string; - } = {}; - - if (parentMessageId) { - options.parentMessageId = parentMessageId; - } - - const result = await chatGptApi.sendMessage(message, options); - - reply.type("application/json").code(200); - return result; - }); - - instance.post("/sendChat", async (request, reply) => { - if (areClerkKeysSet(environment)) { - const { userId } = getAuth(request); - if (!userId) { - return reply.code(401).send(); - } - } else { - console.warn("No Clerk keys set. Authentication is disabled."); - } - - const { messages, engine } = parseSendChatBody(request.body); - - if (!messages[0]) { - return reply.code(400).send(); - } - - if (engine === "claude-2.0" || engine === "claude-instant-1.2") { - const completion = await claudeService.complete( - engine, - messages[0].content, - ); - - reply.type("text/plain; charset=utf-8").code(200); - - return completion ?? ""; - } - - if (engine === "replit-code-v1-3b") { - const completion = await replicateService.complete(messages[0].content); - - reply.type("text/plain; charset=utf-8").code(200); - - return completion ?? ""; - } - - if (engine === "gpt-4-with-chroma") { - // chat history is not supported. passing all messages as single prompt. - const prompt = messages - .map(({ content, role }) => `${role}: ${content}`) - .join("\n"); - - const completion = await chromaService.complete(prompt); - - reply.type("text/plain; charset=utf-8").code(200); - - return completion ?? ""; - } - - if (openAiEdgeApi === null) { - throw new Error( - "You need to provide the OPEN_AI_API_KEY to use this endpoint", - ); - } - - const response = await openAiEdgeApi.createChatCompletion({ - ...COMPLETION_PARAMS, - messages: messages.slice(), - stream: true, - }); - - const stream = OpenAIStream(response); - - // the following code is inspired by the implementation of the streamToResponse function - // available here: https://github.com/vercel-labs/ai/blob/164b33d963250a53bbaaabb7b68d143f81541a7a/packages/core/streams/streaming-text-response.ts#L22C17-L22C33 - - reply.hijack(); - - const replyHeaders = reply.getHeaders(); - - const headers: OutgoingHttpHeaders = {}; - - Object.keys(replyHeaders).forEach((key) => { - const value = replyHeaders[key]; - - if (value === undefined || typeof value === "number") { - return; - } - - headers[key] = value; - }); - - headers["Content-Type"] = "text/plain; charset=utf-8"; - - reply.raw.writeHead(200, headers); - - const reader = stream.getReader(); - - const writeToReplyRaw = async () => { - const { done, value } = await reader.read(); - - if (done) { - reply.raw.end(); - return; - } - - reply.raw.write(value); - - await writeToReplyRaw(); - }; - - await writeToReplyRaw(); - - return; - }); - - instance.post("/publish", publishHandler(environment, tokenService)); - - done(); - }; - - // @ts-expect-error setup a display name not to trigger require.cache down the line - protectedRoutes[Symbol.for("fastify.display-name")] = "protectedRoutes"; - // @ts-expect-error setup a display name not to trigger require.cache down the line - publicRoutes[Symbol.for("fastify.display-name")] = "publicRoutes"; - - fastify.register(protectedRoutes); - fastify.register(publicRoutes); - await fastify.listen({ port, host: "0.0.0.0" }); - - return () => { - return fastify.close(); - }; -}; diff --git a/apps/studio-backend/src/schemata/env.ts b/apps/studio-backend/src/schemata/env.ts new file mode 100644 index 000000000..e09805741 --- /dev/null +++ b/apps/studio-backend/src/schemata/env.ts @@ -0,0 +1,49 @@ +import { + Output, + ValiError, + coerce, + literal, + number, + object, + optional, + parse, + string, +} from "valibot"; + +export const environmentSchema = object({ + PORT: coerce(number(), (input) => Number(input)), + DATA: optional(string()), + X_CODEMOD_ACCESS_TOKEN: optional(string()), + X_INTUITA_ACCESS_TOKEN: optional(string()), + CLERK_DISABLED: optional(literal("true")), + // unused start + ENCRYPTION_KEY: optional(string()), + SIGNATURE_PRIVATE_KEY: optional(string()), + PEPPER: optional(string()), + AWS_ACCESS_KEY_ID: optional(string()), + AWS_SECRET_ACCESS_KEY: optional(string()), + DATABASE_URI: string(), + // unused end + OPEN_AI_API_KEY: optional(string()), + CHROMA_BACKEND_URL: optional(string()), + CLAUDE_API_KEY: optional(string()), + CLERK_PUBLISH_KEY: optional(string()), + CLERK_SECRET_KEY: optional(string()), + CLERK_JWT_KEY: optional(string()), + REPLICATE_API_KEY: optional(string()), +}); + +export type Environment = Output; + +export const parseEnvironment = (input: unknown) => { + try { + return parse(environmentSchema, input); + } catch (err) { + console.log((err as ValiError).issues[0].path); + throw new Error( + `Invalid environment: ${(err as ValiError).issues + .map((i) => i.path?.join(".")) + .join(", ")}`, + ); + } +}; diff --git a/apps/studio-backend/src/schemata/query.ts b/apps/studio-backend/src/schemata/query.ts new file mode 100644 index 000000000..b896bc53c --- /dev/null +++ b/apps/studio-backend/src/schemata/query.ts @@ -0,0 +1,28 @@ +import { + Output, + boolean, + coerce, + literal, + number, + object, + optional, + parse, + string, + union, +} from "valibot"; + +export const getCodemodsQuerySchema = object({ + featured: optional(coerce(boolean(), (input) => input === "true")), + verified: optional(coerce(boolean(), (input) => input === "true")), + private: optional(coerce(boolean(), (input) => input === "true")), +}); +export type GetCodemodsQuery = Output; +export const parseGetCodemodsQuery = (input: unknown) => + parse(getCodemodsQuerySchema, input); + +export const getCodemodBySlugParamsSchema = object({ + slug: string(), +}); +export type GetCodemodBySlug = Output; +export const parseGetCodemodBySlugParams = (input: unknown) => + parse(getCodemodBySlugParamsSchema, input); diff --git a/apps/studio-backend/src/schema.ts b/apps/studio-backend/src/schemata/schema.ts similarity index 54% rename from apps/studio-backend/src/schema.ts rename to apps/studio-backend/src/schemata/schema.ts index 758e33515..7800fead7 100644 --- a/apps/studio-backend/src/schema.ts +++ b/apps/studio-backend/src/schemata/schema.ts @@ -1,32 +1,5 @@ import * as S from "@effect/schema/Schema"; -export const environmentSchema = S.struct({ - PORT: S.string, - DATA: S.optional(S.string), - X_CODEMOD_ACCESS_TOKEN: S.optional(S.string), - X_INTUITA_ACCESS_TOKEN: S.optional(S.string), - CLERK_DISABLED: S.optional(S.literal("true")), - // unused start - ENCRYPTION_KEY: S.optional(S.string), - SIGNATURE_PRIVATE_KEY: S.optional(S.string), - PEPPER: S.optional(S.string), - AWS_ACCESS_KEY_ID: S.optional(S.string), - AWS_SECRET_ACCESS_KEY: S.optional(S.string), - DATABASE_URI: S.optional(S.string), - // unused end - OPEN_AI_API_KEY: S.optional(S.string), - CHROMA_BACKEND_URL: S.optional(S.string), - CLAUDE_API_KEY: S.optional(S.string), - CLERK_PUBLISH_KEY: S.optional(S.string), - CLERK_SECRET_KEY: S.optional(S.string), - CLERK_JWT_KEY: S.optional(S.string), - REPLICATE_API_KEY: S.optional(S.string), -}); - -export type Environment = S.Schema.To; - -export const parseEnvironment = S.parseSync(environmentSchema); - const engineSchema = S.union( S.literal("gpt-4"), S.literal("claude-2.0"), diff --git a/apps/studio-backend/src/server.ts b/apps/studio-backend/src/server.ts new file mode 100644 index 000000000..915b9751b --- /dev/null +++ b/apps/studio-backend/src/server.ts @@ -0,0 +1,541 @@ +import "dotenv/config"; + +import { OutgoingHttpHeaders } from "node:http"; +import { clerkPlugin, createClerkClient, getAuth } from "@clerk/fastify"; +import cors, { FastifyCorsOptions } from "@fastify/cors"; +import fastifyMultipart from "@fastify/multipart"; +import fastifyRateLimit from "@fastify/rate-limit"; +import { OpenAIStream } from "ai"; +import Fastify, { FastifyPluginCallback, RouteHandlerMethod } from "fastify"; +import * as openAiEdge from "openai-edge"; +import { buildSafeChromaService } from "./chroma.js"; +import { ClaudeService } from "./claudeService.js"; +import { COMPLETION_PARAMS } from "./constants.js"; +import { + CustomHandler, + ForbiddenError, + UnauthorizedError, +} from "./customHandler.js"; +import { buildDataAccessLayer } from "./db/dataAccessLayer.js"; +import { prisma } from "./db/prisma.js"; +import { buildAccessTokenHandler } from "./handlers/buildAccessTokenHandler.js"; +import { revokeTokenHandler } from "./handlers/revokeTokenHandler.js"; +import { validationHandler } from "./handlers/validationHandler.js"; +import { publishHandler } from "./publishHandler.js"; +import { ReplicateService } from "./replicateService.js"; +import { parseEnvironment } from "./schemata/env.js"; +import { + parseGetCodemodBySlugParams, + parseGetCodemodsQuery, +} from "./schemata/query.js"; +import { + parseCreateIssueBody, + parseCreateIssueParams, + parseSendChatBody, + parseSendMessageBody, +} from "./schemata/schema.js"; +import { Auth } from "./services/Auth.js"; +import { GithubProvider } from "./services/GithubProvider.js"; +import { SourceControl } from "./services/SourceControl.js"; +import { + CLAIM_ISSUE_CREATION, + TokenExpiredError, + TokenInsufficientClaimsError, + TokenNotFoundError, + TokenNotVerifiedError, + TokenRevokedError, + TokenService, +} from "./services/tokenService.js"; +import { areClerkKeysSet, getCustomAccessToken } from "./util.js"; + +const getSourceControlProvider = ( + provider: "github", + repo: string, + oAuthToken: string, +) => { + switch (provider) { + case "github": { + return new GithubProvider(repo, oAuthToken); + } + } +}; + +const environment = parseEnvironment(process.env); + +const X_CODEMOD_ACCESS_TOKEN = ( + environment.X_CODEMOD_ACCESS_TOKEN ?? "" +).toLocaleLowerCase(); +const X_INTUITA_ACCESS_TOKEN = ( + environment.X_INTUITA_ACCESS_TOKEN ?? "" +).toLocaleLowerCase(); + +const initApp = async (toRegister: FastifyPluginCallback[]) => { + const { PORT: port } = environment; + if (Number.isNaN(port)) { + throw new Error(`Invalid port ${port}`); + } + + const fastify = Fastify({ + logger: true, + }); + + const handleProcessExit = (code: 0 | 1) => { + fastify.close(); + + setTimeout(() => { + process.exit(code); + }, 1000).unref(); + }; + + process.on("uncaughtException", (error) => { + console.error(error); + handleProcessExit(1); + }); + process.on("unhandledRejection", (reason) => { + console.error(reason); + handleProcessExit(1); + }); + process.on("SIGTERM", (signal) => { + console.log(signal); + handleProcessExit(0); + }); + process.on("SIGINT", (signal) => { + console.log(signal); + handleProcessExit(0); + }); + + await fastify.register(cors, { + origin: (origin, cb) => { + if (!origin) { + cb(null, true); + return; + } + + const hostname = new URL(origin).hostname.replace(/^www\./, ""); + + if (hostname === "localhost" || hostname === "codemod.studio") { + cb(null, true); + return; + } + + cb(new Error("Not allowed"), false); + }, + methods: ["POST", "PUT", "PATCH", "GET", "DELETE", "OPTIONS"], + exposedHeaders: [ + X_CODEMOD_ACCESS_TOKEN, + // TODO deprecated + X_INTUITA_ACCESS_TOKEN, + "x-clerk-auth-reason", + "x-clerk-auth-message", + ], + allowedHeaders: [ + X_CODEMOD_ACCESS_TOKEN, + // TODO deprecated + X_INTUITA_ACCESS_TOKEN, + "Content-Type", + "Authorization", + ], + } satisfies FastifyCorsOptions); + + await fastify.register(fastifyRateLimit, { + max: 20, + timeWindow: 60 * 1000, // 1 minute + }); + + await fastify.register(fastifyMultipart); + + for (const plugin of toRegister) { + await fastify.register(plugin); + } + + await fastify.listen({ port, host: "0.0.0.0" }); +}; + +const dataAccessLayer = await buildDataAccessLayer(environment.DATABASE_URI); + +const { ChatGPTAPI } = await import("chatgpt"); + +const chromaService = await buildSafeChromaService(environment); + +const sourceControl = new SourceControl(); +const auth = environment.CLERK_SECRET_KEY + ? new Auth(environment.CLERK_SECRET_KEY) + : null; + +const chatGptApi = + environment.OPEN_AI_API_KEY !== undefined + ? new ChatGPTAPI({ + apiKey: environment.OPEN_AI_API_KEY, + completionParams: { + ...COMPLETION_PARAMS, + }, + }) + : null; + +const openAiEdgeApi = + environment.OPEN_AI_API_KEY !== undefined + ? new openAiEdge.OpenAIApi( + new openAiEdge.Configuration({ + apiKey: environment.OPEN_AI_API_KEY, + }), + ) + : null; + +const tokenService = new TokenService( + dataAccessLayer, + environment.ENCRYPTION_KEY ?? "", + environment.SIGNATURE_PRIVATE_KEY ?? "", + environment.PEPPER ?? "", +); + +const clerkClient = areClerkKeysSet(environment) + ? createClerkClient({ + publishableKey: environment.CLERK_PUBLISH_KEY, + secretKey: environment.CLERK_SECRET_KEY, + jwtKey: environment.CLERK_JWT_KEY, + }) + : null; + +const wrapRequestHandlerMethod = + (handler: CustomHandler): RouteHandlerMethod => + async (request, reply) => { + const getAccessTokenOrThrow = () => { + const accessToken = getCustomAccessToken(environment, request.headers); + + if (accessToken === null) { + throw new UnauthorizedError(); + } + + return accessToken; + }; + + const setAccessToken = (accessToken: string) => { + reply.header(X_INTUITA_ACCESS_TOKEN, accessToken); + reply.header(X_CODEMOD_ACCESS_TOKEN, accessToken); + }; + + const getClerkUserId = async (): Promise => { + const { userId } = getAuth(request); + + if (!userId) { + throw new UnauthorizedError(); + } + + return userId; + }; + + const now = () => Date.now(); + + try { + const data = await handler({ + tokenService, + getAccessTokenOrThrow, + setAccessToken, + clerkClient, + getClerkUserId, + now, + }); + + reply.type("application/json").code(200); + + return data; + } catch (error) { + if (error instanceof TokenExpiredError) { + reply.type("application/json").code(400); + + return { + error: "Token expired", + }; + } + + if (error instanceof TokenRevokedError) { + reply.type("application/json").code(400); + return { + error: "Token revoked", + }; + } + if (error instanceof TokenNotFoundError) { + reply.type("application/json").code(400); + return { + error: "Token not found", + }; + } + if (error instanceof TokenInsufficientClaimsError) { + reply.type("application/json").code(400); + return { + error: "Token has insufficient claims", + }; + } + if (error instanceof TokenNotVerifiedError) { + reply.type("application/json").code(400); + return { + error: "Token not verified", + }; + } + + if (error instanceof UnauthorizedError) { + reply.code(401).send(); + return; + } + + if (error instanceof ForbiddenError) { + reply.code(403).send(); + return; + } + + reply.code(500).send(); + return; + } + }; + +const publicRoutes: FastifyPluginCallback = (instance, _opts, done) => { + instance.get("/", async (_, reply) => { + reply.type("application/json").code(200); + return { data: {} }; + }); + + instance.get("/codemods", async (request, reply) => { + const query = parseGetCodemodsQuery(request.query); + + reply.type("application/json").code(200); + return prisma.codemod.findMany({ + where: { + featured: query.featured, + verified: query.verified, + private: query.private, + }, + }); + }); + + instance.get("/codemods/:slug", async (request, reply) => { + const { slug } = parseGetCodemodBySlugParams(request.params); + + reply.type("application/json").code(200); + return prisma.codemod.findFirst({ + where: { + slug, + }, + }); + }); + + instance.post( + "/validateAccessToken", + wrapRequestHandlerMethod(validationHandler), + ); + + instance.delete("/revokeToken", wrapRequestHandlerMethod(revokeTokenHandler)); + + instance.post("/sourceControl/:provider/issues", async (request, reply) => { + if (!auth) { + throw new Error("This endpoint requires auth configuration."); + } + + const { provider } = parseCreateIssueParams(request.params); + + const { repo, title, body } = parseCreateIssueBody(request.body); + + const accessToken = getCustomAccessToken(environment, request.headers); + + if (accessToken === null) { + return reply.code(401).send(); + } + + const userId = await tokenService.findUserIdMetadataFromToken( + accessToken, + Date.now(), + CLAIM_ISSUE_CREATION, + ); + + const oAuthToken = await auth.getOAuthToken(userId, provider); + + const sourceControlProvider = getSourceControlProvider( + provider, + repo, + oAuthToken, + ); + + const result = await sourceControl.createIssue(sourceControlProvider, { + title, + body, + }); + + reply.type("application/json").code(200); + return result; + }); + + done(); +}; + +const protectedRoutes: FastifyPluginCallback = (instance, _opts, done) => { + if (areClerkKeysSet(environment)) { + const clerkOptions = { + publishableKey: environment.CLERK_PUBLISH_KEY, + secretKey: environment.CLERK_SECRET_KEY, + jwtKey: environment.CLERK_JWT_KEY, + }; + + instance.register(clerkPlugin, clerkOptions); + } else { + console.warn("No Clerk keys set. Authentication is disabled."); + } + + const claudeService = new ClaudeService( + environment.CLAUDE_API_KEY ?? null, + 1024, + ); + + const replicateService = new ReplicateService( + environment.REPLICATE_API_KEY ?? null, + ); + + instance.post( + "/buildAccessToken", + wrapRequestHandlerMethod(buildAccessTokenHandler), + ); + + instance.post("/sendMessage", async (request, reply) => { + if (areClerkKeysSet(environment)) { + const { userId } = getAuth(request); + if (!userId) { + return reply.code(401).send(); + } + } else { + console.warn("No Clerk keys set. Authentication is disabled."); + } + + if (chatGptApi === null) { + throw new Error("The Chat GPT API requires the authentication key"); + } + + const { message, parentMessageId } = parseSendMessageBody(request.body); + + const options: { + parentMessageId?: string; + } = {}; + + if (parentMessageId) { + options.parentMessageId = parentMessageId; + } + + const result = await chatGptApi.sendMessage(message, options); + + reply.type("application/json").code(200); + return result; + }); + + instance.post("/sendChat", async (request, reply) => { + if (areClerkKeysSet(environment)) { + const { userId } = getAuth(request); + if (!userId) { + return reply.code(401).send(); + } + } else { + console.warn("No Clerk keys set. Authentication is disabled."); + } + + const { messages, engine } = parseSendChatBody(request.body); + + if (!messages[0]) { + return reply.code(400).send(); + } + + if (engine === "claude-2.0" || engine === "claude-instant-1.2") { + const completion = await claudeService.complete( + engine, + messages[0].content, + ); + + reply.type("text/plain; charset=utf-8").code(200); + + return completion ?? ""; + } + + if (engine === "replit-code-v1-3b") { + const completion = await replicateService.complete(messages[0].content); + + reply.type("text/plain; charset=utf-8").code(200); + + return completion ?? ""; + } + + if (engine === "gpt-4-with-chroma") { + // chat history is not supported. passing all messages as single prompt. + const prompt = messages + .map(({ content, role }) => `${role}: ${content}`) + .join("\n"); + + const completion = await chromaService.complete(prompt); + + reply.type("text/plain; charset=utf-8").code(200); + + return completion ?? ""; + } + + if (openAiEdgeApi === null) { + throw new Error( + "You need to provide the OPEN_AI_API_KEY to use this endpoint", + ); + } + + const response = await openAiEdgeApi.createChatCompletion({ + ...COMPLETION_PARAMS, + messages: messages.slice(), + stream: true, + }); + + const stream = OpenAIStream(response); + + // the following code is inspired by the implementation of the streamToResponse function + // available here: https://github.com/vercel-labs/ai/blob/164b33d963250a53bbaaabb7b68d143f81541a7a/packages/core/streams/streaming-text-response.ts#L22C17-L22C33 + + reply.hijack(); + + const replyHeaders = reply.getHeaders(); + + const headers: OutgoingHttpHeaders = {}; + + Object.keys(replyHeaders).forEach((key) => { + const value = replyHeaders[key]; + + if (value === undefined || typeof value === "number") { + return; + } + + headers[key] = value; + }); + + headers["Content-Type"] = "text/plain; charset=utf-8"; + + reply.raw.writeHead(200, headers); + + const reader = stream.getReader(); + + const writeToReplyRaw = async () => { + const { done, value } = await reader.read(); + + if (done) { + reply.raw.end(); + return; + } + + reply.raw.write(value); + + await writeToReplyRaw(); + }; + + await writeToReplyRaw(); + + return; + }); + + instance.post("/publish", publishHandler(environment, tokenService)); + + done(); +}; + +// @ts-expect-error setup a display name not to trigger require.cache down the line +protectedRoutes[Symbol.for("fastify.display-name")] = "protectedRoutes"; +// @ts-expect-error setup a display name not to trigger require.cache down the line +publicRoutes[Symbol.for("fastify.display-name")] = "publicRoutes"; + +await initApp([publicRoutes, protectedRoutes]); diff --git a/apps/studio-backend/src/services/tokenService.test.ts b/apps/studio-backend/src/services/tokenService.test.ts index e9c4fcb42..fcfb748dc 100644 --- a/apps/studio-backend/src/services/tokenService.test.ts +++ b/apps/studio-backend/src/services/tokenService.test.ts @@ -1,5 +1,5 @@ import { describe, expect, test } from "vitest"; -import { buildDataAccessLayer } from "../dataAccessLayer/dataAccessLayer.js"; +import { buildDataAccessLayer } from "../db/dataAccessLayer.js"; import { TokenNotFoundError, TokenRevokedError, diff --git a/apps/studio-backend/src/services/tokenService.ts b/apps/studio-backend/src/services/tokenService.ts index 6f9d04337..39b4d1cd3 100644 --- a/apps/studio-backend/src/services/tokenService.ts +++ b/apps/studio-backend/src/services/tokenService.ts @@ -7,9 +7,9 @@ import { sign, verifyTokenMetadata, } from "../crypto/crypto.js"; -import { TokenMetadata } from "../dataAccessLayer/buildTokenMetadataRepository.js"; -import { TokenRevocation } from "../dataAccessLayer/buildTokenRevocationsRepository.js"; -import { DataAccessLayer } from "../dataAccessLayer/dataAccessLayer.js"; +import { TokenMetadata } from "../db/buildTokenMetadataRepository.js"; +import { TokenRevocation } from "../db/buildTokenRevocationsRepository.js"; +import { DataAccessLayer } from "../db/dataAccessLayer.js"; export const CLAIM_PUBLISHING = 0x1; export const CLAIM_ISSUE_CREATION = 0x2; diff --git a/apps/studio-backend/src/util.ts b/apps/studio-backend/src/util.ts index a327de2a0..e0216d471 100644 --- a/apps/studio-backend/src/util.ts +++ b/apps/studio-backend/src/util.ts @@ -1,5 +1,5 @@ import { IncomingHttpHeaders } from "node:http"; -import { Environment } from "./schema.js"; +import { Environment } from "./schemata/env.js"; export const areClerkKeysSet = ( environment: Environment, diff --git a/apps/studio/src/api/getAccessToken.ts b/apps/studio/src/api/getAccessToken.ts index 0e54a1bc2..671240916 100644 --- a/apps/studio/src/api/getAccessToken.ts +++ b/apps/studio/src/api/getAccessToken.ts @@ -1,9 +1,10 @@ import { type AxiosError } from "axios"; +import { env } from "~/env"; import { BUILD_ACCESS_TOKEN } from "../constants"; import { Either } from "../utils/Either"; import apiClient from "./client"; -const X_CODEMODCOM_ACCESS_TOKEN = process.env.X_CODEMODCOM_ACCESS_TOKEN ?? ""; +const X_CODEMODCOM_ACCESS_TOKEN = "x-codemod-access-token"; const getAccessToken = async ({ clerkToken, }: { diff --git a/apps/studio/src/utils/download.ts b/apps/studio/src/utils/download.ts index 54544c2d9..9cfddb9c6 100644 --- a/apps/studio/src/utils/download.ts +++ b/apps/studio/src/utils/download.ts @@ -18,7 +18,7 @@ interface ProjectDownloadInput { const beautify = (input: string, options?: Parameters[1]) => js(input, { brace_style: "preserve-inline", indent_size: 2, ...options }); -const readme = ({ +const description = ({ name, before, after, @@ -231,7 +231,7 @@ const packageJson = ({ "license": "MIT", "files": [ "README.md", - "config.json", + ".codemodrc.json", "./dist/index.cjs", "./index.d.ts" ], @@ -482,7 +482,7 @@ export const downloadProject = async (input: ProjectDownloadInput) => { `/*! @license\n${licenseContent}\n*/\n${compiled}`, ); - zip.file("README.md", readme(input)); + zip.file("README.md", description(input)); zip.file("build.ts", buildScript()); zip.file("vitest.config.ts", vitestConfig()); @@ -490,7 +490,7 @@ export const downloadProject = async (input: ProjectDownloadInput) => { zip.file("package.json", packageJson(input)); zip.file("tsconfig.json", tsconfigJson()); - zip.file("config.json", configJson(input)); + zip.file(".codemodrc.json", configJson(input)); zip.file(".gitignore", "node_modules\ndist\nbuild.ts"); diff --git a/apps/vsce/package.json b/apps/vsce/package.json index 27accaa33..7e618269c 100644 --- a/apps/vsce/package.json +++ b/apps/vsce/package.json @@ -84,12 +84,6 @@ "configuration": { "title": "Codemod VSCode Extension Configuration", "properties": { - "codemod.fileLimit": { - "order": 1, - "type": "number", - "default": 2000, - "description": "The maximum number of files to execute any codemod over" - }, "codemod.workerThreadCount": { "order": 2, "type": "number", diff --git a/apps/vsce/src/components/buildArguments.ts b/apps/vsce/src/components/buildArguments.ts index dd8777e00..2c45d9cb9 100644 --- a/apps/vsce/src/components/buildArguments.ts +++ b/apps/vsce/src/components/buildArguments.ts @@ -66,7 +66,6 @@ export const buildArguments = ( } args.push("--threads", String(configuration.workerThreadCount)); - args.push("--limit", String(configuration.fileLimit)); if (!configuration.formatWithPrettier) { args.push("--raw"); diff --git a/apps/vsce/src/components/engineService.ts b/apps/vsce/src/components/engineService.ts index f0a7b81d7..2f7939c40 100644 --- a/apps/vsce/src/components/engineService.ts +++ b/apps/vsce/src/components/engineService.ts @@ -375,7 +375,7 @@ export class EngineService { homedir(), ".codemod", hashDigest, - "config.json", + ".codemodrc.json", ); if (!existsSync(configPath)) { @@ -443,7 +443,7 @@ export class EngineService { const { names } = parsePrivateCodemodsEnvelope(json); for (const hash of names) { - const configPath = join(globalStoragePath, hash, "config.json"); + const configPath = join(globalStoragePath, hash, ".codemodrc.json"); if (!existsSync(configPath)) { continue; diff --git a/apps/vsce/src/configuration.ts b/apps/vsce/src/configuration.ts index abd8d3583..815fa70ef 100644 --- a/apps/vsce/src/configuration.ts +++ b/apps/vsce/src/configuration.ts @@ -3,8 +3,6 @@ import * as vscode from "vscode"; export const getConfiguration = () => { const configuration = vscode.workspace.getConfiguration("codemod"); - const fileLimit = configuration.get("fileLimit") ?? 100; - const workerThreadCount = configuration.get("workerThreadCount") ?? 4; const includePatterns = configuration.get("include") ?? [ @@ -18,7 +16,6 @@ export const getConfiguration = () => { configuration.get("formatWithPrettier") ?? false; return { - fileLimit, workerThreadCount, includePatterns, excludePatterns, diff --git a/apps/vsce/src/extension.ts b/apps/vsce/src/extension.ts index 92da881a4..cd173bbf2 100644 --- a/apps/vsce/src/extension.ts +++ b/apps/vsce/src/extension.ts @@ -960,7 +960,7 @@ export async function activate(context: vscode.ExtensionContext) { const codemodDirectoryPath = join(globalStoragePath, codemodHash); await mkdir(codemodDirectoryPath, { recursive: true }); - const buildConfigPath = join(codemodDirectoryPath, "config.json"); + const buildConfigPath = join(codemodDirectoryPath, ".codemodrc.json"); await writeFile( buildConfigPath, diff --git a/biome.json b/biome.json index 95593a6e7..f938a43b3 100644 --- a/biome.json +++ b/biome.json @@ -110,6 +110,6 @@ ] }, "organizeImports": { - "ignore": ["node_modules", "dist", "build", ".next", ".vscode"] + "ignore": ["node_modules", "dist", "build", ".next", ".vscode", "build-ncc"] } } diff --git a/packages/tsconfig/base.json b/packages/tsconfig/base.json index c47a9d0f7..314368a22 100644 --- a/packages/tsconfig/base.json +++ b/packages/tsconfig/base.json @@ -19,6 +19,7 @@ "noUnusedParameters": false, "preserveWatchOutput": true, "strict": true, + "strictNullChecks": true, "module": "esnext", "incremental": true, "noUncheckedIndexedAccess": true, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 854c57931..43adddfa1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -53,6 +53,9 @@ importers: js-yaml: specifier: 4.1.0 version: 4.1.0 + ms: + specifier: ^2.1.3 + version: 2.1.3 devDependencies: '@babel/core': specifier: ^7.20.2 @@ -75,9 +78,6 @@ importers: '@codemod-com/utilities': specifier: workspace:* version: link:../../packages/utilities - '@effect/schema': - specifier: 0.27.0 - version: 0.27.0 '@svgr/hast-util-to-babel-ast': specifier: ^7.0.0 version: 7.0.0 @@ -93,6 +93,9 @@ importers: '@types/jscodeshift': specifier: ^0.11.5 version: 0.11.11 + '@types/ms': + specifier: ^0.7.34 + version: 0.7.34 '@types/node': specifier: 18.11.9 version: 18.11.9 @@ -229,16 +232,22 @@ importers: apps/registry/builder: dependencies: - '@effect/schema': - specifier: ^0.48.4 - version: 0.48.4(effect@2.0.0-next.55)(fast-check@3.15.1) fast-glob: specifier: 3.3.2 version: 3.3.2 + ms: + specifier: ^2.1.3 + version: 2.1.3 tar: specifier: ^6.2.0 version: 6.2.0 + valibot: + specifier: ^0.24.1 + version: 0.24.1 devDependencies: + '@types/ms': + specifier: ^0.7.34 + version: 0.7.34 '@types/node': specifier: ^20.9.2 version: 20.10.4 @@ -3086,6 +3095,36 @@ importers: specifier: ^1.0.1 version: 1.0.4(@types/node@20.10.5) + apps/registry/codemods/react-router/4/browser-router: + devDependencies: + '@codemod-com/registry-cjs-builder': + specifier: workspace:* + version: link:../../../../cjs-builder + '@codemod-com/utilities': + specifier: workspace:* + version: link:../../../../../../packages/utilities + '@types/jscodeshift': + specifier: ^0.11.10 + version: 0.11.11 + '@vitest/coverage-v8': + specifier: ^1.0.1 + version: 1.2.2(vitest@1.1.0) + esbuild: + specifier: 0.19.5 + version: 0.19.5 + jscodeshift: + specifier: ^0.15.1 + version: 0.15.1(@babel/preset-env@7.23.9) + ts-node: + specifier: ^10.9.1 + version: 10.9.2(@types/node@20.10.5)(typescript@5.3.3) + typescript: + specifier: ^5.2.2 + version: 5.3.3 + vitest: + specifier: ^1.0.1 + version: 1.1.0(@types/node@20.10.5) + apps/registry/codemods/react-router/4/create-hash-history: devDependencies: '@codemod-com/registry-cjs-builder': @@ -4269,43 +4308,6 @@ importers: specifier: ^5.2.2 version: 5.3.3 - apps/registry/readme-parser: - dependencies: - js-yaml: - specifier: 4.1.0 - version: 4.1.0 - mdast-util-from-markdown: - specifier: 2.0.0 - version: 2.0.0 - simple-git: - specifier: ^3.21.0 - version: 3.22.0 - valibot: - specifier: ^0.24.1 - version: 0.24.1 - devDependencies: - '@types/js-yaml': - specifier: 4.0.9 - version: 4.0.9 - '@types/mdast': - specifier: 4.0.3 - version: 4.0.3 - '@types/node': - specifier: 20.10.4 - version: 20.10.4 - esbuild: - specifier: ^0.19.7 - version: 0.19.12 - tsx: - specifier: ^4.7.0 - version: 4.7.0 - typescript: - specifier: 5.3.3 - version: 5.3.3 - vitest: - specifier: 1.0.4 - version: 1.0.4(@types/node@20.10.4) - apps/studio: dependencies: '@babel/parser': @@ -4604,8 +4606,8 @@ importers: apps/studio-backend: dependencies: '@aws-sdk/client-s3': - specifier: ^3.478.0 - version: 3.515.0 + specifier: ^3.525.0 + version: 3.525.0 '@clerk/backend': specifier: 0.36.0 version: 0.36.0(react@18.2.0) @@ -4616,19 +4618,22 @@ importers: specifier: 0.54.0 version: 0.54.0(effect@2.0.0-next.61)(fast-check@3.15.1) '@fastify/busboy': - specifier: ^2.1.0 - version: 2.1.0 + specifier: ^2.1.1 + version: 2.1.1 '@fastify/cors': specifier: 8.5.0 version: 8.5.0 '@fastify/multipart': - specifier: ^8.0.0 + specifier: ^8.1.0 version: 8.1.0 '@fastify/rate-limit': specifier: 9.0.1 version: 9.0.1 + '@prisma/client': + specifier: 5.10.2 + version: 5.10.2(prisma@5.10.2) '@types/tar': - specifier: ^6.1.10 + specifier: ^6.1.11 version: 6.1.11 ai: specifier: 2.2.29 @@ -4642,12 +4647,15 @@ importers: chromadb: specifier: 1.7.2 version: 1.7.2(openai@4.23.0) + dotenv: + specifier: ^16.4.5 + version: 16.4.5 fastify: specifier: 4.25.1 version: 4.25.1 langchain: specifier: 0.0.209 - version: 0.0.209(@aws-sdk/client-s3@3.515.0)(@aws-sdk/credential-provider-node@3.515.0)(axios@1.6.2)(chromadb@1.7.2)(pg@8.11.3)(replicate@0.25.2) + version: 0.0.209(@aws-sdk/client-s3@3.525.0)(@aws-sdk/credential-provider-node@3.525.0)(axios@1.6.2)(chromadb@1.7.2)(pg@8.11.3)(replicate@0.25.2) lru-cache: specifier: 10.1.0 version: 10.1.0 @@ -4663,31 +4671,49 @@ importers: pg: specifier: ^8.11.3 version: 8.11.3 + prisma: + specifier: ^5.10.2 + version: 5.10.2 replicate: specifier: 0.25.2 version: 0.25.2 sequelize: - specifier: ^6.36.0 - version: 6.37.0(pg@8.11.3)(sqlite3@5.1.7) + specifier: ^6.37.1 + version: 6.37.1(pg@8.11.3)(sqlite3@5.1.7) tar: specifier: ^6.2.0 version: 6.2.0 valibot: specifier: ^0.24.1 version: 0.24.1 + zod: + specifier: 3.21.4 + version: 3.21.4 + zod-prisma-types: + specifier: ^3.1.6 + version: 3.1.6 devDependencies: '@biomejs/biome': specifier: 1.5.3 version: 1.5.3 + '@codemod-com/tsconfig': + specifier: workspace:* + version: link:../../packages/tsconfig + '@faker-js/faker': + specifier: ^8.4.1 + version: 8.4.1 '@types/node': specifier: 20.10.5 version: 20.10.5 '@types/parse-github-url': specifier: 1.0.3 version: 1.0.3 - '@vercel/ncc': - specifier: 0.38.1 - version: 0.38.1 + '@types/pg': + specifier: ^8.11.2 + version: 8.11.2 + esbuild: + specifier: ^0.19.12 + version: 0.19.12 fastify-plugin: specifier: 4.5.1 version: 4.5.1 @@ -4700,6 +4726,9 @@ importers: ts-node: specifier: 10.9.2 version: 10.9.2(@types/node@20.10.5)(typescript@5.3.3) + tsx: + specifier: ^4.7.1 + version: 4.7.1 typescript: specifier: 5.3.3 version: 5.3.3 @@ -4707,8 +4736,6 @@ importers: specifier: 1.1.0 version: 1.1.0(@types/node@20.10.5) - apps/studio-backend/build-ncc: {} - apps/vsce: dependencies: '@effect/schema': @@ -5072,7 +5099,7 @@ packages: resolution: {integrity: sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA==} dependencies: '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.515.0 + '@aws-sdk/types': 3.523.0 tslib: 1.14.1 dev: false @@ -5080,7 +5107,7 @@ packages: resolution: {integrity: sha512-ENNPPManmnVJ4BTXlOjAgD7URidbAznURqD0KvfREyc4o20DPYdEldU1f5cQ7Jbj0CJJSPaMIk/9ZshdB3210w==} dependencies: '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.515.0 + '@aws-sdk/types': 3.523.0 tslib: 1.14.1 dev: false @@ -5096,7 +5123,7 @@ packages: '@aws-crypto/ie11-detection': 3.0.0 '@aws-crypto/supports-web-crypto': 3.0.0 '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.515.0 + '@aws-sdk/types': 3.523.0 '@aws-sdk/util-locate-window': 3.495.0 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 @@ -5109,7 +5136,7 @@ packages: '@aws-crypto/sha256-js': 3.0.0 '@aws-crypto/supports-web-crypto': 3.0.0 '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.515.0 + '@aws-sdk/types': 3.523.0 '@aws-sdk/util-locate-window': 3.495.0 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 @@ -5119,7 +5146,7 @@ packages: resolution: {integrity: sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ==} dependencies: '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.515.0 + '@aws-sdk/types': 3.523.0 tslib: 1.14.1 dev: false @@ -5132,216 +5159,216 @@ packages: /@aws-crypto/util@3.0.0: resolution: {integrity: sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w==} dependencies: - '@aws-sdk/types': 3.515.0 + '@aws-sdk/types': 3.523.0 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 dev: false - /@aws-sdk/client-s3@3.515.0: - resolution: {integrity: sha512-K527n83hrMUdosxOYTzL63wtlJtmN5SUJZnGY1sUR6UyOrnOr9lS6t3AB6BgHqLFRFZJqSqmhflv2cOD7P1UPg==} + /@aws-sdk/client-s3@3.525.0: + resolution: {integrity: sha512-hoMGH8G9rezZDiJPsMjsyRVNfVHHa4u6lcZ09SQMmtFHWK0FUcC0DIKR5ripV5qGDbnV54i2JotXlLzAv0aNCQ==} engines: {node: '>=14.0.0'} dependencies: '@aws-crypto/sha1-browser': 3.0.0 '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.515.0(@aws-sdk/credential-provider-node@3.515.0) - '@aws-sdk/core': 3.513.0 - '@aws-sdk/credential-provider-node': 3.515.0 - '@aws-sdk/middleware-bucket-endpoint': 3.515.0 - '@aws-sdk/middleware-expect-continue': 3.515.0 - '@aws-sdk/middleware-flexible-checksums': 3.515.0 - '@aws-sdk/middleware-host-header': 3.515.0 - '@aws-sdk/middleware-location-constraint': 3.515.0 - '@aws-sdk/middleware-logger': 3.515.0 - '@aws-sdk/middleware-recursion-detection': 3.515.0 - '@aws-sdk/middleware-sdk-s3': 3.515.0 - '@aws-sdk/middleware-signing': 3.515.0 - '@aws-sdk/middleware-ssec': 3.515.0 - '@aws-sdk/middleware-user-agent': 3.515.0 - '@aws-sdk/region-config-resolver': 3.515.0 - '@aws-sdk/signature-v4-multi-region': 3.515.0 - '@aws-sdk/types': 3.515.0 - '@aws-sdk/util-endpoints': 3.515.0 - '@aws-sdk/util-user-agent-browser': 3.515.0 - '@aws-sdk/util-user-agent-node': 3.515.0 - '@aws-sdk/xml-builder': 3.496.0 - '@smithy/config-resolver': 2.1.1 - '@smithy/core': 1.3.2 - '@smithy/eventstream-serde-browser': 2.1.1 - '@smithy/eventstream-serde-config-resolver': 2.1.1 - '@smithy/eventstream-serde-node': 2.1.1 - '@smithy/fetch-http-handler': 2.4.1 - '@smithy/hash-blob-browser': 2.1.1 - '@smithy/hash-node': 2.1.1 - '@smithy/hash-stream-node': 2.1.1 - '@smithy/invalid-dependency': 2.1.1 - '@smithy/md5-js': 2.1.1 - '@smithy/middleware-content-length': 2.1.1 - '@smithy/middleware-endpoint': 2.4.1 - '@smithy/middleware-retry': 2.1.1 - '@smithy/middleware-serde': 2.1.1 - '@smithy/middleware-stack': 2.1.1 - '@smithy/node-config-provider': 2.2.1 - '@smithy/node-http-handler': 2.3.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/url-parser': 2.1.1 + '@aws-sdk/client-sts': 3.525.0(@aws-sdk/credential-provider-node@3.525.0) + '@aws-sdk/core': 3.525.0 + '@aws-sdk/credential-provider-node': 3.525.0 + '@aws-sdk/middleware-bucket-endpoint': 3.525.0 + '@aws-sdk/middleware-expect-continue': 3.523.0 + '@aws-sdk/middleware-flexible-checksums': 3.523.0 + '@aws-sdk/middleware-host-header': 3.523.0 + '@aws-sdk/middleware-location-constraint': 3.523.0 + '@aws-sdk/middleware-logger': 3.523.0 + '@aws-sdk/middleware-recursion-detection': 3.523.0 + '@aws-sdk/middleware-sdk-s3': 3.525.0 + '@aws-sdk/middleware-signing': 3.523.0 + '@aws-sdk/middleware-ssec': 3.523.0 + '@aws-sdk/middleware-user-agent': 3.525.0 + '@aws-sdk/region-config-resolver': 3.525.0 + '@aws-sdk/signature-v4-multi-region': 3.525.0 + '@aws-sdk/types': 3.523.0 + '@aws-sdk/util-endpoints': 3.525.0 + '@aws-sdk/util-user-agent-browser': 3.523.0 + '@aws-sdk/util-user-agent-node': 3.525.0 + '@aws-sdk/xml-builder': 3.523.0 + '@smithy/config-resolver': 2.1.4 + '@smithy/core': 1.3.5 + '@smithy/eventstream-serde-browser': 2.1.3 + '@smithy/eventstream-serde-config-resolver': 2.1.3 + '@smithy/eventstream-serde-node': 2.1.3 + '@smithy/fetch-http-handler': 2.4.3 + '@smithy/hash-blob-browser': 2.1.3 + '@smithy/hash-node': 2.1.3 + '@smithy/hash-stream-node': 2.1.3 + '@smithy/invalid-dependency': 2.1.3 + '@smithy/md5-js': 2.1.3 + '@smithy/middleware-content-length': 2.1.3 + '@smithy/middleware-endpoint': 2.4.4 + '@smithy/middleware-retry': 2.1.4 + '@smithy/middleware-serde': 2.1.3 + '@smithy/middleware-stack': 2.1.3 + '@smithy/node-config-provider': 2.2.4 + '@smithy/node-http-handler': 2.4.1 + '@smithy/protocol-http': 3.2.1 + '@smithy/smithy-client': 2.4.2 + '@smithy/types': 2.10.1 + '@smithy/url-parser': 2.1.3 '@smithy/util-base64': 2.1.1 '@smithy/util-body-length-browser': 2.1.1 '@smithy/util-body-length-node': 2.2.1 - '@smithy/util-defaults-mode-browser': 2.1.1 - '@smithy/util-defaults-mode-node': 2.2.0 - '@smithy/util-endpoints': 1.1.1 - '@smithy/util-retry': 2.1.1 - '@smithy/util-stream': 2.1.1 + '@smithy/util-defaults-mode-browser': 2.1.4 + '@smithy/util-defaults-mode-node': 2.2.3 + '@smithy/util-endpoints': 1.1.4 + '@smithy/util-retry': 2.1.3 + '@smithy/util-stream': 2.1.3 '@smithy/util-utf8': 2.1.1 - '@smithy/util-waiter': 2.1.1 + '@smithy/util-waiter': 2.1.3 fast-xml-parser: 4.2.5 tslib: 2.6.2 transitivePeerDependencies: - aws-crt dev: false - /@aws-sdk/client-sso-oidc@3.515.0(@aws-sdk/credential-provider-node@3.515.0): - resolution: {integrity: sha512-zACa8LNlPUdlNUBqQRf5a3MfouLNtcBfm84v2c8M976DwJrMGONPe1QjyLLsD38uESQiXiVQRruj/b000iMXNw==} + /@aws-sdk/client-sso-oidc@3.525.0(@aws-sdk/credential-provider-node@3.525.0): + resolution: {integrity: sha512-zz13k/6RkjPSLmReSeGxd8wzGiiZa4Odr2Tv3wTcxClM4wOjD+zOgGv4Fe32b9AMqaueiCdjbvdu7AKcYxFA4A==} engines: {node: '>=14.0.0'} peerDependencies: - '@aws-sdk/credential-provider-node': ^3.515.0 + '@aws-sdk/credential-provider-node': ^3.525.0 dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.515.0(@aws-sdk/credential-provider-node@3.515.0) - '@aws-sdk/core': 3.513.0 - '@aws-sdk/credential-provider-node': 3.515.0 - '@aws-sdk/middleware-host-header': 3.515.0 - '@aws-sdk/middleware-logger': 3.515.0 - '@aws-sdk/middleware-recursion-detection': 3.515.0 - '@aws-sdk/middleware-user-agent': 3.515.0 - '@aws-sdk/region-config-resolver': 3.515.0 - '@aws-sdk/types': 3.515.0 - '@aws-sdk/util-endpoints': 3.515.0 - '@aws-sdk/util-user-agent-browser': 3.515.0 - '@aws-sdk/util-user-agent-node': 3.515.0 - '@smithy/config-resolver': 2.1.1 - '@smithy/core': 1.3.2 - '@smithy/fetch-http-handler': 2.4.1 - '@smithy/hash-node': 2.1.1 - '@smithy/invalid-dependency': 2.1.1 - '@smithy/middleware-content-length': 2.1.1 - '@smithy/middleware-endpoint': 2.4.1 - '@smithy/middleware-retry': 2.1.1 - '@smithy/middleware-serde': 2.1.1 - '@smithy/middleware-stack': 2.1.1 - '@smithy/node-config-provider': 2.2.1 - '@smithy/node-http-handler': 2.3.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/url-parser': 2.1.1 + '@aws-sdk/client-sts': 3.525.0(@aws-sdk/credential-provider-node@3.525.0) + '@aws-sdk/core': 3.525.0 + '@aws-sdk/credential-provider-node': 3.525.0 + '@aws-sdk/middleware-host-header': 3.523.0 + '@aws-sdk/middleware-logger': 3.523.0 + '@aws-sdk/middleware-recursion-detection': 3.523.0 + '@aws-sdk/middleware-user-agent': 3.525.0 + '@aws-sdk/region-config-resolver': 3.525.0 + '@aws-sdk/types': 3.523.0 + '@aws-sdk/util-endpoints': 3.525.0 + '@aws-sdk/util-user-agent-browser': 3.523.0 + '@aws-sdk/util-user-agent-node': 3.525.0 + '@smithy/config-resolver': 2.1.4 + '@smithy/core': 1.3.5 + '@smithy/fetch-http-handler': 2.4.3 + '@smithy/hash-node': 2.1.3 + '@smithy/invalid-dependency': 2.1.3 + '@smithy/middleware-content-length': 2.1.3 + '@smithy/middleware-endpoint': 2.4.4 + '@smithy/middleware-retry': 2.1.4 + '@smithy/middleware-serde': 2.1.3 + '@smithy/middleware-stack': 2.1.3 + '@smithy/node-config-provider': 2.2.4 + '@smithy/node-http-handler': 2.4.1 + '@smithy/protocol-http': 3.2.1 + '@smithy/smithy-client': 2.4.2 + '@smithy/types': 2.10.1 + '@smithy/url-parser': 2.1.3 '@smithy/util-base64': 2.1.1 '@smithy/util-body-length-browser': 2.1.1 '@smithy/util-body-length-node': 2.2.1 - '@smithy/util-defaults-mode-browser': 2.1.1 - '@smithy/util-defaults-mode-node': 2.2.0 - '@smithy/util-endpoints': 1.1.1 - '@smithy/util-middleware': 2.1.1 - '@smithy/util-retry': 2.1.1 + '@smithy/util-defaults-mode-browser': 2.1.4 + '@smithy/util-defaults-mode-node': 2.2.3 + '@smithy/util-endpoints': 1.1.4 + '@smithy/util-middleware': 2.1.3 + '@smithy/util-retry': 2.1.3 '@smithy/util-utf8': 2.1.1 tslib: 2.6.2 transitivePeerDependencies: - aws-crt dev: false - /@aws-sdk/client-sso@3.515.0: - resolution: {integrity: sha512-4oGBLW476zmkdN98lAns3bObRNO+DLOfg4MDUSR6l6GYBV/zGAtoy2O/FhwYKgA2L5h2ZtElGopLlk/1Q0ePLw==} + /@aws-sdk/client-sso@3.525.0: + resolution: {integrity: sha512-6KwGQWFoNLH1UupdWPFdKPfTgjSz1kN8/r8aCzuvvXBe4Pz+iDUZ6FEJzGWNc9AapjvZDNO1hs23slomM9rTaA==} engines: {node: '>=14.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/core': 3.513.0 - '@aws-sdk/middleware-host-header': 3.515.0 - '@aws-sdk/middleware-logger': 3.515.0 - '@aws-sdk/middleware-recursion-detection': 3.515.0 - '@aws-sdk/middleware-user-agent': 3.515.0 - '@aws-sdk/region-config-resolver': 3.515.0 - '@aws-sdk/types': 3.515.0 - '@aws-sdk/util-endpoints': 3.515.0 - '@aws-sdk/util-user-agent-browser': 3.515.0 - '@aws-sdk/util-user-agent-node': 3.515.0 - '@smithy/config-resolver': 2.1.1 - '@smithy/core': 1.3.2 - '@smithy/fetch-http-handler': 2.4.1 - '@smithy/hash-node': 2.1.1 - '@smithy/invalid-dependency': 2.1.1 - '@smithy/middleware-content-length': 2.1.1 - '@smithy/middleware-endpoint': 2.4.1 - '@smithy/middleware-retry': 2.1.1 - '@smithy/middleware-serde': 2.1.1 - '@smithy/middleware-stack': 2.1.1 - '@smithy/node-config-provider': 2.2.1 - '@smithy/node-http-handler': 2.3.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/url-parser': 2.1.1 + '@aws-sdk/core': 3.525.0 + '@aws-sdk/middleware-host-header': 3.523.0 + '@aws-sdk/middleware-logger': 3.523.0 + '@aws-sdk/middleware-recursion-detection': 3.523.0 + '@aws-sdk/middleware-user-agent': 3.525.0 + '@aws-sdk/region-config-resolver': 3.525.0 + '@aws-sdk/types': 3.523.0 + '@aws-sdk/util-endpoints': 3.525.0 + '@aws-sdk/util-user-agent-browser': 3.523.0 + '@aws-sdk/util-user-agent-node': 3.525.0 + '@smithy/config-resolver': 2.1.4 + '@smithy/core': 1.3.5 + '@smithy/fetch-http-handler': 2.4.3 + '@smithy/hash-node': 2.1.3 + '@smithy/invalid-dependency': 2.1.3 + '@smithy/middleware-content-length': 2.1.3 + '@smithy/middleware-endpoint': 2.4.4 + '@smithy/middleware-retry': 2.1.4 + '@smithy/middleware-serde': 2.1.3 + '@smithy/middleware-stack': 2.1.3 + '@smithy/node-config-provider': 2.2.4 + '@smithy/node-http-handler': 2.4.1 + '@smithy/protocol-http': 3.2.1 + '@smithy/smithy-client': 2.4.2 + '@smithy/types': 2.10.1 + '@smithy/url-parser': 2.1.3 '@smithy/util-base64': 2.1.1 '@smithy/util-body-length-browser': 2.1.1 '@smithy/util-body-length-node': 2.2.1 - '@smithy/util-defaults-mode-browser': 2.1.1 - '@smithy/util-defaults-mode-node': 2.2.0 - '@smithy/util-endpoints': 1.1.1 - '@smithy/util-middleware': 2.1.1 - '@smithy/util-retry': 2.1.1 + '@smithy/util-defaults-mode-browser': 2.1.4 + '@smithy/util-defaults-mode-node': 2.2.3 + '@smithy/util-endpoints': 1.1.4 + '@smithy/util-middleware': 2.1.3 + '@smithy/util-retry': 2.1.3 '@smithy/util-utf8': 2.1.1 tslib: 2.6.2 transitivePeerDependencies: - aws-crt dev: false - /@aws-sdk/client-sts@3.515.0(@aws-sdk/credential-provider-node@3.515.0): - resolution: {integrity: sha512-ScYuvaIDgip3atOJIA1FU2n0gJkEdveu1KrrCPathoUCV5zpK8qQmO/n+Fj/7hKFxeKdFbB+4W4CsJWYH94nlg==} + /@aws-sdk/client-sts@3.525.0(@aws-sdk/credential-provider-node@3.525.0): + resolution: {integrity: sha512-a8NUGRvO6rkfTZCbMaCsjDjLbERCwIUU9dIywFYcRgbFhkupJ7fSaZz3Het98U51M9ZbTEpaTa3fz0HaJv8VJw==} engines: {node: '>=14.0.0'} peerDependencies: - '@aws-sdk/credential-provider-node': ^3.515.0 + '@aws-sdk/credential-provider-node': ^3.525.0 dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/core': 3.513.0 - '@aws-sdk/credential-provider-node': 3.515.0 - '@aws-sdk/middleware-host-header': 3.515.0 - '@aws-sdk/middleware-logger': 3.515.0 - '@aws-sdk/middleware-recursion-detection': 3.515.0 - '@aws-sdk/middleware-user-agent': 3.515.0 - '@aws-sdk/region-config-resolver': 3.515.0 - '@aws-sdk/types': 3.515.0 - '@aws-sdk/util-endpoints': 3.515.0 - '@aws-sdk/util-user-agent-browser': 3.515.0 - '@aws-sdk/util-user-agent-node': 3.515.0 - '@smithy/config-resolver': 2.1.1 - '@smithy/core': 1.3.2 - '@smithy/fetch-http-handler': 2.4.1 - '@smithy/hash-node': 2.1.1 - '@smithy/invalid-dependency': 2.1.1 - '@smithy/middleware-content-length': 2.1.1 - '@smithy/middleware-endpoint': 2.4.1 - '@smithy/middleware-retry': 2.1.1 - '@smithy/middleware-serde': 2.1.1 - '@smithy/middleware-stack': 2.1.1 - '@smithy/node-config-provider': 2.2.1 - '@smithy/node-http-handler': 2.3.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/url-parser': 2.1.1 + '@aws-sdk/core': 3.525.0 + '@aws-sdk/credential-provider-node': 3.525.0 + '@aws-sdk/middleware-host-header': 3.523.0 + '@aws-sdk/middleware-logger': 3.523.0 + '@aws-sdk/middleware-recursion-detection': 3.523.0 + '@aws-sdk/middleware-user-agent': 3.525.0 + '@aws-sdk/region-config-resolver': 3.525.0 + '@aws-sdk/types': 3.523.0 + '@aws-sdk/util-endpoints': 3.525.0 + '@aws-sdk/util-user-agent-browser': 3.523.0 + '@aws-sdk/util-user-agent-node': 3.525.0 + '@smithy/config-resolver': 2.1.4 + '@smithy/core': 1.3.5 + '@smithy/fetch-http-handler': 2.4.3 + '@smithy/hash-node': 2.1.3 + '@smithy/invalid-dependency': 2.1.3 + '@smithy/middleware-content-length': 2.1.3 + '@smithy/middleware-endpoint': 2.4.4 + '@smithy/middleware-retry': 2.1.4 + '@smithy/middleware-serde': 2.1.3 + '@smithy/middleware-stack': 2.1.3 + '@smithy/node-config-provider': 2.2.4 + '@smithy/node-http-handler': 2.4.1 + '@smithy/protocol-http': 3.2.1 + '@smithy/smithy-client': 2.4.2 + '@smithy/types': 2.10.1 + '@smithy/url-parser': 2.1.3 '@smithy/util-base64': 2.1.1 '@smithy/util-body-length-browser': 2.1.1 '@smithy/util-body-length-node': 2.2.1 - '@smithy/util-defaults-mode-browser': 2.1.1 - '@smithy/util-defaults-mode-node': 2.2.0 - '@smithy/util-endpoints': 1.1.1 - '@smithy/util-middleware': 2.1.1 - '@smithy/util-retry': 2.1.1 + '@smithy/util-defaults-mode-browser': 2.1.4 + '@smithy/util-defaults-mode-node': 2.2.3 + '@smithy/util-endpoints': 1.1.4 + '@smithy/util-middleware': 2.1.3 + '@smithy/util-retry': 2.1.3 '@smithy/util-utf8': 2.1.1 fast-xml-parser: 4.2.5 tslib: 2.6.2 @@ -5349,291 +5376,291 @@ packages: - aws-crt dev: false - /@aws-sdk/core@3.513.0: - resolution: {integrity: sha512-L+9DL4apWuqNKVOMJ8siAuWoRM9rZf9w1iPv8S2o83WO2jVK7E/m+rNW1dFo9HsA5V1ccDl2H2qLXx24HiHmOw==} + /@aws-sdk/core@3.525.0: + resolution: {integrity: sha512-E3LtEtMWCriQOFZpVKpLYzbdw/v2PAOEAMhn2VRRZ1g0/g1TXzQrfhEU2yd8l/vQEJaCJ82ooGGg7YECviBUxA==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/core': 1.3.2 - '@smithy/protocol-http': 3.1.1 - '@smithy/signature-v4': 2.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 + '@smithy/core': 1.3.5 + '@smithy/protocol-http': 3.2.1 + '@smithy/signature-v4': 2.1.3 + '@smithy/smithy-client': 2.4.2 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-env@3.515.0: - resolution: {integrity: sha512-45vxdyqhTAaUMERYVWOziG3K8L2TV9G4ryQS/KZ84o7NAybE9GMdoZRVmGHAO7mJJ1wQiYCM/E+i5b3NW9JfNA==} + /@aws-sdk/credential-provider-env@3.523.0: + resolution: {integrity: sha512-Y6DWdH6/OuMDoNKVzZlNeBc6f1Yjk1lYMjANKpIhMbkRCvLJw/PYZKOZa8WpXbTYdgg9XLjKybnLIb3ww3uuzA==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/property-provider': 2.1.1 - '@smithy/types': 2.9.1 + '@aws-sdk/types': 3.523.0 + '@smithy/property-provider': 2.1.3 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-http@3.515.0: - resolution: {integrity: sha512-Ba6FXK77vU4WyheiamNjEuTFmir0eAXuJGPO27lBaA8g+V/seXGHScsbOG14aQGDOr2P02OPwKGZrWWA7BFpfQ==} + /@aws-sdk/credential-provider-http@3.525.0: + resolution: {integrity: sha512-RNWQGuSBQZhl3iqklOslUEfQ4br1V3DCPboMpeqFtddUWJV3m2u2extFur9/4Uy+1EHVF120IwZUKtd8dF+ibw==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/fetch-http-handler': 2.4.1 - '@smithy/node-http-handler': 2.3.1 - '@smithy/property-provider': 2.1.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/util-stream': 2.1.1 + '@aws-sdk/types': 3.523.0 + '@smithy/fetch-http-handler': 2.4.3 + '@smithy/node-http-handler': 2.4.1 + '@smithy/property-provider': 2.1.3 + '@smithy/protocol-http': 3.2.1 + '@smithy/smithy-client': 2.4.2 + '@smithy/types': 2.10.1 + '@smithy/util-stream': 2.1.3 tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-ini@3.515.0(@aws-sdk/credential-provider-node@3.515.0): - resolution: {integrity: sha512-ouDlNZdv2TKeVEA/YZk2+XklTXyAAGdbWnl4IgN9ItaodWI+lZjdIoNC8BAooVH+atIV/cZgoGTGQL7j2TxJ9A==} + /@aws-sdk/credential-provider-ini@3.525.0(@aws-sdk/credential-provider-node@3.525.0): + resolution: {integrity: sha512-JDnccfK5JRb9jcgpc9lirL9PyCwGIqY0nKdw3LlX5WL5vTpTG4E1q7rLAlpNh7/tFD1n66Itarfv2tsyHMIqCw==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/client-sts': 3.515.0(@aws-sdk/credential-provider-node@3.515.0) - '@aws-sdk/credential-provider-env': 3.515.0 - '@aws-sdk/credential-provider-process': 3.515.0 - '@aws-sdk/credential-provider-sso': 3.515.0(@aws-sdk/credential-provider-node@3.515.0) - '@aws-sdk/credential-provider-web-identity': 3.515.0(@aws-sdk/credential-provider-node@3.515.0) - '@aws-sdk/types': 3.515.0 - '@smithy/credential-provider-imds': 2.2.1 - '@smithy/property-provider': 2.1.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 + '@aws-sdk/client-sts': 3.525.0(@aws-sdk/credential-provider-node@3.525.0) + '@aws-sdk/credential-provider-env': 3.523.0 + '@aws-sdk/credential-provider-process': 3.523.0 + '@aws-sdk/credential-provider-sso': 3.525.0(@aws-sdk/credential-provider-node@3.525.0) + '@aws-sdk/credential-provider-web-identity': 3.525.0(@aws-sdk/credential-provider-node@3.525.0) + '@aws-sdk/types': 3.523.0 + '@smithy/credential-provider-imds': 2.2.4 + '@smithy/property-provider': 2.1.3 + '@smithy/shared-ini-file-loader': 2.3.4 + '@smithy/types': 2.10.1 tslib: 2.6.2 transitivePeerDependencies: - '@aws-sdk/credential-provider-node' - aws-crt dev: false - /@aws-sdk/credential-provider-node@3.515.0: - resolution: {integrity: sha512-Y4kHSpbxksiCZZNcvsiKUd8Fb2XlyUuONEwqWFNL82ZH6TCCjBGS31wJQCSxBHqYcOL3tiORUEJkoO7uS30uQA==} + /@aws-sdk/credential-provider-node@3.525.0: + resolution: {integrity: sha512-RJXlO8goGXpnoHQAyrCcJ0QtWEOFa34LSbfdqBIjQX/fwnjUuEmiGdXTV3AZmwYQ7juk49tfBneHbtOP3AGqsQ==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/credential-provider-env': 3.515.0 - '@aws-sdk/credential-provider-http': 3.515.0 - '@aws-sdk/credential-provider-ini': 3.515.0(@aws-sdk/credential-provider-node@3.515.0) - '@aws-sdk/credential-provider-process': 3.515.0 - '@aws-sdk/credential-provider-sso': 3.515.0(@aws-sdk/credential-provider-node@3.515.0) - '@aws-sdk/credential-provider-web-identity': 3.515.0(@aws-sdk/credential-provider-node@3.515.0) - '@aws-sdk/types': 3.515.0 - '@smithy/credential-provider-imds': 2.2.1 - '@smithy/property-provider': 2.1.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 + '@aws-sdk/credential-provider-env': 3.523.0 + '@aws-sdk/credential-provider-http': 3.525.0 + '@aws-sdk/credential-provider-ini': 3.525.0(@aws-sdk/credential-provider-node@3.525.0) + '@aws-sdk/credential-provider-process': 3.523.0 + '@aws-sdk/credential-provider-sso': 3.525.0(@aws-sdk/credential-provider-node@3.525.0) + '@aws-sdk/credential-provider-web-identity': 3.525.0(@aws-sdk/credential-provider-node@3.525.0) + '@aws-sdk/types': 3.523.0 + '@smithy/credential-provider-imds': 2.2.4 + '@smithy/property-provider': 2.1.3 + '@smithy/shared-ini-file-loader': 2.3.4 + '@smithy/types': 2.10.1 tslib: 2.6.2 transitivePeerDependencies: - aws-crt dev: false - /@aws-sdk/credential-provider-process@3.515.0: - resolution: {integrity: sha512-pSjiOA2FM63LHRKNDvEpBRp80FVGT0Mw/gzgbqFXP+sewk0WVonYbEcMDTJptH3VsLPGzqH/DQ1YL/aEIBuXFQ==} + /@aws-sdk/credential-provider-process@3.523.0: + resolution: {integrity: sha512-f0LP9KlFmMvPWdKeUKYlZ6FkQAECUeZMmISsv6NKtvPCI9e4O4cLTeR09telwDK8P0HrgcRuZfXM7E30m8re0Q==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/property-provider': 2.1.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 + '@aws-sdk/types': 3.523.0 + '@smithy/property-provider': 2.1.3 + '@smithy/shared-ini-file-loader': 2.3.4 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-sso@3.515.0(@aws-sdk/credential-provider-node@3.515.0): - resolution: {integrity: sha512-j7vUkiSmuhpBvZYoPTRTI4ePnQbiZMFl6TNhg9b9DprC1zHkucsZnhRhqjOVlrw/H6J4jmcPGcHHTZ5WQNI5xQ==} + /@aws-sdk/credential-provider-sso@3.525.0(@aws-sdk/credential-provider-node@3.525.0): + resolution: {integrity: sha512-7V7ybtufxdD3plxeIeB6aqHZeFIUlAyPphXIUgXrGY10iNcosL970rQPBeggsohe4gCM6UvY2TfMeEcr+ZE8FA==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/client-sso': 3.515.0 - '@aws-sdk/token-providers': 3.515.0(@aws-sdk/credential-provider-node@3.515.0) - '@aws-sdk/types': 3.515.0 - '@smithy/property-provider': 2.1.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 + '@aws-sdk/client-sso': 3.525.0 + '@aws-sdk/token-providers': 3.525.0(@aws-sdk/credential-provider-node@3.525.0) + '@aws-sdk/types': 3.523.0 + '@smithy/property-provider': 2.1.3 + '@smithy/shared-ini-file-loader': 2.3.4 + '@smithy/types': 2.10.1 tslib: 2.6.2 transitivePeerDependencies: - '@aws-sdk/credential-provider-node' - aws-crt dev: false - /@aws-sdk/credential-provider-web-identity@3.515.0(@aws-sdk/credential-provider-node@3.515.0): - resolution: {integrity: sha512-66+2g4z3fWwdoGReY8aUHvm6JrKZMTRxjuizljVmMyOBttKPeBYXvUTop/g3ZGUx1f8j+C5qsGK52viYBvtjuQ==} + /@aws-sdk/credential-provider-web-identity@3.525.0(@aws-sdk/credential-provider-node@3.525.0): + resolution: {integrity: sha512-sAukOjR1oKb2JXG4nPpuBFpSwGUhrrY17PG/xbTy8NAoLLhrqRwnErcLfdTfmj6tH+3094k6ws/Sh8a35ae7fA==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/client-sts': 3.515.0(@aws-sdk/credential-provider-node@3.515.0) - '@aws-sdk/types': 3.515.0 - '@smithy/property-provider': 2.1.1 - '@smithy/types': 2.9.1 + '@aws-sdk/client-sts': 3.525.0(@aws-sdk/credential-provider-node@3.525.0) + '@aws-sdk/types': 3.523.0 + '@smithy/property-provider': 2.1.3 + '@smithy/types': 2.10.1 tslib: 2.6.2 transitivePeerDependencies: - '@aws-sdk/credential-provider-node' - aws-crt dev: false - /@aws-sdk/middleware-bucket-endpoint@3.515.0: - resolution: {integrity: sha512-Vm423j3udFrhKPaKiXtie+6aF05efjX8lhAu5VOruIvbam7olvdWNdkH7sGWlz1ko3CVa7PwOYjGHiOOhxpEOA==} + /@aws-sdk/middleware-bucket-endpoint@3.525.0: + resolution: {integrity: sha512-nYfQ2Xspfef7j8mZO7varUWLPH6HQlXateH7tBVtBNUAazyQE4UJEvC0fbQ+Y01e+FKlirim/m2umkdMXqAlTg==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 + '@aws-sdk/types': 3.523.0 '@aws-sdk/util-arn-parser': 3.495.0 - '@smithy/node-config-provider': 2.2.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 + '@smithy/node-config-provider': 2.2.4 + '@smithy/protocol-http': 3.2.1 + '@smithy/types': 2.10.1 '@smithy/util-config-provider': 2.2.1 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-expect-continue@3.515.0: - resolution: {integrity: sha512-TWCXulivab4reOMx/vxa/IwnPX78fLwI9NUoAxjsqB6W9qjmSnPD43BSVeGvbbl/YNmgk7XfMbZb6IgxW7RyzA==} + /@aws-sdk/middleware-expect-continue@3.523.0: + resolution: {integrity: sha512-E5DyRAHU39VHaAlQLqXYS/IKpgk3vsryuU6kkOcIIK8Dgw0a2tjoh5AOCaNa8pD+KgAGrFp35JIMSX1zui5diA==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 + '@aws-sdk/types': 3.523.0 + '@smithy/protocol-http': 3.2.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-flexible-checksums@3.515.0: - resolution: {integrity: sha512-ydGjnqNeYlJaAkmQeQnS4pZRAAvzefdm8c234Qh0Fg55xRwHTNLp7uYsdfkTjrdAlj6YIO3Zr6vK6VJ6MGCwug==} + /@aws-sdk/middleware-flexible-checksums@3.523.0: + resolution: {integrity: sha512-lIa1TdWY9q4zsDFarfSnYcdrwPR+nypaU4n6hb95i620/1F5M5s6H8P0hYtwTNNvx+slrR8F3VBML9pjBtzAHw==} engines: {node: '>=14.0.0'} dependencies: '@aws-crypto/crc32': 3.0.0 '@aws-crypto/crc32c': 3.0.0 - '@aws-sdk/types': 3.515.0 + '@aws-sdk/types': 3.523.0 '@smithy/is-array-buffer': 2.1.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 + '@smithy/protocol-http': 3.2.1 + '@smithy/types': 2.10.1 '@smithy/util-utf8': 2.1.1 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-host-header@3.515.0: - resolution: {integrity: sha512-I1MwWPzdRKM1luvdDdjdGsDjNVPhj9zaIytEchjTY40NcKOg+p2evLD2y69ozzg8pyXK63r8DdvDGOo9QPuh0A==} + /@aws-sdk/middleware-host-header@3.523.0: + resolution: {integrity: sha512-4g3q7Ta9sdD9TMUuohBAkbx/e3I/juTqfKi7TPgP+8jxcYX72MOsgemAMHuP6CX27eyj4dpvjH+w4SIVDiDSmg==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 + '@aws-sdk/types': 3.523.0 + '@smithy/protocol-http': 3.2.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-location-constraint@3.515.0: - resolution: {integrity: sha512-ORFC5oijjTJsHhUXy9o52/vl5Irf6e83bE/8tBp+sVVx81+E8zTTWZbysoa41c0B5Ycd0H3wCWutvjdXT16ydQ==} + /@aws-sdk/middleware-location-constraint@3.523.0: + resolution: {integrity: sha512-1QAUXX3U0jkARnU0yyjk81EO4Uw5dCeQOtvUY5s3bUOHatR3ThosQeIr6y9BCsbXHzNnDe1ytCjqAPyo8r/bYw==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/types': 2.9.1 + '@aws-sdk/types': 3.523.0 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-logger@3.515.0: - resolution: {integrity: sha512-qXomJzg2m/5seQOxHi/yOXOKfSjwrrJSmEmfwJKJyQgdMbBcjz3Cz0H/1LyC6c5hHm6a/SZgSTzDAbAoUmyL+Q==} + /@aws-sdk/middleware-logger@3.523.0: + resolution: {integrity: sha512-PeDNJNhfiaZx54LBaLTXzUaJ9LXFwDFFIksipjqjvxMafnoVcQwKbkoPUWLe5ytT4nnL1LogD3s55mERFUsnwg==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/types': 2.9.1 + '@aws-sdk/types': 3.523.0 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-recursion-detection@3.515.0: - resolution: {integrity: sha512-dokHLbTV3IHRIBrw9mGoxcNTnQsjlm7TpkJhPdGT9T4Mq399EyQo51u6IsVMm07RXLl2Zw7u+u9p+qWBFzmFRA==} + /@aws-sdk/middleware-recursion-detection@3.523.0: + resolution: {integrity: sha512-nZ3Vt7ehfSDYnrcg/aAfjjvpdE+61B3Zk68i6/hSUIegT3IH9H1vSW67NDKVp+50hcEfzWwM2HMPXxlzuyFyrw==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 + '@aws-sdk/types': 3.523.0 + '@smithy/protocol-http': 3.2.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-sdk-s3@3.515.0: - resolution: {integrity: sha512-vB8JwiTEAqm1UT9xfugnCgl0H0dtBLUQQK99JwQEWjHPZmQ3HQuVkykmJRY3X0hzKMEgqXodz0hZOvf3Hq1mvQ==} + /@aws-sdk/middleware-sdk-s3@3.525.0: + resolution: {integrity: sha512-ewFyyFM6wdFTOqCiId5GQNi7owDdLEonQhB4h8tF6r3HV52bRlDvZA4aDos+ft6N/XY2J6L0qlFTFq+/oiurXw==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 + '@aws-sdk/types': 3.523.0 '@aws-sdk/util-arn-parser': 3.495.0 - '@smithy/node-config-provider': 2.2.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/signature-v4': 2.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 + '@smithy/node-config-provider': 2.2.4 + '@smithy/protocol-http': 3.2.1 + '@smithy/signature-v4': 2.1.3 + '@smithy/smithy-client': 2.4.2 + '@smithy/types': 2.10.1 '@smithy/util-config-provider': 2.2.1 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-signing@3.515.0: - resolution: {integrity: sha512-SdjCyQCL702I07KhCiBFcoh6+NYtnruHJQIzWwMpBteuYHnCHW1k9uZ6pqacsS+Y6qpAKfTVNpQx2zP2s6QoHA==} + /@aws-sdk/middleware-signing@3.523.0: + resolution: {integrity: sha512-pFXV4don6qcmew/OvEjLUr2foVjzoJ8o5k57Oz9yAHz8INx3RHK8MP/K4mVhHo6n0SquRcWrm4kY/Tw+89gkEA==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/property-provider': 2.1.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/signature-v4': 2.1.1 - '@smithy/types': 2.9.1 - '@smithy/util-middleware': 2.1.1 + '@aws-sdk/types': 3.523.0 + '@smithy/property-provider': 2.1.3 + '@smithy/protocol-http': 3.2.1 + '@smithy/signature-v4': 2.1.3 + '@smithy/types': 2.10.1 + '@smithy/util-middleware': 2.1.3 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-ssec@3.515.0: - resolution: {integrity: sha512-0qLjKiorosVBzzaV/o7MEyS9xqLLu02qGbP564Z/FZY74JUQEpBNedgveMUbb6lqr85RnOuwZ0GZ0cBRfH2brQ==} + /@aws-sdk/middleware-ssec@3.523.0: + resolution: {integrity: sha512-FaqAZQeF5cQzZLOIboIJRaWVOQ2F2pJZAXGF5D7nJsxYNFChotA0O0iWimBRxU35RNn7yirVxz35zQzs20ddIw==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/types': 2.9.1 + '@aws-sdk/types': 3.523.0 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-user-agent@3.515.0: - resolution: {integrity: sha512-nOqZjGA/GkjuJ5fUshec9Fv6HFd7ovOTxMJbw3MfAhqXuVZ6dKF41lpVJ4imNsgyFt3shUg9WDY8zGFjlYMB3g==} + /@aws-sdk/middleware-user-agent@3.525.0: + resolution: {integrity: sha512-4al/6uO+t/QIYXK2OgqzDKQzzLAYJza1vWFS+S0lJ3jLNGyLB5BMU5KqWjDzevYZ4eCnz2Nn7z0FveUTNz8YdQ==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 - '@aws-sdk/util-endpoints': 3.515.0 - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 + '@aws-sdk/types': 3.523.0 + '@aws-sdk/util-endpoints': 3.525.0 + '@smithy/protocol-http': 3.2.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@aws-sdk/region-config-resolver@3.515.0: - resolution: {integrity: sha512-RIRx9loxMgEAc/r1wPfnfShOuzn4RBi8pPPv6/jhhITEeMnJe6enAh2k5y9DdiVDDgCWZgVFSv0YkAIfzAFsnQ==} + /@aws-sdk/region-config-resolver@3.525.0: + resolution: {integrity: sha512-8kFqXk6UyKgTMi7N7QlhA6qM4pGPWbiUXqEY2RgUWngtxqNFGeM9JTexZeuavQI+qLLe09VPShPNX71fEDcM6w==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/node-config-provider': 2.2.1 - '@smithy/types': 2.9.1 + '@aws-sdk/types': 3.523.0 + '@smithy/node-config-provider': 2.2.4 + '@smithy/types': 2.10.1 '@smithy/util-config-provider': 2.2.1 - '@smithy/util-middleware': 2.1.1 + '@smithy/util-middleware': 2.1.3 tslib: 2.6.2 dev: false - /@aws-sdk/signature-v4-multi-region@3.515.0: - resolution: {integrity: sha512-5lrCn4DSE0zL41k0L6moqcdExZhWdAnV0/oMEagrISzQYoia+aNTEeyVD3xqJhRbEW4gCj3Uoyis6c8muf7b9g==} + /@aws-sdk/signature-v4-multi-region@3.525.0: + resolution: {integrity: sha512-j8gkdfiokaherRgokfZBl2azYBMHlegT7pOnR/3Y79TSz6G+bJeIkuNk8aUbJArr6R8nvAM1j4dt1rBM+efolQ==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/middleware-sdk-s3': 3.515.0 - '@aws-sdk/types': 3.515.0 - '@smithy/protocol-http': 3.1.1 - '@smithy/signature-v4': 2.1.1 - '@smithy/types': 2.9.1 + '@aws-sdk/middleware-sdk-s3': 3.525.0 + '@aws-sdk/types': 3.523.0 + '@smithy/protocol-http': 3.2.1 + '@smithy/signature-v4': 2.1.3 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@aws-sdk/token-providers@3.515.0(@aws-sdk/credential-provider-node@3.515.0): - resolution: {integrity: sha512-MQuf04rIcTXqwDzmyHSpFPF1fKEzRl64oXtCRUF3ddxTdK6wxXkePfK6wNCuL+GEbEcJAoCtIGIRpzGPJvQjHA==} + /@aws-sdk/token-providers@3.525.0(@aws-sdk/credential-provider-node@3.525.0): + resolution: {integrity: sha512-puVjbxuK0Dq7PTQ2HdddHy2eQjOH8GZbump74yWJa6JVpRW84LlOcNmP+79x4Kscvz2ldWB8XDFw/pcCiSDe5A==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/client-sso-oidc': 3.515.0(@aws-sdk/credential-provider-node@3.515.0) - '@aws-sdk/types': 3.515.0 - '@smithy/property-provider': 2.1.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 + '@aws-sdk/client-sso-oidc': 3.525.0(@aws-sdk/credential-provider-node@3.525.0) + '@aws-sdk/types': 3.523.0 + '@smithy/property-provider': 2.1.3 + '@smithy/shared-ini-file-loader': 2.3.4 + '@smithy/types': 2.10.1 tslib: 2.6.2 transitivePeerDependencies: - '@aws-sdk/credential-provider-node' - aws-crt dev: false - /@aws-sdk/types@3.515.0: - resolution: {integrity: sha512-B3gUpiMlpT6ERaLvZZ61D0RyrQPsFYDkCncLPVkZOKkCOoFU46zi1o6T5JcYiz8vkx1q9RGloQ5exh79s5pU/w==} + /@aws-sdk/types@3.523.0: + resolution: {integrity: sha512-AqGIu4u+SxPiUuNBp2acCVcq80KDUFjxe6e3cMTvKWTzCbrVk1AXv0dAaJnCmdkWIha6zJDWxpIk/aL4EGhZ9A==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false @@ -5644,13 +5671,13 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/util-endpoints@3.515.0: - resolution: {integrity: sha512-UJi+jdwcGFV/F7d3+e2aQn5yZOVpDiAgfgNhPnEtgV0WozJ5/ZUeZBgWvSc/K415N4A4D/9cbBc7+I+35qzcDQ==} + /@aws-sdk/util-endpoints@3.525.0: + resolution: {integrity: sha512-DIW7WWU5tIGkeeKX6NJUyrEIdWMiqjLQG3XBzaUj+ufIENwNjdAHhlD8l2vX7Yr3JZRT6yN/84wBCj7Tw1xd1g==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/types': 2.9.1 - '@smithy/util-endpoints': 1.1.1 + '@aws-sdk/types': 3.523.0 + '@smithy/types': 2.10.1 + '@smithy/util-endpoints': 1.1.4 tslib: 2.6.2 dev: false @@ -5661,17 +5688,17 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/util-user-agent-browser@3.515.0: - resolution: {integrity: sha512-pTWQb0JCafTmLHLDv3Qqs/nAAJghcPdGQIBpsCStb0YEzg3At/dOi2AIQ683yYnXmeOxLXJDzmlsovfVObJScw==} + /@aws-sdk/util-user-agent-browser@3.523.0: + resolution: {integrity: sha512-6ZRNdGHX6+HQFqTbIA5+i8RWzxFyxsZv8D3soRfpdyWIKkzhSz8IyRKXRciwKBJDaC7OX2jzGE90wxRQft27nA==} dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/types': 2.9.1 + '@aws-sdk/types': 3.523.0 + '@smithy/types': 2.10.1 bowser: 2.11.0 tslib: 2.6.2 dev: false - /@aws-sdk/util-user-agent-node@3.515.0: - resolution: {integrity: sha512-A/KJ+/HTohHyVXLH+t/bO0Z2mPrQgELbQO8tX+B2nElo8uklj70r5cT7F8ETsI9oOy+HDVpiL5/v45ZgpUOiPg==} + /@aws-sdk/util-user-agent-node@3.525.0: + resolution: {integrity: sha512-88Wjt4efyUSBGcyIuh1dvoMqY1k15jpJc5A/3yi67clBQEFsu9QCodQCQPqmRjV3VRcMtBOk+jeCTiUzTY5dRQ==} engines: {node: '>=14.0.0'} peerDependencies: aws-crt: '>=1.0.0' @@ -5679,9 +5706,9 @@ packages: aws-crt: optional: true dependencies: - '@aws-sdk/types': 3.515.0 - '@smithy/node-config-provider': 2.2.1 - '@smithy/types': 2.9.1 + '@aws-sdk/types': 3.523.0 + '@smithy/node-config-provider': 2.2.4 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false @@ -5691,11 +5718,11 @@ packages: tslib: 2.4.1 dev: false - /@aws-sdk/xml-builder@3.496.0: - resolution: {integrity: sha512-GvEjh537IIeOw1ZkZuB37sV12u+ipS5Z1dwjEC/HAvhl5ac23ULtTr1/n+U1gLNN+BAKSWjKiQ2ksj8DiUzeyw==} + /@aws-sdk/xml-builder@3.523.0: + resolution: {integrity: sha512-wfvyVymj2TUw7SuDor9IuFcAzJZvWRBZotvY/wQJOlYa3UP3Oezzecy64N4FWfBJEsZdrTN+HOZFl+IzTWWnUA==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false @@ -7846,20 +7873,10 @@ packages: engines: {node: '>=10.0.0'} dev: true - /@effect/data@0.15.1: - resolution: {integrity: sha512-dYe3GL2Lq8M56Q+QvEOPRtpRovhy1QprlBRGIjaCRPZ8DbwRFQZSdPPOL+ZX6e7y3DPF0RW+DFLHYRMA6qGOCw==} - dev: true - /@effect/data@0.17.6: resolution: {integrity: sha512-/vwz7Jh05eS0qY8kczR/YyJd18d0C+PMtUkAealh4f6gwvhABLGCnktNJTcq/+UHxY0Cbv18r5uaJ4+7PPC+WQ==} dev: false - /@effect/io@0.33.0: - resolution: {integrity: sha512-CwEiAKLZG368t2lNti7u3sX2wi0SS5c+Z0Xb3QVE0fA0WoRidNqlVwzvjMyUqYW6Rtwn0vCqyhAsfK3YVze5FQ==} - dependencies: - '@effect/data': 0.15.1 - dev: true - /@effect/io@0.38.2(@effect/data@0.17.6): resolution: {integrity: sha512-rnAXFo9BDLbY7DgQE1e8uP/sEniyVCsB7gNs+yXPu0XK9s4kaGinH6XgwYRDBuu7Fu1tQ1yd7JoAdEb7yutNRg==} peerDependencies: @@ -7868,14 +7885,6 @@ packages: '@effect/data': 0.17.6 dev: false - /@effect/schema@0.27.0: - resolution: {integrity: sha512-NS0Fm12XsvQqYhgX7piBQxHT/XOOwQpwSwriPk9GXLJxCDmMcYsHSdG+2J2pWqoZ58Z+dZptxzrceiwt7yVcaw==} - dependencies: - '@effect/data': 0.15.1 - '@effect/io': 0.33.0 - fast-check: 3.15.1 - dev: true - /@effect/schema@0.33.2(@effect/data@0.17.6)(@effect/io@0.38.2): resolution: {integrity: sha512-GfV4kXAs4tkx09bGD6J4RDqVN+xea4UP0I05r1wloox6j0eYgXYaSKAXAZ7qBKVywkba3cDUDZhc9nplAD8TAA==} peerDependencies: @@ -7887,16 +7896,6 @@ packages: fast-check: 3.15.1 dev: false - /@effect/schema@0.48.4(effect@2.0.0-next.55)(fast-check@3.15.1): - resolution: {integrity: sha512-V+1eY8VvYuEZs+vU0JWPoh30gNdBtDnabOJrE2tNuoMKcw9LgjQFaPoVR4Jw7Swm0TmdfRHuIkhWjK4i7XyGiA==} - peerDependencies: - effect: 2.0.0-next.55 - fast-check: ^3.13.2 - dependencies: - effect: 2.0.0-next.55 - fast-check: 3.15.1 - dev: false - /@effect/schema@0.49.4(effect@2.0.0-next.56)(fast-check@3.15.1): resolution: {integrity: sha512-Em5qFV7kXfHpt6n89B2Zwd0ccGgfFpZbBAfQuGPdw/zY18k01Tl3ufKfBA6fFphKQiWrU6JS9btTlq1+/WRRIg==} peerDependencies: @@ -8761,6 +8760,11 @@ packages: resolution: {integrity: sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /@faker-js/faker@8.4.1: + resolution: {integrity: sha512-XQ3cU+Q8Uqmrbf2e0cIC/QN43sTBSC8KF12u29Mb47tWrt2hAgBXSgpZMj4Ao8Uk0iJcU99QsOCaIL8934obCg==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0, npm: '>=6.14.13'} + dev: true + /@fastify/ajv-compiler@3.5.0: resolution: {integrity: sha512-ebbEtlI7dxXF5ziNdr05mOY8NnDiPB1XvAlLHctRt/Rc+C3LCOVW5imUVX+mhvUhnNzmPBHewUkOFgGlCxgdAA==} dependencies: @@ -8776,8 +8780,8 @@ packages: text-decoding: 1.0.0 dev: false - /@fastify/busboy@2.1.0: - resolution: {integrity: sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA==} + /@fastify/busboy@2.1.1: + resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} engines: {node: '>=14'} dev: false @@ -9239,19 +9243,7 @@ packages: resolution: {integrity: sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==} dev: true - /@kwsites/file-exists@1.1.1: - resolution: {integrity: sha512-m9/5YGR18lIwxSFDwfE3oA7bWuq9kdau6ugN4H2rJeyhFQZcG9AgSHkQtSD15a8WvTgfz9aikZMrKPHvbpqFiw==} - dependencies: - debug: 4.3.4(supports-color@5.5.0) - transitivePeerDependencies: - - supports-color - dev: false - - /@kwsites/promise-deferred@1.1.1: - resolution: {integrity: sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==} - dev: false - - /@langchain/community@0.0.29(@aws-sdk/credential-provider-node@3.515.0)(chromadb@1.7.2)(pg@8.11.3)(replicate@0.25.2): + /@langchain/community@0.0.29(@aws-sdk/credential-provider-node@3.525.0)(chromadb@1.7.2)(pg@8.11.3)(replicate@0.25.2): resolution: {integrity: sha512-7KCr6JjmWfX26eNGYoDcsSx2PqFcrCt7g3Zy3YwFrjaCIob9ivsx59IXiOd4TgvKJmTiP3RjMTz55cDj7Es63g==} engines: {node: '>=18'} peerDependencies: @@ -9509,7 +9501,7 @@ packages: ws: optional: true dependencies: - '@aws-sdk/credential-provider-node': 3.515.0 + '@aws-sdk/credential-provider-node': 3.525.0 '@langchain/core': 0.1.29 '@langchain/openai': 0.0.14 chromadb: 1.7.2(openai@4.23.0) @@ -10037,6 +10029,57 @@ packages: - supports-color dev: true + /@prisma/client@5.10.2(prisma@5.10.2): + resolution: {integrity: sha512-ef49hzB2yJZCvM5gFHMxSFL9KYrIP9udpT5rYo0CsHD4P9IKj473MbhU1gjKKftiwWBTIyrt9jukprzZXazyag==} + engines: {node: '>=16.13'} + requiresBuild: true + peerDependencies: + prisma: '*' + peerDependenciesMeta: + prisma: + optional: true + dependencies: + prisma: 5.10.2 + dev: false + + /@prisma/debug@5.10.2: + resolution: {integrity: sha512-bkBOmH9dpEBbMKFJj8V+Zp8IZHIBjy3fSyhLhxj4FmKGb/UBSt9doyfA6k1UeUREsMJft7xgPYBbHSOYBr8XCA==} + dev: false + + /@prisma/engines-version@5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9: + resolution: {integrity: sha512-uCy/++3Jx/O3ufM+qv2H1L4tOemTNqcP/gyEVOlZqTpBvYJUe0tWtW0y3o2Ueq04mll4aM5X3f6ugQftOSLdFQ==} + dev: false + + /@prisma/engines@5.10.2: + resolution: {integrity: sha512-HkSJvix6PW8YqEEt3zHfCYYJY69CXsNdhU+wna+4Y7EZ+AwzeupMnUThmvaDA7uqswiHkgm5/SZ6/4CStjaGmw==} + requiresBuild: true + dependencies: + '@prisma/debug': 5.10.2 + '@prisma/engines-version': 5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9 + '@prisma/fetch-engine': 5.10.2 + '@prisma/get-platform': 5.10.2 + dev: false + + /@prisma/fetch-engine@5.10.2: + resolution: {integrity: sha512-dSmXcqSt6DpTmMaLQ9K8ZKzVAMH3qwGCmYEZr/uVnzVhxRJ1EbT/w2MMwIdBNq1zT69Rvh0h75WMIi0mrIw7Hg==} + dependencies: + '@prisma/debug': 5.10.2 + '@prisma/engines-version': 5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9 + '@prisma/get-platform': 5.10.2 + dev: false + + /@prisma/generator-helper@5.10.2: + resolution: {integrity: sha512-U1W5fBJubLMKbcfwKZHACTIw38JEl8t92BZTzSDeDvhgWPpHRtzRcCVAAqFqjpaqmrXJZ7KeFCaAfsyllliVvA==} + dependencies: + '@prisma/debug': 5.10.2 + dev: false + + /@prisma/get-platform@5.10.2: + resolution: {integrity: sha512-nqXP6vHiY2PIsebBAuDeWiUYg8h8mfjBckHh6Jezuwej0QJNnjDiOq30uesmg+JXxGk99nqyG3B7wpcOODzXvg==} + dependencies: + '@prisma/debug': 5.10.2 + dev: false + /@radix-ui/number@1.0.1: resolution: {integrity: sha512-T5gIdVO2mmPW3NNhjNgEP3cqMXjXL9UbO0BzWcXfvdBs+BohbQxvd/K5hSVKmn9/lbTdsQVKbUcP5WLCwvUbBg==} dependencies: @@ -11218,11 +11261,11 @@ packages: /@sinonjs/text-encoding@0.7.2: resolution: {integrity: sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ==} - /@smithy/abort-controller@2.1.1: - resolution: {integrity: sha512-1+qdrUqLhaALYL0iOcN43EP6yAXXQ2wWZ6taf4S2pNGowmOc5gx+iMQv+E42JizNJjB0+gEadOXeV1Bf7JWL1Q==} + /@smithy/abort-controller@2.1.3: + resolution: {integrity: sha512-c2aYH2Wu1RVE3rLlVgg2kQOBJGM0WbjReQi5DnPTm2Zb7F0gk7J2aeQeaX2u/lQZoHl6gv8Oac7mt9alU3+f4A==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false @@ -11239,128 +11282,128 @@ packages: tslib: 2.6.2 dev: false - /@smithy/config-resolver@2.1.1: - resolution: {integrity: sha512-lxfLDpZm+AWAHPFZps5JfDoO9Ux1764fOgvRUBpHIO8HWHcSN1dkgsago1qLRVgm1BZ8RCm8cgv99QvtaOWIhw==} + /@smithy/config-resolver@2.1.4: + resolution: {integrity: sha512-AW2WUZmBAzgO3V3ovKtsUbI3aBNMeQKFDumoqkNxaVDWF/xfnxAWqBKDr/NuG7c06N2Rm4xeZLPiJH/d+na0HA==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/node-config-provider': 2.2.1 - '@smithy/types': 2.9.1 + '@smithy/node-config-provider': 2.2.4 + '@smithy/types': 2.10.1 '@smithy/util-config-provider': 2.2.1 - '@smithy/util-middleware': 2.1.1 + '@smithy/util-middleware': 2.1.3 tslib: 2.6.2 dev: false - /@smithy/core@1.3.2: - resolution: {integrity: sha512-tYDmTp0f2TZVE18jAOH1PnmkngLQ+dOGUlMd1u67s87ieueNeyqhja6z/Z4MxhybEiXKOWFOmGjfTZWFxljwJw==} + /@smithy/core@1.3.5: + resolution: {integrity: sha512-Rrc+e2Jj6Gu7Xbn0jvrzZlSiP2CZocIOfZ9aNUA82+1sa6GBnxqL9+iZ9EKHeD9aqD1nU8EK4+oN2EiFpSv7Yw==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/middleware-endpoint': 2.4.1 - '@smithy/middleware-retry': 2.1.1 - '@smithy/middleware-serde': 2.1.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/util-middleware': 2.1.1 + '@smithy/middleware-endpoint': 2.4.4 + '@smithy/middleware-retry': 2.1.4 + '@smithy/middleware-serde': 2.1.3 + '@smithy/protocol-http': 3.2.1 + '@smithy/smithy-client': 2.4.2 + '@smithy/types': 2.10.1 + '@smithy/util-middleware': 2.1.3 tslib: 2.6.2 dev: false - /@smithy/credential-provider-imds@2.2.1: - resolution: {integrity: sha512-7XHjZUxmZYnONheVQL7j5zvZXga+EWNgwEAP6OPZTi7l8J4JTeNh9aIOfE5fKHZ/ee2IeNOh54ZrSna+Vc6TFA==} + /@smithy/credential-provider-imds@2.2.4: + resolution: {integrity: sha512-DdatjmBZQnhGe1FhI8gO98f7NmvQFSDiZTwC3WMvLTCKQUY+Y1SVkhJqIuLu50Eb7pTheoXQmK+hKYUgpUWsNA==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/node-config-provider': 2.2.1 - '@smithy/property-provider': 2.1.1 - '@smithy/types': 2.9.1 - '@smithy/url-parser': 2.1.1 + '@smithy/node-config-provider': 2.2.4 + '@smithy/property-provider': 2.1.3 + '@smithy/types': 2.10.1 + '@smithy/url-parser': 2.1.3 tslib: 2.6.2 dev: false - /@smithy/eventstream-codec@2.1.1: - resolution: {integrity: sha512-E8KYBxBIuU4c+zrpR22VsVrOPoEDzk35bQR3E+xm4k6Pa6JqzkDOdMyf9Atac5GPNKHJBdVaQ4JtjdWX2rl/nw==} + /@smithy/eventstream-codec@2.1.3: + resolution: {integrity: sha512-rGlCVuwSDv6qfKH4/lRxFjcZQnIE0LZ3D4lkMHg7ZSltK9rA74r0VuGSvWVQ4N/d70VZPaniFhp4Z14QYZsa+A==} dependencies: '@aws-crypto/crc32': 3.0.0 - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 '@smithy/util-hex-encoding': 2.1.1 tslib: 2.6.2 dev: false - /@smithy/eventstream-serde-browser@2.1.1: - resolution: {integrity: sha512-JvEdCmGlZUay5VtlT8/kdR6FlvqTDUiJecMjXsBb0+k1H/qc9ME5n2XKPo8q/MZwEIA1GmGgYMokKGjVvMiDow==} + /@smithy/eventstream-serde-browser@2.1.3: + resolution: {integrity: sha512-qAgKbZ9m2oBfSyJWWurX/MvQFRPrYypj79cDSleEgDwBoez6Tfd+FTpu2L/j3ZeC3mDlDHIKWksoeaXZpLLAHw==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/eventstream-serde-universal': 2.1.1 - '@smithy/types': 2.9.1 + '@smithy/eventstream-serde-universal': 2.1.3 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/eventstream-serde-config-resolver@2.1.1: - resolution: {integrity: sha512-EqNqXYp3+dk//NmW3NAgQr9bEQ7fsu/CcxQmTiq07JlaIcne/CBWpMZETyXm9w5LXkhduBsdXdlMscfDUDn2fA==} + /@smithy/eventstream-serde-config-resolver@2.1.3: + resolution: {integrity: sha512-48rvsNv/MgAFCxOE0qwR7ZwKhaEdDoTxqH5HM+T6SDxICmPGb7gEuQzjTxQhcieCPgqyXeZFW8cU0QJxdowuIg==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/eventstream-serde-node@2.1.1: - resolution: {integrity: sha512-LF882q/aFidFNDX7uROAGxq3H0B7rjyPkV6QDn6/KDQ+CG7AFkRccjxRf1xqajq/Pe4bMGGr+VKAaoF6lELIQw==} + /@smithy/eventstream-serde-node@2.1.3: + resolution: {integrity: sha512-RPJWWDhj8isk3NtGfm3Xt1WdHyX9ZE42V+m1nLU1I0zZ1hEol/oawHsTnhva/VR5bn+bJ2zscx+BYr0cEPRtmg==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/eventstream-serde-universal': 2.1.1 - '@smithy/types': 2.9.1 + '@smithy/eventstream-serde-universal': 2.1.3 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/eventstream-serde-universal@2.1.1: - resolution: {integrity: sha512-LR0mMT+XIYTxk4k2fIxEA1BPtW3685QlqufUEUAX1AJcfFfxNDKEvuCRZbO8ntJb10DrIFVJR9vb0MhDCi0sAQ==} + /@smithy/eventstream-serde-universal@2.1.3: + resolution: {integrity: sha512-ssvSMk1LX2jRhiOVgVLGfNJXdB8SvyjieKcJDHq698Gi3LOog6g/+l7ggrN+hZxyjUiDF4cUxgKaZTBUghzhLw==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/eventstream-codec': 2.1.1 - '@smithy/types': 2.9.1 + '@smithy/eventstream-codec': 2.1.3 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/fetch-http-handler@2.4.1: - resolution: {integrity: sha512-VYGLinPsFqH68lxfRhjQaSkjXM7JysUOJDTNjHBuN/ykyRb2f1gyavN9+VhhPTWCy32L4yZ2fdhpCs/nStEicg==} + /@smithy/fetch-http-handler@2.4.3: + resolution: {integrity: sha512-Fn/KYJFo6L5I4YPG8WQb2hOmExgRmNpVH5IK2zU3JKrY5FKW7y9ar5e0BexiIC9DhSKqKX+HeWq/Y18fq7Dkpw==} dependencies: - '@smithy/protocol-http': 3.1.1 - '@smithy/querystring-builder': 2.1.1 - '@smithy/types': 2.9.1 + '@smithy/protocol-http': 3.2.1 + '@smithy/querystring-builder': 2.1.3 + '@smithy/types': 2.10.1 '@smithy/util-base64': 2.1.1 tslib: 2.6.2 dev: false - /@smithy/hash-blob-browser@2.1.1: - resolution: {integrity: sha512-jizu1+2PAUjiGIfRtlPEU8Yo6zn+d78ti/ZHDesdf1SUn2BuZW433JlPoCOLH3dBoEEvTgLvQ8tUGSoTTALA+A==} + /@smithy/hash-blob-browser@2.1.3: + resolution: {integrity: sha512-sHLTM5xQYw5Wxz07DFo+eh1PVC6P5+kazQRF1k5nsvOhZG5VnkIy4LZ7N0ZNWqJx16g9otGd5MvqUOpb3WWtgA==} dependencies: '@smithy/chunked-blob-reader': 2.1.1 '@smithy/chunked-blob-reader-native': 2.1.1 - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/hash-node@2.1.1: - resolution: {integrity: sha512-Qhoq0N8f2OtCnvUpCf+g1vSyhYQrZjhSwvJ9qvR8BUGOtTXiyv2x1OD2e6jVGmlpC4E4ax1USHoyGfV9JFsACg==} + /@smithy/hash-node@2.1.3: + resolution: {integrity: sha512-FsAPCUj7VNJIdHbSxMd5uiZiF20G2zdSDgrgrDrHqIs/VMxK85Vqk5kMVNNDMCZmMezp6UKnac0B4nAyx7HJ9g==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 '@smithy/util-buffer-from': 2.1.1 '@smithy/util-utf8': 2.1.1 tslib: 2.6.2 dev: false - /@smithy/hash-stream-node@2.1.1: - resolution: {integrity: sha512-VgDaKcfCy0iHcmtAZgZ3Yw9g37Gkn2JsQiMtFQXUh8Wmo3GfNgDwLOtdhJ272pOT7DStzpe9cNr+eV5Au8KfQA==} + /@smithy/hash-stream-node@2.1.3: + resolution: {integrity: sha512-fWpUx2ca/u5lcD5RhNJogEG5FD7H0RDDpYmfQgxFqIUv3Ow7bZsapMukh8uzQPVO8R+NDAvSdxmgXoy4Hz8sFw==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 '@smithy/util-utf8': 2.1.1 tslib: 2.6.2 dev: false - /@smithy/invalid-dependency@2.1.1: - resolution: {integrity: sha512-7WTgnKw+VPg8fxu2v9AlNOQ5yaz6RA54zOVB4f6vQuR0xFKd+RzlCpt0WidYTsye7F+FYDIaS/RnJW4pxjNInw==} + /@smithy/invalid-dependency@2.1.3: + resolution: {integrity: sha512-wkra7d/G4CbngV4xsjYyAYOvdAhahQje/WymuQdVEnXFExJopEu7fbL5AEAlBPgWHXwu94VnCSG00gVzRfExyg==} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false @@ -11371,174 +11414,174 @@ packages: tslib: 2.6.2 dev: false - /@smithy/md5-js@2.1.1: - resolution: {integrity: sha512-L3MbIYBIdLlT+MWTYrdVSv/dow1+6iZ1Ad7xS0OHxTTs17d753ZcpOV4Ro7M7tRAVWML/sg2IAp/zzCb6aAttg==} + /@smithy/md5-js@2.1.3: + resolution: {integrity: sha512-zmn3M6+mP4IJlSmXBN9964AztgkIO8b5lRzAgdJn9AdCFwA6xLkcW2B6uEnpBjvotxtQMmXTUP19tIO7NmFPpw==} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 '@smithy/util-utf8': 2.1.1 tslib: 2.6.2 dev: false - /@smithy/middleware-content-length@2.1.1: - resolution: {integrity: sha512-rSr9ezUl9qMgiJR0UVtVOGEZElMdGFyl8FzWEF5iEKTlcWxGr2wTqGfDwtH3LAB7h+FPkxqv4ZU4cpuCN9Kf/g==} + /@smithy/middleware-content-length@2.1.3: + resolution: {integrity: sha512-aJduhkC+dcXxdnv5ZpM3uMmtGmVFKx412R1gbeykS5HXDmRU6oSsyy2SoHENCkfOGKAQOjVE2WVqDJibC0d21g==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 + '@smithy/protocol-http': 3.2.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/middleware-endpoint@2.4.1: - resolution: {integrity: sha512-XPZTb1E2Oav60Ven3n2PFx+rX9EDsU/jSTA8VDamt7FXks67ekjPY/XrmmPDQaFJOTUHJNKjd8+kZxVO5Ael4Q==} + /@smithy/middleware-endpoint@2.4.4: + resolution: {integrity: sha512-4yjHyHK2Jul4JUDBo2sTsWY9UshYUnXeb/TAK/MTaPEb8XQvDmpwSFnfIRDU45RY1a6iC9LCnmJNg/yHyfxqkw==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/middleware-serde': 2.1.1 - '@smithy/node-config-provider': 2.2.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/url-parser': 2.1.1 - '@smithy/util-middleware': 2.1.1 + '@smithy/middleware-serde': 2.1.3 + '@smithy/node-config-provider': 2.2.4 + '@smithy/shared-ini-file-loader': 2.3.4 + '@smithy/types': 2.10.1 + '@smithy/url-parser': 2.1.3 + '@smithy/util-middleware': 2.1.3 tslib: 2.6.2 dev: false - /@smithy/middleware-retry@2.1.1: - resolution: {integrity: sha512-eMIHOBTXro6JZ+WWzZWd/8fS8ht5nS5KDQjzhNMHNRcG5FkNTqcKpYhw7TETMYzbLfhO5FYghHy1vqDWM4FLDA==} + /@smithy/middleware-retry@2.1.4: + resolution: {integrity: sha512-Cyolv9YckZTPli1EkkaS39UklonxMd08VskiuMhURDjC0HHa/AD6aK/YoD21CHv9s0QLg0WMLvk9YeLTKkXaFQ==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/node-config-provider': 2.2.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/service-error-classification': 2.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 - '@smithy/util-middleware': 2.1.1 - '@smithy/util-retry': 2.1.1 + '@smithy/node-config-provider': 2.2.4 + '@smithy/protocol-http': 3.2.1 + '@smithy/service-error-classification': 2.1.3 + '@smithy/smithy-client': 2.4.2 + '@smithy/types': 2.10.1 + '@smithy/util-middleware': 2.1.3 + '@smithy/util-retry': 2.1.3 tslib: 2.6.2 uuid: 8.3.2 dev: false - /@smithy/middleware-serde@2.1.1: - resolution: {integrity: sha512-D8Gq0aQBeE1pxf3cjWVkRr2W54t+cdM2zx78tNrVhqrDykRA7asq8yVJij1u5NDtKzKqzBSPYh7iW0svUKg76g==} + /@smithy/middleware-serde@2.1.3: + resolution: {integrity: sha512-s76LId+TwASrHhUa9QS4k/zeXDUAuNuddKklQzRgumbzge5BftVXHXIqL4wQxKGLocPwfgAOXWx+HdWhQk9hTg==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/middleware-stack@2.1.1: - resolution: {integrity: sha512-KPJhRlhsl8CjgGXK/DoDcrFGfAqoqvuwlbxy+uOO4g2Azn1dhH+GVfC3RAp+6PoL5PWPb+vt6Z23FP+Mr6qeCw==} + /@smithy/middleware-stack@2.1.3: + resolution: {integrity: sha512-opMFufVQgvBSld/b7mD7OOEBxF6STyraVr1xel1j0abVILM8ALJvRoFbqSWHGmaDlRGIiV9Q5cGbWi0sdiEaLQ==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/node-config-provider@2.2.1: - resolution: {integrity: sha512-epzK3x1xNxA9oJgHQ5nz+2j6DsJKdHfieb+YgJ7ATWxzNcB7Hc+Uya2TUck5MicOPhDV8HZImND7ZOecVr+OWg==} + /@smithy/node-config-provider@2.2.4: + resolution: {integrity: sha512-nqazHCp8r4KHSFhRQ+T0VEkeqvA0U+RhehBSr1gunUuNW3X7j0uDrWBxB2gE9eutzy6kE3Y7L+Dov/UXT871vg==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/property-provider': 2.1.1 - '@smithy/shared-ini-file-loader': 2.3.1 - '@smithy/types': 2.9.1 + '@smithy/property-provider': 2.1.3 + '@smithy/shared-ini-file-loader': 2.3.4 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/node-http-handler@2.3.1: - resolution: {integrity: sha512-gLA8qK2nL9J0Rk/WEZSvgin4AppvuCYRYg61dcUo/uKxvMZsMInL5I5ZdJTogOvdfVug3N2dgI5ffcUfS4S9PA==} + /@smithy/node-http-handler@2.4.1: + resolution: {integrity: sha512-HCkb94soYhJMxPCa61wGKgmeKpJ3Gftx1XD6bcWEB2wMV1L9/SkQu/6/ysKBnbOzWRE01FGzwrTxucHypZ8rdg==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/abort-controller': 2.1.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/querystring-builder': 2.1.1 - '@smithy/types': 2.9.1 + '@smithy/abort-controller': 2.1.3 + '@smithy/protocol-http': 3.2.1 + '@smithy/querystring-builder': 2.1.3 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/property-provider@2.1.1: - resolution: {integrity: sha512-FX7JhhD/o5HwSwg6GLK9zxrMUrGnb3PzNBrcthqHKBc3dH0UfgEAU24xnJ8F0uow5mj17UeBEOI6o3CF2k7Mhw==} + /@smithy/property-provider@2.1.3: + resolution: {integrity: sha512-bMz3se+ySKWNrgm7eIiQMa2HO/0fl2D0HvLAdg9pTMcpgp4SqOAh6bz7Ik6y7uQqSrk4rLjIKgbQ6yzYgGehCQ==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/protocol-http@3.1.1: - resolution: {integrity: sha512-6ZRTSsaXuSL9++qEwH851hJjUA0OgXdQFCs+VDw4tGH256jQ3TjYY/i34N4vd24RV3nrjNsgd1yhb57uMoKbzQ==} + /@smithy/protocol-http@3.2.1: + resolution: {integrity: sha512-KLrQkEw4yJCeAmAH7hctE8g9KwA7+H2nSJwxgwIxchbp/L0B5exTdOQi9D5HinPLlothoervGmhpYKelZ6AxIA==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/querystring-builder@2.1.1: - resolution: {integrity: sha512-C/ko/CeEa8jdYE4gt6nHO5XDrlSJ3vdCG0ZAc6nD5ZIE7LBp0jCx4qoqp7eoutBu7VrGMXERSRoPqwi1WjCPbg==} + /@smithy/querystring-builder@2.1.3: + resolution: {integrity: sha512-kFD3PnNqKELe6m9GRHQw/ftFFSZpnSeQD4qvgDB6BQN6hREHELSosVFUMPN4M3MDKN2jAwk35vXHLoDrNfKu0A==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 '@smithy/util-uri-escape': 2.1.1 tslib: 2.6.2 dev: false - /@smithy/querystring-parser@2.1.1: - resolution: {integrity: sha512-H4+6jKGVhG1W4CIxfBaSsbm98lOO88tpDWmZLgkJpt8Zkk/+uG0FmmqMuCAc3HNM2ZDV+JbErxr0l5BcuIf/XQ==} + /@smithy/querystring-parser@2.1.3: + resolution: {integrity: sha512-3+CWJoAqcBMR+yvz6D+Fc5VdoGFtfenW6wqSWATWajrRMGVwJGPT3Vy2eb2bnMktJc4HU4bpjeovFa566P3knQ==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/service-error-classification@2.1.1: - resolution: {integrity: sha512-txEdZxPUgM1PwGvDvHzqhXisrc5LlRWYCf2yyHfvITWioAKat7srQvpjMAvgzf0t6t7j8yHrryXU9xt7RZqFpw==} + /@smithy/service-error-classification@2.1.3: + resolution: {integrity: sha512-iUrpSsem97bbXHHT/v3s7vaq8IIeMo6P6cXdeYHrx0wOJpMeBGQF7CB0mbJSiTm3//iq3L55JiEm8rA7CTVI8A==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 dev: false - /@smithy/shared-ini-file-loader@2.3.1: - resolution: {integrity: sha512-2E2kh24igmIznHLB6H05Na4OgIEilRu0oQpYXo3LCNRrawHAcfDKq9004zJs+sAMt2X5AbY87CUCJ7IpqpSgdw==} + /@smithy/shared-ini-file-loader@2.3.4: + resolution: {integrity: sha512-CiZmPg9GeDKbKmJGEFvJBsJcFnh0AQRzOtQAzj1XEa8N/0/uSN/v1LYzgO7ry8hhO8+9KB7+DhSW0weqBra4Aw==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/signature-v4@2.1.1: - resolution: {integrity: sha512-Hb7xub0NHuvvQD3YwDSdanBmYukoEkhqBjqoxo+bSdC0ryV9cTfgmNjuAQhTPYB6yeU7hTR+sPRiFMlxqv6kmg==} + /@smithy/signature-v4@2.1.3: + resolution: {integrity: sha512-Jq4iPPdCmJojZTsPePn4r1ULShh6ONkokLuxp1Lnk4Sq7r7rJp4HlA1LbPBq4bD64TIzQezIpr1X+eh5NYkNxw==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/eventstream-codec': 2.1.1 + '@smithy/eventstream-codec': 2.1.3 '@smithy/is-array-buffer': 2.1.1 - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 '@smithy/util-hex-encoding': 2.1.1 - '@smithy/util-middleware': 2.1.1 + '@smithy/util-middleware': 2.1.3 '@smithy/util-uri-escape': 2.1.1 '@smithy/util-utf8': 2.1.1 tslib: 2.6.2 dev: false - /@smithy/smithy-client@2.3.1: - resolution: {integrity: sha512-YsTdU8xVD64r2pLEwmltrNvZV6XIAC50LN6ivDopdt+YiF/jGH6PY9zUOu0CXD/d8GMB8gbhnpPsdrjAXHS9QA==} + /@smithy/smithy-client@2.4.2: + resolution: {integrity: sha512-ntAFYN51zu3N3mCd95YFcFi/8rmvm//uX+HnK24CRbI6k5Rjackn0JhgKz5zOx/tbNvOpgQIwhSX+1EvEsBLbA==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/middleware-endpoint': 2.4.1 - '@smithy/middleware-stack': 2.1.1 - '@smithy/protocol-http': 3.1.1 - '@smithy/types': 2.9.1 - '@smithy/util-stream': 2.1.1 + '@smithy/middleware-endpoint': 2.4.4 + '@smithy/middleware-stack': 2.1.3 + '@smithy/protocol-http': 3.2.1 + '@smithy/types': 2.10.1 + '@smithy/util-stream': 2.1.3 tslib: 2.6.2 dev: false - /@smithy/types@2.9.1: - resolution: {integrity: sha512-vjXlKNXyprDYDuJ7UW5iobdmyDm6g8dDG+BFUncAg/3XJaN45Gy5RWWWUVgrzIK7S4R1KWgIX5LeJcfvSI24bw==} + /@smithy/types@2.10.1: + resolution: {integrity: sha512-hjQO+4ru4cQ58FluQvKKiyMsFg0A6iRpGm2kqdH8fniyNd2WyanoOsYJfMX/IFLuLxEoW6gnRkNZy1y6fUUhtA==} engines: {node: '>=14.0.0'} dependencies: tslib: 2.6.2 dev: false - /@smithy/url-parser@2.1.1: - resolution: {integrity: sha512-qC9Bv8f/vvFIEkHsiNrUKYNl8uKQnn4BdhXl7VzQRP774AwIjiSMMwkbT+L7Fk8W8rzYVifzJNYxv1HwvfBo3Q==} + /@smithy/url-parser@2.1.3: + resolution: {integrity: sha512-X1NRA4WzK/ihgyzTpeGvI9Wn45y8HmqF4AZ/FazwAv8V203Ex+4lXqcYI70naX9ETqbqKVzFk88W6WJJzCggTQ==} dependencies: - '@smithy/querystring-parser': 2.1.1 - '@smithy/types': 2.9.1 + '@smithy/querystring-parser': 2.1.3 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false @@ -11578,36 +11621,36 @@ packages: tslib: 2.6.2 dev: false - /@smithy/util-defaults-mode-browser@2.1.1: - resolution: {integrity: sha512-lqLz/9aWRO6mosnXkArtRuQqqZBhNpgI65YDpww4rVQBuUT7qzKbDLG5AmnQTCiU4rOquaZO/Kt0J7q9Uic7MA==} + /@smithy/util-defaults-mode-browser@2.1.4: + resolution: {integrity: sha512-J6XAVY+/g7jf03QMnvqPyU+8jqGrrtXoKWFVOS+n1sz0Lg8HjHJ1ANqaDN+KTTKZRZlvG8nU5ZrJOUL6VdwgcQ==} engines: {node: '>= 10.0.0'} dependencies: - '@smithy/property-provider': 2.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 + '@smithy/property-provider': 2.1.3 + '@smithy/smithy-client': 2.4.2 + '@smithy/types': 2.10.1 bowser: 2.11.0 tslib: 2.6.2 dev: false - /@smithy/util-defaults-mode-node@2.2.0: - resolution: {integrity: sha512-iFJp/N4EtkanFpBUtSrrIbtOIBf69KNuve03ic1afhJ9/korDxdM0c6cCH4Ehj/smI9pDCfVv+bqT3xZjF2WaA==} + /@smithy/util-defaults-mode-node@2.2.3: + resolution: {integrity: sha512-ttUISrv1uVOjTlDa3nznX33f0pthoUlP+4grhTvOzcLhzArx8qHB94/untGACOG3nlf8vU20nI2iWImfzoLkYA==} engines: {node: '>= 10.0.0'} dependencies: - '@smithy/config-resolver': 2.1.1 - '@smithy/credential-provider-imds': 2.2.1 - '@smithy/node-config-provider': 2.2.1 - '@smithy/property-provider': 2.1.1 - '@smithy/smithy-client': 2.3.1 - '@smithy/types': 2.9.1 + '@smithy/config-resolver': 2.1.4 + '@smithy/credential-provider-imds': 2.2.4 + '@smithy/node-config-provider': 2.2.4 + '@smithy/property-provider': 2.1.3 + '@smithy/smithy-client': 2.4.2 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/util-endpoints@1.1.1: - resolution: {integrity: sha512-sI4d9rjoaekSGEtq3xSb2nMjHMx8QXcz2cexnVyRWsy4yQ9z3kbDpX+7fN0jnbdOp0b3KSTZJZ2Yb92JWSanLw==} + /@smithy/util-endpoints@1.1.4: + resolution: {integrity: sha512-/qAeHmK5l4yQ4/bCIJ9p49wDe9rwWtOzhPHblu386fwPNT3pxmodgcs9jDCV52yK9b4rB8o9Sj31P/7Vzka1cg==} engines: {node: '>= 14.0.0'} dependencies: - '@smithy/node-config-provider': 2.2.1 - '@smithy/types': 2.9.1 + '@smithy/node-config-provider': 2.2.4 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false @@ -11618,30 +11661,30 @@ packages: tslib: 2.6.2 dev: false - /@smithy/util-middleware@2.1.1: - resolution: {integrity: sha512-mKNrk8oz5zqkNcbcgAAepeJbmfUW6ogrT2Z2gDbIUzVzNAHKJQTYmH9jcy0jbWb+m7ubrvXKb6uMjkSgAqqsFA==} + /@smithy/util-middleware@2.1.3: + resolution: {integrity: sha512-/+2fm7AZ2ozl5h8wM++ZP0ovE9/tiUUAHIbCfGfb3Zd3+Dyk17WODPKXBeJ/TnK5U+x743QmA0xHzlSm8I/qhw==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/types': 2.9.1 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/util-retry@2.1.1: - resolution: {integrity: sha512-Mg+xxWPTeSPrthpC5WAamJ6PW4Kbo01Fm7lWM1jmGRvmrRdsd3192Gz2fBXAMURyXpaNxyZf6Hr/nQ4q70oVEA==} + /@smithy/util-retry@2.1.3: + resolution: {integrity: sha512-Kbvd+GEMuozbNUU3B89mb99tbufwREcyx2BOX0X2+qHjq6Gvsah8xSDDgxISDwcOHoDqUWO425F0Uc/QIRhYkg==} engines: {node: '>= 14.0.0'} dependencies: - '@smithy/service-error-classification': 2.1.1 - '@smithy/types': 2.9.1 + '@smithy/service-error-classification': 2.1.3 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false - /@smithy/util-stream@2.1.1: - resolution: {integrity: sha512-J7SMIpUYvU4DQN55KmBtvaMc7NM3CZ2iWICdcgaovtLzseVhAqFRYqloT3mh0esrFw+3VEK6nQFteFsTqZSECQ==} + /@smithy/util-stream@2.1.3: + resolution: {integrity: sha512-HvpEQbP8raTy9n86ZfXiAkf3ezp1c3qeeO//zGqwZdrfaoOpGKQgF2Sv1IqZp7wjhna7pvczWaGUHjcOPuQwKw==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/fetch-http-handler': 2.4.1 - '@smithy/node-http-handler': 2.3.1 - '@smithy/types': 2.9.1 + '@smithy/fetch-http-handler': 2.4.3 + '@smithy/node-http-handler': 2.4.1 + '@smithy/types': 2.10.1 '@smithy/util-base64': 2.1.1 '@smithy/util-buffer-from': 2.1.1 '@smithy/util-hex-encoding': 2.1.1 @@ -11664,12 +11707,12 @@ packages: tslib: 2.6.2 dev: false - /@smithy/util-waiter@2.1.1: - resolution: {integrity: sha512-kYy6BLJJNif+uqNENtJqWdXcpqo1LS+nj1AfXcDhOpqpSHJSAkVySLyZV9fkmuVO21lzGoxjvd1imGGJHph/IA==} + /@smithy/util-waiter@2.1.3: + resolution: {integrity: sha512-3R0wNFAQQoH9e4m+bVLDYNOst2qNxtxFgq03WoNHWTBOqQT3jFnOBRj1W51Rf563xDA5kwqjziksxn6RKkHB+Q==} engines: {node: '>=14.0.0'} dependencies: - '@smithy/abort-controller': 2.1.1 - '@smithy/types': 2.9.1 + '@smithy/abort-controller': 2.1.3 + '@smithy/types': 2.10.1 tslib: 2.6.2 dev: false @@ -12479,7 +12522,7 @@ packages: resolution: {integrity: sha512-IO+MJPVhoqz+28h1qLAcBEH2+xHMK6MTyHJc7MTnnYb6wsoLR29POVGJ7LycmVXIqyy/4/2ShP5sUwTXuOwb/w==} dependencies: '@types/minimatch': 5.1.2 - '@types/node': 20.10.4 + '@types/node': 20.10.5 dev: true /@types/graceful-fs@4.1.9: @@ -12681,6 +12724,14 @@ packages: /@types/parse-json@4.0.2: resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==} + /@types/pg@8.11.2: + resolution: {integrity: sha512-G2Mjygf2jFMU/9hCaTYxJrwdObdcnuQde1gndooZSOHsNSaCehAuwc7EIuSA34Do8Jx2yZ19KtvW8P0j4EuUXw==} + dependencies: + '@types/node': 20.10.5 + pg-protocol: 1.6.0 + pg-types: 4.0.2 + dev: true + /@types/prettier@2.7.3: resolution: {integrity: sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==} @@ -13128,11 +13179,6 @@ packages: server-only: 0.0.1 dev: false - /@vercel/ncc@0.38.1: - resolution: {integrity: sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==} - hasBin: true - dev: true - /@vitejs/plugin-react@4.2.1(vite@4.5.2): resolution: {integrity: sha512-oojO9IDc4nCUUi8qIR11KoQm0XFFLIwsRBwHRR4d/88IWghn1y6ckz/bJ8GHDCsYEJee8mDzqtJxh15/cisJNQ==} engines: {node: ^14.18.0 || >=16.0.0} @@ -13167,7 +13213,7 @@ packages: std-env: 3.7.0 test-exclude: 6.0.0 v8-to-istanbul: 9.2.0 - vitest: 1.0.4(@types/node@20.10.4) + vitest: 1.0.4(@types/node@18.11.9) transitivePeerDependencies: - supports-color dev: true @@ -16071,6 +16117,11 @@ packages: resolution: {integrity: sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==} engines: {node: '>=10'} + /dotenv@16.4.5: + resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} + engines: {node: '>=12'} + dev: false + /dottie@2.0.6: resolution: {integrity: sha512-iGCHkfUc5kFekGiqhe8B/mdaurD+lakO9txNnTvKtA6PISrw86LgqHvRzWYPyoE2Ph5aMIrCw9/uko6XHTKCwA==} dev: false @@ -16095,10 +16146,6 @@ packages: /ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - /effect@2.0.0-next.55: - resolution: {integrity: sha512-kNOB/HaDSdaFSDVXK2gyf4XcTKbKKlllyoS871uDyoJskcc+024sSOHnNioXZPgkqaz55a3mad4DFfLUIETwYQ==} - dev: false - /effect@2.0.0-next.56: resolution: {integrity: sha512-Z6L9rf78OveZorl4pC82hUM/kNhQ8epChuCBVNIjVsookbb6iqTuP9goi3qi6CR7xUZE+HnOKF2bzMIdOOP+Vw==} dev: false @@ -17116,6 +17163,7 @@ packages: engines: {node: '>=8.0.0'} dependencies: pure-rand: 6.0.4 + dev: false /fast-content-type-parse@1.1.0: resolution: {integrity: sha512-fBHHqSTFLVnR61C+gltJuE5GkVQMV0S2nqUO8TJ+5Z3qAKG8vAx4FKai1s5jq/inV1+sREynIWSuQ6HgoSXpDQ==} @@ -19516,7 +19564,7 @@ packages: resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} dev: true - /langchain@0.0.209(@aws-sdk/client-s3@3.515.0)(@aws-sdk/credential-provider-node@3.515.0)(axios@1.6.2)(chromadb@1.7.2)(pg@8.11.3)(replicate@0.25.2): + /langchain@0.0.209(@aws-sdk/client-s3@3.525.0)(@aws-sdk/credential-provider-node@3.525.0)(axios@1.6.2)(chromadb@1.7.2)(pg@8.11.3)(replicate@0.25.2): resolution: {integrity: sha512-5+ixk2z6XP7NiPqAinrolwd4LKA4b+gWDiFHGaMnk3AHeOnquUHEEqDXghuQrMpr93p8egwO9AgmpKpAIvznFg==} engines: {node: '>=18'} peerDependencies: @@ -19676,9 +19724,9 @@ packages: optional: true dependencies: '@anthropic-ai/sdk': 0.9.1 - '@aws-sdk/client-s3': 3.515.0 - '@aws-sdk/credential-provider-node': 3.515.0 - '@langchain/community': 0.0.29(@aws-sdk/credential-provider-node@3.515.0)(chromadb@1.7.2)(pg@8.11.3)(replicate@0.25.2) + '@aws-sdk/client-s3': 3.525.0 + '@aws-sdk/credential-provider-node': 3.525.0 + '@langchain/community': 0.0.29(@aws-sdk/credential-provider-node@3.525.0)(chromadb@1.7.2)(pg@8.11.3)(replicate@0.25.2) '@langchain/core': 0.1.29 '@langchain/openai': 0.0.14 axios: 1.6.2 @@ -22075,7 +22123,11 @@ packages: /pg-int8@1.0.1: resolution: {integrity: sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==} engines: {node: '>=4.0.0'} - dev: false + + /pg-numeric@1.0.2: + resolution: {integrity: sha512-BM/Thnrw5jm2kKLE5uJkXqqExRUY/toLHda65XgFTBTFYZyopbKjBe29Ii3RbkvlsMoFwD+tHeGaCjjv0gHlyw==} + engines: {node: '>=4'} + dev: true /pg-pool@3.6.1(pg@8.11.3): resolution: {integrity: sha512-jizsIzhkIitxCGfPRzJn1ZdcosIt3pz9Sh3V01fm1vZnbnCMgmGl5wvGGdNN2EL9Rmb0EcFoCkixH4Pu+sP9Og==} @@ -22087,7 +22139,6 @@ packages: /pg-protocol@1.6.0: resolution: {integrity: sha512-M+PDm637OY5WM307051+bsDia5Xej6d9IR4GwJse1qA1DIhiKlksvrneZOYQq42OM+spubpcNYEo2FcKQrDk+Q==} - dev: false /pg-types@2.2.0: resolution: {integrity: sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==} @@ -22100,6 +22151,19 @@ packages: postgres-interval: 1.2.0 dev: false + /pg-types@4.0.2: + resolution: {integrity: sha512-cRL3JpS3lKMGsKaWndugWQoLOCoP+Cic8oseVcbr0qhPzYD5DWXK+RZ9LY9wxRf7RQia4SCwQlXk0q6FCPrVng==} + engines: {node: '>=10'} + dependencies: + pg-int8: 1.0.1 + pg-numeric: 1.0.2 + postgres-array: 3.0.2 + postgres-bytea: 3.0.0 + postgres-date: 2.1.0 + postgres-interval: 3.0.0 + postgres-range: 1.1.4 + dev: true + /pg@8.11.3: resolution: {integrity: sha512-+9iuvG8QfaaUrrph+kpF24cXkH1YOOUeArRNYIxq1viYHZagBxrTno7cecY1Fa44tJeZvaoG+Djpkc3JwehN5g==} engines: {node: '>= 8.0.0'} @@ -22927,16 +22991,33 @@ packages: engines: {node: '>=4'} dev: false + /postgres-array@3.0.2: + resolution: {integrity: sha512-6faShkdFugNQCLwucjPcY5ARoW1SlbnrZjmGl0IrrqewpvxvhSLHimCVzqeuULCbG0fQv7Dtk1yDbG3xv7Veog==} + engines: {node: '>=12'} + dev: true + /postgres-bytea@1.0.0: resolution: {integrity: sha512-xy3pmLuQqRBZBXDULy7KbaitYqLcmxigw14Q5sj8QBVLqEwXfeybIKVWiqAXTlcvdvb0+xkOtDbfQMOf4lST1w==} engines: {node: '>=0.10.0'} dev: false + /postgres-bytea@3.0.0: + resolution: {integrity: sha512-CNd4jim9RFPkObHSjVHlVrxoVQXz7quwNFpz7RY1okNNme49+sVyiTvTRobiLV548Hx/hb1BG+iE7h9493WzFw==} + engines: {node: '>= 6'} + dependencies: + obuf: 1.1.2 + dev: true + /postgres-date@1.0.7: resolution: {integrity: sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==} engines: {node: '>=0.10.0'} dev: false + /postgres-date@2.1.0: + resolution: {integrity: sha512-K7Juri8gtgXVcDfZttFKVmhglp7epKb1K4pgrkLxehjqkrgPhfG6OO8LHLkfaqkbpjNRnra018XwAr1yQFWGcA==} + engines: {node: '>=12'} + dev: true + /postgres-interval@1.2.0: resolution: {integrity: sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==} engines: {node: '>=0.10.0'} @@ -22944,6 +23025,15 @@ packages: xtend: 4.0.2 dev: false + /postgres-interval@3.0.0: + resolution: {integrity: sha512-BSNDnbyZCXSxgA+1f5UU2GmwhoI0aU5yMxRGO8CdFEcY2BQF9xm/7MqKnYoM1nJDk8nONNWDk9WeSmePFhQdlw==} + engines: {node: '>=12'} + dev: true + + /postgres-range@1.1.4: + resolution: {integrity: sha512-i/hbxIE9803Alj/6ytL7UHQxRvZkI9O4Sy+J3HGc4F4oo/2eQAjTSNJ0bfxyse3bH0nuVesCk+3IRLaMtG3H6w==} + dev: true + /preact-compat@3.19.0(preact@10.19.3): resolution: {integrity: sha512-f83A4hIhH8Uzhb9GbIcGk8SM19ffWlwP9mDaYwQdRnMdekZwcCA7eIAbeV4EMQaV9C0Yuy8iKgBAtyTKPZQt/Q==} peerDependencies: @@ -23058,6 +23148,15 @@ packages: resolution: {integrity: sha512-WuxUnVtlWL1OfZFQFuqvnvs6MiAGk9UNsBostyBOB0Is9wb5uRESevA6rnl/rkksXaGX3GzZhPup5d6Vp1nFew==} dev: false + /prisma@5.10.2: + resolution: {integrity: sha512-hqb/JMz9/kymRE25pMWCxkdyhbnIWrq+h7S6WysJpdnCvhstbJSNP/S6mScEcqiB8Qv2F+0R3yG+osRaWqZacQ==} + engines: {node: '>=16.13'} + hasBin: true + requiresBuild: true + dependencies: + '@prisma/engines': 5.10.2 + dev: false + /prismjs@1.27.0: resolution: {integrity: sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==} engines: {node: '>=6'} @@ -23324,6 +23423,7 @@ packages: /pure-rand@6.0.4: resolution: {integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==} + dev: false /pvtsutils@1.3.5: resolution: {integrity: sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA==} @@ -24723,8 +24823,8 @@ packages: engines: {node: '>= 10.0.0'} dev: false - /sequelize@6.37.0(pg@8.11.3)(sqlite3@5.1.7): - resolution: {integrity: sha512-MS6j6aXqWzB3fe9FhmfpQMgVC16bBdYroJCqIqR0l9M2ko8pZdKoi/0PiNWgMyFQDXUHxXyAOG3K07CbnOhteQ==} + /sequelize@6.37.1(pg@8.11.3)(sqlite3@5.1.7): + resolution: {integrity: sha512-vIKKzQ9dGp2aBOxQRD1FmUYViuQiKXSJ8yah8TsaBx4U3BokJt+Y2A0qz2C4pj08uX59qpWxRqSLEfRmVOEgQw==} engines: {node: '>=10.0.0'} peerDependencies: ibm_db: '*' @@ -24922,16 +25022,6 @@ packages: once: 1.4.0 simple-concat: 1.0.1 - /simple-git@3.22.0: - resolution: {integrity: sha512-6JujwSs0ac82jkGjMHiCnTifvf1crOiY/+tfs/Pqih6iow7VrpNKRRNdWm6RtaXpvvv/JGNYhlUtLhGFqHF+Yw==} - dependencies: - '@kwsites/file-exists': 1.1.1 - '@kwsites/promise-deferred': 1.1.1 - debug: 4.3.4(supports-color@5.5.0) - transitivePeerDependencies: - - supports-color - dev: false - /simple-html-tokenizer@0.5.11: resolution: {integrity: sha512-C2WEK/Z3HoSFbYq8tI7ni3eOo/NneSPRoPpcM7WdLjFOArFuyXEjAoCdOC3DgMfRyziZQ1hCNR4mrNdWEvD0og==} dev: false @@ -25195,9 +25285,6 @@ packages: /sqlite3@5.1.7: resolution: {integrity: sha512-GGIyOiFaG+TUra3JIfkI/zGP8yZYLPQ0pl1bH+ODjiX57sPhrLU5sQJn1y9bDKZUFYkX1crlrPfSYt0BKKdkog==} requiresBuild: true - peerDependenciesMeta: - node-gyp: - optional: true dependencies: bindings: 1.5.0 node-addon-api: 7.1.0 @@ -26293,6 +26380,17 @@ packages: fsevents: 2.3.3 dev: true + /tsx@4.7.1: + resolution: {integrity: sha512-8d6VuibXHtlN5E3zFkgY8u4DX7Y3Z27zvvPKVmLon/D4AjuKzarkUBTLDBgj9iTQ0hg5xM7c/mYiRVM+HETf0g==} + engines: {node: '>=18.0.0'} + hasBin: true + dependencies: + esbuild: 0.19.12 + get-tsconfig: 4.7.2 + optionalDependencies: + fsevents: 2.3.3 + dev: true + /tunnel-agent@0.6.0: resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} requiresBuild: true @@ -28516,6 +28614,16 @@ packages: resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} engines: {node: '>=12.20'} + /zod-prisma-types@3.1.6: + resolution: {integrity: sha512-ySaG91RraTm4J19zfvuX6S3OxhDMlK4dTfYWM4rS+4AlEGqDqGu5BbIn2trjTDt8OiCMBHoIjZmRXPKQCyNApA==} + hasBin: true + dependencies: + '@prisma/generator-helper': 5.10.2 + code-block-writer: 12.0.0 + lodash: 4.17.21 + zod: 3.22.4 + dev: false + /zod-to-json-schema@3.20.3(zod@3.22.4): resolution: {integrity: sha512-/Q3wnyxAfCt94ZcrGiXXoiAfRqasxl9CX64LZ9fj+4dKH68zulUtU0uk1WMxQPfAxQ0ZI70dKzcoW7hHj+DwSQ==} peerDependencies: