From 51007f1101e4cd237a088be38d14a9721a765692 Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Mon, 24 Mar 2025 14:14:03 -0400 Subject: [PATCH 1/4] WIP --- .../protobuf-generated/CustomDataType.ts | 2 +- .../protobuf-generated/CustomDataValue.ts | 2 +- .../types/protobuf-generated/DVCUser_PB.ts | 2 +- .../protobuf-generated/NullableCustomData.ts | 2 +- .../protobuf-generated/NullableDouble.ts | 2 +- .../protobuf-generated/NullableString.ts | 2 +- .../protobuf-generated/SDKVariable_PB.ts | 2 +- .../VariableForUserParams_PB.ts | 2 +- .../protobuf-generated/VariableType_PB.ts | 2 +- lib/shared/bucketing-assembly-script/index.js | 69 +- .../bucketing-assembly-script/package.json | 7 +- .../bucketing-assembly-script/project.json | 5 +- .../protobuf/compiled.d.ts | 722 ----- .../protobuf/compiled.js | 2235 -------------- sdk/nodejs/src/client.ts | 57 - sdk/nodejs/src/clientUser.ts | 33 - yarn.lock | 2604 ++++++++++++++++- 17 files changed, 2628 insertions(+), 3122 deletions(-) delete mode 100644 lib/shared/bucketing-assembly-script/protobuf/compiled.d.ts delete mode 100644 lib/shared/bucketing-assembly-script/protobuf/compiled.js delete mode 100644 sdk/nodejs/src/clientUser.ts diff --git a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/CustomDataType.ts b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/CustomDataType.ts index 22a7fcfe4..c5486bf6d 100644 --- a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/CustomDataType.ts +++ b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/CustomDataType.ts @@ -1,7 +1,7 @@ // Code generated by protoc-gen-as. DO NOT EDIT. // Versions: // protoc-gen-as v1.3.0 -// protoc v4.24.3 +// protoc v5.29.3 export enum CustomDataType { Bool = 0, diff --git a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/CustomDataValue.ts b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/CustomDataValue.ts index 6bb90af67..5864dded3 100644 --- a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/CustomDataValue.ts +++ b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/CustomDataValue.ts @@ -1,7 +1,7 @@ // Code generated by protoc-gen-as. DO NOT EDIT. // Versions: // protoc-gen-as v1.3.0 -// protoc v4.24.3 +// protoc v5.29.3 import { Writer, Reader, Protobuf } from "as-proto/assembly"; import { CustomDataType } from "./CustomDataType"; diff --git a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/DVCUser_PB.ts b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/DVCUser_PB.ts index b9b771179..daa3616d2 100644 --- a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/DVCUser_PB.ts +++ b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/DVCUser_PB.ts @@ -1,7 +1,7 @@ // Code generated by protoc-gen-as. DO NOT EDIT. // Versions: // protoc-gen-as v1.3.0 -// protoc v4.24.3 +// protoc v5.29.3 import { Writer, Reader, Protobuf } from "as-proto/assembly"; import { NullableString } from "./NullableString"; diff --git a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/NullableCustomData.ts b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/NullableCustomData.ts index 792cd648a..25e83c6eb 100644 --- a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/NullableCustomData.ts +++ b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/NullableCustomData.ts @@ -1,7 +1,7 @@ // Code generated by protoc-gen-as. DO NOT EDIT. // Versions: // protoc-gen-as v1.3.0 -// protoc v4.24.3 +// protoc v5.29.3 import { Writer, Reader, Protobuf } from "as-proto/assembly"; import { CustomDataValue } from "./CustomDataValue"; diff --git a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/NullableDouble.ts b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/NullableDouble.ts index 4a73ce77b..60ce42cd5 100644 --- a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/NullableDouble.ts +++ b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/NullableDouble.ts @@ -1,7 +1,7 @@ // Code generated by protoc-gen-as. DO NOT EDIT. // Versions: // protoc-gen-as v1.3.0 -// protoc v4.24.3 +// protoc v5.29.3 import { Writer, Reader, Protobuf } from "as-proto/assembly"; diff --git a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/NullableString.ts b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/NullableString.ts index b0c77ca2c..508408e5a 100644 --- a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/NullableString.ts +++ b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/NullableString.ts @@ -1,7 +1,7 @@ // Code generated by protoc-gen-as. DO NOT EDIT. // Versions: // protoc-gen-as v1.3.0 -// protoc v4.24.3 +// protoc v5.29.3 import { Writer, Reader, Protobuf } from "as-proto/assembly"; diff --git a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/SDKVariable_PB.ts b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/SDKVariable_PB.ts index 6de571af4..fb6a090f0 100644 --- a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/SDKVariable_PB.ts +++ b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/SDKVariable_PB.ts @@ -1,7 +1,7 @@ // Code generated by protoc-gen-as. DO NOT EDIT. // Versions: // protoc-gen-as v1.3.0 -// protoc v4.24.3 +// protoc v5.29.3 import { Writer, Reader, Protobuf } from "as-proto/assembly"; import { NullableString } from "./NullableString"; diff --git a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/VariableForUserParams_PB.ts b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/VariableForUserParams_PB.ts index eb42cdfa3..c545247eb 100644 --- a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/VariableForUserParams_PB.ts +++ b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/VariableForUserParams_PB.ts @@ -1,7 +1,7 @@ // Code generated by protoc-gen-as. DO NOT EDIT. // Versions: // protoc-gen-as v1.3.0 -// protoc v4.24.3 +// protoc v5.29.3 import { Writer, Reader, Protobuf } from "as-proto/assembly"; import { DVCUser_PB } from "./DVCUser_PB"; diff --git a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/VariableType_PB.ts b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/VariableType_PB.ts index 31e8c2f5b..be490fa7c 100644 --- a/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/VariableType_PB.ts +++ b/lib/shared/bucketing-assembly-script/assembly/types/protobuf-generated/VariableType_PB.ts @@ -1,7 +1,7 @@ // Code generated by protoc-gen-as. DO NOT EDIT. // Versions: // protoc-gen-as v1.3.0 -// protoc v4.24.3 +// protoc v5.29.3 export enum VariableType_PB { Boolean = 0, diff --git a/lib/shared/bucketing-assembly-script/index.js b/lib/shared/bucketing-assembly-script/index.js index 63ebee31b..3d405a189 100644 --- a/lib/shared/bucketing-assembly-script/index.js +++ b/lib/shared/bucketing-assembly-script/index.js @@ -1,41 +1,56 @@ const ProtobufTypes = require('./protobuf/compiled') const path = require('path') -// This approach avoids using a named global variable that conflicts with itself +const isEdgeRuntime = () => { + try { + return process.env.NEXT_RUNTIME === 'edge' + } catch { + return false + } +} + const instantiate = async (debug = false, imports = {}) => { const releaseStr = debug ? 'debug' : 'release' const { instantiate } = require(`./build/bucketing-lib.${releaseStr}.js`) - // using path.resolve here to fix an issue caused by webpack in the example apps - // In normal operation __dirname is an absolute path, so path.resolve does nothing to it - // When running from the example app webpack bundle, __dirname becomes a relative path (relative to the repo root) - // We therefore need to 'path.resolve' it relative to the current working directory (which must be the repo root - // when running any Nx commands like serving the example app) - const url = new URL( - `file://${path.resolve( - __dirname, - )}/build/bucketing-lib.${releaseStr}.wasm`, - ) - // asynchronously compile the webassembly source - const compiled = await (async () => { - try { - const source = await globalThis.fetch(url) - return await globalThis.WebAssembly.compileStreaming(source) - } catch { - let fs + let compiled + if (isEdgeRuntime()) { + // In Edge Runtime, we need to use the WASM binary directly + const wasmBinary = require(`./build/bucketing-lib.${releaseStr}.wasm`) + compiled = await globalThis.WebAssembly.compile(wasmBinary) + } else { + /** + * using path.resolve here to fix an issue caused by webpack in the example apps + * In normal operation __dirname is an absolute path, so path.resolve does nothing to it + * When running from the example app webpack bundle, __dirname becomes a relative path + * (relative to the repo root) + * We therefore need to 'path.resolve' it relative to the current working directory + * (which must be the repo root when running any Nx commands like serving the example app) + */ + const url = new URL( + `file://${path.resolve( + __dirname, + )}/build/bucketing-lib.${releaseStr}.wasm`, + ) + + compiled = await (async () => { try { - // Use dynamic import with string concatenation to prevent webpack - const prefix = 'node:' - const suffix = 'fs/promises' - fs = require(prefix + suffix) + const source = await globalThis.fetch(url) + return await globalThis.WebAssembly.compileStreaming(source) } catch { - fs = require('fs/promises') + let fs + try { + const prefix = 'node:' + const suffix = 'fs/promises' + fs = require(prefix + suffix) + } catch { + fs = require('fs/promises') + } + return globalThis.WebAssembly.compile(await fs.readFile(url)) } - return globalThis.WebAssembly.compile(await fs.readFile(url)) - } - })() + })() + } - // call the instantiate function with the compiled source to execute the WASM and set up the bindings to native code return await instantiate(compiled, imports) } diff --git a/lib/shared/bucketing-assembly-script/package.json b/lib/shared/bucketing-assembly-script/package.json index b3bf7bb26..e3059f21b 100644 --- a/lib/shared/bucketing-assembly-script/package.json +++ b/lib/shared/bucketing-assembly-script/package.json @@ -12,9 +12,12 @@ "README.md" ], "dependencies": { - "protobufjs": "^7.4.0" + "@protobuf-ts/runtime": "^2.9.3", + "@protobuf-ts/runtime-rpc": "^2.9.3" }, "devDependencies": { - "@devcycle/bucketing-test-data": "^1.27.0" + "@devcycle/bucketing-test-data": "^1.27.0", + "@protobuf-ts/grpc-transport": "^2.9.3", + "@protobuf-ts/plugin": "^2.9.3" } } diff --git a/lib/shared/bucketing-assembly-script/project.json b/lib/shared/bucketing-assembly-script/project.json index 3d2d7b7f6..d259ee78c 100644 --- a/lib/shared/bucketing-assembly-script/project.json +++ b/lib/shared/bucketing-assembly-script/project.json @@ -80,10 +80,7 @@ "command": "rm -rf compiled.js compiled.d.ts" }, { - "command": "pbjs -t static-module --keep-case -w commonjs -o compiled.js ./*.proto" - }, - { - "command": "pbts -o compiled.d.ts compiled.js" + "command": "protoc --plugin=protoc-gen-ts=../../../node_modules/.cache/nx/3088228708506283626/outputs/lib/shared/bucketing-assembly-script/node_modules/@protobuf-ts/plugin/bin/protoc-gen-ts --ts_out=./ --ts_opt=eslint_disable --proto_path=./ ./*.proto" } ], "cwd": "lib/shared/bucketing-assembly-script/protobuf", diff --git a/lib/shared/bucketing-assembly-script/protobuf/compiled.d.ts b/lib/shared/bucketing-assembly-script/protobuf/compiled.d.ts deleted file mode 100644 index 8ecdfb630..000000000 --- a/lib/shared/bucketing-assembly-script/protobuf/compiled.d.ts +++ /dev/null @@ -1,722 +0,0 @@ -import * as $protobuf from "protobufjs"; -import Long = require("long"); -/** VariableType_PB enum. */ -export enum VariableType_PB { - Boolean = 0, - Number = 1, - String = 2, - JSON = 3 -} - -/** Represents a NullableString. */ -export class NullableString implements INullableString { - - /** - * Constructs a new NullableString. - * @param [properties] Properties to set - */ - constructor(properties?: INullableString); - - /** NullableString value. */ - public value: string; - - /** NullableString isNull. */ - public isNull: boolean; - - /** - * Creates a new NullableString instance using the specified properties. - * @param [properties] Properties to set - * @returns NullableString instance - */ - public static create(properties?: INullableString): NullableString; - - /** - * Encodes the specified NullableString message. Does not implicitly {@link NullableString.verify|verify} messages. - * @param message NullableString message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: INullableString, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified NullableString message, length delimited. Does not implicitly {@link NullableString.verify|verify} messages. - * @param message NullableString message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: INullableString, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a NullableString message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns NullableString - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): NullableString; - - /** - * Decodes a NullableString message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns NullableString - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): NullableString; - - /** - * Verifies a NullableString message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a NullableString message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns NullableString - */ - public static fromObject(object: { [k: string]: any }): NullableString; - - /** - * Creates a plain object from a NullableString message. Also converts values to other types if specified. - * @param message NullableString - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: NullableString, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this NullableString to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for NullableString - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a NullableDouble. */ -export class NullableDouble implements INullableDouble { - - /** - * Constructs a new NullableDouble. - * @param [properties] Properties to set - */ - constructor(properties?: INullableDouble); - - /** NullableDouble value. */ - public value: number; - - /** NullableDouble isNull. */ - public isNull: boolean; - - /** - * Creates a new NullableDouble instance using the specified properties. - * @param [properties] Properties to set - * @returns NullableDouble instance - */ - public static create(properties?: INullableDouble): NullableDouble; - - /** - * Encodes the specified NullableDouble message. Does not implicitly {@link NullableDouble.verify|verify} messages. - * @param message NullableDouble message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: INullableDouble, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified NullableDouble message, length delimited. Does not implicitly {@link NullableDouble.verify|verify} messages. - * @param message NullableDouble message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: INullableDouble, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a NullableDouble message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns NullableDouble - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): NullableDouble; - - /** - * Decodes a NullableDouble message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns NullableDouble - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): NullableDouble; - - /** - * Verifies a NullableDouble message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a NullableDouble message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns NullableDouble - */ - public static fromObject(object: { [k: string]: any }): NullableDouble; - - /** - * Creates a plain object from a NullableDouble message. Also converts values to other types if specified. - * @param message NullableDouble - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: NullableDouble, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this NullableDouble to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for NullableDouble - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** CustomDataType enum. */ -export enum CustomDataType { - Bool = 0, - Num = 1, - Str = 2, - Null = 3 -} - -/** Represents a CustomDataValue. */ -export class CustomDataValue implements ICustomDataValue { - - /** - * Constructs a new CustomDataValue. - * @param [properties] Properties to set - */ - constructor(properties?: ICustomDataValue); - - /** CustomDataValue type. */ - public type: CustomDataType; - - /** CustomDataValue boolValue. */ - public boolValue: boolean; - - /** CustomDataValue doubleValue. */ - public doubleValue: number; - - /** CustomDataValue stringValue. */ - public stringValue: string; - - /** - * Creates a new CustomDataValue instance using the specified properties. - * @param [properties] Properties to set - * @returns CustomDataValue instance - */ - public static create(properties?: ICustomDataValue): CustomDataValue; - - /** - * Encodes the specified CustomDataValue message. Does not implicitly {@link CustomDataValue.verify|verify} messages. - * @param message CustomDataValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ICustomDataValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified CustomDataValue message, length delimited. Does not implicitly {@link CustomDataValue.verify|verify} messages. - * @param message CustomDataValue message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ICustomDataValue, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a CustomDataValue message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns CustomDataValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CustomDataValue; - - /** - * Decodes a CustomDataValue message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns CustomDataValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CustomDataValue; - - /** - * Verifies a CustomDataValue message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a CustomDataValue message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns CustomDataValue - */ - public static fromObject(object: { [k: string]: any }): CustomDataValue; - - /** - * Creates a plain object from a CustomDataValue message. Also converts values to other types if specified. - * @param message CustomDataValue - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: CustomDataValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this CustomDataValue to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for CustomDataValue - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a NullableCustomData. */ -export class NullableCustomData implements INullableCustomData { - - /** - * Constructs a new NullableCustomData. - * @param [properties] Properties to set - */ - constructor(properties?: INullableCustomData); - - /** NullableCustomData value. */ - public value: { [k: string]: ICustomDataValue }; - - /** NullableCustomData isNull. */ - public isNull: boolean; - - /** - * Creates a new NullableCustomData instance using the specified properties. - * @param [properties] Properties to set - * @returns NullableCustomData instance - */ - public static create(properties?: INullableCustomData): NullableCustomData; - - /** - * Encodes the specified NullableCustomData message. Does not implicitly {@link NullableCustomData.verify|verify} messages. - * @param message NullableCustomData message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: INullableCustomData, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified NullableCustomData message, length delimited. Does not implicitly {@link NullableCustomData.verify|verify} messages. - * @param message NullableCustomData message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: INullableCustomData, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a NullableCustomData message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns NullableCustomData - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): NullableCustomData; - - /** - * Decodes a NullableCustomData message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns NullableCustomData - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): NullableCustomData; - - /** - * Verifies a NullableCustomData message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a NullableCustomData message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns NullableCustomData - */ - public static fromObject(object: { [k: string]: any }): NullableCustomData; - - /** - * Creates a plain object from a NullableCustomData message. Also converts values to other types if specified. - * @param message NullableCustomData - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: NullableCustomData, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this NullableCustomData to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for NullableCustomData - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a VariableForUserParams_PB. */ -export class VariableForUserParams_PB implements IVariableForUserParams_PB { - - /** - * Constructs a new VariableForUserParams_PB. - * @param [properties] Properties to set - */ - constructor(properties?: IVariableForUserParams_PB); - - /** VariableForUserParams_PB sdkKey. */ - public sdkKey: string; - - /** VariableForUserParams_PB variableKey. */ - public variableKey: string; - - /** VariableForUserParams_PB variableType. */ - public variableType: VariableType_PB; - - /** VariableForUserParams_PB user. */ - public user?: (IDVCUser_PB|null); - - /** VariableForUserParams_PB shouldTrackEvent. */ - public shouldTrackEvent: boolean; - - /** - * Creates a new VariableForUserParams_PB instance using the specified properties. - * @param [properties] Properties to set - * @returns VariableForUserParams_PB instance - */ - public static create(properties?: IVariableForUserParams_PB): VariableForUserParams_PB; - - /** - * Encodes the specified VariableForUserParams_PB message. Does not implicitly {@link VariableForUserParams_PB.verify|verify} messages. - * @param message VariableForUserParams_PB message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IVariableForUserParams_PB, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VariableForUserParams_PB message, length delimited. Does not implicitly {@link VariableForUserParams_PB.verify|verify} messages. - * @param message VariableForUserParams_PB message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IVariableForUserParams_PB, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VariableForUserParams_PB message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VariableForUserParams_PB - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VariableForUserParams_PB; - - /** - * Decodes a VariableForUserParams_PB message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VariableForUserParams_PB - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VariableForUserParams_PB; - - /** - * Verifies a VariableForUserParams_PB message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VariableForUserParams_PB message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VariableForUserParams_PB - */ - public static fromObject(object: { [k: string]: any }): VariableForUserParams_PB; - - /** - * Creates a plain object from a VariableForUserParams_PB message. Also converts values to other types if specified. - * @param message VariableForUserParams_PB - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: VariableForUserParams_PB, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VariableForUserParams_PB to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VariableForUserParams_PB - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a DVCUser_PB. */ -export class DVCUser_PB implements IDVCUser_PB { - - /** - * Constructs a new DVCUser_PB. - * @param [properties] Properties to set - */ - constructor(properties?: IDVCUser_PB); - - /** DVCUser_PB user_id. */ - public user_id: string; - - /** DVCUser_PB email. */ - public email?: (INullableString|null); - - /** DVCUser_PB name. */ - public name?: (INullableString|null); - - /** DVCUser_PB language. */ - public language?: (INullableString|null); - - /** DVCUser_PB country. */ - public country?: (INullableString|null); - - /** DVCUser_PB appBuild. */ - public appBuild?: (INullableDouble|null); - - /** DVCUser_PB appVersion. */ - public appVersion?: (INullableString|null); - - /** DVCUser_PB deviceModel. */ - public deviceModel?: (INullableString|null); - - /** DVCUser_PB customData. */ - public customData?: (INullableCustomData|null); - - /** DVCUser_PB privateCustomData. */ - public privateCustomData?: (INullableCustomData|null); - - /** - * Creates a new DVCUser_PB instance using the specified properties. - * @param [properties] Properties to set - * @returns DVCUser_PB instance - */ - public static create(properties?: IDVCUser_PB): DVCUser_PB; - - /** - * Encodes the specified DVCUser_PB message. Does not implicitly {@link DVCUser_PB.verify|verify} messages. - * @param message DVCUser_PB message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: IDVCUser_PB, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified DVCUser_PB message, length delimited. Does not implicitly {@link DVCUser_PB.verify|verify} messages. - * @param message DVCUser_PB message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: IDVCUser_PB, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a DVCUser_PB message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns DVCUser_PB - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DVCUser_PB; - - /** - * Decodes a DVCUser_PB message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns DVCUser_PB - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DVCUser_PB; - - /** - * Verifies a DVCUser_PB message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a DVCUser_PB message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns DVCUser_PB - */ - public static fromObject(object: { [k: string]: any }): DVCUser_PB; - - /** - * Creates a plain object from a DVCUser_PB message. Also converts values to other types if specified. - * @param message DVCUser_PB - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: DVCUser_PB, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this DVCUser_PB to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for DVCUser_PB - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} - -/** Represents a SDKVariable_PB. */ -export class SDKVariable_PB implements ISDKVariable_PB { - - /** - * Constructs a new SDKVariable_PB. - * @param [properties] Properties to set - */ - constructor(properties?: ISDKVariable_PB); - - /** SDKVariable_PB _id. */ - public _id: string; - - /** SDKVariable_PB type. */ - public type: VariableType_PB; - - /** SDKVariable_PB key. */ - public key: string; - - /** SDKVariable_PB boolValue. */ - public boolValue: boolean; - - /** SDKVariable_PB doubleValue. */ - public doubleValue: number; - - /** SDKVariable_PB stringValue. */ - public stringValue: string; - - /** SDKVariable_PB evalReason. */ - public evalReason?: (INullableString|null); - - /** - * Creates a new SDKVariable_PB instance using the specified properties. - * @param [properties] Properties to set - * @returns SDKVariable_PB instance - */ - public static create(properties?: ISDKVariable_PB): SDKVariable_PB; - - /** - * Encodes the specified SDKVariable_PB message. Does not implicitly {@link SDKVariable_PB.verify|verify} messages. - * @param message SDKVariable_PB message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: ISDKVariable_PB, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SDKVariable_PB message, length delimited. Does not implicitly {@link SDKVariable_PB.verify|verify} messages. - * @param message SDKVariable_PB message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: ISDKVariable_PB, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SDKVariable_PB message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SDKVariable_PB - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SDKVariable_PB; - - /** - * Decodes a SDKVariable_PB message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SDKVariable_PB - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SDKVariable_PB; - - /** - * Verifies a SDKVariable_PB message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SDKVariable_PB message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SDKVariable_PB - */ - public static fromObject(object: { [k: string]: any }): SDKVariable_PB; - - /** - * Creates a plain object from a SDKVariable_PB message. Also converts values to other types if specified. - * @param message SDKVariable_PB - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: SDKVariable_PB, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SDKVariable_PB to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SDKVariable_PB - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; -} diff --git a/lib/shared/bucketing-assembly-script/protobuf/compiled.js b/lib/shared/bucketing-assembly-script/protobuf/compiled.js deleted file mode 100644 index d4e2b11ac..000000000 --- a/lib/shared/bucketing-assembly-script/protobuf/compiled.js +++ /dev/null @@ -1,2235 +0,0 @@ -/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ -"use strict"; - -var $protobuf = require("protobufjs/minimal"); - -// Common aliases -var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util; - -// Exported root namespace -var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {}); - -/** - * VariableType_PB enum. - * @exports VariableType_PB - * @enum {number} - * @property {number} Boolean=0 Boolean value - * @property {number} Number=1 Number value - * @property {number} String=2 String value - * @property {number} JSON=3 JSON value - */ -$root.VariableType_PB = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "Boolean"] = 0; - values[valuesById[1] = "Number"] = 1; - values[valuesById[2] = "String"] = 2; - values[valuesById[3] = "JSON"] = 3; - return values; -})(); - -$root.NullableString = (function() { - - /** - * Properties of a NullableString. - * @exports INullableString - * @interface INullableString - * @property {string|null} [value] NullableString value - * @property {boolean|null} [isNull] NullableString isNull - */ - - /** - * Constructs a new NullableString. - * @exports NullableString - * @classdesc Represents a NullableString. - * @implements INullableString - * @constructor - * @param {INullableString=} [properties] Properties to set - */ - function NullableString(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * NullableString value. - * @member {string} value - * @memberof NullableString - * @instance - */ - NullableString.prototype.value = ""; - - /** - * NullableString isNull. - * @member {boolean} isNull - * @memberof NullableString - * @instance - */ - NullableString.prototype.isNull = false; - - /** - * Creates a new NullableString instance using the specified properties. - * @function create - * @memberof NullableString - * @static - * @param {INullableString=} [properties] Properties to set - * @returns {NullableString} NullableString instance - */ - NullableString.create = function create(properties) { - return new NullableString(properties); - }; - - /** - * Encodes the specified NullableString message. Does not implicitly {@link NullableString.verify|verify} messages. - * @function encode - * @memberof NullableString - * @static - * @param {INullableString} message NullableString message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - NullableString.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.value); - if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - return writer; - }; - - /** - * Encodes the specified NullableString message, length delimited. Does not implicitly {@link NullableString.verify|verify} messages. - * @function encodeDelimited - * @memberof NullableString - * @static - * @param {INullableString} message NullableString message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - NullableString.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a NullableString message from the specified reader or buffer. - * @function decode - * @memberof NullableString - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {NullableString} NullableString - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - NullableString.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.NullableString(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.string(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a NullableString message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof NullableString - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {NullableString} NullableString - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - NullableString.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a NullableString message. - * @function verify - * @memberof NullableString - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - NullableString.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a NullableString message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof NullableString - * @static - * @param {Object.} object Plain object - * @returns {NullableString} NullableString - */ - NullableString.fromObject = function fromObject(object) { - if (object instanceof $root.NullableString) - return object; - var message = new $root.NullableString(); - if (object.value != null) - message.value = String(object.value); - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a NullableString message. Also converts values to other types if specified. - * @function toObject - * @memberof NullableString - * @static - * @param {NullableString} message NullableString - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - NullableString.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = ""; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this NullableString to JSON. - * @function toJSON - * @memberof NullableString - * @instance - * @returns {Object.} JSON object - */ - NullableString.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for NullableString - * @function getTypeUrl - * @memberof NullableString - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - NullableString.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/NullableString"; - }; - - return NullableString; -})(); - -$root.NullableDouble = (function() { - - /** - * Properties of a NullableDouble. - * @exports INullableDouble - * @interface INullableDouble - * @property {number|null} [value] NullableDouble value - * @property {boolean|null} [isNull] NullableDouble isNull - */ - - /** - * Constructs a new NullableDouble. - * @exports NullableDouble - * @classdesc Represents a NullableDouble. - * @implements INullableDouble - * @constructor - * @param {INullableDouble=} [properties] Properties to set - */ - function NullableDouble(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * NullableDouble value. - * @member {number} value - * @memberof NullableDouble - * @instance - */ - NullableDouble.prototype.value = 0; - - /** - * NullableDouble isNull. - * @member {boolean} isNull - * @memberof NullableDouble - * @instance - */ - NullableDouble.prototype.isNull = false; - - /** - * Creates a new NullableDouble instance using the specified properties. - * @function create - * @memberof NullableDouble - * @static - * @param {INullableDouble=} [properties] Properties to set - * @returns {NullableDouble} NullableDouble instance - */ - NullableDouble.create = function create(properties) { - return new NullableDouble(properties); - }; - - /** - * Encodes the specified NullableDouble message. Does not implicitly {@link NullableDouble.verify|verify} messages. - * @function encode - * @memberof NullableDouble - * @static - * @param {INullableDouble} message NullableDouble message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - NullableDouble.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 1, wireType 1 =*/9).double(message.value); - if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - return writer; - }; - - /** - * Encodes the specified NullableDouble message, length delimited. Does not implicitly {@link NullableDouble.verify|verify} messages. - * @function encodeDelimited - * @memberof NullableDouble - * @static - * @param {INullableDouble} message NullableDouble message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - NullableDouble.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a NullableDouble message from the specified reader or buffer. - * @function decode - * @memberof NullableDouble - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {NullableDouble} NullableDouble - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - NullableDouble.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.NullableDouble(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.value = reader.double(); - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a NullableDouble message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof NullableDouble - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {NullableDouble} NullableDouble - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - NullableDouble.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a NullableDouble message. - * @function verify - * @memberof NullableDouble - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - NullableDouble.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (typeof message.value !== "number") - return "value: number expected"; - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a NullableDouble message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof NullableDouble - * @static - * @param {Object.} object Plain object - * @returns {NullableDouble} NullableDouble - */ - NullableDouble.fromObject = function fromObject(object) { - if (object instanceof $root.NullableDouble) - return object; - var message = new $root.NullableDouble(); - if (object.value != null) - message.value = Number(object.value); - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a NullableDouble message. Also converts values to other types if specified. - * @function toObject - * @memberof NullableDouble - * @static - * @param {NullableDouble} message NullableDouble - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - NullableDouble.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = 0; - object.isNull = false; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.json && !isFinite(message.value) ? String(message.value) : message.value; - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this NullableDouble to JSON. - * @function toJSON - * @memberof NullableDouble - * @instance - * @returns {Object.} JSON object - */ - NullableDouble.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for NullableDouble - * @function getTypeUrl - * @memberof NullableDouble - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - NullableDouble.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/NullableDouble"; - }; - - return NullableDouble; -})(); - -/** - * CustomDataType enum. - * @exports CustomDataType - * @enum {number} - * @property {number} Bool=0 Bool value - * @property {number} Num=1 Num value - * @property {number} Str=2 Str value - * @property {number} Null=3 Null value - */ -$root.CustomDataType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "Bool"] = 0; - values[valuesById[1] = "Num"] = 1; - values[valuesById[2] = "Str"] = 2; - values[valuesById[3] = "Null"] = 3; - return values; -})(); - -$root.CustomDataValue = (function() { - - /** - * Properties of a CustomDataValue. - * @exports ICustomDataValue - * @interface ICustomDataValue - * @property {CustomDataType|null} [type] CustomDataValue type - * @property {boolean|null} [boolValue] CustomDataValue boolValue - * @property {number|null} [doubleValue] CustomDataValue doubleValue - * @property {string|null} [stringValue] CustomDataValue stringValue - */ - - /** - * Constructs a new CustomDataValue. - * @exports CustomDataValue - * @classdesc Represents a CustomDataValue. - * @implements ICustomDataValue - * @constructor - * @param {ICustomDataValue=} [properties] Properties to set - */ - function CustomDataValue(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * CustomDataValue type. - * @member {CustomDataType} type - * @memberof CustomDataValue - * @instance - */ - CustomDataValue.prototype.type = 0; - - /** - * CustomDataValue boolValue. - * @member {boolean} boolValue - * @memberof CustomDataValue - * @instance - */ - CustomDataValue.prototype.boolValue = false; - - /** - * CustomDataValue doubleValue. - * @member {number} doubleValue - * @memberof CustomDataValue - * @instance - */ - CustomDataValue.prototype.doubleValue = 0; - - /** - * CustomDataValue stringValue. - * @member {string} stringValue - * @memberof CustomDataValue - * @instance - */ - CustomDataValue.prototype.stringValue = ""; - - /** - * Creates a new CustomDataValue instance using the specified properties. - * @function create - * @memberof CustomDataValue - * @static - * @param {ICustomDataValue=} [properties] Properties to set - * @returns {CustomDataValue} CustomDataValue instance - */ - CustomDataValue.create = function create(properties) { - return new CustomDataValue(properties); - }; - - /** - * Encodes the specified CustomDataValue message. Does not implicitly {@link CustomDataValue.verify|verify} messages. - * @function encode - * @memberof CustomDataValue - * @static - * @param {ICustomDataValue} message CustomDataValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CustomDataValue.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type); - if (message.boolValue != null && Object.hasOwnProperty.call(message, "boolValue")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.boolValue); - if (message.doubleValue != null && Object.hasOwnProperty.call(message, "doubleValue")) - writer.uint32(/* id 3, wireType 1 =*/25).double(message.doubleValue); - if (message.stringValue != null && Object.hasOwnProperty.call(message, "stringValue")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.stringValue); - return writer; - }; - - /** - * Encodes the specified CustomDataValue message, length delimited. Does not implicitly {@link CustomDataValue.verify|verify} messages. - * @function encodeDelimited - * @memberof CustomDataValue - * @static - * @param {ICustomDataValue} message CustomDataValue message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - CustomDataValue.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a CustomDataValue message from the specified reader or buffer. - * @function decode - * @memberof CustomDataValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {CustomDataValue} CustomDataValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CustomDataValue.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.CustomDataValue(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.type = reader.int32(); - break; - } - case 2: { - message.boolValue = reader.bool(); - break; - } - case 3: { - message.doubleValue = reader.double(); - break; - } - case 4: { - message.stringValue = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a CustomDataValue message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof CustomDataValue - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {CustomDataValue} CustomDataValue - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - CustomDataValue.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a CustomDataValue message. - * @function verify - * @memberof CustomDataValue - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - CustomDataValue.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } - if (message.boolValue != null && message.hasOwnProperty("boolValue")) - if (typeof message.boolValue !== "boolean") - return "boolValue: boolean expected"; - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) - if (typeof message.doubleValue !== "number") - return "doubleValue: number expected"; - if (message.stringValue != null && message.hasOwnProperty("stringValue")) - if (!$util.isString(message.stringValue)) - return "stringValue: string expected"; - return null; - }; - - /** - * Creates a CustomDataValue message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof CustomDataValue - * @static - * @param {Object.} object Plain object - * @returns {CustomDataValue} CustomDataValue - */ - CustomDataValue.fromObject = function fromObject(object) { - if (object instanceof $root.CustomDataValue) - return object; - var message = new $root.CustomDataValue(); - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "Bool": - case 0: - message.type = 0; - break; - case "Num": - case 1: - message.type = 1; - break; - case "Str": - case 2: - message.type = 2; - break; - case "Null": - case 3: - message.type = 3; - break; - } - if (object.boolValue != null) - message.boolValue = Boolean(object.boolValue); - if (object.doubleValue != null) - message.doubleValue = Number(object.doubleValue); - if (object.stringValue != null) - message.stringValue = String(object.stringValue); - return message; - }; - - /** - * Creates a plain object from a CustomDataValue message. Also converts values to other types if specified. - * @function toObject - * @memberof CustomDataValue - * @static - * @param {CustomDataValue} message CustomDataValue - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - CustomDataValue.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.type = options.enums === String ? "Bool" : 0; - object.boolValue = false; - object.doubleValue = 0; - object.stringValue = ""; - } - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.CustomDataType[message.type] === undefined ? message.type : $root.CustomDataType[message.type] : message.type; - if (message.boolValue != null && message.hasOwnProperty("boolValue")) - object.boolValue = message.boolValue; - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) - object.doubleValue = options.json && !isFinite(message.doubleValue) ? String(message.doubleValue) : message.doubleValue; - if (message.stringValue != null && message.hasOwnProperty("stringValue")) - object.stringValue = message.stringValue; - return object; - }; - - /** - * Converts this CustomDataValue to JSON. - * @function toJSON - * @memberof CustomDataValue - * @instance - * @returns {Object.} JSON object - */ - CustomDataValue.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for CustomDataValue - * @function getTypeUrl - * @memberof CustomDataValue - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - CustomDataValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/CustomDataValue"; - }; - - return CustomDataValue; -})(); - -$root.NullableCustomData = (function() { - - /** - * Properties of a NullableCustomData. - * @exports INullableCustomData - * @interface INullableCustomData - * @property {Object.|null} [value] NullableCustomData value - * @property {boolean|null} [isNull] NullableCustomData isNull - */ - - /** - * Constructs a new NullableCustomData. - * @exports NullableCustomData - * @classdesc Represents a NullableCustomData. - * @implements INullableCustomData - * @constructor - * @param {INullableCustomData=} [properties] Properties to set - */ - function NullableCustomData(properties) { - this.value = {}; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * NullableCustomData value. - * @member {Object.} value - * @memberof NullableCustomData - * @instance - */ - NullableCustomData.prototype.value = $util.emptyObject; - - /** - * NullableCustomData isNull. - * @member {boolean} isNull - * @memberof NullableCustomData - * @instance - */ - NullableCustomData.prototype.isNull = false; - - /** - * Creates a new NullableCustomData instance using the specified properties. - * @function create - * @memberof NullableCustomData - * @static - * @param {INullableCustomData=} [properties] Properties to set - * @returns {NullableCustomData} NullableCustomData instance - */ - NullableCustomData.create = function create(properties) { - return new NullableCustomData(properties); - }; - - /** - * Encodes the specified NullableCustomData message. Does not implicitly {@link NullableCustomData.verify|verify} messages. - * @function encode - * @memberof NullableCustomData - * @static - * @param {INullableCustomData} message NullableCustomData message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - NullableCustomData.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - for (var keys = Object.keys(message.value), i = 0; i < keys.length; ++i) { - writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.CustomDataValue.encode(message.value[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); - } - if (message.isNull != null && Object.hasOwnProperty.call(message, "isNull")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isNull); - return writer; - }; - - /** - * Encodes the specified NullableCustomData message, length delimited. Does not implicitly {@link NullableCustomData.verify|verify} messages. - * @function encodeDelimited - * @memberof NullableCustomData - * @static - * @param {INullableCustomData} message NullableCustomData message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - NullableCustomData.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a NullableCustomData message from the specified reader or buffer. - * @function decode - * @memberof NullableCustomData - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {NullableCustomData} NullableCustomData - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - NullableCustomData.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.NullableCustomData(), key, value; - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (message.value === $util.emptyObject) - message.value = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = null; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = $root.CustomDataValue.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.value[key] = value; - break; - } - case 2: { - message.isNull = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a NullableCustomData message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof NullableCustomData - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {NullableCustomData} NullableCustomData - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - NullableCustomData.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a NullableCustomData message. - * @function verify - * @memberof NullableCustomData - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - NullableCustomData.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) { - if (!$util.isObject(message.value)) - return "value: object expected"; - var key = Object.keys(message.value); - for (var i = 0; i < key.length; ++i) { - var error = $root.CustomDataValue.verify(message.value[key[i]]); - if (error) - return "value." + error; - } - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - if (typeof message.isNull !== "boolean") - return "isNull: boolean expected"; - return null; - }; - - /** - * Creates a NullableCustomData message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof NullableCustomData - * @static - * @param {Object.} object Plain object - * @returns {NullableCustomData} NullableCustomData - */ - NullableCustomData.fromObject = function fromObject(object) { - if (object instanceof $root.NullableCustomData) - return object; - var message = new $root.NullableCustomData(); - if (object.value) { - if (typeof object.value !== "object") - throw TypeError(".NullableCustomData.value: object expected"); - message.value = {}; - for (var keys = Object.keys(object.value), i = 0; i < keys.length; ++i) { - if (typeof object.value[keys[i]] !== "object") - throw TypeError(".NullableCustomData.value: object expected"); - message.value[keys[i]] = $root.CustomDataValue.fromObject(object.value[keys[i]]); - } - } - if (object.isNull != null) - message.isNull = Boolean(object.isNull); - return message; - }; - - /** - * Creates a plain object from a NullableCustomData message. Also converts values to other types if specified. - * @function toObject - * @memberof NullableCustomData - * @static - * @param {NullableCustomData} message NullableCustomData - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - NullableCustomData.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.objects || options.defaults) - object.value = {}; - if (options.defaults) - object.isNull = false; - var keys2; - if (message.value && (keys2 = Object.keys(message.value)).length) { - object.value = {}; - for (var j = 0; j < keys2.length; ++j) - object.value[keys2[j]] = $root.CustomDataValue.toObject(message.value[keys2[j]], options); - } - if (message.isNull != null && message.hasOwnProperty("isNull")) - object.isNull = message.isNull; - return object; - }; - - /** - * Converts this NullableCustomData to JSON. - * @function toJSON - * @memberof NullableCustomData - * @instance - * @returns {Object.} JSON object - */ - NullableCustomData.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for NullableCustomData - * @function getTypeUrl - * @memberof NullableCustomData - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - NullableCustomData.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/NullableCustomData"; - }; - - return NullableCustomData; -})(); - -$root.VariableForUserParams_PB = (function() { - - /** - * Properties of a VariableForUserParams_PB. - * @exports IVariableForUserParams_PB - * @interface IVariableForUserParams_PB - * @property {string|null} [sdkKey] VariableForUserParams_PB sdkKey - * @property {string|null} [variableKey] VariableForUserParams_PB variableKey - * @property {VariableType_PB|null} [variableType] VariableForUserParams_PB variableType - * @property {IDVCUser_PB|null} [user] VariableForUserParams_PB user - * @property {boolean|null} [shouldTrackEvent] VariableForUserParams_PB shouldTrackEvent - */ - - /** - * Constructs a new VariableForUserParams_PB. - * @exports VariableForUserParams_PB - * @classdesc Represents a VariableForUserParams_PB. - * @implements IVariableForUserParams_PB - * @constructor - * @param {IVariableForUserParams_PB=} [properties] Properties to set - */ - function VariableForUserParams_PB(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * VariableForUserParams_PB sdkKey. - * @member {string} sdkKey - * @memberof VariableForUserParams_PB - * @instance - */ - VariableForUserParams_PB.prototype.sdkKey = ""; - - /** - * VariableForUserParams_PB variableKey. - * @member {string} variableKey - * @memberof VariableForUserParams_PB - * @instance - */ - VariableForUserParams_PB.prototype.variableKey = ""; - - /** - * VariableForUserParams_PB variableType. - * @member {VariableType_PB} variableType - * @memberof VariableForUserParams_PB - * @instance - */ - VariableForUserParams_PB.prototype.variableType = 0; - - /** - * VariableForUserParams_PB user. - * @member {IDVCUser_PB|null|undefined} user - * @memberof VariableForUserParams_PB - * @instance - */ - VariableForUserParams_PB.prototype.user = null; - - /** - * VariableForUserParams_PB shouldTrackEvent. - * @member {boolean} shouldTrackEvent - * @memberof VariableForUserParams_PB - * @instance - */ - VariableForUserParams_PB.prototype.shouldTrackEvent = false; - - /** - * Creates a new VariableForUserParams_PB instance using the specified properties. - * @function create - * @memberof VariableForUserParams_PB - * @static - * @param {IVariableForUserParams_PB=} [properties] Properties to set - * @returns {VariableForUserParams_PB} VariableForUserParams_PB instance - */ - VariableForUserParams_PB.create = function create(properties) { - return new VariableForUserParams_PB(properties); - }; - - /** - * Encodes the specified VariableForUserParams_PB message. Does not implicitly {@link VariableForUserParams_PB.verify|verify} messages. - * @function encode - * @memberof VariableForUserParams_PB - * @static - * @param {IVariableForUserParams_PB} message VariableForUserParams_PB message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VariableForUserParams_PB.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.sdkKey != null && Object.hasOwnProperty.call(message, "sdkKey")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.sdkKey); - if (message.variableKey != null && Object.hasOwnProperty.call(message, "variableKey")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.variableKey); - if (message.variableType != null && Object.hasOwnProperty.call(message, "variableType")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.variableType); - if (message.user != null && Object.hasOwnProperty.call(message, "user")) - $root.DVCUser_PB.encode(message.user, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.shouldTrackEvent != null && Object.hasOwnProperty.call(message, "shouldTrackEvent")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.shouldTrackEvent); - return writer; - }; - - /** - * Encodes the specified VariableForUserParams_PB message, length delimited. Does not implicitly {@link VariableForUserParams_PB.verify|verify} messages. - * @function encodeDelimited - * @memberof VariableForUserParams_PB - * @static - * @param {IVariableForUserParams_PB} message VariableForUserParams_PB message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VariableForUserParams_PB.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a VariableForUserParams_PB message from the specified reader or buffer. - * @function decode - * @memberof VariableForUserParams_PB - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {VariableForUserParams_PB} VariableForUserParams_PB - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VariableForUserParams_PB.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.VariableForUserParams_PB(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.sdkKey = reader.string(); - break; - } - case 2: { - message.variableKey = reader.string(); - break; - } - case 3: { - message.variableType = reader.int32(); - break; - } - case 4: { - message.user = $root.DVCUser_PB.decode(reader, reader.uint32()); - break; - } - case 5: { - message.shouldTrackEvent = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a VariableForUserParams_PB message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof VariableForUserParams_PB - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {VariableForUserParams_PB} VariableForUserParams_PB - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VariableForUserParams_PB.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a VariableForUserParams_PB message. - * @function verify - * @memberof VariableForUserParams_PB - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - VariableForUserParams_PB.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.sdkKey != null && message.hasOwnProperty("sdkKey")) - if (!$util.isString(message.sdkKey)) - return "sdkKey: string expected"; - if (message.variableKey != null && message.hasOwnProperty("variableKey")) - if (!$util.isString(message.variableKey)) - return "variableKey: string expected"; - if (message.variableType != null && message.hasOwnProperty("variableType")) - switch (message.variableType) { - default: - return "variableType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } - if (message.user != null && message.hasOwnProperty("user")) { - var error = $root.DVCUser_PB.verify(message.user); - if (error) - return "user." + error; - } - if (message.shouldTrackEvent != null && message.hasOwnProperty("shouldTrackEvent")) - if (typeof message.shouldTrackEvent !== "boolean") - return "shouldTrackEvent: boolean expected"; - return null; - }; - - /** - * Creates a VariableForUserParams_PB message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof VariableForUserParams_PB - * @static - * @param {Object.} object Plain object - * @returns {VariableForUserParams_PB} VariableForUserParams_PB - */ - VariableForUserParams_PB.fromObject = function fromObject(object) { - if (object instanceof $root.VariableForUserParams_PB) - return object; - var message = new $root.VariableForUserParams_PB(); - if (object.sdkKey != null) - message.sdkKey = String(object.sdkKey); - if (object.variableKey != null) - message.variableKey = String(object.variableKey); - switch (object.variableType) { - default: - if (typeof object.variableType === "number") { - message.variableType = object.variableType; - break; - } - break; - case "Boolean": - case 0: - message.variableType = 0; - break; - case "Number": - case 1: - message.variableType = 1; - break; - case "String": - case 2: - message.variableType = 2; - break; - case "JSON": - case 3: - message.variableType = 3; - break; - } - if (object.user != null) { - if (typeof object.user !== "object") - throw TypeError(".VariableForUserParams_PB.user: object expected"); - message.user = $root.DVCUser_PB.fromObject(object.user); - } - if (object.shouldTrackEvent != null) - message.shouldTrackEvent = Boolean(object.shouldTrackEvent); - return message; - }; - - /** - * Creates a plain object from a VariableForUserParams_PB message. Also converts values to other types if specified. - * @function toObject - * @memberof VariableForUserParams_PB - * @static - * @param {VariableForUserParams_PB} message VariableForUserParams_PB - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - VariableForUserParams_PB.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.sdkKey = ""; - object.variableKey = ""; - object.variableType = options.enums === String ? "Boolean" : 0; - object.user = null; - object.shouldTrackEvent = false; - } - if (message.sdkKey != null && message.hasOwnProperty("sdkKey")) - object.sdkKey = message.sdkKey; - if (message.variableKey != null && message.hasOwnProperty("variableKey")) - object.variableKey = message.variableKey; - if (message.variableType != null && message.hasOwnProperty("variableType")) - object.variableType = options.enums === String ? $root.VariableType_PB[message.variableType] === undefined ? message.variableType : $root.VariableType_PB[message.variableType] : message.variableType; - if (message.user != null && message.hasOwnProperty("user")) - object.user = $root.DVCUser_PB.toObject(message.user, options); - if (message.shouldTrackEvent != null && message.hasOwnProperty("shouldTrackEvent")) - object.shouldTrackEvent = message.shouldTrackEvent; - return object; - }; - - /** - * Converts this VariableForUserParams_PB to JSON. - * @function toJSON - * @memberof VariableForUserParams_PB - * @instance - * @returns {Object.} JSON object - */ - VariableForUserParams_PB.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for VariableForUserParams_PB - * @function getTypeUrl - * @memberof VariableForUserParams_PB - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - VariableForUserParams_PB.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/VariableForUserParams_PB"; - }; - - return VariableForUserParams_PB; -})(); - -$root.DVCUser_PB = (function() { - - /** - * Properties of a DVCUser_PB. - * @exports IDVCUser_PB - * @interface IDVCUser_PB - * @property {string|null} [user_id] DVCUser_PB user_id - * @property {INullableString|null} [email] DVCUser_PB email - * @property {INullableString|null} [name] DVCUser_PB name - * @property {INullableString|null} [language] DVCUser_PB language - * @property {INullableString|null} [country] DVCUser_PB country - * @property {INullableDouble|null} [appBuild] DVCUser_PB appBuild - * @property {INullableString|null} [appVersion] DVCUser_PB appVersion - * @property {INullableString|null} [deviceModel] DVCUser_PB deviceModel - * @property {INullableCustomData|null} [customData] DVCUser_PB customData - * @property {INullableCustomData|null} [privateCustomData] DVCUser_PB privateCustomData - */ - - /** - * Constructs a new DVCUser_PB. - * @exports DVCUser_PB - * @classdesc Represents a DVCUser_PB. - * @implements IDVCUser_PB - * @constructor - * @param {IDVCUser_PB=} [properties] Properties to set - */ - function DVCUser_PB(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * DVCUser_PB user_id. - * @member {string} user_id - * @memberof DVCUser_PB - * @instance - */ - DVCUser_PB.prototype.user_id = ""; - - /** - * DVCUser_PB email. - * @member {INullableString|null|undefined} email - * @memberof DVCUser_PB - * @instance - */ - DVCUser_PB.prototype.email = null; - - /** - * DVCUser_PB name. - * @member {INullableString|null|undefined} name - * @memberof DVCUser_PB - * @instance - */ - DVCUser_PB.prototype.name = null; - - /** - * DVCUser_PB language. - * @member {INullableString|null|undefined} language - * @memberof DVCUser_PB - * @instance - */ - DVCUser_PB.prototype.language = null; - - /** - * DVCUser_PB country. - * @member {INullableString|null|undefined} country - * @memberof DVCUser_PB - * @instance - */ - DVCUser_PB.prototype.country = null; - - /** - * DVCUser_PB appBuild. - * @member {INullableDouble|null|undefined} appBuild - * @memberof DVCUser_PB - * @instance - */ - DVCUser_PB.prototype.appBuild = null; - - /** - * DVCUser_PB appVersion. - * @member {INullableString|null|undefined} appVersion - * @memberof DVCUser_PB - * @instance - */ - DVCUser_PB.prototype.appVersion = null; - - /** - * DVCUser_PB deviceModel. - * @member {INullableString|null|undefined} deviceModel - * @memberof DVCUser_PB - * @instance - */ - DVCUser_PB.prototype.deviceModel = null; - - /** - * DVCUser_PB customData. - * @member {INullableCustomData|null|undefined} customData - * @memberof DVCUser_PB - * @instance - */ - DVCUser_PB.prototype.customData = null; - - /** - * DVCUser_PB privateCustomData. - * @member {INullableCustomData|null|undefined} privateCustomData - * @memberof DVCUser_PB - * @instance - */ - DVCUser_PB.prototype.privateCustomData = null; - - /** - * Creates a new DVCUser_PB instance using the specified properties. - * @function create - * @memberof DVCUser_PB - * @static - * @param {IDVCUser_PB=} [properties] Properties to set - * @returns {DVCUser_PB} DVCUser_PB instance - */ - DVCUser_PB.create = function create(properties) { - return new DVCUser_PB(properties); - }; - - /** - * Encodes the specified DVCUser_PB message. Does not implicitly {@link DVCUser_PB.verify|verify} messages. - * @function encode - * @memberof DVCUser_PB - * @static - * @param {IDVCUser_PB} message DVCUser_PB message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DVCUser_PB.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.user_id != null && Object.hasOwnProperty.call(message, "user_id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.user_id); - if (message.email != null && Object.hasOwnProperty.call(message, "email")) - $root.NullableString.encode(message.email, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - $root.NullableString.encode(message.name, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.language != null && Object.hasOwnProperty.call(message, "language")) - $root.NullableString.encode(message.language, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.country != null && Object.hasOwnProperty.call(message, "country")) - $root.NullableString.encode(message.country, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.appBuild != null && Object.hasOwnProperty.call(message, "appBuild")) - $root.NullableDouble.encode(message.appBuild, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.appVersion != null && Object.hasOwnProperty.call(message, "appVersion")) - $root.NullableString.encode(message.appVersion, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.deviceModel != null && Object.hasOwnProperty.call(message, "deviceModel")) - $root.NullableString.encode(message.deviceModel, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.customData != null && Object.hasOwnProperty.call(message, "customData")) - $root.NullableCustomData.encode(message.customData, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.privateCustomData != null && Object.hasOwnProperty.call(message, "privateCustomData")) - $root.NullableCustomData.encode(message.privateCustomData, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified DVCUser_PB message, length delimited. Does not implicitly {@link DVCUser_PB.verify|verify} messages. - * @function encodeDelimited - * @memberof DVCUser_PB - * @static - * @param {IDVCUser_PB} message DVCUser_PB message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - DVCUser_PB.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a DVCUser_PB message from the specified reader or buffer. - * @function decode - * @memberof DVCUser_PB - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {DVCUser_PB} DVCUser_PB - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DVCUser_PB.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.DVCUser_PB(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.user_id = reader.string(); - break; - } - case 2: { - message.email = $root.NullableString.decode(reader, reader.uint32()); - break; - } - case 3: { - message.name = $root.NullableString.decode(reader, reader.uint32()); - break; - } - case 4: { - message.language = $root.NullableString.decode(reader, reader.uint32()); - break; - } - case 5: { - message.country = $root.NullableString.decode(reader, reader.uint32()); - break; - } - case 6: { - message.appBuild = $root.NullableDouble.decode(reader, reader.uint32()); - break; - } - case 7: { - message.appVersion = $root.NullableString.decode(reader, reader.uint32()); - break; - } - case 8: { - message.deviceModel = $root.NullableString.decode(reader, reader.uint32()); - break; - } - case 9: { - message.customData = $root.NullableCustomData.decode(reader, reader.uint32()); - break; - } - case 10: { - message.privateCustomData = $root.NullableCustomData.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a DVCUser_PB message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof DVCUser_PB - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {DVCUser_PB} DVCUser_PB - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - DVCUser_PB.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a DVCUser_PB message. - * @function verify - * @memberof DVCUser_PB - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - DVCUser_PB.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.user_id != null && message.hasOwnProperty("user_id")) - if (!$util.isString(message.user_id)) - return "user_id: string expected"; - if (message.email != null && message.hasOwnProperty("email")) { - var error = $root.NullableString.verify(message.email); - if (error) - return "email." + error; - } - if (message.name != null && message.hasOwnProperty("name")) { - var error = $root.NullableString.verify(message.name); - if (error) - return "name." + error; - } - if (message.language != null && message.hasOwnProperty("language")) { - var error = $root.NullableString.verify(message.language); - if (error) - return "language." + error; - } - if (message.country != null && message.hasOwnProperty("country")) { - var error = $root.NullableString.verify(message.country); - if (error) - return "country." + error; - } - if (message.appBuild != null && message.hasOwnProperty("appBuild")) { - var error = $root.NullableDouble.verify(message.appBuild); - if (error) - return "appBuild." + error; - } - if (message.appVersion != null && message.hasOwnProperty("appVersion")) { - var error = $root.NullableString.verify(message.appVersion); - if (error) - return "appVersion." + error; - } - if (message.deviceModel != null && message.hasOwnProperty("deviceModel")) { - var error = $root.NullableString.verify(message.deviceModel); - if (error) - return "deviceModel." + error; - } - if (message.customData != null && message.hasOwnProperty("customData")) { - var error = $root.NullableCustomData.verify(message.customData); - if (error) - return "customData." + error; - } - if (message.privateCustomData != null && message.hasOwnProperty("privateCustomData")) { - var error = $root.NullableCustomData.verify(message.privateCustomData); - if (error) - return "privateCustomData." + error; - } - return null; - }; - - /** - * Creates a DVCUser_PB message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof DVCUser_PB - * @static - * @param {Object.} object Plain object - * @returns {DVCUser_PB} DVCUser_PB - */ - DVCUser_PB.fromObject = function fromObject(object) { - if (object instanceof $root.DVCUser_PB) - return object; - var message = new $root.DVCUser_PB(); - if (object.user_id != null) - message.user_id = String(object.user_id); - if (object.email != null) { - if (typeof object.email !== "object") - throw TypeError(".DVCUser_PB.email: object expected"); - message.email = $root.NullableString.fromObject(object.email); - } - if (object.name != null) { - if (typeof object.name !== "object") - throw TypeError(".DVCUser_PB.name: object expected"); - message.name = $root.NullableString.fromObject(object.name); - } - if (object.language != null) { - if (typeof object.language !== "object") - throw TypeError(".DVCUser_PB.language: object expected"); - message.language = $root.NullableString.fromObject(object.language); - } - if (object.country != null) { - if (typeof object.country !== "object") - throw TypeError(".DVCUser_PB.country: object expected"); - message.country = $root.NullableString.fromObject(object.country); - } - if (object.appBuild != null) { - if (typeof object.appBuild !== "object") - throw TypeError(".DVCUser_PB.appBuild: object expected"); - message.appBuild = $root.NullableDouble.fromObject(object.appBuild); - } - if (object.appVersion != null) { - if (typeof object.appVersion !== "object") - throw TypeError(".DVCUser_PB.appVersion: object expected"); - message.appVersion = $root.NullableString.fromObject(object.appVersion); - } - if (object.deviceModel != null) { - if (typeof object.deviceModel !== "object") - throw TypeError(".DVCUser_PB.deviceModel: object expected"); - message.deviceModel = $root.NullableString.fromObject(object.deviceModel); - } - if (object.customData != null) { - if (typeof object.customData !== "object") - throw TypeError(".DVCUser_PB.customData: object expected"); - message.customData = $root.NullableCustomData.fromObject(object.customData); - } - if (object.privateCustomData != null) { - if (typeof object.privateCustomData !== "object") - throw TypeError(".DVCUser_PB.privateCustomData: object expected"); - message.privateCustomData = $root.NullableCustomData.fromObject(object.privateCustomData); - } - return message; - }; - - /** - * Creates a plain object from a DVCUser_PB message. Also converts values to other types if specified. - * @function toObject - * @memberof DVCUser_PB - * @static - * @param {DVCUser_PB} message DVCUser_PB - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - DVCUser_PB.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.user_id = ""; - object.email = null; - object.name = null; - object.language = null; - object.country = null; - object.appBuild = null; - object.appVersion = null; - object.deviceModel = null; - object.customData = null; - object.privateCustomData = null; - } - if (message.user_id != null && message.hasOwnProperty("user_id")) - object.user_id = message.user_id; - if (message.email != null && message.hasOwnProperty("email")) - object.email = $root.NullableString.toObject(message.email, options); - if (message.name != null && message.hasOwnProperty("name")) - object.name = $root.NullableString.toObject(message.name, options); - if (message.language != null && message.hasOwnProperty("language")) - object.language = $root.NullableString.toObject(message.language, options); - if (message.country != null && message.hasOwnProperty("country")) - object.country = $root.NullableString.toObject(message.country, options); - if (message.appBuild != null && message.hasOwnProperty("appBuild")) - object.appBuild = $root.NullableDouble.toObject(message.appBuild, options); - if (message.appVersion != null && message.hasOwnProperty("appVersion")) - object.appVersion = $root.NullableString.toObject(message.appVersion, options); - if (message.deviceModel != null && message.hasOwnProperty("deviceModel")) - object.deviceModel = $root.NullableString.toObject(message.deviceModel, options); - if (message.customData != null && message.hasOwnProperty("customData")) - object.customData = $root.NullableCustomData.toObject(message.customData, options); - if (message.privateCustomData != null && message.hasOwnProperty("privateCustomData")) - object.privateCustomData = $root.NullableCustomData.toObject(message.privateCustomData, options); - return object; - }; - - /** - * Converts this DVCUser_PB to JSON. - * @function toJSON - * @memberof DVCUser_PB - * @instance - * @returns {Object.} JSON object - */ - DVCUser_PB.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for DVCUser_PB - * @function getTypeUrl - * @memberof DVCUser_PB - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - DVCUser_PB.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/DVCUser_PB"; - }; - - return DVCUser_PB; -})(); - -$root.SDKVariable_PB = (function() { - - /** - * Properties of a SDKVariable_PB. - * @exports ISDKVariable_PB - * @interface ISDKVariable_PB - * @property {string|null} [_id] SDKVariable_PB _id - * @property {VariableType_PB|null} [type] SDKVariable_PB type - * @property {string|null} [key] SDKVariable_PB key - * @property {boolean|null} [boolValue] SDKVariable_PB boolValue - * @property {number|null} [doubleValue] SDKVariable_PB doubleValue - * @property {string|null} [stringValue] SDKVariable_PB stringValue - * @property {INullableString|null} [evalReason] SDKVariable_PB evalReason - */ - - /** - * Constructs a new SDKVariable_PB. - * @exports SDKVariable_PB - * @classdesc Represents a SDKVariable_PB. - * @implements ISDKVariable_PB - * @constructor - * @param {ISDKVariable_PB=} [properties] Properties to set - */ - function SDKVariable_PB(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SDKVariable_PB _id. - * @member {string} _id - * @memberof SDKVariable_PB - * @instance - */ - SDKVariable_PB.prototype._id = ""; - - /** - * SDKVariable_PB type. - * @member {VariableType_PB} type - * @memberof SDKVariable_PB - * @instance - */ - SDKVariable_PB.prototype.type = 0; - - /** - * SDKVariable_PB key. - * @member {string} key - * @memberof SDKVariable_PB - * @instance - */ - SDKVariable_PB.prototype.key = ""; - - /** - * SDKVariable_PB boolValue. - * @member {boolean} boolValue - * @memberof SDKVariable_PB - * @instance - */ - SDKVariable_PB.prototype.boolValue = false; - - /** - * SDKVariable_PB doubleValue. - * @member {number} doubleValue - * @memberof SDKVariable_PB - * @instance - */ - SDKVariable_PB.prototype.doubleValue = 0; - - /** - * SDKVariable_PB stringValue. - * @member {string} stringValue - * @memberof SDKVariable_PB - * @instance - */ - SDKVariable_PB.prototype.stringValue = ""; - - /** - * SDKVariable_PB evalReason. - * @member {INullableString|null|undefined} evalReason - * @memberof SDKVariable_PB - * @instance - */ - SDKVariable_PB.prototype.evalReason = null; - - /** - * Creates a new SDKVariable_PB instance using the specified properties. - * @function create - * @memberof SDKVariable_PB - * @static - * @param {ISDKVariable_PB=} [properties] Properties to set - * @returns {SDKVariable_PB} SDKVariable_PB instance - */ - SDKVariable_PB.create = function create(properties) { - return new SDKVariable_PB(properties); - }; - - /** - * Encodes the specified SDKVariable_PB message. Does not implicitly {@link SDKVariable_PB.verify|verify} messages. - * @function encode - * @memberof SDKVariable_PB - * @static - * @param {ISDKVariable_PB} message SDKVariable_PB message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SDKVariable_PB.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message._id != null && Object.hasOwnProperty.call(message, "_id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message._id); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type); - if (message.key != null && Object.hasOwnProperty.call(message, "key")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.key); - if (message.boolValue != null && Object.hasOwnProperty.call(message, "boolValue")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.boolValue); - if (message.doubleValue != null && Object.hasOwnProperty.call(message, "doubleValue")) - writer.uint32(/* id 5, wireType 1 =*/41).double(message.doubleValue); - if (message.stringValue != null && Object.hasOwnProperty.call(message, "stringValue")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.stringValue); - if (message.evalReason != null && Object.hasOwnProperty.call(message, "evalReason")) - $root.NullableString.encode(message.evalReason, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified SDKVariable_PB message, length delimited. Does not implicitly {@link SDKVariable_PB.verify|verify} messages. - * @function encodeDelimited - * @memberof SDKVariable_PB - * @static - * @param {ISDKVariable_PB} message SDKVariable_PB message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SDKVariable_PB.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SDKVariable_PB message from the specified reader or buffer. - * @function decode - * @memberof SDKVariable_PB - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {SDKVariable_PB} SDKVariable_PB - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SDKVariable_PB.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SDKVariable_PB(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message._id = reader.string(); - break; - } - case 2: { - message.type = reader.int32(); - break; - } - case 3: { - message.key = reader.string(); - break; - } - case 4: { - message.boolValue = reader.bool(); - break; - } - case 5: { - message.doubleValue = reader.double(); - break; - } - case 6: { - message.stringValue = reader.string(); - break; - } - case 7: { - message.evalReason = $root.NullableString.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SDKVariable_PB message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof SDKVariable_PB - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {SDKVariable_PB} SDKVariable_PB - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SDKVariable_PB.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SDKVariable_PB message. - * @function verify - * @memberof SDKVariable_PB - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SDKVariable_PB.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message._id != null && message.hasOwnProperty("_id")) - if (!$util.isString(message._id)) - return "_id: string expected"; - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: - return "type: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } - if (message.key != null && message.hasOwnProperty("key")) - if (!$util.isString(message.key)) - return "key: string expected"; - if (message.boolValue != null && message.hasOwnProperty("boolValue")) - if (typeof message.boolValue !== "boolean") - return "boolValue: boolean expected"; - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) - if (typeof message.doubleValue !== "number") - return "doubleValue: number expected"; - if (message.stringValue != null && message.hasOwnProperty("stringValue")) - if (!$util.isString(message.stringValue)) - return "stringValue: string expected"; - if (message.evalReason != null && message.hasOwnProperty("evalReason")) { - var error = $root.NullableString.verify(message.evalReason); - if (error) - return "evalReason." + error; - } - return null; - }; - - /** - * Creates a SDKVariable_PB message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof SDKVariable_PB - * @static - * @param {Object.} object Plain object - * @returns {SDKVariable_PB} SDKVariable_PB - */ - SDKVariable_PB.fromObject = function fromObject(object) { - if (object instanceof $root.SDKVariable_PB) - return object; - var message = new $root.SDKVariable_PB(); - if (object._id != null) - message._id = String(object._id); - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; - } - break; - case "Boolean": - case 0: - message.type = 0; - break; - case "Number": - case 1: - message.type = 1; - break; - case "String": - case 2: - message.type = 2; - break; - case "JSON": - case 3: - message.type = 3; - break; - } - if (object.key != null) - message.key = String(object.key); - if (object.boolValue != null) - message.boolValue = Boolean(object.boolValue); - if (object.doubleValue != null) - message.doubleValue = Number(object.doubleValue); - if (object.stringValue != null) - message.stringValue = String(object.stringValue); - if (object.evalReason != null) { - if (typeof object.evalReason !== "object") - throw TypeError(".SDKVariable_PB.evalReason: object expected"); - message.evalReason = $root.NullableString.fromObject(object.evalReason); - } - return message; - }; - - /** - * Creates a plain object from a SDKVariable_PB message. Also converts values to other types if specified. - * @function toObject - * @memberof SDKVariable_PB - * @static - * @param {SDKVariable_PB} message SDKVariable_PB - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SDKVariable_PB.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object._id = ""; - object.type = options.enums === String ? "Boolean" : 0; - object.key = ""; - object.boolValue = false; - object.doubleValue = 0; - object.stringValue = ""; - object.evalReason = null; - } - if (message._id != null && message.hasOwnProperty("_id")) - object._id = message._id; - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.VariableType_PB[message.type] === undefined ? message.type : $root.VariableType_PB[message.type] : message.type; - if (message.key != null && message.hasOwnProperty("key")) - object.key = message.key; - if (message.boolValue != null && message.hasOwnProperty("boolValue")) - object.boolValue = message.boolValue; - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) - object.doubleValue = options.json && !isFinite(message.doubleValue) ? String(message.doubleValue) : message.doubleValue; - if (message.stringValue != null && message.hasOwnProperty("stringValue")) - object.stringValue = message.stringValue; - if (message.evalReason != null && message.hasOwnProperty("evalReason")) - object.evalReason = $root.NullableString.toObject(message.evalReason, options); - return object; - }; - - /** - * Converts this SDKVariable_PB to JSON. - * @function toJSON - * @memberof SDKVariable_PB - * @instance - * @returns {Object.} JSON object - */ - SDKVariable_PB.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SDKVariable_PB - * @function getTypeUrl - * @memberof SDKVariable_PB - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SDKVariable_PB.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/SDKVariable_PB"; - }; - - return SDKVariable_PB; -})(); - -module.exports = $root; diff --git a/sdk/nodejs/src/client.ts b/sdk/nodejs/src/client.ts index c3dcade87..92716fc58 100644 --- a/sdk/nodejs/src/client.ts +++ b/sdk/nodejs/src/client.ts @@ -386,63 +386,6 @@ export class DevCycleClient< }) } - /** - * Call this to obtain a config that is suitable for use in the "bootstrapConfig" option of client-side JS SDKs - * Useful for serverside-rendering use cases where the server performs the initial rendering pass, and provides it - * to the client along with the DevCycle config to allow hydration - * @param user - * @param userAgent - */ - async getClientBootstrapConfig( - user: DevCycleUser, - userAgent: string, - ): Promise { - const incomingUser = castIncomingUser(user) - - await this.onInitialized - - if (!this.clientConfigHelper) { - throw new Error( - 'enableClientBootstrapping option must be set to true to use getClientBootstrapConfig', - ) - } - - const clientSDKKey = getSDKKeyFromConfig( - this.bucketingLib, - `${this.sdkKey}_client`, - ) - - if (!clientSDKKey) { - throw new Error( - 'Client bootstrapping config is malformed. Please contact DevCycle support.', - ) - } - - try { - const { generateClientPopulatedUser } = await import( - './clientUser.js' - ) - const populatedUser = await generateClientPopulatedUser( - incomingUser, - userAgent, - ) - return { - ...bucketUserForConfig( - this.bucketingLib, - populatedUser, - `${this.sdkKey}_client`, - ), - clientSDKKey, - } - } catch (e) { - throw new Error( - '@devcycle/js-client-sdk package could not be found. ' + - 'Please install it to use client boostrapping. Error: ' + - e.message, - ) - } - } - async flushEvents(callback?: () => void): Promise { return this.bucketingImportPromise.then(() => this.eventQueue.flushEvents().then(callback), diff --git a/sdk/nodejs/src/clientUser.ts b/sdk/nodejs/src/clientUser.ts deleted file mode 100644 index 500bda481..000000000 --- a/sdk/nodejs/src/clientUser.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { DevCycleUser } from '@devcycle/js-cloud-server-sdk' - -/** - * This module handles client bootstrapping functionality that requires the js-client-sdk - * - * IMPORTANT: We intentionally keep this in a separate file and use dynamic imports - * with string concatenation to prevent TypeScript and bundlers from creating a hard - * dependency on @devcycle/js-client-sdk at build time. - * - * Why? - * 1. @devcycle/js-client-sdk is only needed for the optional client bootstrapping feature - * 2. We don't want to force all consumers to install this dependency if they don't use this feature - * 3. This technique allows the module to remain an optional peer dependency - * 4. The error handling in the client.ts file will provide a helpful message if the module is missing - * - * The string concatenation technique breaks static analysis of imports, preventing - * bundlers from trying to resolve or include the module during build time. - */ -export const generateClientPopulatedUser = async ( - user: DevCycleUser, - userAgent: string, -): Promise => { - const prefix = '@devcycle/' - const suffix = 'js-client-sdk' - const clientSdk = await import(prefix + suffix) - return new clientSdk.DVCPopulatedUser( - user, - {}, - undefined, - undefined, - userAgent ?? undefined, - ) -} diff --git a/yarn.lock b/yarn.lock index 6bd4ab3c7..1bc43cfaf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -54,6 +54,16 @@ __metadata: languageName: node linkType: hard +"@ampproject/remapping@npm:^2.1.0": + version: 2.2.0 + resolution: "@ampproject/remapping@npm:2.2.0" + dependencies: + "@jridgewell/gen-mapping": "npm:^0.1.0" + "@jridgewell/trace-mapping": "npm:^0.3.9" + checksum: 10/503a58d6e9d645a20debd34fa8df79fb435a79a34b1d487b9ff0be9f20712b1594ce21da16b63af7db8a6b34472212572e53a55613a5a6b3134b23fc74843d04 + languageName: node + linkType: hard + "@ampproject/remapping@npm:^2.2.0": version: 2.2.1 resolution: "@ampproject/remapping@npm:2.2.1" @@ -75,14 +85,185 @@ __metadata: languageName: node linkType: hard -"@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.26.8": +"@babel/code-frame@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/code-frame@npm:7.18.6" + dependencies: + "@babel/highlight": "npm:^7.18.6" + checksum: 10/195e2be3172d7684bf95cff69ae3b7a15a9841ea9d27d3c843662d50cdd7d6470fd9c8e64be84d031117e4a4083486effba39f9aef6bbb2c89f7f21bcfba33ba + languageName: node + linkType: hard + +"@babel/code-frame@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/code-frame@npm:7.21.4" + dependencies: + "@babel/highlight": "npm:^7.18.6" + checksum: 10/99236ead98f215a6b144f2d1fe84163c2714614fa6b9cbe32a547ca289554770aac8c6a0c0fb6a7477b68cf17b9b7a7d0c81b50edfbe9e5c2c8f514cc2c09549 + languageName: node + linkType: hard + +"@babel/code-frame@npm:^7.22.13": + version: 7.22.13 + resolution: "@babel/code-frame@npm:7.22.13" + dependencies: + "@babel/highlight": "npm:^7.22.13" + chalk: "npm:^2.4.2" + checksum: 10/bf6ae6ba3a510adfda6a211b4a89b0f1c98ca1352b745c077d113f3b568141e0d44ce750b9ac2a80143ba5c8c4080c50fcfc1aa11d86e194ea6785f62520eb5a + languageName: node + linkType: hard + +"@babel/code-frame@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/code-frame@npm:7.22.5" + dependencies: + "@babel/highlight": "npm:^7.22.5" + checksum: 10/b1ac7de75859699a9118c5247f489cc943d8d041339323904cd8140592993762f50abc14bc49b6703cb8a94b1aa90d6df2599625825e7ae470c9283b4a6170aa + languageName: node + linkType: hard + +"@babel/compat-data@npm:^7.17.10": + version: 7.17.10 + resolution: "@babel/compat-data@npm:7.17.10" + checksum: 10/aae484b855a407767bbf902cc4a6863998737a8a41a95e76e4903f7bc42d86e4aeffdda40d9ed2167bf03c0dfc5a9b047acd2179fa3a3a5ee086035c8d60e637 + languageName: node + linkType: hard + +"@babel/compat-data@npm:^7.19.1": + version: 7.19.1 + resolution: "@babel/compat-data@npm:7.19.1" + checksum: 10/e24c51d5bb5a7c6f23eee7ada6d98a304ac3a35b0f5995cbd3bbeac557d656163376961dc5e329d13a06e73b18a79740d72679710adfddf5d9fa26bd1e269502 + languageName: node + linkType: hard + +"@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.22.9": + version: 7.22.9 + resolution: "@babel/compat-data@npm:7.22.9" + checksum: 10/6797f59857917e57e1765811e4f48371f2bc6063274be012e380e83cbc1a4f7931d616c235df56404134aa4bb4775ee61f7b382688314e1b625a4d51caabd734 + languageName: node + linkType: hard + +"@babel/compat-data@npm:^7.22.0": + version: 7.22.3 + resolution: "@babel/compat-data@npm:7.22.3" + checksum: 10/d0a1acf739faa9b11757dbf5ddb11699af31c1d5ff339831d03e477c617beb205e8127125a8406ccb6f725a97a48cb1de170534f700ef40db02d8702d835a4a0 + languageName: node + linkType: hard + +"@babel/compat-data@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/compat-data@npm:7.22.5" + checksum: 10/18eb983dd250d94b4c794dd332bf80c4d2af147636991f214df19f15531fb6e405763f9bfec90de51dbbc368b9542bfd4f775cab74427adae0e80830cf0686dd + languageName: node + linkType: hard + +"@babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.23.2": + version: 7.23.2 + resolution: "@babel/compat-data@npm:7.23.2" + checksum: 10/c18eccd13975c1434a65d04f721075e30d03ba1608f4872d84e8538c16552b878aaac804ff31243d8c2c0e91524f3bc98de6305e117ba1a55c9956871973b4dc + languageName: node + linkType: hard + +"@babel/compat-data@npm:^7.26.8": version: 7.26.8 resolution: "@babel/compat-data@npm:7.26.8" checksum: 10/bdddf577f670e0e12996ef37e134856c8061032edb71a13418c3d4dae8135da28910b7cd6dec6e668ab3a41e42089ef7ee9c54ef52fe0860b54cb420b0d14948 languageName: node linkType: hard -"@babel/core@npm:^7.1.0, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.13.16, @babel/core@npm:^7.20.0, @babel/core@npm:^7.21.3, @babel/core@npm:^7.22.9, @babel/core@npm:^7.24.7, @babel/core@npm:^7.25.2, @babel/core@npm:^7.26.10, @babel/core@npm:^7.7.2": +"@babel/core@npm:^7.1.0, @babel/core@npm:^7.12.3, @babel/core@npm:^7.13.16, @babel/core@npm:^7.7.2": + version: 7.17.10 + resolution: "@babel/core@npm:7.17.10" + dependencies: + "@ampproject/remapping": "npm:^2.1.0" + "@babel/code-frame": "npm:^7.16.7" + "@babel/generator": "npm:^7.17.10" + "@babel/helper-compilation-targets": "npm:^7.17.10" + "@babel/helper-module-transforms": "npm:^7.17.7" + "@babel/helpers": "npm:^7.17.9" + "@babel/parser": "npm:^7.17.10" + "@babel/template": "npm:^7.16.7" + "@babel/traverse": "npm:^7.17.10" + "@babel/types": "npm:^7.17.10" + convert-source-map: "npm:^1.7.0" + debug: "npm:^4.1.0" + gensync: "npm:^1.0.0-beta.2" + json5: "npm:^2.2.1" + semver: "npm:^6.3.0" + checksum: 10/018b40bb6f2e34317af4682eae2e60e088b67f2d7c3540333a35c62c158f0ca28ec9084484a1a954a73284bb3671db9435b0d09e76fff90f88463324fee9b1a6 + languageName: node + linkType: hard + +"@babel/core@npm:^7.11.6": + version: 7.19.1 + resolution: "@babel/core@npm:7.19.1" + dependencies: + "@ampproject/remapping": "npm:^2.1.0" + "@babel/code-frame": "npm:^7.18.6" + "@babel/generator": "npm:^7.19.0" + "@babel/helper-compilation-targets": "npm:^7.19.1" + "@babel/helper-module-transforms": "npm:^7.19.0" + "@babel/helpers": "npm:^7.19.0" + "@babel/parser": "npm:^7.19.1" + "@babel/template": "npm:^7.18.10" + "@babel/traverse": "npm:^7.19.1" + "@babel/types": "npm:^7.19.0" + convert-source-map: "npm:^1.7.0" + debug: "npm:^4.1.0" + gensync: "npm:^1.0.0-beta.2" + json5: "npm:^2.2.1" + semver: "npm:^6.3.0" + checksum: 10/69e3d590d3385a1e8e5aa354ac45f1c50ba06600ea918e9d4179557efbb00c91443596fec6811aeceb7c4802aa91d58731000ea11729f7491e3d7014cfe71ef7 + languageName: node + linkType: hard + +"@babel/core@npm:^7.20.0, @babel/core@npm:^7.21.3": + version: 7.22.1 + resolution: "@babel/core@npm:7.22.1" + dependencies: + "@ampproject/remapping": "npm:^2.2.0" + "@babel/code-frame": "npm:^7.21.4" + "@babel/generator": "npm:^7.22.0" + "@babel/helper-compilation-targets": "npm:^7.22.1" + "@babel/helper-module-transforms": "npm:^7.22.1" + "@babel/helpers": "npm:^7.22.0" + "@babel/parser": "npm:^7.22.0" + "@babel/template": "npm:^7.21.9" + "@babel/traverse": "npm:^7.22.1" + "@babel/types": "npm:^7.22.0" + convert-source-map: "npm:^1.7.0" + debug: "npm:^4.1.0" + gensync: "npm:^1.0.0-beta.2" + json5: "npm:^2.2.2" + semver: "npm:^6.3.0" + checksum: 10/fd275b96c6f4eed3aca6886cbd25cb1443d8c101c3a1cdfeff34cbcff0fce0c9d6776f4f58c2fbce731ab660ab47e9fecf4b918ed27058094e1f0b9c3f659427 + languageName: node + linkType: hard + +"@babel/core@npm:^7.22.9": + version: 7.23.2 + resolution: "@babel/core@npm:7.23.2" + dependencies: + "@ampproject/remapping": "npm:^2.2.0" + "@babel/code-frame": "npm:^7.22.13" + "@babel/generator": "npm:^7.23.0" + "@babel/helper-compilation-targets": "npm:^7.22.15" + "@babel/helper-module-transforms": "npm:^7.23.0" + "@babel/helpers": "npm:^7.23.2" + "@babel/parser": "npm:^7.23.0" + "@babel/template": "npm:^7.22.15" + "@babel/traverse": "npm:^7.23.2" + "@babel/types": "npm:^7.23.0" + convert-source-map: "npm:^2.0.0" + debug: "npm:^4.1.0" + gensync: "npm:^1.0.0-beta.2" + json5: "npm:^2.2.3" + semver: "npm:^6.3.1" + checksum: 10/b69d7008695b2ac7a3a2db83c5c712fbb79f7031c4480f6351cde327930e38873003d1d021059b729a1d0cb48093f1d384c64269b78f6189f50051fe4f64dc2d + languageName: node + linkType: hard + +"@babel/core@npm:^7.24.7, @babel/core@npm:^7.25.2, @babel/core@npm:^7.26.10": version: 7.26.10 resolution: "@babel/core@npm:7.26.10" dependencies: @@ -105,6 +286,28 @@ __metadata: languageName: node linkType: hard +"@babel/generator@npm:^7.17.10": + version: 7.17.10 + resolution: "@babel/generator@npm:7.17.10" + dependencies: + "@babel/types": "npm:^7.17.10" + "@jridgewell/gen-mapping": "npm:^0.1.0" + jsesc: "npm:^2.5.1" + checksum: 10/32fa924433681d8122aa30a0833d4b25d400d075d143920f559352c066db4e656362d1863cfce316034d424f6345df8a64909cb2a8386e96198cc0ca18d6c4aa + languageName: node + linkType: hard + +"@babel/generator@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/generator@npm:7.19.0" + dependencies: + "@babel/types": "npm:^7.19.0" + "@jridgewell/gen-mapping": "npm:^0.3.2" + jsesc: "npm:^2.5.1" + checksum: 10/1e2483f65c07077a6aefbdd9e6f3c2d654a18a953b467698efb1aa6d7e0765d37d8eafc615ca3710a3d45814d0b4186ec3acc2cd07186735d6ce7d261e47e7c1 + languageName: node + linkType: hard + "@babel/generator@npm:^7.20.0, @babel/generator@npm:^7.25.0, @babel/generator@npm:^7.26.10, @babel/generator@npm:^7.27.0, @babel/generator@npm:^7.7.2": version: 7.27.0 resolution: "@babel/generator@npm:7.27.0" @@ -118,6 +321,60 @@ __metadata: languageName: node linkType: hard +"@babel/generator@npm:^7.22.0": + version: 7.22.3 + resolution: "@babel/generator@npm:7.22.3" + dependencies: + "@babel/types": "npm:^7.22.3" + "@jridgewell/gen-mapping": "npm:^0.3.2" + "@jridgewell/trace-mapping": "npm:^0.3.17" + jsesc: "npm:^2.5.1" + checksum: 10/fcada8c18fb59340aadc1bee765ee02f52086d72b4fa1bd039aba504dd449f2016396c5cccf970b838c4b4fed831b500f41f1651a2de3c648d2f32a4bf3d92af + languageName: node + linkType: hard + +"@babel/generator@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/generator@npm:7.23.0" + dependencies: + "@babel/types": "npm:^7.23.0" + "@jridgewell/gen-mapping": "npm:^0.3.2" + "@jridgewell/trace-mapping": "npm:^0.3.17" + jsesc: "npm:^2.5.1" + checksum: 10/bd1598bd356756065d90ce26968dd464ac2b915c67623f6f071fb487da5f9eb454031a380e20e7c9a7ce5c4a49d23be6cb9efde404952b0b3f3c0c3a9b73d68a + languageName: node + linkType: hard + +"@babel/generator@npm:^7.23.3": + version: 7.23.3 + resolution: "@babel/generator@npm:7.23.3" + dependencies: + "@babel/types": "npm:^7.23.3" + "@jridgewell/gen-mapping": "npm:^0.3.2" + "@jridgewell/trace-mapping": "npm:^0.3.17" + jsesc: "npm:^2.5.1" + checksum: 10/0f815d275cb3de97ec4724b959b3c7a67b1cde1861eda6612b50c6ba22565f12536d1f004dd48e7bad5e059751950265c6ff546ef48b7a719a11d7b512f1e29d + languageName: node + linkType: hard + +"@babel/helper-annotate-as-pure@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/helper-annotate-as-pure@npm:7.18.6" + dependencies: + "@babel/types": "npm:^7.18.6" + checksum: 10/88ccd15ced475ef2243fdd3b2916a29ea54c5db3cd0cfabf9d1d29ff6e63b7f7cd1c27264137d7a40ac2e978b9b9a542c332e78f40eb72abe737a7400788fc1b + languageName: node + linkType: hard + +"@babel/helper-annotate-as-pure@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-annotate-as-pure@npm:7.22.5" + dependencies: + "@babel/types": "npm:^7.22.5" + checksum: 10/53da330f1835c46f26b7bf4da31f7a496dee9fd8696cca12366b94ba19d97421ce519a74a837f687749318f94d1a37f8d1abcbf35e8ed22c32d16373b2f6198d + languageName: node + linkType: hard + "@babel/helper-annotate-as-pure@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-annotate-as-pure@npm:7.25.9" @@ -127,7 +384,44 @@ __metadata: languageName: node linkType: hard -"@babel/helper-compilation-targets@npm:^7.20.7, @babel/helper-compilation-targets@npm:^7.22.6, @babel/helper-compilation-targets@npm:^7.25.9, @babel/helper-compilation-targets@npm:^7.26.5": +"@babel/helper-builder-binary-assignment-operator-visitor@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-builder-binary-assignment-operator-visitor@npm:7.22.5" + dependencies: + "@babel/types": "npm:^7.22.5" + checksum: 10/d753acac62399fc6dd354cf1b9441bde0c331c2fe792a4c14904c5e5eafc3cac79478f6aa038e8a51c1148b0af6710a2e619855e4b5d54497ac972eaffed5884 + languageName: node + linkType: hard + +"@babel/helper-compilation-targets@npm:^7.17.10": + version: 7.17.10 + resolution: "@babel/helper-compilation-targets@npm:7.17.10" + dependencies: + "@babel/compat-data": "npm:^7.17.10" + "@babel/helper-validator-option": "npm:^7.16.7" + browserslist: "npm:^4.20.2" + semver: "npm:^6.3.0" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/2d431a0cc01e384d72afd10fa80e94a4e47f85fdb235309e5ebe64758c4ef3ef587a7b517ec1a2a0fd4c64bcbb96e2340f252276fcd32c10e24124f5869838ad + languageName: node + linkType: hard + +"@babel/helper-compilation-targets@npm:^7.19.1": + version: 7.19.1 + resolution: "@babel/helper-compilation-targets@npm:7.19.1" + dependencies: + "@babel/compat-data": "npm:^7.19.1" + "@babel/helper-validator-option": "npm:^7.18.6" + browserslist: "npm:^4.21.3" + semver: "npm:^6.3.0" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/8ede1c5159cb9f33736076d9ad343100410ab053fd022738a9e8230132dcb8487ac99d8a7aa38bb47cc4a73f892a5390fecef726232f5a57c378849918c46929 + languageName: node + linkType: hard + +"@babel/helper-compilation-targets@npm:^7.20.7, @babel/helper-compilation-targets@npm:^7.25.9, @babel/helper-compilation-targets@npm:^7.26.5": version: 7.27.0 resolution: "@babel/helper-compilation-targets@npm:7.27.0" dependencies: @@ -140,6 +434,49 @@ __metadata: languageName: node linkType: hard +"@babel/helper-compilation-targets@npm:^7.22.1": + version: 7.22.1 + resolution: "@babel/helper-compilation-targets@npm:7.22.1" + dependencies: + "@babel/compat-data": "npm:^7.22.0" + "@babel/helper-validator-option": "npm:^7.21.0" + browserslist: "npm:^4.21.3" + lru-cache: "npm:^5.1.1" + semver: "npm:^6.3.0" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/a5c033c2b560c037e044134653844f4f9f85b55ff24925d3831a31c794fc9749707213412aeeea3fa1abfe8817dba3072512f2909940fe17ca74452bbdf6ba28 + languageName: node + linkType: hard + +"@babel/helper-compilation-targets@npm:^7.22.15, @babel/helper-compilation-targets@npm:^7.22.6": + version: 7.22.15 + resolution: "@babel/helper-compilation-targets@npm:7.22.15" + dependencies: + "@babel/compat-data": "npm:^7.22.9" + "@babel/helper-validator-option": "npm:^7.22.15" + browserslist: "npm:^4.21.9" + lru-cache: "npm:^5.1.1" + semver: "npm:^6.3.1" + checksum: 10/9706decaa1591cf44511b6f3447eb9653b50ca3538215fe2e5387a8598c258c062f4622da5b95e61f0415706534deee619bbf53a2889f9bd967949b8f6024e0e + languageName: node + linkType: hard + +"@babel/helper-compilation-targets@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-compilation-targets@npm:7.22.5" + dependencies: + "@babel/compat-data": "npm:^7.22.5" + "@babel/helper-validator-option": "npm:^7.22.5" + browserslist: "npm:^4.21.3" + lru-cache: "npm:^5.1.1" + semver: "npm:^6.3.0" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/aff56630b85481d7fa1f268fecc6f70df30c06df5073ea72cd422caccb957a0504f119d9681952f7f7b024f27117dc5e9147a48cc0046c2d84856eae92bfae03 + languageName: node + linkType: hard + "@babel/helper-create-class-features-plugin@npm:^7.18.6, @babel/helper-create-class-features-plugin@npm:^7.25.9, @babel/helper-create-class-features-plugin@npm:^7.27.0": version: 7.27.0 resolution: "@babel/helper-create-class-features-plugin@npm:7.27.0" @@ -157,6 +494,63 @@ __metadata: languageName: node linkType: hard +"@babel/helper-create-class-features-plugin@npm:^7.22.1": + version: 7.22.1 + resolution: "@babel/helper-create-class-features-plugin@npm:7.22.1" + dependencies: + "@babel/helper-annotate-as-pure": "npm:^7.18.6" + "@babel/helper-environment-visitor": "npm:^7.22.1" + "@babel/helper-function-name": "npm:^7.21.0" + "@babel/helper-member-expression-to-functions": "npm:^7.22.0" + "@babel/helper-optimise-call-expression": "npm:^7.18.6" + "@babel/helper-replace-supers": "npm:^7.22.1" + "@babel/helper-skip-transparent-expression-wrappers": "npm:^7.20.0" + "@babel/helper-split-export-declaration": "npm:^7.18.6" + semver: "npm:^6.3.0" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/eee69b757024e51b499528113d610d0ac071ac8ce30af7a5ae56a7929a5617ec52e4e26a134d25711908da000caffcef3f1f3e960449c046ea5dfaeb6d396009 + languageName: node + linkType: hard + +"@babel/helper-create-class-features-plugin@npm:^7.22.11, @babel/helper-create-class-features-plugin@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/helper-create-class-features-plugin@npm:7.22.15" + dependencies: + "@babel/helper-annotate-as-pure": "npm:^7.22.5" + "@babel/helper-environment-visitor": "npm:^7.22.5" + "@babel/helper-function-name": "npm:^7.22.5" + "@babel/helper-member-expression-to-functions": "npm:^7.22.15" + "@babel/helper-optimise-call-expression": "npm:^7.22.5" + "@babel/helper-replace-supers": "npm:^7.22.9" + "@babel/helper-skip-transparent-expression-wrappers": "npm:^7.22.5" + "@babel/helper-split-export-declaration": "npm:^7.22.6" + semver: "npm:^6.3.1" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/000d29f1df397b7fdcb97ad0e9a442781787e5cb0456a9b8da690d13e03549a716bf74348029d3bd3fa4837b35d143a535cad1006f9d552063799ecdd96df672 + languageName: node + linkType: hard + +"@babel/helper-create-class-features-plugin@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-create-class-features-plugin@npm:7.22.5" + dependencies: + "@babel/helper-annotate-as-pure": "npm:^7.22.5" + "@babel/helper-environment-visitor": "npm:^7.22.5" + "@babel/helper-function-name": "npm:^7.22.5" + "@babel/helper-member-expression-to-functions": "npm:^7.22.5" + "@babel/helper-optimise-call-expression": "npm:^7.22.5" + "@babel/helper-replace-supers": "npm:^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers": "npm:^7.22.5" + "@babel/helper-split-export-declaration": "npm:^7.22.5" + semver: "npm:^6.3.0" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/778bd7ebe10cf4f28502d49576746142701b86d97304fa58b9171f1e02b684eb860eb7a80dcedfbacf031e91cc98b7df85f1be7ea380b62627c6b43ce5592095 + languageName: node + linkType: hard + "@babel/helper-create-regexp-features-plugin@npm:^7.18.6, @babel/helper-create-regexp-features-plugin@npm:^7.25.9": version: 7.27.0 resolution: "@babel/helper-create-regexp-features-plugin@npm:7.27.0" @@ -170,6 +564,34 @@ __metadata: languageName: node linkType: hard +"@babel/helper-create-regexp-features-plugin@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-create-regexp-features-plugin@npm:7.22.5" + dependencies: + "@babel/helper-annotate-as-pure": "npm:^7.22.5" + regexpu-core: "npm:^5.3.1" + semver: "npm:^6.3.0" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/a6c2583918a0b4b66f23a7209ea9f430fc346360376684788c08c13fb31a1a55be6d0f1acd597f2689831045d31aadaee6e45e1f18d819b9088e900928512581 + languageName: node + linkType: hard + +"@babel/helper-define-polyfill-provider@npm:^0.4.3": + version: 0.4.3 + resolution: "@babel/helper-define-polyfill-provider@npm:0.4.3" + dependencies: + "@babel/helper-compilation-targets": "npm:^7.22.6" + "@babel/helper-plugin-utils": "npm:^7.22.5" + debug: "npm:^4.1.1" + lodash.debounce: "npm:^4.0.8" + resolve: "npm:^1.14.2" + peerDependencies: + "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 + checksum: 10/9ab9d6a2cfaffc44f8b7ad661b642b03f31597282557686b7f4c64f67acd3c5844d4eac028e63d238819bcec0549ddef7dc0539d10966ace96f4c61e97b33138 + languageName: node + linkType: hard + "@babel/helper-define-polyfill-provider@npm:^0.6.3, @babel/helper-define-polyfill-provider@npm:^0.6.4": version: 0.6.4 resolution: "@babel/helper-define-polyfill-provider@npm:0.6.4" @@ -185,6 +607,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-environment-visitor@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/helper-environment-visitor@npm:7.16.7" + dependencies: + "@babel/types": "npm:^7.16.7" + checksum: 10/c03a10105d9ebd1fe632a77356b2e6e2f3c44edba9a93b0dc3591b6a66bd7a2e323dd9502f9ce96fc6401234abff1907aa877b6674f7826b61c953f7c8204bbe + languageName: node + linkType: hard + "@babel/helper-environment-visitor@npm:^7.18.9": version: 7.24.7 resolution: "@babel/helper-environment-visitor@npm:7.24.7" @@ -194,6 +625,93 @@ __metadata: languageName: node linkType: hard +"@babel/helper-environment-visitor@npm:^7.22.1": + version: 7.22.1 + resolution: "@babel/helper-environment-visitor@npm:7.22.1" + checksum: 10/a6b4bb5505453bff95518d361ac1de393f0029aeb8b690c70540f4317934c53c43cc4afcda8c752ffa8c272e63ed6b929a56eca28e4978424177b24238b21bf9 + languageName: node + linkType: hard + +"@babel/helper-environment-visitor@npm:^7.22.20": + version: 7.22.20 + resolution: "@babel/helper-environment-visitor@npm:7.22.20" + checksum: 10/d80ee98ff66f41e233f36ca1921774c37e88a803b2f7dca3db7c057a5fea0473804db9fb6729e5dbfd07f4bed722d60f7852035c2c739382e84c335661590b69 + languageName: node + linkType: hard + +"@babel/helper-environment-visitor@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-environment-visitor@npm:7.22.5" + checksum: 10/248532077d732a34cd0844eb7b078ff917c3a8ec81a7f133593f71a860a582f05b60f818dc5049c2212e5baa12289c27889a4b81d56ef409b4863db49646c4b1 + languageName: node + linkType: hard + +"@babel/helper-function-name@npm:^7.21.0": + version: 7.21.0 + resolution: "@babel/helper-function-name@npm:7.21.0" + dependencies: + "@babel/template": "npm:^7.20.7" + "@babel/types": "npm:^7.21.0" + checksum: 10/33d6e1eca48741f86f7073dc5e38220f7fef310ad5bda3354bea322b2a9a2d89a029fa82fac62514dfc16e3f57053fc9f29f11a32d9c2688d914e3a60692b4a5 + languageName: node + linkType: hard + +"@babel/helper-function-name@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-function-name@npm:7.22.5" + dependencies: + "@babel/template": "npm:^7.22.5" + "@babel/types": "npm:^7.22.5" + checksum: 10/6d02e304a45fe2a64d69dfa5b4fdfd6d68e08deb32b0a528e7b99403d664e9207e6b856787a8ff3f420e77d15987ac1de4eb869906e6ed764b67b07c804d20ba + languageName: node + linkType: hard + +"@babel/helper-function-name@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/helper-function-name@npm:7.23.0" + dependencies: + "@babel/template": "npm:^7.22.15" + "@babel/types": "npm:^7.23.0" + checksum: 10/7b2ae024cd7a09f19817daf99e0153b3bf2bc4ab344e197e8d13623d5e36117ed0b110914bc248faa64e8ccd3e97971ec7b41cc6fd6163a2b980220c58dcdf6d + languageName: node + linkType: hard + +"@babel/helper-hoist-variables@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-hoist-variables@npm:7.22.5" + dependencies: + "@babel/types": "npm:^7.22.5" + checksum: 10/394ca191b4ac908a76e7c50ab52102669efe3a1c277033e49467913c7ed6f7c64d7eacbeabf3bed39ea1f41731e22993f763b1edce0f74ff8563fd1f380d92cc + languageName: node + linkType: hard + +"@babel/helper-member-expression-to-functions@npm:^7.22.0": + version: 7.22.3 + resolution: "@babel/helper-member-expression-to-functions@npm:7.22.3" + dependencies: + "@babel/types": "npm:^7.22.3" + checksum: 10/f13d2bfb2679e34f55a4958ffe4539d759b063e46a7a266902b9877161450eb1d547640fc1bb7bb6bde1a6bb122a3ab9e937732d31dec8f08c1a9ebaf32ef273 + languageName: node + linkType: hard + +"@babel/helper-member-expression-to-functions@npm:^7.22.15": + version: 7.23.0 + resolution: "@babel/helper-member-expression-to-functions@npm:7.23.0" + dependencies: + "@babel/types": "npm:^7.23.0" + checksum: 10/325feb6e200478c8cd6e10433fabe993a7d3315cc1a2a457e45514a5f95a73dff4c69bea04cc2daea0ffe72d8ed85d504b3f00b2e0767b7d4f5ae25fec9b35b2 + languageName: node + linkType: hard + +"@babel/helper-member-expression-to-functions@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-member-expression-to-functions@npm:7.22.5" + dependencies: + "@babel/types": "npm:^7.22.5" + checksum: 10/bb51f195c17d8d98ca5fda630fed436643d27f094f3c936f670b43cb05865f192900f455ffb730c8d4310702b2211996a90354fd55ae8659b096bc6c75d36ec5 + languageName: node + linkType: hard + "@babel/helper-member-expression-to-functions@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-member-expression-to-functions@npm:7.25.9" @@ -214,6 +732,130 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-imports@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/helper-module-imports@npm:7.16.7" + dependencies: + "@babel/types": "npm:^7.16.7" + checksum: 10/f48cb485be7cad70c3fdcbc1d6d104732565288fe5dd38575be4b6dd577aa606a0e7553078cebf91bea5182e1b059bcc5b6882cd1f8ccb9013d6c76b6ff136ff + languageName: node + linkType: hard + +"@babel/helper-module-imports@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/helper-module-imports@npm:7.18.6" + dependencies: + "@babel/types": "npm:^7.18.6" + checksum: 10/75b0d510271c2d220c426ec1174666febbe8ce520e66f99f87e8944acddaf5d1e88167fe500a1c8e46a770a5cb916e566d3b514ec0af6cbdac93089ed8200716 + languageName: node + linkType: hard + +"@babel/helper-module-imports@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/helper-module-imports@npm:7.21.4" + dependencies: + "@babel/types": "npm:^7.21.4" + checksum: 10/cb276e37180f541f379b36f6aa9f1bd2d2ae50ebc967bb342d2f42acf7fb4f97c474c4e82262b26f3a89c2f11c3efad54dfca152d5b86db9d3e4810fdb92121b + languageName: node + linkType: hard + +"@babel/helper-module-imports@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/helper-module-imports@npm:7.22.15" + dependencies: + "@babel/types": "npm:^7.22.15" + checksum: 10/5ecf9345a73b80c28677cfbe674b9f567bb0d079e37dcba9055e36cb337db24ae71992a58e1affa9d14a60d3c69907d30fe1f80aea105184501750a58d15c81c + languageName: node + linkType: hard + +"@babel/helper-module-imports@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-module-imports@npm:7.22.5" + dependencies: + "@babel/types": "npm:^7.22.5" + checksum: 10/d8296447c0cdc3c02417ba32864da3374e53bd2763a6c404aae118987c222c47238d9d1f4fd2a88250a85e0a68eff38d878c491b00c56d9bd20e809f91eb41b4 + languageName: node + linkType: hard + +"@babel/helper-module-transforms@npm:^7.17.7": + version: 7.17.7 + resolution: "@babel/helper-module-transforms@npm:7.17.7" + dependencies: + "@babel/helper-environment-visitor": "npm:^7.16.7" + "@babel/helper-module-imports": "npm:^7.16.7" + "@babel/helper-simple-access": "npm:^7.17.7" + "@babel/helper-split-export-declaration": "npm:^7.16.7" + "@babel/helper-validator-identifier": "npm:^7.16.7" + "@babel/template": "npm:^7.16.7" + "@babel/traverse": "npm:^7.17.3" + "@babel/types": "npm:^7.17.0" + checksum: 10/d11a4adbc3fa14b94d9fb7db96f87a268c31b5ce4e4d112e62ef23c7f54154b941869cf6065a844b656bf0c51f998793006c21e607d5415b62dc0c33de7a8359 + languageName: node + linkType: hard + +"@babel/helper-module-transforms@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/helper-module-transforms@npm:7.19.0" + dependencies: + "@babel/helper-environment-visitor": "npm:^7.18.9" + "@babel/helper-module-imports": "npm:^7.18.6" + "@babel/helper-simple-access": "npm:^7.18.6" + "@babel/helper-split-export-declaration": "npm:^7.18.6" + "@babel/helper-validator-identifier": "npm:^7.18.6" + "@babel/template": "npm:^7.18.10" + "@babel/traverse": "npm:^7.19.0" + "@babel/types": "npm:^7.19.0" + checksum: 10/a99053240155532bb8a7de0984844e50a0673a9ff91a4bd62c36a12505c61a6dafce795655249f9eb8b0697c254d1e539d421c695867226fc585bd146ef261e1 + languageName: node + linkType: hard + +"@babel/helper-module-transforms@npm:^7.21.5, @babel/helper-module-transforms@npm:^7.22.1": + version: 7.22.1 + resolution: "@babel/helper-module-transforms@npm:7.22.1" + dependencies: + "@babel/helper-environment-visitor": "npm:^7.22.1" + "@babel/helper-module-imports": "npm:^7.21.4" + "@babel/helper-simple-access": "npm:^7.21.5" + "@babel/helper-split-export-declaration": "npm:^7.18.6" + "@babel/helper-validator-identifier": "npm:^7.19.1" + "@babel/template": "npm:^7.21.9" + "@babel/traverse": "npm:^7.22.1" + "@babel/types": "npm:^7.22.0" + checksum: 10/66a6a964dbf64342ff9d07627b88ea12de13734b15df70cdf397ea91c8068a4b9d32ddf8dad348c5980c2c09db8ea1f1cdb9cf1b65a0f469e5b9294653c7d0a6 + languageName: node + linkType: hard + +"@babel/helper-module-transforms@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-module-transforms@npm:7.22.5" + dependencies: + "@babel/helper-environment-visitor": "npm:^7.22.5" + "@babel/helper-module-imports": "npm:^7.22.5" + "@babel/helper-simple-access": "npm:^7.22.5" + "@babel/helper-split-export-declaration": "npm:^7.22.5" + "@babel/helper-validator-identifier": "npm:^7.22.5" + "@babel/template": "npm:^7.22.5" + "@babel/traverse": "npm:^7.22.5" + "@babel/types": "npm:^7.22.5" + checksum: 10/1ebe1e0458f7eaaf085953888df4311ca1a2cdac15a656c63a7f9c5ecd003993cf3eb41ad1545d0e41039955f8d2f8fa64747a9419ae32bbf5bea532a51fa9f4 + languageName: node + linkType: hard + +"@babel/helper-module-transforms@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/helper-module-transforms@npm:7.23.0" + dependencies: + "@babel/helper-environment-visitor": "npm:^7.22.20" + "@babel/helper-module-imports": "npm:^7.22.15" + "@babel/helper-simple-access": "npm:^7.22.5" + "@babel/helper-split-export-declaration": "npm:^7.22.6" + "@babel/helper-validator-identifier": "npm:^7.22.20" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/d72fe444f7b6c5aadaac8f393298d603eedd48e5dead67273a48e5c83a677cbccbd8a12a06c5bf5d97924666083279158a4bd0e799d28b86cbbfacba9e41f598 + languageName: node + linkType: hard + "@babel/helper-module-transforms@npm:^7.25.9, @babel/helper-module-transforms@npm:^7.26.0": version: 7.26.0 resolution: "@babel/helper-module-transforms@npm:7.26.0" @@ -227,6 +869,24 @@ __metadata: languageName: node linkType: hard +"@babel/helper-optimise-call-expression@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/helper-optimise-call-expression@npm:7.18.6" + dependencies: + "@babel/types": "npm:^7.18.6" + checksum: 10/e518fe8418571405e21644cfb39cf694f30b6c47b10b006609a92469ae8b8775cbff56f0b19732343e2ea910641091c5a2dc73b56ceba04e116a33b0f8bd2fbd + languageName: node + linkType: hard + +"@babel/helper-optimise-call-expression@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-optimise-call-expression@npm:7.22.5" + dependencies: + "@babel/types": "npm:^7.22.5" + checksum: 10/c70ef6cc6b6ed32eeeec4482127e8be5451d0e5282d5495d5d569d39eb04d7f1d66ec99b327f45d1d5842a9ad8c22d48567e93fc502003a47de78d122e355f7c + languageName: node + linkType: hard + "@babel/helper-optimise-call-expression@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-optimise-call-expression@npm:7.25.9" @@ -236,13 +896,41 @@ __metadata: languageName: node linkType: hard -"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.20.2, @babel/helper-plugin-utils@npm:^7.22.5, @babel/helper-plugin-utils@npm:^7.25.9, @babel/helper-plugin-utils@npm:^7.26.5, @babel/helper-plugin-utils@npm:^7.8.0": +"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.25.9, @babel/helper-plugin-utils@npm:^7.26.5, @babel/helper-plugin-utils@npm:^7.8.0": version: 7.26.5 resolution: "@babel/helper-plugin-utils@npm:7.26.5" checksum: 10/1cc0fd8514da3bb249bed6c27227696ab5e84289749d7258098701cffc0c599b7f61ec40dd332f8613030564b79899d9826813c96f966330bcfc7145a8377857 languageName: node linkType: hard +"@babel/helper-plugin-utils@npm:^7.16.7, @babel/helper-plugin-utils@npm:^7.8.3": + version: 7.16.7 + resolution: "@babel/helper-plugin-utils@npm:7.16.7" + checksum: 10/d08dd86554a186c2538547cd537552e4029f704994a9201d41d82015c10ed7f58f9036e8d1527c3760f042409163269d308b0b3706589039c5f1884619c6d4ce + languageName: node + linkType: hard + +"@babel/helper-plugin-utils@npm:^7.18.6": + version: 7.19.0 + resolution: "@babel/helper-plugin-utils@npm:7.19.0" + checksum: 10/dea0e4340b6d3a943c8fe62db5d6d8c5a5238d6d3cbd24620b59d4cef13d90a1a835df42341688d0a998c0cb145ee30e9fc9c4ba6bc132bbdd73cbd0b3165930 + languageName: node + linkType: hard + +"@babel/helper-plugin-utils@npm:^7.20.2, @babel/helper-plugin-utils@npm:^7.21.5": + version: 7.21.5 + resolution: "@babel/helper-plugin-utils@npm:7.21.5" + checksum: 10/e84986c6e17451f3868ad6a94176f40e96fde77ab89e266ab6f5d3e776544d2d5cbe003767dfef15c6de461f0dc0688000a52c1c6dae4ee9157ed8acfc46bf0e + languageName: node + linkType: hard + +"@babel/helper-plugin-utils@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-plugin-utils@npm:7.22.5" + checksum: 10/ab220db218089a2aadd0582f5833fd17fa300245999f5f8784b10f5a75267c4e808592284a29438a0da365e702f05acb369f99e1c915c02f9f9210ec60eab8ea + languageName: node + linkType: hard + "@babel/helper-remap-async-to-generator@npm:^7.18.9, @babel/helper-remap-async-to-generator@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-remap-async-to-generator@npm:7.25.9" @@ -256,6 +944,74 @@ __metadata: languageName: node linkType: hard +"@babel/helper-remap-async-to-generator@npm:^7.22.20": + version: 7.22.20 + resolution: "@babel/helper-remap-async-to-generator@npm:7.22.20" + dependencies: + "@babel/helper-annotate-as-pure": "npm:^7.22.5" + "@babel/helper-environment-visitor": "npm:^7.22.20" + "@babel/helper-wrap-function": "npm:^7.22.20" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/2fe6300a6f1b58211dffa0aed1b45d4958506d096543663dba83bd9251fe8d670fa909143a65b45e72acb49e7e20fbdb73eae315d9ddaced467948c3329986e7 + languageName: node + linkType: hard + +"@babel/helper-remap-async-to-generator@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-remap-async-to-generator@npm:7.22.5" + dependencies: + "@babel/helper-annotate-as-pure": "npm:^7.22.5" + "@babel/helper-environment-visitor": "npm:^7.22.5" + "@babel/helper-wrap-function": "npm:^7.22.5" + "@babel/types": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/1e51dcff1c22e97ea3d22034b77788048eb6d8c6860325bd7a1046b7a7135730cefd93b5c96fd9839d76031095d5ffb6f0cd6ee90a5d69a4c7de980d7f4623d9 + languageName: node + linkType: hard + +"@babel/helper-replace-supers@npm:^7.22.1": + version: 7.22.1 + resolution: "@babel/helper-replace-supers@npm:7.22.1" + dependencies: + "@babel/helper-environment-visitor": "npm:^7.22.1" + "@babel/helper-member-expression-to-functions": "npm:^7.22.0" + "@babel/helper-optimise-call-expression": "npm:^7.18.6" + "@babel/template": "npm:^7.21.9" + "@babel/traverse": "npm:^7.22.1" + "@babel/types": "npm:^7.22.0" + checksum: 10/df9e748ef57bf069af1ab80a042a80020baddbe300729267c72c75d3b456498dbbecf82eebfb67a7d8e2fd4a94b5c2470ff0146f29e35b13e8da83842aa57ebd + languageName: node + linkType: hard + +"@babel/helper-replace-supers@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-replace-supers@npm:7.22.5" + dependencies: + "@babel/helper-environment-visitor": "npm:^7.22.5" + "@babel/helper-member-expression-to-functions": "npm:^7.22.5" + "@babel/helper-optimise-call-expression": "npm:^7.22.5" + "@babel/template": "npm:^7.22.5" + "@babel/traverse": "npm:^7.22.5" + "@babel/types": "npm:^7.22.5" + checksum: 10/da219df60dfd7b22ad5dd514112a8fc93d5f916821fe4cc7fdb5c5d24b2efed478974363af9142b23b7fc1e15de5b0d9ce8431a13e28dabf335a8a5eec4fa223 + languageName: node + linkType: hard + +"@babel/helper-replace-supers@npm:^7.22.9": + version: 7.22.9 + resolution: "@babel/helper-replace-supers@npm:7.22.9" + dependencies: + "@babel/helper-environment-visitor": "npm:^7.22.5" + "@babel/helper-member-expression-to-functions": "npm:^7.22.5" + "@babel/helper-optimise-call-expression": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/b5a740a95f12250b67afe30574ad60fa44175db92441658c6c3e8f473fcb8f8eaffd24fdad436cdfa1beee21b470d1190d64a0bb97b444525ca952e6cc081dc9 + languageName: node + linkType: hard + "@babel/helper-replace-supers@npm:^7.25.9, @babel/helper-replace-supers@npm:^7.26.5": version: 7.26.5 resolution: "@babel/helper-replace-supers@npm:7.26.5" @@ -269,6 +1025,42 @@ __metadata: languageName: node linkType: hard +"@babel/helper-simple-access@npm:^7.17.7": + version: 7.17.7 + resolution: "@babel/helper-simple-access@npm:7.17.7" + dependencies: + "@babel/types": "npm:^7.17.0" + checksum: 10/58a9bfd054720024f6ff47fbb113c96061dc2bd31a5e5285756bd3c2e83918c6926900e00150d0fb175d899494fe7d69bf2a8b278c32ef6f6bea8d032e6a3831 + languageName: node + linkType: hard + +"@babel/helper-simple-access@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/helper-simple-access@npm:7.18.6" + dependencies: + "@babel/types": "npm:^7.18.6" + checksum: 10/37cd36eef199e0517845763c1e6ff6ea5e7876d6d707a6f59c9267c547a50aa0e84260ba9285d49acfaf2cfa0a74a772d92967f32ac1024c961517d40b6c16a5 + languageName: node + linkType: hard + +"@babel/helper-simple-access@npm:^7.21.5": + version: 7.21.5 + resolution: "@babel/helper-simple-access@npm:7.21.5" + dependencies: + "@babel/types": "npm:^7.21.5" + checksum: 10/a31207d263b860f470f0ba3bf7c5262de8d1119fa6ed3f69ee64692e3336c21b9044dce89732bb8a4c2cf50b7478157b43dc632818d3cbae49b2fd7313c9b99d + languageName: node + linkType: hard + +"@babel/helper-simple-access@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-simple-access@npm:7.22.5" + dependencies: + "@babel/types": "npm:^7.22.5" + checksum: 10/7d5430eecf880937c27d1aed14245003bd1c7383ae07d652b3932f450f60bfcf8f2c1270c593ab063add185108d26198c69d1aca0e6fb7c6fdada4bcf72ab5b7 + languageName: node + linkType: hard + "@babel/helper-skip-transparent-expression-wrappers@npm:^7.20.0, @babel/helper-skip-transparent-expression-wrappers@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.25.9" @@ -279,6 +1071,72 @@ __metadata: languageName: node linkType: hard +"@babel/helper-skip-transparent-expression-wrappers@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.22.5" + dependencies: + "@babel/types": "npm:^7.22.5" + checksum: 10/1012ef2295eb12dc073f2b9edf3425661e9b8432a3387e62a8bc27c42963f1f216ab3124228015c748770b2257b4f1fda882ca8fa34c0bf485e929ae5bc45244 + languageName: node + linkType: hard + +"@babel/helper-split-export-declaration@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/helper-split-export-declaration@npm:7.16.7" + dependencies: + "@babel/types": "npm:^7.16.7" + checksum: 10/e10aaf135465c55114627951b79115f24bc7af72ecbb58d541d66daf1edaee5dde7cae3ec8c3639afaf74526c03ae3ce723444e3b5b3dc77140c456cd84bcaa1 + languageName: node + linkType: hard + +"@babel/helper-split-export-declaration@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/helper-split-export-declaration@npm:7.18.6" + dependencies: + "@babel/types": "npm:^7.18.6" + checksum: 10/c6d3dede53878f6be1d869e03e9ffbbb36f4897c7cc1527dc96c56d127d834ffe4520a6f7e467f5b6f3c2843ea0e81a7819d66ae02f707f6ac057f3d57943a2b + languageName: node + linkType: hard + +"@babel/helper-split-export-declaration@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-split-export-declaration@npm:7.22.5" + dependencies: + "@babel/types": "npm:^7.22.5" + checksum: 10/d10e05a02f49c1f7c578cea63d2ac55356501bbf58856d97ac9bfde4957faee21ae97c7f566aa309e38a256eef58b58e5b670a7f568b362c00e93dfffe072650 + languageName: node + linkType: hard + +"@babel/helper-split-export-declaration@npm:^7.22.6": + version: 7.22.6 + resolution: "@babel/helper-split-export-declaration@npm:7.22.6" + dependencies: + "@babel/types": "npm:^7.22.5" + checksum: 10/e141cace583b19d9195f9c2b8e17a3ae913b7ee9b8120246d0f9ca349ca6f03cb2c001fd5ec57488c544347c0bb584afec66c936511e447fd20a360e591ac921 + languageName: node + linkType: hard + +"@babel/helper-string-parser@npm:^7.18.10": + version: 7.18.10 + resolution: "@babel/helper-string-parser@npm:7.18.10" + checksum: 10/a126898b54f34b66f70a1bae13905079f568052c4ed99a0cfbf75fdb84b0cb95eaff757c274433695b3db0fed5aeb2944f67f4bf3e273923aad78b720064ae1c + languageName: node + linkType: hard + +"@babel/helper-string-parser@npm:^7.21.5": + version: 7.21.5 + resolution: "@babel/helper-string-parser@npm:7.21.5" + checksum: 10/8295bfa30bb84aabaf9a6243ddc2722ed8685ff3aa17ca967f71ced45bfa1ecf9fc3d88c6069de1e19ebfec50a70fa76237c8104208ca25629ab6f67f401ae9e + languageName: node + linkType: hard + +"@babel/helper-string-parser@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-string-parser@npm:7.22.5" + checksum: 10/7f275a7f1a9504da06afc33441e219796352a4a3d0288a961bc14d1e30e06833a71621b33c3e60ee3ac1ff3c502d55e392bcbc0665f6f9d2629809696fab7cdd + languageName: node + linkType: hard + "@babel/helper-string-parser@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-string-parser@npm:7.25.9" @@ -286,6 +1144,34 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-identifier@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/helper-validator-identifier@npm:7.16.7" + checksum: 10/42b9b56c3543ded08992e8c118cb017dbde258895bd6a2e69186cb98f4f5811cd94ceedf4b5ace4877e7be07a7280aa9b9de65d1cb416064a1e0e1fd5a89fcca + languageName: node + linkType: hard + +"@babel/helper-validator-identifier@npm:^7.18.6, @babel/helper-validator-identifier@npm:^7.19.1": + version: 7.19.1 + resolution: "@babel/helper-validator-identifier@npm:7.19.1" + checksum: 10/30ecd53b7276970d59d65e68e147ea885f8812e50d06a59315dd1f12dc41467d29d6c56bf1fd02e91100f939cba378815b2c19f5d3604331a153aed9efcbd2a9 + languageName: node + linkType: hard + +"@babel/helper-validator-identifier@npm:^7.22.20": + version: 7.22.20 + resolution: "@babel/helper-validator-identifier@npm:7.22.20" + checksum: 10/df882d2675101df2d507b95b195ca2f86a3ef28cb711c84f37e79ca23178e13b9f0d8b522774211f51e40168bf5142be4c1c9776a150cddb61a0d5bf3e95750b + languageName: node + linkType: hard + +"@babel/helper-validator-identifier@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-validator-identifier@npm:7.22.5" + checksum: 10/12cb7d4535b3f8d109a446f7bef08d20eebe94fd97b534cd415c936ab342e9634edc5c99961af976bd78bcae6e6ec4b2ab8483d0da2ac5926fbe9f7dd9ab28ab + languageName: node + linkType: hard + "@babel/helper-validator-identifier@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-validator-identifier@npm:7.25.9" @@ -293,6 +1179,41 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-option@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/helper-validator-option@npm:7.16.7" + checksum: 10/c5ccc451911883cc9f12125d47be69434f28094475c1b9d2ada7c3452e6ac98a1ee8ddd364ca9e3f9855fcdee96cdeafa32543ebd9d17fee7a1062c202e80570 + languageName: node + linkType: hard + +"@babel/helper-validator-option@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/helper-validator-option@npm:7.18.6" + checksum: 10/f9cc6eb7cc5d759c5abf006402180f8d5e4251e9198197428a97e05d65eb2f8ae5a0ce73b1dfd2d35af41d0eb780627a64edf98a4e71f064eeeacef8de58f2cf + languageName: node + linkType: hard + +"@babel/helper-validator-option@npm:^7.21.0": + version: 7.21.0 + resolution: "@babel/helper-validator-option@npm:7.21.0" + checksum: 10/8ece4c78ffa5461fd8ab6b6e57cc51afad59df08192ed5d84b475af4a7193fc1cb794b59e3e7be64f3cdc4df7ac78bf3dbb20c129d7757ae078e6279ff8c2f07 + languageName: node + linkType: hard + +"@babel/helper-validator-option@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/helper-validator-option@npm:7.22.15" + checksum: 10/68da52b1e10002a543161494c4bc0f4d0398c8fdf361d5f7f4272e95c45d5b32d974896d44f6a0ea7378c9204988879d73613ca683e13bd1304e46d25ff67a8d + languageName: node + linkType: hard + +"@babel/helper-validator-option@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-validator-option@npm:7.22.5" + checksum: 10/bbeca8a85ee86990215c0424997438b388b8d642d69b9f86c375a174d3cdeb270efafd1ff128bc7a1d370923d13b6e45829ba8581c027620e83e3a80c5c414b3 + languageName: node + linkType: hard + "@babel/helper-validator-option@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-validator-option@npm:7.25.9" @@ -300,6 +1221,29 @@ __metadata: languageName: node linkType: hard +"@babel/helper-wrap-function@npm:^7.22.20": + version: 7.22.20 + resolution: "@babel/helper-wrap-function@npm:7.22.20" + dependencies: + "@babel/helper-function-name": "npm:^7.22.5" + "@babel/template": "npm:^7.22.15" + "@babel/types": "npm:^7.22.19" + checksum: 10/b22e4666dec3d401bdf8ebd01d448bb3733617dae5aa6fbd1b684a22a35653cca832edd876529fd139577713b44fb89b4f5e52b7315ab218620f78b8a8ae23de + languageName: node + linkType: hard + +"@babel/helper-wrap-function@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-wrap-function@npm:7.22.5" + dependencies: + "@babel/helper-function-name": "npm:^7.22.5" + "@babel/template": "npm:^7.22.5" + "@babel/traverse": "npm:^7.22.5" + "@babel/types": "npm:^7.22.5" + checksum: 10/70f225615aad1756ea44f1121ec78633200fa00b82e46aa7e5211b7c36f7984d57cc2a2aea8852eaacd5044b1d1cbd2b20d0c371e42096aec19733cb95001096 + languageName: node + linkType: hard + "@babel/helper-wrap-function@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-wrap-function@npm:7.25.9" @@ -311,6 +1255,50 @@ __metadata: languageName: node linkType: hard +"@babel/helpers@npm:^7.17.9": + version: 7.17.9 + resolution: "@babel/helpers@npm:7.17.9" + dependencies: + "@babel/template": "npm:^7.16.7" + "@babel/traverse": "npm:^7.17.9" + "@babel/types": "npm:^7.17.0" + checksum: 10/43abc513da845f54904b1adb8f1d4e74e626565ddb7046babefb6c1c6906d89141f352b1b108bec0d2549ef134e7778df0135a322f2113d4bf1edb52c3351c4b + languageName: node + linkType: hard + +"@babel/helpers@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/helpers@npm:7.19.0" + dependencies: + "@babel/template": "npm:^7.18.10" + "@babel/traverse": "npm:^7.19.0" + "@babel/types": "npm:^7.19.0" + checksum: 10/f9e97e6f0895e96cf742db52088bab479410d0bf64761614f8941875b3e5737f0e679aa6bda9a6f4ab60fe92db140f30081cc4b6baadb8b1cf76840a931f1090 + languageName: node + linkType: hard + +"@babel/helpers@npm:^7.22.0": + version: 7.22.3 + resolution: "@babel/helpers@npm:7.22.3" + dependencies: + "@babel/template": "npm:^7.21.9" + "@babel/traverse": "npm:^7.22.1" + "@babel/types": "npm:^7.22.3" + checksum: 10/8f178283d93998177dd4b37cd697b57b2d01476dff46b80a231afe822db1e937c086e6f26a24cb1ea75750161b8dd91be736300c70d0d37879c5476949a301f8 + languageName: node + linkType: hard + +"@babel/helpers@npm:^7.23.2": + version: 7.23.2 + resolution: "@babel/helpers@npm:7.23.2" + dependencies: + "@babel/template": "npm:^7.22.15" + "@babel/traverse": "npm:^7.23.2" + "@babel/types": "npm:^7.23.0" + checksum: 10/d66d949d41513f19e62e43a9426e283d46bc9a3c72f1e3dd136568542382edd411047403458aaa0ae3adf7c14d23e0e9a1126092bb56e72ba796a6dd7e4c082a + languageName: node + linkType: hard + "@babel/helpers@npm:^7.26.10": version: 7.27.0 resolution: "@babel/helpers@npm:7.27.0" @@ -321,7 +1309,40 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.0, @babel/parser@npm:^7.20.15, @babel/parser@npm:^7.24.7, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.26.10, @babel/parser@npm:^7.27.0": +"@babel/highlight@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/highlight@npm:7.18.6" + dependencies: + "@babel/helper-validator-identifier": "npm:^7.18.6" + chalk: "npm:^2.0.0" + js-tokens: "npm:^4.0.0" + checksum: 10/92d8ee61549de5ff5120e945e774728e5ccd57fd3b2ed6eace020ec744823d4a98e242be1453d21764a30a14769ecd62170fba28539b211799bbaf232bbb2789 + languageName: node + linkType: hard + +"@babel/highlight@npm:^7.22.13": + version: 7.22.20 + resolution: "@babel/highlight@npm:7.22.20" + dependencies: + "@babel/helper-validator-identifier": "npm:^7.22.20" + chalk: "npm:^2.4.2" + js-tokens: "npm:^4.0.0" + checksum: 10/1aabc95b2cb7f67adc26c7049554306f1435bfedb76b9731c36ff3d7cdfcb32bd65a6dd06985644124eb2100bd911721d9e5c4f5ac40b7f0da2995a61bf8da92 + languageName: node + linkType: hard + +"@babel/highlight@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/highlight@npm:7.22.5" + dependencies: + "@babel/helper-validator-identifier": "npm:^7.22.5" + chalk: "npm:^2.0.0" + js-tokens: "npm:^4.0.0" + checksum: 10/ff59305c0184648c9cb042638e9d2d184c12df2a112c71359268a982e7ab65cd5236f392ee8eb722a3bf5b5bd155954fdc7b5aacb6b2b1cd5e38dafcbe63cc57 + languageName: node + linkType: hard + +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.24.7, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.26.10, @babel/parser@npm:^7.27.0": version: 7.27.0 resolution: "@babel/parser@npm:7.27.0" dependencies: @@ -332,6 +1353,69 @@ __metadata: languageName: node linkType: hard +"@babel/parser@npm:^7.16.7, @babel/parser@npm:^7.17.10": + version: 7.17.10 + resolution: "@babel/parser@npm:7.17.10" + bin: + parser: ./bin/babel-parser.js + checksum: 10/e2dffa58d2dff56f14f788132fe03999f2d02ecffff1c5e2a59db29ae14840e59c40f16258a89f27e470cb87aef56e78081d65a417c6daa1e31641d564c1496e + languageName: node + linkType: hard + +"@babel/parser@npm:^7.18.10, @babel/parser@npm:^7.19.1": + version: 7.19.1 + resolution: "@babel/parser@npm:7.19.1" + bin: + parser: ./bin/babel-parser.js + checksum: 10/3ac19ce8965b13b5b36e91098cd8d4a4d6f54277af8d65e9ce8e3082af60891319dd7a8a014ec814d7a986f05a6a7738e18b6fb202eed21f4c46da419c1b532e + languageName: node + linkType: hard + +"@babel/parser@npm:^7.20.0, @babel/parser@npm:^7.21.9, @babel/parser@npm:^7.22.0": + version: 7.22.4 + resolution: "@babel/parser@npm:7.22.4" + bin: + parser: ./bin/babel-parser.js + checksum: 10/35f2777452d1371e76f8861a8e69c77df000af5aef3b3020b5da783ba6376cc6de088fcfc193ad7acf6cd7646df5b83be58b7fb8c84d59a4588fd1d8ad43289a + languageName: node + linkType: hard + +"@babel/parser@npm:^7.20.15": + version: 7.21.2 + resolution: "@babel/parser@npm:7.21.2" + bin: + parser: ./bin/babel-parser.js + checksum: 10/4a53d7ac69fcb36b994259a4d781ff1b0ab736508adbb37511b0f7c9e5c05326bf2a3fd2a9a4cfc86c460f3de703d54def3e2f89d9bec38010fd7f06bf199996 + languageName: node + linkType: hard + +"@babel/parser@npm:^7.22.15, @babel/parser@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/parser@npm:7.23.0" + bin: + parser: ./bin/babel-parser.js + checksum: 10/201641e068f8cca1ff12b141fcba32d7ccbabc586961bd1b85ae89d9695867f84d57fc2e1176dc4981fd28e5e97ca0e7c32cd688bd5eabb641a302abc0cb5040 + languageName: node + linkType: hard + +"@babel/parser@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/parser@npm:7.22.5" + bin: + parser: ./bin/babel-parser.js + checksum: 10/46525855c9290e455a548336bfbb4dddb5ced0f213e982fa50f459995c747da3ff196b8603b093ad39a498d66069ca3cc1111c47a6424b521831ca02f706ccbf + languageName: node + linkType: hard + +"@babel/parser@npm:^7.23.3": + version: 7.23.3 + resolution: "@babel/parser@npm:7.23.3" + bin: + parser: ./bin/babel-parser.js + checksum: 10/284c22ec1d939df66fb94929959d2160c30df1ba5778f212668dfb2f4aa8ac176f628c6073a2c9ea7ab2a1701d2ebdafb0dfb173dc737db9dc6708d5d2f49e0a + languageName: node + linkType: hard + "@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:7.25.9" @@ -355,14 +1439,38 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.22.15" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/8910ca21a7ec7c06f7b247d4b86c97c5aa15ef321518f44f6f490c5912fdf82c605aaa02b90892e375d82ccbedeadfdeadd922c1b836c9dd4c596871bf654753 + languageName: node + linkType: hard + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.25.9" dependencies: "@babel/helper-plugin-utils": "npm:^7.25.9" peerDependencies: - "@babel/core": ^7.0.0 - checksum: 10/a9d1ee3fd100d3eb6799a2f2bbd785296f356c531d75c9369f71541811fa324270258a374db103ce159156d006da2f33370330558d0133e6f7584152c34997ca + "@babel/core": ^7.0.0 + checksum: 10/a9d1ee3fd100d3eb6799a2f2bbd785296f356c531d75c9369f71541811fa324270258a374db103ce159156d006da2f33370330558d0133e6f7584152c34997ca + languageName: node + linkType: hard + +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.22.15" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers": "npm:^7.22.5" + "@babel/plugin-transform-optional-chaining": "npm:^7.22.15" + peerDependencies: + "@babel/core": ^7.13.0 + checksum: 10/fbefedc0da014c37f1a50a8094ce7dbbf2181ae93243f23d6ecba2499b5b20196c2124d6a4dfe3e9e0125798e80593103e456352a4beb4e5c6f7c75efb80fdac languageName: node linkType: hard @@ -536,7 +1644,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-class-properties@npm:^7.0.0, @babel/plugin-syntax-class-properties@npm:^7.8.3": +"@babel/plugin-syntax-class-properties@npm:^7.0.0, @babel/plugin-syntax-class-properties@npm:^7.12.13, @babel/plugin-syntax-class-properties@npm:^7.8.3": version: 7.12.13 resolution: "@babel/plugin-syntax-class-properties@npm:7.12.13" dependencies: @@ -547,6 +1655,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-class-static-block@npm:^7.14.5": + version: 7.14.5 + resolution: "@babel/plugin-syntax-class-static-block@npm:7.14.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.14.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/3e80814b5b6d4fe17826093918680a351c2d34398a914ce6e55d8083d72a9bdde4fbaf6a2dcea0e23a03de26dc2917ae3efd603d27099e2b98380345703bf948 + languageName: node + linkType: hard + "@babel/plugin-syntax-decorators@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-syntax-decorators@npm:7.25.9" @@ -580,7 +1699,51 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-flow@npm:^7.0.0, @babel/plugin-syntax-flow@npm:^7.12.1, @babel/plugin-syntax-flow@npm:^7.18.0, @babel/plugin-syntax-flow@npm:^7.26.0": +"@babel/plugin-syntax-export-namespace-from@npm:^7.8.3": + version: 7.8.3 + resolution: "@babel/plugin-syntax-export-namespace-from@npm:7.8.3" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.8.3" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/85740478be5b0de185228e7814451d74ab8ce0a26fcca7613955262a26e99e8e15e9da58f60c754b84515d4c679b590dbd3f2148f0f58025f4ae706f1c5a5d4a + languageName: node + linkType: hard + +"@babel/plugin-syntax-flow@npm:^7.0.0": + version: 7.16.7 + resolution: "@babel/plugin-syntax-flow@npm:7.16.7" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.16.7" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/b1ab0bd9b78e4aa5fb48714d6514f3d08d72693807c6044a5be4f301a9bb677b5648fbdae11c8bc93923da6b320a1898560c307933021bdb75ee39e577ed74ee + languageName: node + linkType: hard + +"@babel/plugin-syntax-flow@npm:^7.12.1, @babel/plugin-syntax-flow@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-syntax-flow@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/84c8c40fcfe8e78cecdd6fb90e8f97f419e3f3b27a33de8324ae97d5ce1b87cdd98a636fa21a68d4d2c37c7d63f3a279bb84b6956b849921affed6b806b6ffe7 + languageName: node + linkType: hard + +"@babel/plugin-syntax-flow@npm:^7.18.0": + version: 7.21.4 + resolution: "@babel/plugin-syntax-flow@npm:7.21.4" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.20.2" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/fe4ba7b285965c62ff820d55d260cb5b6e5282dbedddd1fb0a0f2667291dcf0fa1b3d92fa9bf90946b02b307926a0a5679fbdd31d80ceaed5971293aa1fc5744 + languageName: node + linkType: hard + +"@babel/plugin-syntax-flow@npm:^7.26.0": version: 7.26.0 resolution: "@babel/plugin-syntax-flow@npm:7.26.0" dependencies: @@ -591,6 +1754,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-import-assertions@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-syntax-import-assertions@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/2b8b5572db04a7bef1e6cd20debf447e4eef7cb012616f5eceb8fa3e23ce469b8f76ee74fd6d1e158ba17a8f58b0aec579d092fb67c5a30e83ccfbc5754916c1 + languageName: node + linkType: hard + "@babel/plugin-syntax-import-assertions@npm:^7.26.0": version: 7.26.0 resolution: "@babel/plugin-syntax-import-assertions@npm:7.26.0" @@ -602,6 +1776,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-import-attributes@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-syntax-import-attributes@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/197b3c5ea2a9649347f033342cb222ab47f4645633695205c0250c6bf2af29e643753b8bb24a2db39948bef08e7c540babfd365591eb57fc110cb30b425ffc47 + languageName: node + linkType: hard + "@babel/plugin-syntax-import-attributes@npm:^7.26.0": version: 7.26.0 resolution: "@babel/plugin-syntax-import-attributes@npm:7.26.0" @@ -613,7 +1798,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-import-meta@npm:^7.8.3": +"@babel/plugin-syntax-import-meta@npm:^7.10.4, @babel/plugin-syntax-import-meta@npm:^7.8.3": version: 7.10.4 resolution: "@babel/plugin-syntax-import-meta@npm:7.10.4" dependencies: @@ -635,7 +1820,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-jsx@npm:^7.0.0, @babel/plugin-syntax-jsx@npm:^7.25.9, @babel/plugin-syntax-jsx@npm:^7.7.2": +"@babel/plugin-syntax-jsx@npm:^7.0.0, @babel/plugin-syntax-jsx@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-syntax-jsx@npm:7.25.9" dependencies: @@ -646,7 +1831,40 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-logical-assignment-operators@npm:^7.8.3": +"@babel/plugin-syntax-jsx@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/plugin-syntax-jsx@npm:7.21.4" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.20.2" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/bb7309402a1d4e155f32aa0cf216e1fa8324d6c4cfd248b03280028a015a10e46b6efd6565f515f8913918a3602b39255999c06046f7d4b8a5106be2165d724a + languageName: node + linkType: hard + +"@babel/plugin-syntax-jsx@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-syntax-jsx@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/8829d30c2617ab31393d99cec2978e41f014f4ac6f01a1cecf4c4dd8320c3ec12fdc3ce121126b2d8d32f6887e99ca1a0bad53dedb1e6ad165640b92b24980ce + languageName: node + linkType: hard + +"@babel/plugin-syntax-jsx@npm:^7.7.2": + version: 7.18.6 + resolution: "@babel/plugin-syntax-jsx@npm:7.18.6" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.18.6" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/6d37ea972970195f1ffe1a54745ce2ae456e0ac6145fae9aa1480f297248b262ea6ebb93010eddb86ebfacb94f57c05a1fc5d232b9a67325b09060299d515c67 + languageName: node + linkType: hard + +"@babel/plugin-syntax-logical-assignment-operators@npm:^7.10.4, @babel/plugin-syntax-logical-assignment-operators@npm:^7.8.3": version: 7.10.4 resolution: "@babel/plugin-syntax-logical-assignment-operators@npm:7.10.4" dependencies: @@ -712,7 +1930,18 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-top-level-await@npm:^7.8.3": +"@babel/plugin-syntax-private-property-in-object@npm:^7.14.5": + version: 7.14.5 + resolution: "@babel/plugin-syntax-private-property-in-object@npm:7.14.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.14.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/b317174783e6e96029b743ccff2a67d63d38756876e7e5d0ba53a322e38d9ca452c13354a57de1ad476b4c066dbae699e0ca157441da611117a47af88985ecda + languageName: node + linkType: hard + +"@babel/plugin-syntax-top-level-await@npm:^7.14.5, @babel/plugin-syntax-top-level-await@npm:^7.8.3": version: 7.14.5 resolution: "@babel/plugin-syntax-top-level-await@npm:7.14.5" dependencies: @@ -723,6 +1952,28 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-typescript@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/plugin-syntax-typescript@npm:7.21.4" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.20.2" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/a59ce2477b7ae8c8945dc37dda292fef9ce46a6507b3d76b03ce7f3a6c9451a6567438b20a78ebcb3955d04095fd1ccd767075a863f79fcc30aa34dcfa441fe0 + languageName: node + linkType: hard + +"@babel/plugin-syntax-typescript@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-syntax-typescript@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/8ab7718fbb026d64da93681a57797d60326097fd7cb930380c8bffd9eb101689e90142c760a14b51e8e69c88a73ba3da956cb4520a3b0c65743aee5c71ef360a + languageName: node + linkType: hard + "@babel/plugin-syntax-typescript@npm:^7.25.9, @babel/plugin-syntax-typescript@npm:^7.3.3, @babel/plugin-syntax-typescript@npm:^7.7.2": version: 7.25.9 resolution: "@babel/plugin-syntax-typescript@npm:7.25.9" @@ -757,6 +2008,31 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-arrow-functions@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-arrow-functions@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/35abb6c57062802c7ce8bd96b2ef2883e3124370c688bbd67609f7d2453802fb73944df8808f893b6c67de978eb2bcf87bbfe325e46d6f39b5fcb09ece11d01a + languageName: node + linkType: hard + +"@babel/plugin-transform-async-generator-functions@npm:^7.23.2": + version: 7.23.2 + resolution: "@babel/plugin-transform-async-generator-functions@npm:7.23.2" + dependencies: + "@babel/helper-environment-visitor": "npm:^7.22.20" + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-remap-async-to-generator": "npm:^7.22.20" + "@babel/plugin-syntax-async-generators": "npm:^7.8.4" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/e1abae0edcda7304d7c17702ac25a127578791b89c4f767d60589249fa3e50ec33f8c9ff39d3d8d41f00b29947654eaddd4fd586e04c4d598122db745fab2868 + languageName: node + linkType: hard + "@babel/plugin-transform-async-generator-functions@npm:^7.25.4, @babel/plugin-transform-async-generator-functions@npm:^7.26.8": version: 7.26.8 resolution: "@babel/plugin-transform-async-generator-functions@npm:7.26.8" @@ -783,6 +2059,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-async-to-generator@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-async-to-generator@npm:7.22.5" + dependencies: + "@babel/helper-module-imports": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-remap-async-to-generator": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/b95f23f99dcb379a9f0a1c2a3bbea3f8dc0e1b16dc1ac8b484fe378370169290a7a63d520959a9ba1232837cf74a80e23f6facbe14fd42a3cda6d3c2d7168e62 + languageName: node + linkType: hard + "@babel/plugin-transform-block-scoped-functions@npm:^7.0.0, @babel/plugin-transform-block-scoped-functions@npm:^7.26.5": version: 7.26.5 resolution: "@babel/plugin-transform-block-scoped-functions@npm:7.26.5" @@ -794,6 +2083,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-block-scoped-functions@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-block-scoped-functions@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/416b1341858e8ca4e524dee66044735956ced5f478b2c3b9bc11ec2285b0c25d7dbb96d79887169eb938084c95d0a89338c8b2fe70d473bd9dc92e5d9db1732c + languageName: node + linkType: hard + "@babel/plugin-transform-block-scoping@npm:^7.0.0, @babel/plugin-transform-block-scoping@npm:^7.25.0, @babel/plugin-transform-block-scoping@npm:^7.25.9": version: 7.27.0 resolution: "@babel/plugin-transform-block-scoping@npm:7.27.0" @@ -805,6 +2105,29 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-block-scoping@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/plugin-transform-block-scoping@npm:7.23.0" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/9f60c71a0b72c7bdc0734ab363cf8ad40c4366456d9429ab3f2caedf6566c12f1ae8190478827222e93c60855b6c746a2c0e24381646fe7220d4666c332dc090 + languageName: node + linkType: hard + +"@babel/plugin-transform-class-properties@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-class-properties@npm:7.22.5" + dependencies: + "@babel/helper-create-class-features-plugin": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/b830152dfc2ff2f647f0abe76e6251babdfbef54d18c4b2c73a6bf76b1a00050a5d998dac80dc901a48514e95604324943a9dd39317073fe0928b559e0e0c579 + languageName: node + linkType: hard + "@babel/plugin-transform-class-properties@npm:^7.24.7, @babel/plugin-transform-class-properties@npm:^7.25.4, @babel/plugin-transform-class-properties@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-class-properties@npm:7.25.9" @@ -817,6 +2140,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-class-static-block@npm:^7.22.11": + version: 7.22.11 + resolution: "@babel/plugin-transform-class-static-block@npm:7.22.11" + dependencies: + "@babel/helper-create-class-features-plugin": "npm:^7.22.11" + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/plugin-syntax-class-static-block": "npm:^7.14.5" + peerDependencies: + "@babel/core": ^7.12.0 + checksum: 10/69f040506fad66f1c6918d288d0e0edbc5c8a07c8b4462c1184ad2f9f08995d68b057126c213871c0853ae0c72afc60ec87492049dfacb20902e32346a448bcb + languageName: node + linkType: hard + "@babel/plugin-transform-class-static-block@npm:^7.26.0": version: 7.26.0 resolution: "@babel/plugin-transform-class-static-block@npm:7.26.0" @@ -845,6 +2181,25 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-classes@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/plugin-transform-classes@npm:7.22.15" + dependencies: + "@babel/helper-annotate-as-pure": "npm:^7.22.5" + "@babel/helper-compilation-targets": "npm:^7.22.15" + "@babel/helper-environment-visitor": "npm:^7.22.5" + "@babel/helper-function-name": "npm:^7.22.5" + "@babel/helper-optimise-call-expression": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-replace-supers": "npm:^7.22.9" + "@babel/helper-split-export-declaration": "npm:^7.22.6" + globals: "npm:^11.1.0" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/21d7a171055634b4c407e42fc99ef340bde70d5582d47f7bcdc9781d09b3736607d346f56c3abb1e8b9b62516e1af25ab9023a295be0c347c963d6a20f74b55f + languageName: node + linkType: hard + "@babel/plugin-transform-computed-properties@npm:^7.0.0, @babel/plugin-transform-computed-properties@npm:^7.24.7, @babel/plugin-transform-computed-properties@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-computed-properties@npm:7.25.9" @@ -857,7 +2212,19 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-destructuring@npm:^7.0.0, @babel/plugin-transform-destructuring@npm:^7.20.0, @babel/plugin-transform-destructuring@npm:^7.24.8, @babel/plugin-transform-destructuring@npm:^7.25.9": +"@babel/plugin-transform-computed-properties@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-computed-properties@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/template": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/a3efa8de19e4c52f01a99301d864819a7997a7845044d9cef5b67b0fb1e5e3e610ecc23053a8b5cf8fe40fcad93c15a586eaeffd22b89eeaa038339c37919661 + languageName: node + linkType: hard + +"@babel/plugin-transform-destructuring@npm:^7.0.0, @babel/plugin-transform-destructuring@npm:^7.24.8, @babel/plugin-transform-destructuring@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-destructuring@npm:7.25.9" dependencies: @@ -868,6 +2235,40 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-destructuring@npm:^7.20.0": + version: 7.22.5 + resolution: "@babel/plugin-transform-destructuring@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/b568c51bc80d9c941a5285b010d694345a1ae50b45bf5eb6c591b3a31303ac920150fc8c1cc810692d139dd3c60285f5bdc250dae58b5a227597f76bffbd9b61 + languageName: node + linkType: hard + +"@babel/plugin-transform-destructuring@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/plugin-transform-destructuring@npm:7.23.0" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/924b1c0fc11c9782a9a63ae6d181b9b069250a5567c705c24409e2f1e39ac47e61846cd17b0ab45641dc77050e7b900fc80a536f8abe7dff49b4e777e7b9b952 + languageName: node + linkType: hard + +"@babel/plugin-transform-dotall-regex@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-dotall-regex@npm:7.22.5" + dependencies: + "@babel/helper-create-regexp-features-plugin": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/409b658d11e3082c8f69e9cdef2d96e4d6d11256f005772425fb230cc48fd05945edbfbcb709dab293a1a2f01f9c8a5bb7b4131e632b23264039d9f95864b453 + languageName: node + linkType: hard + "@babel/plugin-transform-dotall-regex@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-dotall-regex@npm:7.25.9" @@ -880,6 +2281,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-duplicate-keys@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-duplicate-keys@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/bb1280fbabaab6fab2ede585df34900712698210a3bd413f4df5bae6d8c24be36b496c92722ae676a7a67d060a4624f4d6c23b923485f906bfba8773c69f55b4 + languageName: node + linkType: hard + "@babel/plugin-transform-duplicate-keys@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-duplicate-keys@npm:7.25.9" @@ -903,6 +2315,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-dynamic-import@npm:^7.22.11": + version: 7.22.11 + resolution: "@babel/plugin-transform-dynamic-import@npm:7.22.11" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/plugin-syntax-dynamic-import": "npm:^7.8.3" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/78fc9c532210bf9e8f231747f542318568ac360ee6c27e80853962c984283c73da3f8f8aebe83c2096090a435b356b092ed85de617a156cbe0729d847632be45 + languageName: node + linkType: hard + "@babel/plugin-transform-dynamic-import@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-dynamic-import@npm:7.25.9" @@ -914,6 +2338,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-exponentiation-operator@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-exponentiation-operator@npm:7.22.5" + dependencies: + "@babel/helper-builder-binary-assignment-operator-visitor": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/f2d660c1b1d51ad5fec1cd5ad426a52187204068c4158f8c4aa977b31535c61b66898d532603eef21c15756827be8277f724c869b888d560f26d7fe848bb5eae + languageName: node + linkType: hard + "@babel/plugin-transform-exponentiation-operator@npm:^7.26.3": version: 7.26.3 resolution: "@babel/plugin-transform-exponentiation-operator@npm:7.26.3" @@ -925,6 +2361,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-export-namespace-from@npm:^7.22.11": + version: 7.22.11 + resolution: "@babel/plugin-transform-export-namespace-from@npm:7.22.11" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/plugin-syntax-export-namespace-from": "npm:^7.8.3" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/73af5883a321ed56a4bfd43c8a7de0164faebe619287706896fc6ee2f7a4e69042adaa1338c0b8b4bdb9f7e5fdceb016fb1d40694cb43ca3b8827429e8aac4bf + languageName: node + linkType: hard + "@babel/plugin-transform-export-namespace-from@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-export-namespace-from@npm:7.25.9" @@ -936,7 +2384,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-flow-strip-types@npm:^7.0.0, @babel/plugin-transform-flow-strip-types@npm:^7.20.0, @babel/plugin-transform-flow-strip-types@npm:^7.25.2, @babel/plugin-transform-flow-strip-types@npm:^7.25.9": +"@babel/plugin-transform-flow-strip-types@npm:^7.0.0, @babel/plugin-transform-flow-strip-types@npm:^7.25.2, @babel/plugin-transform-flow-strip-types@npm:^7.25.9": version: 7.26.5 resolution: "@babel/plugin-transform-flow-strip-types@npm:7.26.5" dependencies: @@ -948,6 +2396,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-flow-strip-types@npm:^7.20.0": + version: 7.22.5 + resolution: "@babel/plugin-transform-flow-strip-types@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/plugin-syntax-flow": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/0657042178061517cd5641a9a5eed1251aa1d8cf93a4111568ae663773854a1e8f6af167ecae042237d261389751dc5ee32ba12a15e65e41af29d04150005cab + languageName: node + linkType: hard + "@babel/plugin-transform-for-of@npm:^7.0.0, @babel/plugin-transform-for-of@npm:^7.24.7, @babel/plugin-transform-for-of@npm:^7.26.9": version: 7.26.9 resolution: "@babel/plugin-transform-for-of@npm:7.26.9" @@ -960,6 +2420,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-for-of@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/plugin-transform-for-of@npm:7.22.15" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/d6ac155fcc8dc3d37a092325e5b7df738a7a953c4a47520c0c02fbc30433e6a5ac38197690845ebb931870af958ac95d36132d5accf41ed4bb0765a7618371fc + languageName: node + linkType: hard + "@babel/plugin-transform-function-name@npm:^7.0.0, @babel/plugin-transform-function-name@npm:^7.25.1, @babel/plugin-transform-function-name@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-function-name@npm:7.25.9" @@ -973,6 +2444,31 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-function-name@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-function-name@npm:7.22.5" + dependencies: + "@babel/helper-compilation-targets": "npm:^7.22.5" + "@babel/helper-function-name": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/cff3b876357999cb8ae30e439c3ec6b0491a53b0aa6f722920a4675a6dd5b53af97a833051df4b34791fe5b3dd326ccf769d5c8e45b322aa50ee11a660b17845 + languageName: node + linkType: hard + +"@babel/plugin-transform-json-strings@npm:^7.22.11": + version: 7.22.11 + resolution: "@babel/plugin-transform-json-strings@npm:7.22.11" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/plugin-syntax-json-strings": "npm:^7.8.3" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/50665e5979e66358c50e90a26db53c55917f78175127ac2fa05c7888d156d418ffb930ec0a109353db0a7c5f57c756ce01bfc9825d24cbfd2b3ec453f2ed8cba + languageName: node + linkType: hard + "@babel/plugin-transform-json-strings@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-json-strings@npm:7.25.9" @@ -988,10 +2484,33 @@ __metadata: version: 7.25.9 resolution: "@babel/plugin-transform-literals@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": "npm:^7.25.9" + "@babel/helper-plugin-utils": "npm:^7.25.9" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/3cca75823a38aab599bc151b0fa4d816b5e1b62d6e49c156aa90436deb6e13649f5505973151a10418b64f3f9d1c3da53e38a186402e0ed7ad98e482e70c0c14 + languageName: node + linkType: hard + +"@babel/plugin-transform-literals@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-literals@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/ec37cc2ffb32667af935ab32fe28f00920ec8a1eb999aa6dc6602f2bebd8ba205a558aeedcdccdebf334381d5c57106c61f52332045730393e73410892a9735b + languageName: node + linkType: hard + +"@babel/plugin-transform-logical-assignment-operators@npm:^7.22.11": + version: 7.22.11 + resolution: "@babel/plugin-transform-logical-assignment-operators@npm:7.22.11" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/plugin-syntax-logical-assignment-operators": "npm:^7.10.4" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/3cca75823a38aab599bc151b0fa4d816b5e1b62d6e49c156aa90436deb6e13649f5505973151a10418b64f3f9d1c3da53e38a186402e0ed7ad98e482e70c0c14 + checksum: 10/c664e9798e85afa7f92f07b867682dee7392046181d82f5d21bae6f2ca26dfe9c8375cdc52b7483c3fc09a983c1989f60eff9fbc4f373b0c0a74090553d05739 languageName: node linkType: hard @@ -1017,6 +2536,29 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-member-expression-literals@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-member-expression-literals@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/ec4b0e07915ddd4fda0142fd104ee61015c208608a84cfa13643a95d18760b1dc1ceb6c6e0548898b8c49e5959a994e46367260176dbabc4467f729b21868504 + languageName: node + linkType: hard + +"@babel/plugin-transform-modules-amd@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/plugin-transform-modules-amd@npm:7.23.0" + dependencies: + "@babel/helper-module-transforms": "npm:^7.23.0" + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/d06fbee89044a0c4d9d65c2bb26b45482266d14d64601a36996615ca75f1e1cc40ac95d09821601606eacbeeef39b3b634118f6197cda6431c8440975926a5d5 + languageName: node + linkType: hard + "@babel/plugin-transform-modules-amd@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-modules-amd@npm:7.25.9" @@ -1041,6 +2583,46 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-commonjs@npm:^7.21.5": + version: 7.21.5 + resolution: "@babel/plugin-transform-modules-commonjs@npm:7.21.5" + dependencies: + "@babel/helper-module-transforms": "npm:^7.21.5" + "@babel/helper-plugin-utils": "npm:^7.21.5" + "@babel/helper-simple-access": "npm:^7.21.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/cc5ce08e31b0ad873aa2165e841cb91c9bc0db20db61eb4b631eea7551d31c235c8cfbb917184bfbb95f5029c115df455de965f7c55075e0fe5a19867d783bde + languageName: node + linkType: hard + +"@babel/plugin-transform-modules-commonjs@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/plugin-transform-modules-commonjs@npm:7.23.0" + dependencies: + "@babel/helper-module-transforms": "npm:^7.23.0" + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-simple-access": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/65085c8f2578b0c272b3969b78e54430ea3217fca8de7a21ded845a74ddf2d97aee284559da102d826fcb8aed5a79d09536a6e4610d868f539d7bc382eb319ff + languageName: node + linkType: hard + +"@babel/plugin-transform-modules-systemjs@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/plugin-transform-modules-systemjs@npm:7.23.0" + dependencies: + "@babel/helper-hoist-variables": "npm:^7.22.5" + "@babel/helper-module-transforms": "npm:^7.23.0" + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-validator-identifier": "npm:^7.22.20" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/43a61fd72ba90afafcf6734345df00cbaf1f244ca456f8e8532813b87a985ddfeca7fc6ea758c12350abcfeba02835875b44dc6b3118c2dac7469a3f298c79ad + languageName: node + linkType: hard + "@babel/plugin-transform-modules-systemjs@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-modules-systemjs@npm:7.25.9" @@ -1055,6 +2637,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-umd@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-modules-umd@npm:7.22.5" + dependencies: + "@babel/helper-module-transforms": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/b955d066c68b60c1179bfb0b744e2fad32dbe86d0673bd94637439cfe425d1e3ff579bd47a417233609aac1624f4fe69915bee73e6deb2af6188fda8aaa5db63 + languageName: node + linkType: hard + "@babel/plugin-transform-modules-umd@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-modules-umd@npm:7.25.9" @@ -1079,6 +2673,29 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-named-capturing-groups-regex@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.22.5" + dependencies: + "@babel/helper-create-regexp-features-plugin": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/3ee564ddee620c035b928fdc942c5d17e9c4b98329b76f9cefac65c111135d925eb94ed324064cd7556d4f5123beec79abea1d4b97d1c8a2a5c748887a2eb623 + languageName: node + linkType: hard + +"@babel/plugin-transform-new-target@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-new-target@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/6b72112773487a881a1d6ffa680afde08bad699252020e86122180ee7a88854d5da3f15d9bca3331cf2e025df045604494a8208a2e63b486266b07c14e2ffbf3 + languageName: node + linkType: hard + "@babel/plugin-transform-new-target@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-new-target@npm:7.25.9" @@ -1090,6 +2707,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.22.11": + version: 7.22.11 + resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.22.11" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/plugin-syntax-nullish-coalescing-operator": "npm:^7.8.3" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/167babecc8b8fe70796a7b7d34af667ebbf43da166c21689502e5e8cc93180b7a85979c77c9f64b7cce431b36718bd0a6df9e5e0ffea4ae22afb22cfef886372 + languageName: node + linkType: hard + "@babel/plugin-transform-nullish-coalescing-operator@npm:^7.24.7, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.26.6": version: 7.26.6 resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.26.6" @@ -1101,6 +2730,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-numeric-separator@npm:^7.22.11": + version: 7.22.11 + resolution: "@babel/plugin-transform-numeric-separator@npm:7.22.11" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/plugin-syntax-numeric-separator": "npm:^7.10.4" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/af064d06a4a041767ec396a5f258103f64785df290e038bba9f0ef454e6c914f2ac45d862bbdad8fac2c7ad47fa4e95356f29053c60c100a0160b02a995fe2a3 + languageName: node + linkType: hard + "@babel/plugin-transform-numeric-separator@npm:^7.24.7, @babel/plugin-transform-numeric-separator@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-numeric-separator@npm:7.25.9" @@ -1112,6 +2753,21 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-object-rest-spread@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/plugin-transform-object-rest-spread@npm:7.22.15" + dependencies: + "@babel/compat-data": "npm:^7.22.9" + "@babel/helper-compilation-targets": "npm:^7.22.15" + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/plugin-syntax-object-rest-spread": "npm:^7.8.3" + "@babel/plugin-transform-parameters": "npm:^7.22.15" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/04b9f4bbabf4bbd019b47c60b294d873fe5d2f6063628a5b311d88da9e81b0a8622756dd42c7030359925479b7a3cd743dee46e73d84e03afd907d8cfd44ddea + languageName: node + linkType: hard + "@babel/plugin-transform-object-rest-spread@npm:^7.24.7, @babel/plugin-transform-object-rest-spread@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-object-rest-spread@npm:7.25.9" @@ -1137,6 +2793,30 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-object-super@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-object-super@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-replace-supers": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/b71887877d74cb64dbccb5c0324fa67e31171e6a5311991f626650e44a4083e5436a1eaa89da78c0474fb095d4ec322d63ee778b202d33aa2e4194e1ed8e62d7 + languageName: node + linkType: hard + +"@babel/plugin-transform-optional-catch-binding@npm:^7.22.11": + version: 7.22.11 + resolution: "@babel/plugin-transform-optional-catch-binding@npm:7.22.11" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/plugin-syntax-optional-catch-binding": "npm:^7.8.3" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/f17abd90e1de67c84d63afea29c8021c74abb2794d3a6eeafb0bbe7372d3db32aefca386e392116ec63884537a4a2815d090d26264d259bacc08f6e3ed05294c + languageName: node + linkType: hard + "@babel/plugin-transform-optional-catch-binding@npm:^7.24.7, @babel/plugin-transform-optional-catch-binding@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-optional-catch-binding@npm:7.25.9" @@ -1148,6 +2828,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-optional-chaining@npm:^7.22.15, @babel/plugin-transform-optional-chaining@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/plugin-transform-optional-chaining@npm:7.23.0" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers": "npm:^7.22.5" + "@babel/plugin-syntax-optional-chaining": "npm:^7.8.3" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/fb1103c6489b91df06c483a97fc12515c2f3840f573cbecb27959307c0a838fdd1502a34ada43805c4fb7f7dab3d1c0d1ab8428775d098af6778a7b00f494c27 + languageName: node + linkType: hard + "@babel/plugin-transform-optional-chaining@npm:^7.24.7, @babel/plugin-transform-optional-chaining@npm:^7.24.8, @babel/plugin-transform-optional-chaining@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-optional-chaining@npm:7.25.9" @@ -1160,7 +2853,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-parameters@npm:^7.0.0, @babel/plugin-transform-parameters@npm:^7.20.7, @babel/plugin-transform-parameters@npm:^7.24.7, @babel/plugin-transform-parameters@npm:^7.25.9": +"@babel/plugin-transform-parameters@npm:^7.0.0, @babel/plugin-transform-parameters@npm:^7.24.7, @babel/plugin-transform-parameters@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-parameters@npm:7.25.9" dependencies: @@ -1171,6 +2864,40 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-parameters@npm:^7.20.7": + version: 7.22.5 + resolution: "@babel/plugin-transform-parameters@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/86bec14b1a42a3c7059fe7dcbbedcae91e778a6b61e59922560d689fea10a165d89e53c2d9f383ad361b642ce444e183880a88dea39d87c09f2046a534b64304 + languageName: node + linkType: hard + +"@babel/plugin-transform-parameters@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/plugin-transform-parameters@npm:7.22.15" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/fa9f2340fe48b88c344ff38cd86318f61e48bedafdc567a1607106a1c3a65c0db845792f406b1320f89745192fe1ae6739b0bc4eb646ff60cd797ca85752d462 + languageName: node + linkType: hard + +"@babel/plugin-transform-private-methods@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-private-methods@npm:7.22.5" + dependencies: + "@babel/helper-create-class-features-plugin": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/321479b4fcb6d3b3ef622ab22fd24001e43d46e680e8e41324c033d5810c84646e470f81b44cbcbef5c22e99030784f7cac92f1829974da7a47a60a7139082c3 + languageName: node + linkType: hard + "@babel/plugin-transform-private-methods@npm:^7.24.7, @babel/plugin-transform-private-methods@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-private-methods@npm:7.25.9" @@ -1183,6 +2910,20 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-private-property-in-object@npm:^7.22.11": + version: 7.22.11 + resolution: "@babel/plugin-transform-private-property-in-object@npm:7.22.11" + dependencies: + "@babel/helper-annotate-as-pure": "npm:^7.22.5" + "@babel/helper-create-class-features-plugin": "npm:^7.22.11" + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/plugin-syntax-private-property-in-object": "npm:^7.14.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/b00623d107069c91a164d5cf7486c0929a4ee3023fcddbc8844e21b5e66f369271e1aa51921c7d87b80d9927bc75d63afcfe4d577872457ddb0443a5b86bacca + languageName: node + linkType: hard + "@babel/plugin-transform-private-property-in-object@npm:^7.24.7, @babel/plugin-transform-private-property-in-object@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-private-property-in-object@npm:7.25.9" @@ -1207,6 +2948,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-property-literals@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-property-literals@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/796176a3176106f77fcb8cd04eb34a8475ce82d6d03a88db089531b8f0453a2fb8b0c6ec9a52c27948bc0ea478becec449893741fc546dfc3930ab927e3f9f2e + languageName: node + linkType: hard + "@babel/plugin-transform-react-constant-elements@npm:^7.21.3": version: 7.25.9 resolution: "@babel/plugin-transform-react-constant-elements@npm:7.25.9" @@ -1289,6 +3041,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-regenerator@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/plugin-transform-regenerator@npm:7.22.10" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + regenerator-transform: "npm:^0.15.2" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/e13678d62d6fa96f11cb8b863f00e8693491e7adc88bfca3f2820f80cbac8336e7dec3a596eee6a1c4663b7ececc3564f2cd7fb44ed6d4ce84ac2bb7f39ecc6e + languageName: node + linkType: hard + "@babel/plugin-transform-regenerator@npm:^7.24.7, @babel/plugin-transform-regenerator@npm:^7.25.9": version: 7.27.0 resolution: "@babel/plugin-transform-regenerator@npm:7.27.0" @@ -1313,6 +3077,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-reserved-words@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-reserved-words@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/3ffd7dbc425fe8132bfec118b9817572799cab1473113a635d25ab606c1f5a2341a636c04cf6b22df3813320365ed5a965b5eeb3192320a10e4cc2c137bd8bfc + languageName: node + linkType: hard + "@babel/plugin-transform-reserved-words@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-reserved-words@npm:7.25.9" @@ -1324,7 +3099,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-runtime@npm:^7.0.0, @babel/plugin-transform-runtime@npm:^7.22.9, @babel/plugin-transform-runtime@npm:^7.24.7": +"@babel/plugin-transform-runtime@npm:^7.0.0, @babel/plugin-transform-runtime@npm:^7.24.7": version: 7.26.10 resolution: "@babel/plugin-transform-runtime@npm:7.26.10" dependencies: @@ -1340,6 +3115,22 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-runtime@npm:^7.22.9": + version: 7.23.2 + resolution: "@babel/plugin-transform-runtime@npm:7.23.2" + dependencies: + "@babel/helper-module-imports": "npm:^7.22.15" + "@babel/helper-plugin-utils": "npm:^7.22.5" + babel-plugin-polyfill-corejs2: "npm:^0.4.6" + babel-plugin-polyfill-corejs3: "npm:^0.8.5" + babel-plugin-polyfill-regenerator: "npm:^0.5.3" + semver: "npm:^6.3.1" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/536c444c494a43c1de4eec8297242199a7e778a82f64a8203a15bec46af17757ad59b520ee1fb414a03100ae743b8a2ca8527b6c0e4cc3e05be9ac1361260a44 + languageName: node + linkType: hard + "@babel/plugin-transform-shorthand-properties@npm:^7.0.0, @babel/plugin-transform-shorthand-properties@npm:^7.24.7, @babel/plugin-transform-shorthand-properties@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-shorthand-properties@npm:7.25.9" @@ -1351,6 +3142,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-shorthand-properties@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-shorthand-properties@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/a5ac902c56ea8effa99f681340ee61bac21094588f7aef0bc01dff98246651702e677552fa6d10e548c4ac22a3ffad047dd2f8c8f0540b68316c2c203e56818b + languageName: node + linkType: hard + "@babel/plugin-transform-spread@npm:^7.0.0, @babel/plugin-transform-spread@npm:^7.24.7, @babel/plugin-transform-spread@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-spread@npm:7.25.9" @@ -1363,6 +3165,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-spread@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-spread@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/f9fd247b3fa8953416c8808c124c3a5db5cd697abbf791aae0143a0587fff6b386045f94c62bcd1b6783a1fd275629cc194f25f6c0aafc9f05f12a56fd5f94bf + languageName: node + linkType: hard + "@babel/plugin-transform-sticky-regex@npm:^7.0.0, @babel/plugin-transform-sticky-regex@npm:^7.24.7, @babel/plugin-transform-sticky-regex@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-sticky-regex@npm:7.25.9" @@ -1374,6 +3188,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-sticky-regex@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-sticky-regex@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/63b2c575e3e7f96c32d52ed45ee098fb7d354b35c2223b8c8e76840b32cc529ee0c0ceb5742fd082e56e91e3d82842a367ce177e82b05039af3d602c9627a729 + languageName: node + linkType: hard + "@babel/plugin-transform-template-literals@npm:^7.0.0, @babel/plugin-transform-template-literals@npm:^7.26.8": version: 7.26.8 resolution: "@babel/plugin-transform-template-literals@npm:7.26.8" @@ -1385,6 +3210,28 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-template-literals@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-template-literals@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/27e9bb030654cb425381c69754be4abe6a7c75b45cd7f962cd8d604b841b2f0fb7b024f2efc1c25cc53f5b16d79d5e8cfc47cacbdaa983895b3aeefa3e7e24ff + languageName: node + linkType: hard + +"@babel/plugin-transform-typeof-symbol@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-typeof-symbol@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/82a53a63ffc3010b689ca9a54e5f53b2718b9f4b4a9818f36f9b7dba234f38a01876680553d2716a645a61920b5e6e4aaf8d4a0064add379b27ca0b403049512 + languageName: node + linkType: hard + "@babel/plugin-transform-typeof-symbol@npm:^7.26.7": version: 7.27.0 resolution: "@babel/plugin-transform-typeof-symbol@npm:7.27.0" @@ -1396,6 +3243,34 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-typescript@npm:^7.21.3": + version: 7.22.3 + resolution: "@babel/plugin-transform-typescript@npm:7.22.3" + dependencies: + "@babel/helper-annotate-as-pure": "npm:^7.18.6" + "@babel/helper-create-class-features-plugin": "npm:^7.22.1" + "@babel/helper-plugin-utils": "npm:^7.21.5" + "@babel/plugin-syntax-typescript": "npm:^7.21.4" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/fd456b86bd7f482f0f6554fb61b9d964316102ed08c00720a5b6ebad20993b8a5519b54012b507ca42ffe7c9bba926340a181c467543a7b39ad2b80cb68585a5 + languageName: node + linkType: hard + +"@babel/plugin-transform-typescript@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/plugin-transform-typescript@npm:7.22.15" + dependencies: + "@babel/helper-annotate-as-pure": "npm:^7.22.5" + "@babel/helper-create-class-features-plugin": "npm:^7.22.15" + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/plugin-syntax-typescript": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/95c35fbc823773058e9f077635fbe579d00b8f1762756b14a6fcae0c2db1aefddb93093fda4ca462e9e7d49edd49d71afe0a17422698d7418a6d156fc2dfba19 + languageName: node + linkType: hard + "@babel/plugin-transform-typescript@npm:^7.25.2, @babel/plugin-transform-typescript@npm:^7.27.0, @babel/plugin-transform-typescript@npm:^7.5.0": version: 7.27.0 resolution: "@babel/plugin-transform-typescript@npm:7.27.0" @@ -1411,6 +3286,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-unicode-escapes@npm:^7.22.10": + version: 7.22.10 + resolution: "@babel/plugin-transform-unicode-escapes@npm:7.22.10" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/807f40ed1324c8cb107c45358f1903384ca3f0ef1d01c5a3c5c9b271c8d8eec66936a3dcc8d75ddfceea9421420368c2e77ae3adef0a50557e778dfe296bf382 + languageName: node + linkType: hard + "@babel/plugin-transform-unicode-escapes@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-unicode-escapes@npm:7.25.9" @@ -1422,6 +3308,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-unicode-property-regex@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-unicode-property-regex@npm:7.22.5" + dependencies: + "@babel/helper-create-regexp-features-plugin": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/2495e5f663cb388e3d888b4ba3df419ac436a5012144ac170b622ddfc221f9ea9bdba839fa2bc0185cb776b578030666406452ec7791cbf0e7a3d4c88ae9574c + languageName: node + linkType: hard + "@babel/plugin-transform-unicode-property-regex@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-unicode-property-regex@npm:7.25.9" @@ -1446,6 +3344,30 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-unicode-regex@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-unicode-regex@npm:7.22.5" + dependencies: + "@babel/helper-create-regexp-features-plugin": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/6b5d1404c8c623b0ec9bd436c00d885a17d6a34f3f2597996343ddb9d94f6379705b21582dfd4cec2c47fd34068872e74ab6b9580116c0566b3f9447e2a7fa06 + languageName: node + linkType: hard + +"@babel/plugin-transform-unicode-sets-regex@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-unicode-sets-regex@npm:7.22.5" + dependencies: + "@babel/helper-create-regexp-features-plugin": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.22.5" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/c042070f980b139547f8b0179efbc049ac5930abec7fc26ed7a41d89a048d8ab17d362200e204b6f71c3c20d6991a0e74415e1a412a49adc8131c2a40c04822e + languageName: node + linkType: hard + "@babel/plugin-transform-unicode-sets-regex@npm:^7.25.9": version: 7.25.9 resolution: "@babel/plugin-transform-unicode-sets-regex@npm:7.25.9" @@ -1458,7 +3380,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-env@npm:^7.20.2, @babel/preset-env@npm:^7.22.9": +"@babel/preset-env@npm:^7.20.2": version: 7.26.9 resolution: "@babel/preset-env@npm:7.26.9" dependencies: @@ -1533,7 +3455,97 @@ __metadata: semver: "npm:^6.3.1" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/ac6fad331760c0bc25ed428b7696b297bad7046a75f30e544b392acfb33709f12316b9a5b0c8606f933d5756e1b9d527b46fda09693db52e851325443dd6a574 + checksum: 10/ac6fad331760c0bc25ed428b7696b297bad7046a75f30e544b392acfb33709f12316b9a5b0c8606f933d5756e1b9d527b46fda09693db52e851325443dd6a574 + languageName: node + linkType: hard + +"@babel/preset-env@npm:^7.22.9": + version: 7.23.2 + resolution: "@babel/preset-env@npm:7.23.2" + dependencies: + "@babel/compat-data": "npm:^7.23.2" + "@babel/helper-compilation-targets": "npm:^7.22.15" + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-validator-option": "npm:^7.22.15" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "npm:^7.22.15" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "npm:^7.22.15" + "@babel/plugin-proposal-private-property-in-object": "npm:7.21.0-placeholder-for-preset-env.2" + "@babel/plugin-syntax-async-generators": "npm:^7.8.4" + "@babel/plugin-syntax-class-properties": "npm:^7.12.13" + "@babel/plugin-syntax-class-static-block": "npm:^7.14.5" + "@babel/plugin-syntax-dynamic-import": "npm:^7.8.3" + "@babel/plugin-syntax-export-namespace-from": "npm:^7.8.3" + "@babel/plugin-syntax-import-assertions": "npm:^7.22.5" + "@babel/plugin-syntax-import-attributes": "npm:^7.22.5" + "@babel/plugin-syntax-import-meta": "npm:^7.10.4" + "@babel/plugin-syntax-json-strings": "npm:^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators": "npm:^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator": "npm:^7.8.3" + "@babel/plugin-syntax-numeric-separator": "npm:^7.10.4" + "@babel/plugin-syntax-object-rest-spread": "npm:^7.8.3" + "@babel/plugin-syntax-optional-catch-binding": "npm:^7.8.3" + "@babel/plugin-syntax-optional-chaining": "npm:^7.8.3" + "@babel/plugin-syntax-private-property-in-object": "npm:^7.14.5" + "@babel/plugin-syntax-top-level-await": "npm:^7.14.5" + "@babel/plugin-syntax-unicode-sets-regex": "npm:^7.18.6" + "@babel/plugin-transform-arrow-functions": "npm:^7.22.5" + "@babel/plugin-transform-async-generator-functions": "npm:^7.23.2" + "@babel/plugin-transform-async-to-generator": "npm:^7.22.5" + "@babel/plugin-transform-block-scoped-functions": "npm:^7.22.5" + "@babel/plugin-transform-block-scoping": "npm:^7.23.0" + "@babel/plugin-transform-class-properties": "npm:^7.22.5" + "@babel/plugin-transform-class-static-block": "npm:^7.22.11" + "@babel/plugin-transform-classes": "npm:^7.22.15" + "@babel/plugin-transform-computed-properties": "npm:^7.22.5" + "@babel/plugin-transform-destructuring": "npm:^7.23.0" + "@babel/plugin-transform-dotall-regex": "npm:^7.22.5" + "@babel/plugin-transform-duplicate-keys": "npm:^7.22.5" + "@babel/plugin-transform-dynamic-import": "npm:^7.22.11" + "@babel/plugin-transform-exponentiation-operator": "npm:^7.22.5" + "@babel/plugin-transform-export-namespace-from": "npm:^7.22.11" + "@babel/plugin-transform-for-of": "npm:^7.22.15" + "@babel/plugin-transform-function-name": "npm:^7.22.5" + "@babel/plugin-transform-json-strings": "npm:^7.22.11" + "@babel/plugin-transform-literals": "npm:^7.22.5" + "@babel/plugin-transform-logical-assignment-operators": "npm:^7.22.11" + "@babel/plugin-transform-member-expression-literals": "npm:^7.22.5" + "@babel/plugin-transform-modules-amd": "npm:^7.23.0" + "@babel/plugin-transform-modules-commonjs": "npm:^7.23.0" + "@babel/plugin-transform-modules-systemjs": "npm:^7.23.0" + "@babel/plugin-transform-modules-umd": "npm:^7.22.5" + "@babel/plugin-transform-named-capturing-groups-regex": "npm:^7.22.5" + "@babel/plugin-transform-new-target": "npm:^7.22.5" + "@babel/plugin-transform-nullish-coalescing-operator": "npm:^7.22.11" + "@babel/plugin-transform-numeric-separator": "npm:^7.22.11" + "@babel/plugin-transform-object-rest-spread": "npm:^7.22.15" + "@babel/plugin-transform-object-super": "npm:^7.22.5" + "@babel/plugin-transform-optional-catch-binding": "npm:^7.22.11" + "@babel/plugin-transform-optional-chaining": "npm:^7.23.0" + "@babel/plugin-transform-parameters": "npm:^7.22.15" + "@babel/plugin-transform-private-methods": "npm:^7.22.5" + "@babel/plugin-transform-private-property-in-object": "npm:^7.22.11" + "@babel/plugin-transform-property-literals": "npm:^7.22.5" + "@babel/plugin-transform-regenerator": "npm:^7.22.10" + "@babel/plugin-transform-reserved-words": "npm:^7.22.5" + "@babel/plugin-transform-shorthand-properties": "npm:^7.22.5" + "@babel/plugin-transform-spread": "npm:^7.22.5" + "@babel/plugin-transform-sticky-regex": "npm:^7.22.5" + "@babel/plugin-transform-template-literals": "npm:^7.22.5" + "@babel/plugin-transform-typeof-symbol": "npm:^7.22.5" + "@babel/plugin-transform-unicode-escapes": "npm:^7.22.10" + "@babel/plugin-transform-unicode-property-regex": "npm:^7.22.5" + "@babel/plugin-transform-unicode-regex": "npm:^7.22.5" + "@babel/plugin-transform-unicode-sets-regex": "npm:^7.22.5" + "@babel/preset-modules": "npm:0.1.6-no-external-plugins" + "@babel/types": "npm:^7.23.0" + babel-plugin-polyfill-corejs2: "npm:^0.4.6" + babel-plugin-polyfill-corejs3: "npm:^0.8.5" + babel-plugin-polyfill-regenerator: "npm:^0.5.3" + core-js-compat: "npm:^3.31.0" + semver: "npm:^6.3.1" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/7bc8aeed59047f99af2f608f3143044517582b6bd7b041e3c7a12eface47e0313a57e78fad2e0d450cda2ce6c58451d67493f3d3677c5c1031cf59b7db1161c3 languageName: node linkType: hard @@ -1579,7 +3591,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.18.0, @babel/preset-typescript@npm:^7.21.0, @babel/preset-typescript@npm:^7.22.5, @babel/preset-typescript@npm:^7.24.7": +"@babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.24.7": version: 7.27.0 resolution: "@babel/preset-typescript@npm:7.27.0" dependencies: @@ -1594,6 +3606,36 @@ __metadata: languageName: node linkType: hard +"@babel/preset-typescript@npm:^7.18.0, @babel/preset-typescript@npm:^7.21.0": + version: 7.21.5 + resolution: "@babel/preset-typescript@npm:7.21.5" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.21.5" + "@babel/helper-validator-option": "npm:^7.21.0" + "@babel/plugin-syntax-jsx": "npm:^7.21.4" + "@babel/plugin-transform-modules-commonjs": "npm:^7.21.5" + "@babel/plugin-transform-typescript": "npm:^7.21.3" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/94df6bad70fcc632490959486378ee9939e4a8f71a05ef27e9c9116fa7832243c9d40f7b0257f5c62e4eea7a516f26cf52d5d8ed8c85d8aa304343faa8c51b4d + languageName: node + linkType: hard + +"@babel/preset-typescript@npm:^7.22.5": + version: 7.23.2 + resolution: "@babel/preset-typescript@npm:7.23.2" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-validator-option": "npm:^7.22.15" + "@babel/plugin-syntax-jsx": "npm:^7.22.5" + "@babel/plugin-transform-modules-commonjs": "npm:^7.23.0" + "@babel/plugin-transform-typescript": "npm:^7.22.15" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10/fab17c24f737928e6e399425463808b4c4d850ea2cbe751c98cc2da86314e48d2f910da0f10d72525dad72a68aced5bd74edacf76b0f06db25abab07bec64b32 + languageName: node + linkType: hard + "@babel/register@npm:^7.0.0, @babel/register@npm:^7.13.16, @babel/register@npm:^7.24.6": version: 7.25.9 resolution: "@babel/register@npm:7.25.9" @@ -1609,7 +3651,14 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.24.7, @babel/runtime@npm:^7.25.0, @babel/runtime@npm:^7.26.0, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.6.3, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7": +"@babel/regjsgen@npm:^0.8.0": + version: 0.8.0 + resolution: "@babel/regjsgen@npm:0.8.0" + checksum: 10/c57fb730b17332b7572574b74364a77d70faa302a281a62819476fa3b09822974fd75af77aea603ad77378395be64e81f89f0e800bf86cbbf21652d49ce12ee8 + languageName: node + linkType: hard + +"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.24.7, @babel/runtime@npm:^7.25.0, @babel/runtime@npm:^7.26.0": version: 7.27.0 resolution: "@babel/runtime@npm:7.27.0" dependencies: @@ -1618,6 +3667,24 @@ __metadata: languageName: node linkType: hard +"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.6.3, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7": + version: 7.17.9 + resolution: "@babel/runtime@npm:7.17.9" + dependencies: + regenerator-runtime: "npm:^0.13.4" + checksum: 10/571f476feaf34dd81b94246de69f93a511e02a96e33c27889f150ed0000b068c70e102588a2a9c579d767f35a869663b21b79b36414b64e866e91861a137e7f4 + languageName: node + linkType: hard + +"@babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.23.2": + version: 7.23.2 + resolution: "@babel/runtime@npm:7.23.2" + dependencies: + regenerator-runtime: "npm:^0.14.0" + checksum: 10/abdcbdd590c7e31762e1bdab94dd466823c8bcedd3ff2fde85eeb94dac7cccaef151ac37c428bda7018ededd27c9a82b4dfeb621f978ad934232475a902f8e3a + languageName: node + linkType: hard + "@babel/template@npm:^7.0.0, @babel/template@npm:^7.25.0, @babel/template@npm:^7.25.9, @babel/template@npm:^7.26.9, @babel/template@npm:^7.27.0, @babel/template@npm:^7.3.3": version: 7.27.0 resolution: "@babel/template@npm:7.27.0" @@ -1629,7 +3696,62 @@ __metadata: languageName: node linkType: hard -"@babel/traverse--for-generate-function-map@npm:@babel/traverse@^7.25.3, @babel/traverse@npm:^7.16.0, @babel/traverse@npm:^7.20.0, @babel/traverse@npm:^7.25.3, @babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.26.10, @babel/traverse@npm:^7.26.5, @babel/traverse@npm:^7.26.8, @babel/traverse@npm:^7.27.0, @babel/traverse@npm:^7.7.2": +"@babel/template@npm:^7.16.7": + version: 7.16.7 + resolution: "@babel/template@npm:7.16.7" + dependencies: + "@babel/code-frame": "npm:^7.16.7" + "@babel/parser": "npm:^7.16.7" + "@babel/types": "npm:^7.16.7" + checksum: 10/f35836a8cd53663508bc5e0b13e7fe3d646197fc1baa74c21d3a713c0c91d39fe6f6c5be8ec1ec139b3d0a00443ab1b8cc7ddf88c6ceb6f9fcf7ea0ae7594eca + languageName: node + linkType: hard + +"@babel/template@npm:^7.18.10": + version: 7.18.10 + resolution: "@babel/template@npm:7.18.10" + dependencies: + "@babel/code-frame": "npm:^7.18.6" + "@babel/parser": "npm:^7.18.10" + "@babel/types": "npm:^7.18.10" + checksum: 10/b5d02b484a9afebf74e9757fd16bc794a1608561a2e2bf8d2fb516858cf58e2fec5687c39053a8c5360e968609fc29a5c8efc0cf53ba3daee06d1cf49b4f78fb + languageName: node + linkType: hard + +"@babel/template@npm:^7.20.7, @babel/template@npm:^7.21.9": + version: 7.21.9 + resolution: "@babel/template@npm:7.21.9" + dependencies: + "@babel/code-frame": "npm:^7.21.4" + "@babel/parser": "npm:^7.21.9" + "@babel/types": "npm:^7.21.5" + checksum: 10/dfa6df04a737c1c858b52defe6469cd5206127e7c4cf44c24f81b630e549a1c72ec1945773da9f280147061f27bfd13a9180171b47acac889868c19579be4e7f + languageName: node + linkType: hard + +"@babel/template@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/template@npm:7.22.15" + dependencies: + "@babel/code-frame": "npm:^7.22.13" + "@babel/parser": "npm:^7.22.15" + "@babel/types": "npm:^7.22.15" + checksum: 10/21e768e4eed4d1da2ce5d30aa51db0f4d6d8700bc1821fec6292587df7bba2fe1a96451230de8c64b989740731888ebf1141138bfffb14cacccf4d05c66ad93f + languageName: node + linkType: hard + +"@babel/template@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/template@npm:7.22.5" + dependencies: + "@babel/code-frame": "npm:^7.22.5" + "@babel/parser": "npm:^7.22.5" + "@babel/types": "npm:^7.22.5" + checksum: 10/460634b1c5d61c779270968bd2f0817c19e3a5f20b469330dcab0a324dd29409b15ad1baa8530a21e09a9eb6c7db626500f437690c7be72987e40baa75357799 + languageName: node + linkType: hard + +"@babel/traverse--for-generate-function-map@npm:@babel/traverse@^7.25.3, @babel/traverse@npm:^7.25.3, @babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.26.10, @babel/traverse@npm:^7.26.5, @babel/traverse@npm:^7.26.8, @babel/traverse@npm:^7.27.0": version: 7.27.0 resolution: "@babel/traverse@npm:7.27.0" dependencies: @@ -1644,7 +3766,25 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.21.3, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.2, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.10, @babel/types@npm:^7.27.0, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4": +"@babel/traverse@npm:^7.16.0, @babel/traverse@npm:^7.17.10, @babel/traverse@npm:^7.17.3, @babel/traverse@npm:^7.17.9, @babel/traverse@npm:^7.19.0, @babel/traverse@npm:^7.19.1, @babel/traverse@npm:^7.20.0, @babel/traverse@npm:^7.22.1, @babel/traverse@npm:^7.22.5, @babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.7.2": + version: 7.23.3 + resolution: "@babel/traverse@npm:7.23.3" + dependencies: + "@babel/code-frame": "npm:^7.22.13" + "@babel/generator": "npm:^7.23.3" + "@babel/helper-environment-visitor": "npm:^7.22.20" + "@babel/helper-function-name": "npm:^7.23.0" + "@babel/helper-hoist-variables": "npm:^7.22.5" + "@babel/helper-split-export-declaration": "npm:^7.22.6" + "@babel/parser": "npm:^7.23.3" + "@babel/types": "npm:^7.23.3" + debug: "npm:^4.1.0" + globals: "npm:^11.1.0" + checksum: 10/522ef8eefe1ed31cd392129efb2f8794ca25bd54b1ad7c3bfa7f46d20c47ef0e392d5c1654ddee3454eed5e546d04c9bfa38b04b82e47144aa545f87ba55572d + languageName: node + linkType: hard + +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.2, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.10, @babel/types@npm:^7.27.0, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4": version: 7.27.0 resolution: "@babel/types@npm:7.27.0" dependencies: @@ -1654,6 +3794,71 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.16.7, @babel/types@npm:^7.17.0, @babel/types@npm:^7.17.10, @babel/types@npm:^7.8.3": + version: 7.17.10 + resolution: "@babel/types@npm:7.17.10" + dependencies: + "@babel/helper-validator-identifier": "npm:^7.16.7" + to-fast-properties: "npm:^2.0.0" + checksum: 10/e128cc776b7c7e48884c0c3665f475cb8432a4404f2fc10ab7edc831998ed6ec423411191171a72a1e08058c7d8faa5b535b5cc9c3bb2677fe35ac3505792045 + languageName: node + linkType: hard + +"@babel/types@npm:^7.18.10, @babel/types@npm:^7.18.6, @babel/types@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/types@npm:7.19.0" + dependencies: + "@babel/helper-string-parser": "npm:^7.18.10" + "@babel/helper-validator-identifier": "npm:^7.18.6" + to-fast-properties: "npm:^2.0.0" + checksum: 10/6839d041b69746f35c74d25d82f49ea4e5844cf7f2d781f57aafd8ce4f5ac14ab7749f690454ea25147c9b2251cc753ae9733094e7a6f72f4e1f785f275cb174 + languageName: node + linkType: hard + +"@babel/types@npm:^7.20.0, @babel/types@npm:^7.21.0, @babel/types@npm:^7.21.3, @babel/types@npm:^7.21.4, @babel/types@npm:^7.21.5, @babel/types@npm:^7.22.0, @babel/types@npm:^7.22.3": + version: 7.22.4 + resolution: "@babel/types@npm:7.22.4" + dependencies: + "@babel/helper-string-parser": "npm:^7.21.5" + "@babel/helper-validator-identifier": "npm:^7.19.1" + to-fast-properties: "npm:^2.0.0" + checksum: 10/e614d94f96f45964a42cf12aff2c84e5500045b6c20dd054e38fc39be9e0a6fa64b7241bff55a9d01e02a9656687bfa2bc44fb9c95380f7c5b228126ade62b1b + languageName: node + linkType: hard + +"@babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/types@npm:7.23.0" + dependencies: + "@babel/helper-string-parser": "npm:^7.22.5" + "@babel/helper-validator-identifier": "npm:^7.22.20" + to-fast-properties: "npm:^2.0.0" + checksum: 10/ca5b896a26c91c5672254725c4c892a35567d2122afc47bd5331d1611a7f9230c19fc9ef591a5a6f80bf0d80737e104a9ac205c96447c74bee01d4319db58001 + languageName: node + linkType: hard + +"@babel/types@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/types@npm:7.22.5" + dependencies: + "@babel/helper-string-parser": "npm:^7.22.5" + "@babel/helper-validator-identifier": "npm:^7.22.5" + to-fast-properties: "npm:^2.0.0" + checksum: 10/7f7edffe7e13dbd26a182677575ca7451bc234ce43b93dc49d27325306748628019e7753e6b5619ae462ea0d7e5ce2c0cc24092d53b592642ea89542037748b5 + languageName: node + linkType: hard + +"@babel/types@npm:^7.23.3": + version: 7.23.3 + resolution: "@babel/types@npm:7.23.3" + dependencies: + "@babel/helper-string-parser": "npm:^7.22.5" + "@babel/helper-validator-identifier": "npm:^7.22.20" + to-fast-properties: "npm:^2.0.0" + checksum: 10/05ec1527d0468aa6f3e30fa821625322794055fb572c131aaa8befdf24d174407e2e5954c2b0a292a5456962e23383e36cf9d7cbb01318146d6140ce2128d000 + languageName: node + linkType: hard + "@bcoe/v8-coverage@npm:^0.2.3": version: 0.2.3 resolution: "@bcoe/v8-coverage@npm:0.2.3" @@ -2075,7 +4280,10 @@ __metadata: resolution: "@devcycle/bucketing-assembly-script@workspace:lib/shared/bucketing-assembly-script" dependencies: "@devcycle/bucketing-test-data": "npm:^1.27.0" - protobufjs: "npm:^7.4.0" + "@protobuf-ts/grpc-transport": "npm:^2.9.3" + "@protobuf-ts/plugin": "npm:^2.9.3" + "@protobuf-ts/runtime": "npm:^2.9.3" + "@protobuf-ts/runtime-rpc": "npm:^2.9.3" languageName: unknown linkType: soft @@ -3575,7 +5783,17 @@ __metadata: languageName: node linkType: hard -"@jridgewell/gen-mapping@npm:^0.3.0": +"@jridgewell/gen-mapping@npm:^0.1.0": + version: 0.1.1 + resolution: "@jridgewell/gen-mapping@npm:0.1.1" + dependencies: + "@jridgewell/set-array": "npm:^1.0.0" + "@jridgewell/sourcemap-codec": "npm:^1.4.10" + checksum: 10/ba76fae1d8ea52b181474518c705a8eac36405dfc836fb07e9c25730a84d29e05fd6d954f121057742639f3128a24ea45d205c9c989efd464d1114671c19fa6c + languageName: node + linkType: hard + +"@jridgewell/gen-mapping@npm:^0.3.0, @jridgewell/gen-mapping@npm:^0.3.2": version: 0.3.2 resolution: "@jridgewell/gen-mapping@npm:0.3.2" dependencies: @@ -3618,6 +5836,13 @@ __metadata: languageName: node linkType: hard +"@jridgewell/set-array@npm:^1.0.0": + version: 1.1.1 + resolution: "@jridgewell/set-array@npm:1.1.1" + checksum: 10/cc5d91e0381c347e3edee4ca90b3c292df9e6e55f29acbe0dd97de8651b4730e9ab761406fd572effa79972a0edc55647b627f8c72315e276d959508853d9bf2 + languageName: node + linkType: hard + "@jridgewell/set-array@npm:^1.0.1": version: 1.1.2 resolution: "@jridgewell/set-array@npm:1.1.2" @@ -6017,6 +8242,69 @@ __metadata: languageName: node linkType: hard +"@protobuf-ts/grpc-transport@npm:^2.9.3": + version: 2.9.6 + resolution: "@protobuf-ts/grpc-transport@npm:2.9.6" + dependencies: + "@protobuf-ts/runtime": "npm:^2.9.6" + "@protobuf-ts/runtime-rpc": "npm:^2.9.6" + peerDependencies: + "@grpc/grpc-js": ^1.6.0 + checksum: 10/2be6d82d5d197d33c917753aa9261c6fc1543a094fd2da7a2d5a8fb7880b91b9cc15f090f07336c01697d1dd78e23387f5ba25d61ec5a695f0a59e598cdf3223 + languageName: node + linkType: hard + +"@protobuf-ts/plugin-framework@npm:^2.9.6": + version: 2.9.6 + resolution: "@protobuf-ts/plugin-framework@npm:2.9.6" + dependencies: + "@protobuf-ts/runtime": "npm:^2.9.6" + typescript: "npm:^3.9" + checksum: 10/11a58edbdaf7882fb493247c84e6bcf6ea2400668da743992e63ef9d2fa475d2c896fcfa2b4d9307dc0e9a470177e63f667620c5d4f8d65603903cd33249acdd + languageName: node + linkType: hard + +"@protobuf-ts/plugin@npm:^2.9.3": + version: 2.9.6 + resolution: "@protobuf-ts/plugin@npm:2.9.6" + dependencies: + "@protobuf-ts/plugin-framework": "npm:^2.9.6" + "@protobuf-ts/protoc": "npm:^2.9.6" + "@protobuf-ts/runtime": "npm:^2.9.6" + "@protobuf-ts/runtime-rpc": "npm:^2.9.6" + typescript: "npm:^3.9" + bin: + protoc-gen-dump: bin/protoc-gen-dump + protoc-gen-ts: bin/protoc-gen-ts + checksum: 10/32e4a30098fb284fd1f48dc9930dfdf7d23572b27352733abb0a79c52950d5482b1e9d8922557b398b34fb2f11b28f6f9d25620d0d3175523f6473eea8737b8b + languageName: node + linkType: hard + +"@protobuf-ts/protoc@npm:^2.9.6": + version: 2.9.6 + resolution: "@protobuf-ts/protoc@npm:2.9.6" + bin: + protoc: protoc.js + checksum: 10/f7a6168f4d0af4dd2760a9e66f30223a2c58ecf750cf37216ad81a3f3984cb19ab708d205cc6b7f070d126e7da60453d65aa80d4a1fceb2069017da7192224d6 + languageName: node + linkType: hard + +"@protobuf-ts/runtime-rpc@npm:^2.9.3, @protobuf-ts/runtime-rpc@npm:^2.9.6": + version: 2.9.6 + resolution: "@protobuf-ts/runtime-rpc@npm:2.9.6" + dependencies: + "@protobuf-ts/runtime": "npm:^2.9.6" + checksum: 10/87f47607c541947272c0db911d89920c5d1f59e9d59339ac5f9b7ac29837dbb4689c2334094b13762e9e82689c5d64e57f336fe613cd1619f8c4863b413f0233 + languageName: node + linkType: hard + +"@protobuf-ts/runtime@npm:^2.9.3, @protobuf-ts/runtime@npm:^2.9.6": + version: 2.9.6 + resolution: "@protobuf-ts/runtime@npm:2.9.6" + checksum: 10/676c295fa09555905b574cada64b630dfd6d85d1637139eea0226902b155c2ddac56f356d09691324a3a9c3fc8a738f410b83972984319accb28259a4ed63a8f + languageName: node + linkType: hard + "@protobufjs/aspromise@npm:^1.1.1, @protobufjs/aspromise@npm:^1.1.2": version: 1.1.2 resolution: "@protobufjs/aspromise@npm:1.1.2" @@ -10343,6 +12631,19 @@ __metadata: languageName: node linkType: hard +"babel-plugin-polyfill-corejs2@npm:^0.4.6": + version: 0.4.6 + resolution: "babel-plugin-polyfill-corejs2@npm:0.4.6" + dependencies: + "@babel/compat-data": "npm:^7.22.6" + "@babel/helper-define-polyfill-provider": "npm:^0.4.3" + semver: "npm:^6.3.1" + peerDependencies: + "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 + checksum: 10/736b1bb8e570be029f941a374c769972af870c96b5c324a5387c6b6994aabdad045ce560c530038c8626f02ec70f711ad7445f2572c32ba81fa0e13402cc23f8 + languageName: node + linkType: hard + "babel-plugin-polyfill-corejs3@npm:^0.11.0": version: 0.11.1 resolution: "babel-plugin-polyfill-corejs3@npm:0.11.1" @@ -10355,6 +12656,29 @@ __metadata: languageName: node linkType: hard +"babel-plugin-polyfill-corejs3@npm:^0.8.5": + version: 0.8.6 + resolution: "babel-plugin-polyfill-corejs3@npm:0.8.6" + dependencies: + "@babel/helper-define-polyfill-provider": "npm:^0.4.3" + core-js-compat: "npm:^3.33.1" + peerDependencies: + "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 + checksum: 10/2d9c926fda31d800dea7843d82a41b8914a8aaa67d7fb293dd2594e82cd6ce4c9fc67c9d469587b7c14ba38f5ab5689bdc9c21c268888598f464fe77a5f4c964 + languageName: node + linkType: hard + +"babel-plugin-polyfill-regenerator@npm:^0.5.3": + version: 0.5.3 + resolution: "babel-plugin-polyfill-regenerator@npm:0.5.3" + dependencies: + "@babel/helper-define-polyfill-provider": "npm:^0.4.3" + peerDependencies: + "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 + checksum: 10/2bb546582cda1870d19e646a7183baeb2cccd56e0ef3e4eaeabd28e120daf17cb87399194a9ccdcf32506bcaa68d23e73440fc8ab990a7a0f8c5a77c12d5d4bc + languageName: node + linkType: hard + "babel-plugin-polyfill-regenerator@npm:^0.6.1": version: 0.6.4 resolution: "babel-plugin-polyfill-regenerator@npm:0.6.4" @@ -10790,7 +13114,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.0.0": +"browserslist@npm:^4.0.0, browserslist@npm:^4.20.2": version: 4.20.3 resolution: "browserslist@npm:4.20.3" dependencies: @@ -10819,6 +13143,20 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.21.3": + version: 4.21.3 + resolution: "browserslist@npm:4.21.3" + dependencies: + caniuse-lite: "npm:^1.0.30001370" + electron-to-chromium: "npm:^1.4.202" + node-releases: "npm:^2.0.6" + update-browserslist-db: "npm:^1.0.5" + bin: + browserslist: cli.js + checksum: 10/a8f816d4fa765a985ce9057aec23654bb0b0ce1e1577339a68df76c6878999f359916e35254fbefeb903f349b129cda8766ba61e58dc73249897e5d3f0f7cc7b + languageName: node + linkType: hard + "browserslist@npm:^4.21.4": version: 4.21.4 resolution: "browserslist@npm:4.21.4" @@ -10833,6 +13171,34 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.21.9": + version: 4.21.9 + resolution: "browserslist@npm:4.21.9" + dependencies: + caniuse-lite: "npm:^1.0.30001503" + electron-to-chromium: "npm:^1.4.431" + node-releases: "npm:^2.0.12" + update-browserslist-db: "npm:^1.0.11" + bin: + browserslist: cli.js + checksum: 10/f015dd3d97e9eadcc13aaaf03b4a78a071874eee1cf756a2361191c0888f238dd0ddf1b92c20d072ecd1834d9a51e5a6361f5efaf966728da6a5daaf95b37eb3 + languageName: node + linkType: hard + +"browserslist@npm:^4.22.1": + version: 4.22.1 + resolution: "browserslist@npm:4.22.1" + dependencies: + caniuse-lite: "npm:^1.0.30001541" + electron-to-chromium: "npm:^1.4.535" + node-releases: "npm:^2.0.13" + update-browserslist-db: "npm:^1.0.13" + bin: + browserslist: cli.js + checksum: 10/4a515168e0589c7b1ccbf13a93116ce0418cc5e65d228ec036022cf0e08773fdfb732e2abbf1e1188b96d19ecd4dd707504e75b6d393cba2782fc7d6a7fdefe8 + languageName: node + linkType: hard + "browserslist@npm:^4.24.0, browserslist@npm:^4.24.4": version: 4.24.4 resolution: "browserslist@npm:4.24.4" @@ -11302,6 +13668,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001370": + version: 1.0.30001399 + resolution: "caniuse-lite@npm:1.0.30001399" + checksum: 10/8e662b2f7c402522b1eaec3ffbf51aa9ce3847803debfd72966ede24d9e789ebb0a6ee6d088cb36fad39ee0b7765b55684f9ebd1041398904b7bd71d711980ad + languageName: node + linkType: hard + "caniuse-lite@npm:^1.0.30001400, caniuse-lite@npm:^1.0.30001407": version: 1.0.30001410 resolution: "caniuse-lite@npm:1.0.30001410" @@ -11309,6 +13682,20 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001503": + version: 1.0.30001517 + resolution: "caniuse-lite@npm:1.0.30001517" + checksum: 10/3b9aa01e5e1c112bbe15d653cf4f909748b3ede87613b4381306c3510dab1adb0b09594febdacdf0eb963d8f0d37dcb3b88cea12c579ed14a9ede4581544c7c4 + languageName: node + linkType: hard + +"caniuse-lite@npm:^1.0.30001541": + version: 1.0.30001553 + resolution: "caniuse-lite@npm:1.0.30001553" + checksum: 10/b14b512307aeaeccd4798439ae8665c9c215778132d4a87194552edbbd11965c1a8b3bee593e43a511332e5c4282962e12006ffb75bd3d938c080af7cfc89096 + languageName: node + linkType: hard + "caniuse-lite@npm:^1.0.30001579": version: 1.0.30001617 resolution: "caniuse-lite@npm:1.0.30001617" @@ -11370,7 +13757,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^2.0.1, chalk@npm:^2.4.1": +"chalk@npm:^2.0.0, chalk@npm:^2.0.1, chalk@npm:^2.4.1, chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" dependencies: @@ -12177,7 +14564,7 @@ __metadata: languageName: node linkType: hard -"convert-source-map@npm:^1.4.0, convert-source-map@npm:^1.6.0": +"convert-source-map@npm:^1.4.0, convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": version: 1.8.0 resolution: "convert-source-map@npm:1.8.0" dependencies: @@ -12246,6 +14633,15 @@ __metadata: languageName: node linkType: hard +"core-js-compat@npm:^3.31.0, core-js-compat@npm:^3.33.1": + version: 3.33.1 + resolution: "core-js-compat@npm:3.33.1" + dependencies: + browserslist: "npm:^4.22.1" + checksum: 10/145f8ca307fadde824a75f8ee735f1c53371b44d9a911cc43860aed72972397bf3eec39b04adb1446aa60ab2a8ea074b55cc90fa7af4f84443f8568b50539756 + languageName: node + linkType: hard + "core-js-compat@npm:^3.40.0": version: 3.41.0 resolution: "core-js-compat@npm:3.41.0" @@ -14000,6 +16396,13 @@ __metadata: languageName: node linkType: hard +"electron-to-chromium@npm:^1.4.202": + version: 1.4.249 + resolution: "electron-to-chromium@npm:1.4.249" + checksum: 10/df3fa1bf51ba88252522eb987db4f265ec673a9d6770dbd6fc2cb28ac9852c9113f68b1f9d8423283e3a52f9def7013f1c7cf4ec003bfd6e38aa57ae367ef81a + languageName: node + linkType: hard + "electron-to-chromium@npm:^1.4.251": version: 1.4.258 resolution: "electron-to-chromium@npm:1.4.258" @@ -14007,6 +16410,20 @@ __metadata: languageName: node linkType: hard +"electron-to-chromium@npm:^1.4.431": + version: 1.4.467 + resolution: "electron-to-chromium@npm:1.4.467" + checksum: 10/ca000241ca42a07767341ae8f4601d997508793533f558c53ffc075add7ff9e74337b68d6d74c97e5706bb3d4d8a0bb7e9c91f77fa47d63aafb3c2032397fc65 + languageName: node + linkType: hard + +"electron-to-chromium@npm:^1.4.535": + version: 1.4.566 + resolution: "electron-to-chromium@npm:1.4.566" + checksum: 10/14040960d31365a0d7d4f424476de70f9d5c1109abe7552928558bfbe63c37e54fe86e36c84abb477576d6021e604fca7c858efbc2f4f9b5929a407426a52beb + languageName: node + linkType: hard + "electron-to-chromium@npm:^1.5.4": version: 1.5.26 resolution: "electron-to-chromium@npm:1.5.26" @@ -20367,6 +22784,15 @@ __metadata: languageName: node linkType: hard +"jsesc@npm:^2.5.1": + version: 2.5.2 + resolution: "jsesc@npm:2.5.2" + bin: + jsesc: bin/jsesc + checksum: 10/d2096abdcdec56969764b40ffc91d4a23408aa2f351b4d1c13f736f25476643238c43fdbaf38a191c26b1b78fd856d965f5d4d0dde7b89459cd94025190cdf13 + languageName: node + linkType: hard + "jsesc@npm:^3.0.2": version: 3.1.0 resolution: "jsesc@npm:3.1.0" @@ -20376,6 +22802,15 @@ __metadata: languageName: node linkType: hard +"jsesc@npm:~0.5.0": + version: 0.5.0 + resolution: "jsesc@npm:0.5.0" + bin: + jsesc: bin/jsesc + checksum: 10/fab949f585c71e169c5cbe00f049f20de74f067081bbd64a55443bad1c71e1b5a5b448f2359bf2fe06f5ed7c07e2e4a9101843b01c823c30b6afc11f5bfaf724 + languageName: node + linkType: hard + "jsesc@npm:~3.0.2": version: 3.0.2 resolution: "jsesc@npm:3.0.2" @@ -20466,7 +22901,7 @@ __metadata: languageName: node linkType: hard -"json5@npm:^2.1.2, json5@npm:^2.2.2, json5@npm:^2.2.3": +"json5@npm:^2.1.2, json5@npm:^2.2.1, json5@npm:^2.2.2, json5@npm:^2.2.3": version: 2.2.3 resolution: "json5@npm:2.2.3" bin: @@ -23425,6 +25860,20 @@ __metadata: languageName: node linkType: hard +"node-releases@npm:^2.0.12": + version: 2.0.12 + resolution: "node-releases@npm:2.0.12" + checksum: 10/5b376582d1e348132aeb2c7c14990ca2d6d8687bd57fec912fd7f4e09abb44464fc72503ab2a29804613a7654d7a18f45a69506d249f79dba48fb1258df75c0b + languageName: node + linkType: hard + +"node-releases@npm:^2.0.13": + version: 2.0.13 + resolution: "node-releases@npm:2.0.13" + checksum: 10/c9bb813aab2717ff8b3015ecd4c7c5670a5546e9577699a7c84e8d69230cd3b1ce8f863f8e9b50f18b19a5ffa4b9c1a706bbbfe4c378de955fedbab04488a338 + languageName: node + linkType: hard + "node-releases@npm:^2.0.18": version: 2.0.18 resolution: "node-releases@npm:2.0.18" @@ -27213,6 +29662,15 @@ __metadata: languageName: node linkType: hard +"regenerate-unicode-properties@npm:^10.1.0": + version: 10.1.0 + resolution: "regenerate-unicode-properties@npm:10.1.0" + dependencies: + regenerate: "npm:^1.4.2" + checksum: 10/25b268659898955ad105267b4efba20e361e27b233670694b683728a2800314bec3053918d3bf71b0604376fd76fe9bc9c6f80379cfb6d1e209a58de44101aac + languageName: node + linkType: hard + "regenerate-unicode-properties@npm:^10.2.0": version: 10.2.0 resolution: "regenerate-unicode-properties@npm:10.2.0" @@ -27236,7 +29694,7 @@ __metadata: languageName: node linkType: hard -"regenerator-runtime@npm:^0.13.2": +"regenerator-runtime@npm:^0.13.2, regenerator-runtime@npm:^0.13.4": version: 0.13.9 resolution: "regenerator-runtime@npm:0.13.9" checksum: 10/efbbcee420cf89b90c634ac4c53e4ac8000c80b4650d6d34560f124185d43b21b824d385ec6147657603a1ec1bed6820fc5dfb78e669f9acc7c1b5d7238b1627 @@ -27295,6 +29753,20 @@ __metadata: languageName: node linkType: hard +"regexpu-core@npm:^5.3.1": + version: 5.3.2 + resolution: "regexpu-core@npm:5.3.2" + dependencies: + "@babel/regjsgen": "npm:^0.8.0" + regenerate: "npm:^1.4.2" + regenerate-unicode-properties: "npm:^10.1.0" + regjsparser: "npm:^0.9.1" + unicode-match-property-ecmascript: "npm:^2.0.0" + unicode-match-property-value-ecmascript: "npm:^2.1.0" + checksum: 10/ed0d7c66d84c633fbe8db4939d084c780190eca11f6920807dfb8ebac59e2676952cd8f2008d9c86ae8cf0463ea5fd12c5cff09ef2ce7d51ee6b420a5eb4d177 + languageName: node + linkType: hard + "regexpu-core@npm:^6.2.0": version: 6.2.0 resolution: "regexpu-core@npm:6.2.0" @@ -27327,6 +29799,17 @@ __metadata: languageName: node linkType: hard +"regjsparser@npm:^0.9.1": + version: 0.9.1 + resolution: "regjsparser@npm:0.9.1" + dependencies: + jsesc: "npm:~0.5.0" + bin: + regjsparser: bin/parser + checksum: 10/be7757ef76e1db10bf6996001d1021048b5fb12f5cb470a99b8cf7f3ff943f0f0e2291c0dcdbb418b458ddc4ac10e48680a822b69ef487a0284c8b6b77beddc3 + languageName: node + linkType: hard + "request-progress@npm:^3.0.0": version: 3.0.0 resolution: "request-progress@npm:3.0.0" @@ -30193,6 +32676,13 @@ __metadata: languageName: node linkType: hard +"to-fast-properties@npm:^2.0.0": + version: 2.0.0 + resolution: "to-fast-properties@npm:2.0.0" + checksum: 10/be2de62fe58ead94e3e592680052683b1ec986c72d589e7b21e5697f8744cdbf48c266fa72f6c15932894c10187b5f54573a3bcf7da0bfd964d5caf23d436168 + languageName: node + linkType: hard + "to-regex-range@npm:^5.0.1": version: 5.0.1 resolution: "to-regex-range@npm:5.0.1" @@ -30832,6 +33322,16 @@ __metadata: languageName: node linkType: hard +"typescript@npm:^3.9": + version: 3.9.10 + resolution: "typescript@npm:3.9.10" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10/f86a085eea24fdd665850c6be4dd69c7a71fe3d27ecc712be88cdc7a52d866f4f2416ad91c554df60f499dedcf288a24b3d8052e502833d8acc661a9d21bb98f + languageName: node + linkType: hard + "typescript@npm:^4.4.3": version: 4.6.4 resolution: "typescript@npm:4.6.4" @@ -30882,6 +33382,16 @@ __metadata: languageName: node linkType: hard +"typescript@patch:typescript@npm%3A^3.9#optional!builtin": + version: 3.9.10 + resolution: "typescript@patch:typescript@npm%3A3.9.10#optional!builtin::version=3.9.10&hash=3bd3d3" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10/77024c200e1f80d95185d5a973bcc4b0ecc12a77851390b1382e372195313769373a4b8b1642df4a8d4ae1df5911dcd9bde111cf6755eb4b6091f374e97c6dc5 + languageName: node + linkType: hard + "typescript@patch:typescript@npm%3A^4.4.3#optional!builtin": version: 4.6.4 resolution: "typescript@patch:typescript@npm%3A4.6.4#optional!builtin::version=4.6.4&hash=5d3a66" @@ -31199,7 +33709,35 @@ __metadata: languageName: node linkType: hard -"update-browserslist-db@npm:^1.0.9": +"update-browserslist-db@npm:^1.0.11": + version: 1.0.11 + resolution: "update-browserslist-db@npm:1.0.11" + dependencies: + escalade: "npm:^3.1.1" + picocolors: "npm:^1.0.0" + peerDependencies: + browserslist: ">= 4.21.0" + bin: + update-browserslist-db: cli.js + checksum: 10/cc1c7a38d15413046bea28ff3c7668a7cb6b4a53d83e8089fa960efd896deb6d1a9deffc2beb8dc0506186a352c8d19804efe5ec7eeb401037e14cf3ea5363f8 + languageName: node + linkType: hard + +"update-browserslist-db@npm:^1.0.13": + version: 1.0.13 + resolution: "update-browserslist-db@npm:1.0.13" + dependencies: + escalade: "npm:^3.1.1" + picocolors: "npm:^1.0.0" + peerDependencies: + browserslist: ">= 4.21.0" + bin: + update-browserslist-db: cli.js + checksum: 10/9074b4ef34d2ed931f27d390aafdd391ee7c45ad83c508e8fed6aaae1eb68f81999a768ed8525c6f88d4001a4fbf1b8c0268f099d0e8e72088ec5945ac796acf + languageName: node + linkType: hard + +"update-browserslist-db@npm:^1.0.5, update-browserslist-db@npm:^1.0.9": version: 1.0.9 resolution: "update-browserslist-db@npm:1.0.9" dependencies: From bb7ea2cb9dca9504f128fe404120aae0f9d1c65d Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Fri, 28 Mar 2025 10:05:34 -0400 Subject: [PATCH 2/4] chore: debug protoc --- .../bucketing-assembly-script/package.json | 7 +- .../bucketing-assembly-script/project.json | 2 +- package.json | 4 +- yarn.lock | 399 ++---------------- 4 files changed, 33 insertions(+), 379 deletions(-) diff --git a/lib/shared/bucketing-assembly-script/package.json b/lib/shared/bucketing-assembly-script/package.json index e3059f21b..9b719edf2 100644 --- a/lib/shared/bucketing-assembly-script/package.json +++ b/lib/shared/bucketing-assembly-script/package.json @@ -12,12 +12,11 @@ "README.md" ], "dependencies": { - "@protobuf-ts/runtime": "^2.9.3", - "@protobuf-ts/runtime-rpc": "^2.9.3" + "@protobuf-ts/runtime": "^2.9.3" }, "devDependencies": { "@devcycle/bucketing-test-data": "^1.27.0", - "@protobuf-ts/grpc-transport": "^2.9.3", - "@protobuf-ts/plugin": "^2.9.3" + "@protobuf-ts/plugin": "^2.9.6", + "@protobuf-ts/protoc": "^2.9.6" } } diff --git a/lib/shared/bucketing-assembly-script/project.json b/lib/shared/bucketing-assembly-script/project.json index d259ee78c..f85bb0b64 100644 --- a/lib/shared/bucketing-assembly-script/project.json +++ b/lib/shared/bucketing-assembly-script/project.json @@ -80,7 +80,7 @@ "command": "rm -rf compiled.js compiled.d.ts" }, { - "command": "protoc --plugin=protoc-gen-ts=../../../node_modules/.cache/nx/3088228708506283626/outputs/lib/shared/bucketing-assembly-script/node_modules/@protobuf-ts/plugin/bin/protoc-gen-ts --ts_out=./ --ts_opt=eslint_disable --proto_path=./ ./*.proto" + "command": "pwd && echo 'Current directory:' && ls -la && echo 'Running protoc command...' && ../node_modules/.bin/protoc --plugin=protoc-gen-ts=/Users/jonathannorris/git/js-sdks/node_modules/.store/@protobuf-ts-plugin-npm-2.9.6-ab0cde551c/node_modules/@protobuf-ts/plugin/bin/protoc-gen-ts --ts_out=./ --ts_opt=eslint_disable,output_javascript --proto_path=./ ./*.proto && mv variableForUserParams.ts compiled.d.ts && mv variableForUserParams.js compiled.js" } ], "cwd": "lib/shared/bucketing-assembly-script/protobuf", diff --git a/package.json b/package.json index 09362f347..f741262f1 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,6 @@ "moment": "^2.30.1", "murmurhash": "^2.0.1", "next": "15.2.3", - "protobufjs": "^7.4.0", "react": "18.2.0", "react-bootstrap": "^2.10.9", "react-dom": "18.2.0", @@ -107,6 +106,8 @@ "@nx/workspace": "16.10.0", "@playwright/test": "^1.51.1", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15", + "@protobuf-ts/plugin": "^2.9.6", + "@protobuf-ts/protoc": "^2.9.6", "@react-native-async-storage/async-storage": "1.19.4", "@react-native-community/cli": "11.3.6", "@react-native-community/cli-platform-android": "11.3.6", @@ -191,7 +192,6 @@ "prettier": "^2.8.8", "prettier-eslint": "^16.3.0", "prettier-eslint-cli": "^8.0.1", - "protobufjs-cli": "^1.1.3", "react-native-config": "1.5.0", "react-native-svg": "13.9.0", "react-native-svg-transformer": "^1.5.0", diff --git a/yarn.lock b/yarn.lock index 1bc43cfaf..7d86879fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1380,15 +1380,6 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.20.15": - version: 7.21.2 - resolution: "@babel/parser@npm:7.21.2" - bin: - parser: ./bin/babel-parser.js - checksum: 10/4a53d7ac69fcb36b994259a4d781ff1b0ab736508adbb37511b0f7c9e5c05326bf2a3fd2a9a4cfc86c460f3de703d54def3e2f89d9bec38010fd7f06bf199996 - languageName: node - linkType: hard - "@babel/parser@npm:^7.22.15, @babel/parser@npm:^7.23.0": version: 7.23.0 resolution: "@babel/parser@npm:7.23.0" @@ -4280,10 +4271,9 @@ __metadata: resolution: "@devcycle/bucketing-assembly-script@workspace:lib/shared/bucketing-assembly-script" dependencies: "@devcycle/bucketing-test-data": "npm:^1.27.0" - "@protobuf-ts/grpc-transport": "npm:^2.9.3" - "@protobuf-ts/plugin": "npm:^2.9.3" + "@protobuf-ts/plugin": "npm:^2.9.6" + "@protobuf-ts/protoc": "npm:^2.9.6" "@protobuf-ts/runtime": "npm:^2.9.3" - "@protobuf-ts/runtime-rpc": "npm:^2.9.3" languageName: unknown linkType: soft @@ -5958,15 +5948,6 @@ __metadata: languageName: node linkType: hard -"@jsdoc/salty@npm:^0.2.1": - version: 0.2.5 - resolution: "@jsdoc/salty@npm:0.2.5" - dependencies: - lodash: "npm:^4.17.21" - checksum: 10/b3f868457af175852403bc668422d8e5e83794e750717ddf91a9470f591c48a1079a48796a0deaedad8eda7b448b6f3a02700c05aff4aba299d2d578ee58fdf5 - languageName: node - linkType: hard - "@leichtgewicht/ip-codec@npm:^2.0.1": version: 2.0.4 resolution: "@leichtgewicht/ip-codec@npm:2.0.4" @@ -8242,18 +8223,6 @@ __metadata: languageName: node linkType: hard -"@protobuf-ts/grpc-transport@npm:^2.9.3": - version: 2.9.6 - resolution: "@protobuf-ts/grpc-transport@npm:2.9.6" - dependencies: - "@protobuf-ts/runtime": "npm:^2.9.6" - "@protobuf-ts/runtime-rpc": "npm:^2.9.6" - peerDependencies: - "@grpc/grpc-js": ^1.6.0 - checksum: 10/2be6d82d5d197d33c917753aa9261c6fc1543a094fd2da7a2d5a8fb7880b91b9cc15f090f07336c01697d1dd78e23387f5ba25d61ec5a695f0a59e598cdf3223 - languageName: node - linkType: hard - "@protobuf-ts/plugin-framework@npm:^2.9.6": version: 2.9.6 resolution: "@protobuf-ts/plugin-framework@npm:2.9.6" @@ -8264,7 +8233,7 @@ __metadata: languageName: node linkType: hard -"@protobuf-ts/plugin@npm:^2.9.3": +"@protobuf-ts/plugin@npm:^2.9.6": version: 2.9.6 resolution: "@protobuf-ts/plugin@npm:2.9.6" dependencies: @@ -8289,7 +8258,7 @@ __metadata: languageName: node linkType: hard -"@protobuf-ts/runtime-rpc@npm:^2.9.3, @protobuf-ts/runtime-rpc@npm:^2.9.6": +"@protobuf-ts/runtime-rpc@npm:^2.9.6": version: 2.9.6 resolution: "@protobuf-ts/runtime-rpc@npm:2.9.6" dependencies: @@ -8305,79 +8274,6 @@ __metadata: languageName: node linkType: hard -"@protobufjs/aspromise@npm:^1.1.1, @protobufjs/aspromise@npm:^1.1.2": - version: 1.1.2 - resolution: "@protobufjs/aspromise@npm:1.1.2" - checksum: 10/8a938d84fe4889411296db66b29287bd61ea3c14c2d23e7a8325f46a2b8ce899857c5f038d65d7641805e6c1d06b495525c7faf00c44f85a7ee6476649034969 - languageName: node - linkType: hard - -"@protobufjs/base64@npm:^1.1.2": - version: 1.1.2 - resolution: "@protobufjs/base64@npm:1.1.2" - checksum: 10/c71b100daeb3c9bdccab5cbc29495b906ba0ae22ceedc200e1ba49717d9c4ab15a6256839cebb6f9c6acae4ed7c25c67e0a95e734f612b258261d1a3098fe342 - languageName: node - linkType: hard - -"@protobufjs/codegen@npm:^2.0.4": - version: 2.0.4 - resolution: "@protobufjs/codegen@npm:2.0.4" - checksum: 10/c6ee5fa172a8464f5253174d3c2353ea520c2573ad7b6476983d9b1346f4d8f2b44aa29feb17a949b83c1816bc35286a5ea265ed9d8fdd2865acfa09668c0447 - languageName: node - linkType: hard - -"@protobufjs/eventemitter@npm:^1.1.0": - version: 1.1.0 - resolution: "@protobufjs/eventemitter@npm:1.1.0" - checksum: 10/03af3e99f17ad421283d054c88a06a30a615922a817741b43ca1b13e7c6b37820a37f6eba9980fb5150c54dba6e26cb6f7b64a6f7d8afa83596fafb3afa218c3 - languageName: node - linkType: hard - -"@protobufjs/fetch@npm:^1.1.0": - version: 1.1.0 - resolution: "@protobufjs/fetch@npm:1.1.0" - dependencies: - "@protobufjs/aspromise": "npm:^1.1.1" - "@protobufjs/inquire": "npm:^1.1.0" - checksum: 10/67ae40572ad536e4ef94269199f252c024b66e3059850906bdaee161ca1d75c73d04d35cd56f147a8a5a079f5808e342b99e61942c1dae15604ff0600b09a958 - languageName: node - linkType: hard - -"@protobufjs/float@npm:^1.0.2": - version: 1.0.2 - resolution: "@protobufjs/float@npm:1.0.2" - checksum: 10/634c2c989da0ef2f4f19373d64187e2a79f598c5fb7991afb689d29a2ea17c14b796b29725945fa34b9493c17fb799e08ac0a7ccaae460ee1757d3083ed35187 - languageName: node - linkType: hard - -"@protobufjs/inquire@npm:^1.1.0": - version: 1.1.0 - resolution: "@protobufjs/inquire@npm:1.1.0" - checksum: 10/c09efa34a5465cb120775e1a482136f2340a58b4abce7e93d72b8b5a9324a0e879275016ef9fcd73d72a4731639c54f2bb755bb82f916e4a78892d1d840bb3d2 - languageName: node - linkType: hard - -"@protobufjs/path@npm:^1.1.2": - version: 1.1.2 - resolution: "@protobufjs/path@npm:1.1.2" - checksum: 10/bb709567935fd385a86ad1f575aea98131bbd719c743fb9b6edd6b47ede429ff71a801cecbd64fc72deebf4e08b8f1bd8062793178cdaed3713b8d15771f9b83 - languageName: node - linkType: hard - -"@protobufjs/pool@npm:^1.1.0": - version: 1.1.0 - resolution: "@protobufjs/pool@npm:1.1.0" - checksum: 10/b9c7047647f6af28e92aac54f6f7c1f7ff31b201b4bfcc7a415b2861528854fce3ec666d7e7e10fd744da905f7d4aef2205bbcc8944ca0ca7a82e18134d00c46 - languageName: node - linkType: hard - -"@protobufjs/utf8@npm:^1.1.0": - version: 1.1.0 - resolution: "@protobufjs/utf8@npm:1.1.0" - checksum: 10/131e289c57534c1d73a0e55782d6751dd821db1583cb2f7f7e017c9d6747addaebe79f28120b2e0185395d990aad347fb14ffa73ef4096fa38508d61a0e64602 - languageName: node - linkType: hard - "@react-aria/ssr@npm:^3.5.0": version: 3.9.7 resolution: "@react-aria/ssr@npm:3.9.7" @@ -10029,13 +9925,6 @@ __metadata: languageName: node linkType: hard -"@types/linkify-it@npm:*": - version: 3.0.2 - resolution: "@types/linkify-it@npm:3.0.2" - checksum: 10/dff8f10fafb885422474e456596f12d518ec4cdd6c33cca7a08e7c86b912d301ed91cf5a7613e148c45a12600dc9ab3d85ad16d5b48dc1aaeda151a68f16b536 - languageName: node - linkType: hard - "@types/lodash@npm:^4.17.16": version: 4.17.16 resolution: "@types/lodash@npm:4.17.16" @@ -10043,23 +9932,6 @@ __metadata: languageName: node linkType: hard -"@types/markdown-it@npm:^12.2.3": - version: 12.2.3 - resolution: "@types/markdown-it@npm:12.2.3" - dependencies: - "@types/linkify-it": "npm:*" - "@types/mdurl": "npm:*" - checksum: 10/8838017dd0a0a9bd596114b959d287135393a18e3ddc6a46e9770bdd35c824b88d8ba4b60540ee75ae6c79dc0ccc72ff5d7745083c27900c98925c9b5ae058e6 - languageName: node - linkType: hard - -"@types/mdurl@npm:*": - version: 1.0.2 - resolution: "@types/mdurl@npm:1.0.2" - checksum: 10/6a6fba0f8177a76d58f8f91eb1478061c9a0a87a4177ff69b5c316898e74086c1f6572fa5e748e3b976a6e50dfc179fab24fa8d3f57e29aa6ee18cec01358c45 - languageName: node - linkType: hard - "@types/mime@npm:*": version: 3.0.1 resolution: "@types/mime@npm:3.0.1" @@ -10120,13 +9992,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:>=13.7.0": - version: 18.14.6 - resolution: "@types/node@npm:18.14.6" - checksum: 10/9072f790c9ffc396a9db1276be82a8ae4f9307833b8c770f949a766bc67b07411c664cadb1e58be508306e87096cf498f0409dec4119cf3c8f15ba3234b357e8 - languageName: node - linkType: hard - "@types/normalize-package-data@npm:^2.4.0": version: 2.4.1 resolution: "@types/normalize-package-data@npm:2.4.1" @@ -13735,15 +13600,6 @@ __metadata: languageName: node linkType: hard -"catharsis@npm:^0.9.0": - version: 0.9.0 - resolution: "catharsis@npm:0.9.0" - dependencies: - lodash: "npm:^4.17.15" - checksum: 10/a4f54d5982c0bc4342b1b27b89aa7fb359994ecd1d41431d8bd30432171188179fce1d11a0240863adb05edd157d5af1ded4c72b4972b0098f266e28f9c67164 - languageName: node - linkType: hard - "chalk@npm:^1.1.3": version: 1.1.3 resolution: "chalk@npm:1.1.3" @@ -15846,6 +15702,8 @@ __metadata: "@openfeature/web-sdk": "npm:^1.4.1" "@playwright/test": "npm:^1.51.1" "@pmmmwh/react-refresh-webpack-plugin": "npm:^0.5.15" + "@protobuf-ts/plugin": "npm:^2.9.6" + "@protobuf-ts/protoc": "npm:^2.9.6" "@react-native-async-storage/async-storage": "npm:1.19.4" "@react-native-community/cli": "npm:11.3.6" "@react-native-community/cli-platform-android": "npm:11.3.6" @@ -15951,8 +15809,6 @@ __metadata: prettier: "npm:^2.8.8" prettier-eslint: "npm:^16.3.0" prettier-eslint-cli: "npm:^8.0.1" - protobufjs: "npm:^7.4.0" - protobufjs-cli: "npm:^1.1.3" react: "npm:18.2.0" react-bootstrap: "npm:^2.10.9" react-dom: "npm:18.2.0" @@ -16565,13 +16421,6 @@ __metadata: languageName: node linkType: hard -"entities@npm:~2.1.0": - version: 2.1.0 - resolution: "entities@npm:2.1.0" - checksum: 10/fe71642e42e108540b0324dea03e00f3dbad93617c601bfcf292c3f852c236af3e58469219c4653f6f05df781a446f3b82105b8d26b936d0fa246b0103f2f951 - languageName: node - linkType: hard - "env-paths@npm:^2.2.0": version: 2.2.1 resolution: "env-paths@npm:2.2.1" @@ -17136,25 +16985,6 @@ __metadata: languageName: node linkType: hard -"escodegen@npm:^1.13.0": - version: 1.14.3 - resolution: "escodegen@npm:1.14.3" - dependencies: - esprima: "npm:^4.0.1" - estraverse: "npm:^4.2.0" - esutils: "npm:^2.0.2" - optionator: "npm:^0.8.1" - source-map: "npm:~0.6.1" - dependenciesMeta: - source-map: - optional: true - bin: - escodegen: bin/escodegen.js - esgenerate: bin/esgenerate.js - checksum: 10/70f095ca9393535f9f1c145ef99dc0b3ff14cca6bc4a79d90ff3352f90c3f2e07f75af6d6c05174ea67c45271f75e80dd440dd7d04ed2cf44c9452c3042fa84a - languageName: node - linkType: hard - "escodegen@npm:^2.0.0": version: 2.0.0 resolution: "escodegen@npm:2.0.0" @@ -17752,7 +17582,7 @@ __metadata: languageName: node linkType: hard -"estraverse@npm:^4.1.1, estraverse@npm:^4.2.0": +"estraverse@npm:^4.1.1": version: 4.3.0 resolution: "estraverse@npm:4.3.0" checksum: 10/3f67ad02b6dbfaddd9ea459cf2b6ef4ecff9a6082a7af9d22e445b9abc082ad9ca47e1825557b293fcdae477f4714e561123e30bb6a5b2f184fb2bad4a9497eb @@ -19326,29 +19156,29 @@ __metadata: languageName: node linkType: hard -"glob@npm:^8.0.0, glob@npm:^8.0.3": - version: 8.1.0 - resolution: "glob@npm:8.1.0" +"glob@npm:^8.0.1": + version: 8.0.3 + resolution: "glob@npm:8.0.3" dependencies: fs.realpath: "npm:^1.0.0" inflight: "npm:^1.0.4" inherits: "npm:2" minimatch: "npm:^5.0.1" once: "npm:^1.3.0" - checksum: 10/9aab1c75eb087c35dbc41d1f742e51d0507aa2b14c910d96fb8287107a10a22f4bbdce26fc0a3da4c69a20f7b26d62f1640b346a4f6e6becfff47f335bb1dc5e + checksum: 10/cd002c04010ffddba426376c3046466b923b5450f89a434e6a9df6bfec369a4e907afc436303d7fbc34366dcf37056dcc3bec41e41ce983ed8d78b6035ecc317 languageName: node linkType: hard -"glob@npm:^8.0.1": - version: 8.0.3 - resolution: "glob@npm:8.0.3" +"glob@npm:^8.0.3": + version: 8.1.0 + resolution: "glob@npm:8.1.0" dependencies: fs.realpath: "npm:^1.0.0" inflight: "npm:^1.0.4" inherits: "npm:2" minimatch: "npm:^5.0.1" once: "npm:^1.3.0" - checksum: 10/cd002c04010ffddba426376c3046466b923b5450f89a434e6a9df6bfec369a4e907afc436303d7fbc34366dcf37056dcc3bec41e41ce983ed8d78b6035ecc317 + checksum: 10/9aab1c75eb087c35dbc41d1f742e51d0507aa2b14c910d96fb8287107a10a22f4bbdce26fc0a3da4c69a20f7b26d62f1640b346a4f6e6becfff47f335bb1dc5e languageName: node linkType: hard @@ -19504,7 +19334,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.3, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.1.9, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": +"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.3, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.10 resolution: "graceful-fs@npm:4.2.10" checksum: 10/0c83c52b62c68a944dcfb9d66b0f9f10f7d6e3d081e8067b9bfdc9e5f3a8896584d576036f82915773189eec1eba599397fc620e75c03c0610fb3d67c6713c1a @@ -22626,15 +22456,6 @@ __metadata: languageName: node linkType: hard -"js2xmlparser@npm:^4.0.2": - version: 4.0.2 - resolution: "js2xmlparser@npm:4.0.2" - dependencies: - xmlcreate: "npm:^2.0.4" - checksum: 10/42ccb1372844b6e1d9166254b01fe31d485a0e398fba4f2b095bcca081a2c2f4414b0bd4a32263cd20e01cee681684608255778034fec050e3f5929fd776936c - languageName: node - linkType: hard - "jsbn@npm:~0.1.0": version: 0.1.1 resolution: "jsbn@npm:0.1.1" @@ -22720,31 +22541,6 @@ __metadata: languageName: node linkType: hard -"jsdoc@npm:^4.0.0": - version: 4.0.2 - resolution: "jsdoc@npm:4.0.2" - dependencies: - "@babel/parser": "npm:^7.20.15" - "@jsdoc/salty": "npm:^0.2.1" - "@types/markdown-it": "npm:^12.2.3" - bluebird: "npm:^3.7.2" - catharsis: "npm:^0.9.0" - escape-string-regexp: "npm:^2.0.0" - js2xmlparser: "npm:^4.0.2" - klaw: "npm:^3.0.0" - markdown-it: "npm:^12.3.2" - markdown-it-anchor: "npm:^8.4.1" - marked: "npm:^4.0.10" - mkdirp: "npm:^1.0.4" - requizzle: "npm:^0.2.3" - strip-json-comments: "npm:^3.1.0" - underscore: "npm:~1.13.2" - bin: - jsdoc: jsdoc.js - checksum: 10/1cd7e871f1d9c2af5dd8d3bb1d01b9905807fcb7df7d59e0e4d2ab424224963a145944b975f70947909dd9e246ad52d5e685cd1e7b0381a2195d44d7b7c43163 - languageName: node - linkType: hard - "jsdom@npm:^20.0.0": version: 20.0.3 resolution: "jsdom@npm:20.0.3" @@ -23064,15 +22860,6 @@ __metadata: languageName: node linkType: hard -"klaw@npm:^3.0.0": - version: 3.0.0 - resolution: "klaw@npm:3.0.0" - dependencies: - graceful-fs: "npm:^4.1.9" - checksum: 10/b55bb6c5dad4f5f2431914fd4b2d0312cdd3581fc1ef75ca0b83899c76dfc4c78b6a22508a33cb8c1ebe0bbdc13aa028a05eda23ef11625a935c30687fd8be14 - languageName: node - linkType: hard - "kleur@npm:4.1.5": version: 4.1.5 resolution: "kleur@npm:4.1.5" @@ -23322,15 +23109,6 @@ __metadata: languageName: node linkType: hard -"linkify-it@npm:^3.0.1": - version: 3.0.3 - resolution: "linkify-it@npm:3.0.3" - dependencies: - uc.micro: "npm:^1.0.1" - checksum: 10/1ed466b02ad361bb5e5b94a81232fc126890751038bf3e61f648f4ccb01e5e096bba66c3eff3d21ed5e3da738de0dc29783afedf0255733669889aa09d49e47e - languageName: node - linkType: hard - "lint-staged@npm:^11.2.6": version: 11.2.6 resolution: "lint-staged@npm:11.2.6" @@ -23685,7 +23463,7 @@ __metadata: languageName: node linkType: hard -"long@npm:^5.0.0, long@npm:^5.2.1": +"long@npm:^5.2.1": version: 5.2.1 resolution: "long@npm:5.2.1" checksum: 10/2985ebc76c618ce1e13391de9893cb42359d389f30fed6150dbfb21a2c2a26fd2f88fa37c1499aa27d06349a003e75fa283c5a74b588db1a9daeea2693afb431 @@ -23907,40 +23685,6 @@ __metadata: languageName: node linkType: hard -"markdown-it-anchor@npm:^8.4.1": - version: 8.6.7 - resolution: "markdown-it-anchor@npm:8.6.7" - peerDependencies: - "@types/markdown-it": "*" - markdown-it: "*" - checksum: 10/1b061e9c8fb093dab6040725f9f3cedae7da1160a14ee8f29d144534be7ee5c788f02a4de4019f55eb8514cae5f12d350baaa7d08732c26a62abc60e5e66c7f7 - languageName: node - linkType: hard - -"markdown-it@npm:^12.3.2": - version: 12.3.2 - resolution: "markdown-it@npm:12.3.2" - dependencies: - argparse: "npm:^2.0.1" - entities: "npm:~2.1.0" - linkify-it: "npm:^3.0.1" - mdurl: "npm:^1.0.1" - uc.micro: "npm:^1.0.5" - bin: - markdown-it: bin/markdown-it.js - checksum: 10/d83d794bfb9f5e05750b25db401d9c1f9b97c6bbabb6cfd78988bb98652c62c24417435487238e2b91fd4e495547ae8c9429fb4c69e9f5bf49bd0dd292d53f24 - languageName: node - linkType: hard - -"marked@npm:^4.0.10": - version: 4.2.12 - resolution: "marked@npm:4.2.12" - bin: - marked: bin/marked.js - checksum: 10/5f718731a0e0c5c5a016414456b90709f03ad766209c86a3841cdd50851e0fc12ef5b796590de5d086a6467775a3f5af9abe5677d8fdca6de5e9c8159671b30d - languageName: node - linkType: hard - "marky@npm:^1.2.2": version: 1.2.5 resolution: "marky@npm:1.2.5" @@ -23987,13 +23731,6 @@ __metadata: languageName: node linkType: hard -"mdurl@npm:^1.0.1": - version: 1.0.1 - resolution: "mdurl@npm:1.0.1" - checksum: 10/ada367d01c9e81d07328101f187d5bd8641b71f33eab075df4caed935a24fa679e625f07108801d8250a5e4a99e5cd4be7679957a11424a3aa3e740d2bb2d5cb - languageName: node - linkType: hard - "media-typer@npm:0.3.0": version: 0.3.0 resolution: "media-typer@npm:0.3.0" @@ -28765,49 +28502,6 @@ __metadata: languageName: node linkType: hard -"protobufjs-cli@npm:^1.1.3": - version: 1.1.3 - resolution: "protobufjs-cli@npm:1.1.3" - dependencies: - chalk: "npm:^4.0.0" - escodegen: "npm:^1.13.0" - espree: "npm:^9.0.0" - estraverse: "npm:^5.1.0" - glob: "npm:^8.0.0" - jsdoc: "npm:^4.0.0" - minimist: "npm:^1.2.0" - semver: "npm:^7.1.2" - tmp: "npm:^0.2.1" - uglify-js: "npm:^3.7.7" - peerDependencies: - protobufjs: ^7.0.0 - bin: - pbjs: bin/pbjs - pbts: bin/pbts - checksum: 10/081a38e406761d8865a53ef12726c7dec1d1c23dfe0a0706d5e7da3aaba24879bb2316274cc69296fa941a2e57606839008deca24da5943fec17fcff58268a91 - languageName: node - linkType: hard - -"protobufjs@npm:^7.4.0": - version: 7.4.0 - resolution: "protobufjs@npm:7.4.0" - dependencies: - "@protobufjs/aspromise": "npm:^1.1.2" - "@protobufjs/base64": "npm:^1.1.2" - "@protobufjs/codegen": "npm:^2.0.4" - "@protobufjs/eventemitter": "npm:^1.1.0" - "@protobufjs/fetch": "npm:^1.1.0" - "@protobufjs/float": "npm:^1.0.2" - "@protobufjs/inquire": "npm:^1.1.0" - "@protobufjs/path": "npm:^1.1.2" - "@protobufjs/pool": "npm:^1.1.0" - "@protobufjs/utf8": "npm:^1.1.0" - "@types/node": "npm:>=13.7.0" - long: "npm:^5.0.0" - checksum: 10/408423506610f70858d7593632f4a6aa4f05796c90fd632be9b9252457c795acc71aa6d3b54bb7f48a890141728fee4ca3906723ccea6c202ad71f21b3879b8b - languageName: node - linkType: hard - "protocols@npm:^2.0.0, protocols@npm:^2.0.1": version: 2.0.1 resolution: "protocols@npm:2.0.1" @@ -29854,15 +29548,6 @@ __metadata: languageName: node linkType: hard -"requizzle@npm:^0.2.3": - version: 0.2.4 - resolution: "requizzle@npm:0.2.4" - dependencies: - lodash: "npm:^4.17.21" - checksum: 10/b13ce6d2a45d46be84ab274422b08a3233119e41ea5e1c8cef814abced2e25d15b7d4b995ef5d419f3dc6537314e6b1ba4a5c84d998d4143cf9938a67fc63587 - languageName: node - linkType: hard - "resolve-alpn@npm:^1.0.0": version: 1.2.1 resolution: "resolve-alpn@npm:1.2.1" @@ -30615,7 +30300,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:7.x, semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.1.2, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.6, semver@npm:^7.3.7, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4": +"semver@npm:7.x, semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.6, semver@npm:^7.3.7, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4": version: 7.5.4 resolution: "semver@npm:7.5.4" dependencies: @@ -31967,7 +31652,7 @@ __metadata: languageName: node linkType: hard -"strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1": +"strip-json-comments@npm:^3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" checksum: 10/492f73e27268f9b1c122733f28ecb0e7e8d8a531a6662efbd08e22cccb3f9475e90a1b82cab06a392f6afae6d2de636f977e231296400d0ec5304ba70f166443 @@ -32653,7 +32338,14 @@ __metadata: languageName: node linkType: hard -"tmp@npm:^0.2.1, tmp@npm:~0.2.1": +"tmp@npm:^0.2.3, tmp@npm:~0.2.3": + version: 0.2.3 + resolution: "tmp@npm:0.2.3" + checksum: 10/7b13696787f159c9754793a83aa79a24f1522d47b87462ddb57c18ee93ff26c74cbb2b8d9138f571d2e0e765c728fb2739863a672b280528512c6d83d511c6fa + languageName: node + linkType: hard + +"tmp@npm:~0.2.1": version: 0.2.1 resolution: "tmp@npm:0.2.1" dependencies: @@ -32662,13 +32354,6 @@ __metadata: languageName: node linkType: hard -"tmp@npm:^0.2.3, tmp@npm:~0.2.3": - version: 0.2.3 - resolution: "tmp@npm:0.2.3" - checksum: 10/7b13696787f159c9754793a83aa79a24f1522d47b87462ddb57c18ee93ff26c74cbb2b8d9138f571d2e0e765c728fb2739863a672b280528512c6d83d511c6fa - languageName: node - linkType: hard - "tmpl@npm:1.0.5": version: 1.0.5 resolution: "tmpl@npm:1.0.5" @@ -33441,13 +33126,6 @@ __metadata: languageName: node linkType: hard -"uc.micro@npm:^1.0.1, uc.micro@npm:^1.0.5": - version: 1.0.6 - resolution: "uc.micro@npm:1.0.6" - checksum: 10/6898bb556319a38e9cf175e3628689347bd26fec15fc6b29fa38e0045af63075ff3fea4cf1fdba9db46c9f0cbf07f2348cd8844889dd31ebd288c29fe0d27e7a - languageName: node - linkType: hard - "ufo@npm:^1.5.4": version: 1.5.4 resolution: "ufo@npm:1.5.4" @@ -33476,15 +33154,6 @@ __metadata: languageName: node linkType: hard -"uglify-js@npm:^3.7.7": - version: 3.17.4 - resolution: "uglify-js@npm:3.17.4" - bin: - uglifyjs: bin/uglifyjs - checksum: 10/4c0b800e0ff192079d2c3ce8414fd3b656a570028c7c79af5c29c53d5c532b68bbcae4ad47307f89c2ee124d11826fff7a136b59d5c5bb18422bcdf5568afe1e - languageName: node - linkType: hard - "uid@npm:2.0.2": version: 2.0.2 resolution: "uid@npm:2.0.2" @@ -33541,13 +33210,6 @@ __metadata: languageName: node linkType: hard -"underscore@npm:~1.13.2": - version: 1.13.6 - resolution: "underscore@npm:1.13.6" - checksum: 10/58cf5dc42cb0ac99c146ae4064792c0a2cc84f3a3c4ad88f5082e79057dfdff3371d896d1ec20379e9ece2450d94fa78f2ef5bfefc199ba320653e32c009bd66 - languageName: node - linkType: hard - "undici-types@npm:~5.26.4": version: 5.26.5 resolution: "undici-types@npm:5.26.5" @@ -34897,13 +34559,6 @@ __metadata: languageName: node linkType: hard -"xmlcreate@npm:^2.0.4": - version: 2.0.4 - resolution: "xmlcreate@npm:2.0.4" - checksum: 10/4b508f92848fcc05d98b5c0bee40242de327410dda3d16659bb9d3c88faeba26f4af793111ad443be673a60f300b9fd51a6349875c63f34bcbe61a321b94c7ef - languageName: node - linkType: hard - "xtend@npm:^4.0.2, xtend@npm:~4.0.1": version: 4.0.2 resolution: "xtend@npm:4.0.2" From e37a638bd4bd42d646df120384275fa50410e1ac Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Fri, 28 Mar 2025 10:31:23 -0400 Subject: [PATCH 3/4] feat: got pb compiling working agian --- .../bucketing-assembly-script/package.json | 3 +- .../bucketing-assembly-script/project.json | 9 +- .../protobuf/compiled.d.ts | 289 +++++++++ .../protobuf/compiled.js | 590 ++++++++++++++++++ package.json | 1 - yarn.lock | 2 - 6 files changed, 886 insertions(+), 8 deletions(-) create mode 100644 lib/shared/bucketing-assembly-script/protobuf/compiled.d.ts create mode 100644 lib/shared/bucketing-assembly-script/protobuf/compiled.js diff --git a/lib/shared/bucketing-assembly-script/package.json b/lib/shared/bucketing-assembly-script/package.json index 9b719edf2..22d7d99cd 100644 --- a/lib/shared/bucketing-assembly-script/package.json +++ b/lib/shared/bucketing-assembly-script/package.json @@ -16,7 +16,6 @@ }, "devDependencies": { "@devcycle/bucketing-test-data": "^1.27.0", - "@protobuf-ts/plugin": "^2.9.6", - "@protobuf-ts/protoc": "^2.9.6" + "@protobuf-ts/plugin": "^2.9.6" } } diff --git a/lib/shared/bucketing-assembly-script/project.json b/lib/shared/bucketing-assembly-script/project.json index f85bb0b64..5e322158a 100644 --- a/lib/shared/bucketing-assembly-script/project.json +++ b/lib/shared/bucketing-assembly-script/project.json @@ -77,13 +77,16 @@ "options": { "commands": [ { - "command": "rm -rf compiled.js compiled.d.ts" + "command": "rm -rf ./protobuf/compiled.js ./protobuf/compiled.d.ts" }, { - "command": "pwd && echo 'Current directory:' && ls -la && echo 'Running protoc command...' && ../node_modules/.bin/protoc --plugin=protoc-gen-ts=/Users/jonathannorris/git/js-sdks/node_modules/.store/@protobuf-ts-plugin-npm-2.9.6-ab0cde551c/node_modules/@protobuf-ts/plugin/bin/protoc-gen-ts --ts_out=./ --ts_opt=eslint_disable,output_javascript --proto_path=./ ./*.proto && mv variableForUserParams.ts compiled.d.ts && mv variableForUserParams.js compiled.js" + "command": "protoc --plugin=../../../node_modules/@protobuf-ts/plugin/bin/protoc-gen-ts --ts_out=./protobuf --ts_opt=eslint_disable,output_javascript --proto_path=./protobuf ./protobuf/*.proto" + }, + { + "command": "cd protobuf/ && mv variableForUserParams.d.ts compiled.d.ts && mv variableForUserParams.js compiled.js" } ], - "cwd": "lib/shared/bucketing-assembly-script/protobuf", + "cwd": "lib/shared/bucketing-assembly-script", "parallel": false } }, diff --git a/lib/shared/bucketing-assembly-script/protobuf/compiled.d.ts b/lib/shared/bucketing-assembly-script/protobuf/compiled.d.ts new file mode 100644 index 000000000..2b465699c --- /dev/null +++ b/lib/shared/bucketing-assembly-script/protobuf/compiled.d.ts @@ -0,0 +1,289 @@ +/* eslint-disable */ +// @generated by protobuf-ts 2.9.6 with parameter eslint_disable,output_javascript +// @generated from protobuf file "variableForUserParams.proto" (syntax proto3) +// tslint:disable +import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; +import type { IBinaryWriter } from "@protobuf-ts/runtime"; +import type { BinaryReadOptions } from "@protobuf-ts/runtime"; +import type { IBinaryReader } from "@protobuf-ts/runtime"; +import type { PartialMessage } from "@protobuf-ts/runtime"; +import { MessageType } from "@protobuf-ts/runtime"; +/** + * @generated from protobuf message NullableString + */ +export interface NullableString { + /** + * @generated from protobuf field: string value = 1; + */ + value: string; + /** + * @generated from protobuf field: bool isNull = 2; + */ + isNull: boolean; +} +/** + * @generated from protobuf message NullableDouble + */ +export interface NullableDouble { + /** + * @generated from protobuf field: double value = 1; + */ + value: number; + /** + * @generated from protobuf field: bool isNull = 2; + */ + isNull: boolean; +} +/** + * @generated from protobuf message CustomDataValue + */ +export interface CustomDataValue { + /** + * @generated from protobuf field: CustomDataType type = 1; + */ + type: CustomDataType; + /** + * @generated from protobuf field: bool boolValue = 2; + */ + boolValue: boolean; + /** + * @generated from protobuf field: double doubleValue = 3; + */ + doubleValue: number; + /** + * @generated from protobuf field: string stringValue = 4; + */ + stringValue: string; +} +/** + * @generated from protobuf message NullableCustomData + */ +export interface NullableCustomData { + /** + * @generated from protobuf field: map value = 1; + */ + value: { + [key: string]: CustomDataValue; + }; + /** + * @generated from protobuf field: bool isNull = 2; + */ + isNull: boolean; +} +/** + * @generated from protobuf message VariableForUserParams_PB + */ +export interface VariableForUserParams_PB { + /** + * @generated from protobuf field: string sdkKey = 1; + */ + sdkKey: string; + /** + * @generated from protobuf field: string variableKey = 2; + */ + variableKey: string; + /** + * @generated from protobuf field: VariableType_PB variableType = 3; + */ + variableType: VariableType_PB; + /** + * @generated from protobuf field: DVCUser_PB user = 4; + */ + user?: DVCUser_PB; + /** + * @generated from protobuf field: bool shouldTrackEvent = 5; + */ + shouldTrackEvent: boolean; +} +/** + * @generated from protobuf message DVCUser_PB + */ +export interface DVCUser_PB { + /** + * @generated from protobuf field: string user_id = 1; + */ + userId: string; + /** + * @generated from protobuf field: NullableString email = 2; + */ + email?: NullableString; + /** + * @generated from protobuf field: NullableString name = 3; + */ + name?: NullableString; + /** + * @generated from protobuf field: NullableString language = 4; + */ + language?: NullableString; + /** + * @generated from protobuf field: NullableString country = 5; + */ + country?: NullableString; + /** + * @generated from protobuf field: NullableDouble appBuild = 6; + */ + appBuild?: NullableDouble; + /** + * @generated from protobuf field: NullableString appVersion = 7; + */ + appVersion?: NullableString; + /** + * @generated from protobuf field: NullableString deviceModel = 8; + */ + deviceModel?: NullableString; + /** + * @generated from protobuf field: NullableCustomData customData = 9; + */ + customData?: NullableCustomData; + /** + * @generated from protobuf field: NullableCustomData privateCustomData = 10; + */ + privateCustomData?: NullableCustomData; +} +/** + * @generated from protobuf message SDKVariable_PB + */ +export interface SDKVariable_PB { + /** + * @generated from protobuf field: string _id = 1; + */ + Id: string; + /** + * @generated from protobuf field: VariableType_PB type = 2; + */ + type: VariableType_PB; + /** + * @generated from protobuf field: string key = 3; + */ + key: string; + /** + * @generated from protobuf field: bool boolValue = 4; + */ + boolValue: boolean; + /** + * @generated from protobuf field: double doubleValue = 5; + */ + doubleValue: number; + /** + * @generated from protobuf field: string stringValue = 6; + */ + stringValue: string; + /** + * @generated from protobuf field: NullableString evalReason = 7; + */ + evalReason?: NullableString; +} +/** + * @generated from protobuf enum VariableType_PB + */ +export declare enum VariableType_PB { + /** + * @generated from protobuf enum value: Boolean = 0; + */ + Boolean = 0, + /** + * @generated from protobuf enum value: Number = 1; + */ + Number = 1, + /** + * @generated from protobuf enum value: String = 2; + */ + String = 2, + /** + * @generated from protobuf enum value: JSON = 3; + */ + JSON = 3 +} +/** + * @generated from protobuf enum CustomDataType + */ +export declare enum CustomDataType { + /** + * @generated from protobuf enum value: Bool = 0; + */ + Bool = 0, + /** + * @generated from protobuf enum value: Num = 1; + */ + Num = 1, + /** + * @generated from protobuf enum value: Str = 2; + */ + Str = 2, + /** + * @generated from protobuf enum value: Null = 3; + */ + Null = 3 +} +declare class NullableString$Type extends MessageType { + constructor(); + create(value?: PartialMessage): NullableString; + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NullableString): NullableString; + internalBinaryWrite(message: NullableString, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; +} +/** + * @generated MessageType for protobuf message NullableString + */ +export declare const NullableString: NullableString$Type; +declare class NullableDouble$Type extends MessageType { + constructor(); + create(value?: PartialMessage): NullableDouble; + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NullableDouble): NullableDouble; + internalBinaryWrite(message: NullableDouble, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; +} +/** + * @generated MessageType for protobuf message NullableDouble + */ +export declare const NullableDouble: NullableDouble$Type; +declare class CustomDataValue$Type extends MessageType { + constructor(); + create(value?: PartialMessage): CustomDataValue; + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CustomDataValue): CustomDataValue; + internalBinaryWrite(message: CustomDataValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; +} +/** + * @generated MessageType for protobuf message CustomDataValue + */ +export declare const CustomDataValue: CustomDataValue$Type; +declare class NullableCustomData$Type extends MessageType { + constructor(); + create(value?: PartialMessage): NullableCustomData; + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NullableCustomData): NullableCustomData; + private binaryReadMap1; + internalBinaryWrite(message: NullableCustomData, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; +} +/** + * @generated MessageType for protobuf message NullableCustomData + */ +export declare const NullableCustomData: NullableCustomData$Type; +declare class VariableForUserParams_PB$Type extends MessageType { + constructor(); + create(value?: PartialMessage): VariableForUserParams_PB; + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VariableForUserParams_PB): VariableForUserParams_PB; + internalBinaryWrite(message: VariableForUserParams_PB, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; +} +/** + * @generated MessageType for protobuf message VariableForUserParams_PB + */ +export declare const VariableForUserParams_PB: VariableForUserParams_PB$Type; +declare class DVCUser_PB$Type extends MessageType { + constructor(); + create(value?: PartialMessage): DVCUser_PB; + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DVCUser_PB): DVCUser_PB; + internalBinaryWrite(message: DVCUser_PB, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; +} +/** + * @generated MessageType for protobuf message DVCUser_PB + */ +export declare const DVCUser_PB: DVCUser_PB$Type; +declare class SDKVariable_PB$Type extends MessageType { + constructor(); + create(value?: PartialMessage): SDKVariable_PB; + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SDKVariable_PB): SDKVariable_PB; + internalBinaryWrite(message: SDKVariable_PB, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; +} +/** + * @generated MessageType for protobuf message SDKVariable_PB + */ +export declare const SDKVariable_PB: SDKVariable_PB$Type; +export {}; diff --git a/lib/shared/bucketing-assembly-script/protobuf/compiled.js b/lib/shared/bucketing-assembly-script/protobuf/compiled.js new file mode 100644 index 000000000..3cbd98238 --- /dev/null +++ b/lib/shared/bucketing-assembly-script/protobuf/compiled.js @@ -0,0 +1,590 @@ +/* eslint-disable */ +// @generated by protobuf-ts 2.9.6 with parameter eslint_disable,output_javascript +// @generated from protobuf file "variableForUserParams.proto" (syntax proto3) +// tslint:disable +import { WireType } from "@protobuf-ts/runtime"; +import { UnknownFieldHandler } from "@protobuf-ts/runtime"; +import { reflectionMergePartial } from "@protobuf-ts/runtime"; +import { MessageType } from "@protobuf-ts/runtime"; +/** + * @generated from protobuf enum VariableType_PB + */ +export var VariableType_PB; +(function (VariableType_PB) { + /** + * @generated from protobuf enum value: Boolean = 0; + */ + VariableType_PB[VariableType_PB["Boolean"] = 0] = "Boolean"; + /** + * @generated from protobuf enum value: Number = 1; + */ + VariableType_PB[VariableType_PB["Number"] = 1] = "Number"; + /** + * @generated from protobuf enum value: String = 2; + */ + VariableType_PB[VariableType_PB["String"] = 2] = "String"; + /** + * @generated from protobuf enum value: JSON = 3; + */ + VariableType_PB[VariableType_PB["JSON"] = 3] = "JSON"; +})(VariableType_PB || (VariableType_PB = {})); +/** + * @generated from protobuf enum CustomDataType + */ +export var CustomDataType; +(function (CustomDataType) { + /** + * @generated from protobuf enum value: Bool = 0; + */ + CustomDataType[CustomDataType["Bool"] = 0] = "Bool"; + /** + * @generated from protobuf enum value: Num = 1; + */ + CustomDataType[CustomDataType["Num"] = 1] = "Num"; + /** + * @generated from protobuf enum value: Str = 2; + */ + CustomDataType[CustomDataType["Str"] = 2] = "Str"; + /** + * @generated from protobuf enum value: Null = 3; + */ + CustomDataType[CustomDataType["Null"] = 3] = "Null"; +})(CustomDataType || (CustomDataType = {})); +// @generated message type with reflection information, may provide speed optimized methods +class NullableString$Type extends MessageType { + constructor() { + super("NullableString", [ + { no: 1, name: "value", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 2, name: "isNull", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } + ]); + } + create(value) { + const message = globalThis.Object.create((this.messagePrototype)); + message.value = ""; + message.isNull = false; + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader, length, options, target) { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* string value */ 1: + message.value = reader.string(); + break; + case /* bool isNull */ 2: + message.isNull = reader.bool(); + break; + default: + let u = options.readUnknownField; + if (u === "throw") + throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); + let d = reader.skip(wireType); + if (u !== false) + (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); + } + } + return message; + } + internalBinaryWrite(message, writer, options) { + /* string value = 1; */ + if (message.value !== "") + writer.tag(1, WireType.LengthDelimited).string(message.value); + /* bool isNull = 2; */ + if (message.isNull !== false) + writer.tag(2, WireType.Varint).bool(message.isNull); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message NullableString + */ +export const NullableString = new NullableString$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class NullableDouble$Type extends MessageType { + constructor() { + super("NullableDouble", [ + { no: 1, name: "value", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ }, + { no: 2, name: "isNull", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } + ]); + } + create(value) { + const message = globalThis.Object.create((this.messagePrototype)); + message.value = 0; + message.isNull = false; + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader, length, options, target) { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* double value */ 1: + message.value = reader.double(); + break; + case /* bool isNull */ 2: + message.isNull = reader.bool(); + break; + default: + let u = options.readUnknownField; + if (u === "throw") + throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); + let d = reader.skip(wireType); + if (u !== false) + (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); + } + } + return message; + } + internalBinaryWrite(message, writer, options) { + /* double value = 1; */ + if (message.value !== 0) + writer.tag(1, WireType.Bit64).double(message.value); + /* bool isNull = 2; */ + if (message.isNull !== false) + writer.tag(2, WireType.Varint).bool(message.isNull); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message NullableDouble + */ +export const NullableDouble = new NullableDouble$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class CustomDataValue$Type extends MessageType { + constructor() { + super("CustomDataValue", [ + { no: 1, name: "type", kind: "enum", T: () => ["CustomDataType", CustomDataType] }, + { no: 2, name: "boolValue", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, + { no: 3, name: "doubleValue", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ }, + { no: 4, name: "stringValue", kind: "scalar", T: 9 /*ScalarType.STRING*/ } + ]); + } + create(value) { + const message = globalThis.Object.create((this.messagePrototype)); + message.type = 0; + message.boolValue = false; + message.doubleValue = 0; + message.stringValue = ""; + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader, length, options, target) { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* CustomDataType type */ 1: + message.type = reader.int32(); + break; + case /* bool boolValue */ 2: + message.boolValue = reader.bool(); + break; + case /* double doubleValue */ 3: + message.doubleValue = reader.double(); + break; + case /* string stringValue */ 4: + message.stringValue = reader.string(); + break; + default: + let u = options.readUnknownField; + if (u === "throw") + throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); + let d = reader.skip(wireType); + if (u !== false) + (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); + } + } + return message; + } + internalBinaryWrite(message, writer, options) { + /* CustomDataType type = 1; */ + if (message.type !== 0) + writer.tag(1, WireType.Varint).int32(message.type); + /* bool boolValue = 2; */ + if (message.boolValue !== false) + writer.tag(2, WireType.Varint).bool(message.boolValue); + /* double doubleValue = 3; */ + if (message.doubleValue !== 0) + writer.tag(3, WireType.Bit64).double(message.doubleValue); + /* string stringValue = 4; */ + if (message.stringValue !== "") + writer.tag(4, WireType.LengthDelimited).string(message.stringValue); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message CustomDataValue + */ +export const CustomDataValue = new CustomDataValue$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class NullableCustomData$Type extends MessageType { + constructor() { + super("NullableCustomData", [ + { no: 1, name: "value", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => CustomDataValue } }, + { no: 2, name: "isNull", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } + ]); + } + create(value) { + const message = globalThis.Object.create((this.messagePrototype)); + message.value = {}; + message.isNull = false; + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader, length, options, target) { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* map value */ 1: + this.binaryReadMap1(message.value, reader, options); + break; + case /* bool isNull */ 2: + message.isNull = reader.bool(); + break; + default: + let u = options.readUnknownField; + if (u === "throw") + throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); + let d = reader.skip(wireType); + if (u !== false) + (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); + } + } + return message; + } + binaryReadMap1(map, reader, options) { + let len = reader.uint32(), end = reader.pos + len, key, val; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case 1: + key = reader.string(); + break; + case 2: + val = CustomDataValue.internalBinaryRead(reader, reader.uint32(), options); + break; + default: throw new globalThis.Error("unknown map entry field for field NullableCustomData.value"); + } + } + map[key ?? ""] = val ?? CustomDataValue.create(); + } + internalBinaryWrite(message, writer, options) { + /* map value = 1; */ + for (let k of globalThis.Object.keys(message.value)) { + writer.tag(1, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k); + writer.tag(2, WireType.LengthDelimited).fork(); + CustomDataValue.internalBinaryWrite(message.value[k], writer, options); + writer.join().join(); + } + /* bool isNull = 2; */ + if (message.isNull !== false) + writer.tag(2, WireType.Varint).bool(message.isNull); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message NullableCustomData + */ +export const NullableCustomData = new NullableCustomData$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class VariableForUserParams_PB$Type extends MessageType { + constructor() { + super("VariableForUserParams_PB", [ + { no: 1, name: "sdkKey", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 2, name: "variableKey", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 3, name: "variableType", kind: "enum", T: () => ["VariableType_PB", VariableType_PB] }, + { no: 4, name: "user", kind: "message", T: () => DVCUser_PB }, + { no: 5, name: "shouldTrackEvent", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } + ]); + } + create(value) { + const message = globalThis.Object.create((this.messagePrototype)); + message.sdkKey = ""; + message.variableKey = ""; + message.variableType = 0; + message.shouldTrackEvent = false; + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader, length, options, target) { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* string sdkKey */ 1: + message.sdkKey = reader.string(); + break; + case /* string variableKey */ 2: + message.variableKey = reader.string(); + break; + case /* VariableType_PB variableType */ 3: + message.variableType = reader.int32(); + break; + case /* DVCUser_PB user */ 4: + message.user = DVCUser_PB.internalBinaryRead(reader, reader.uint32(), options, message.user); + break; + case /* bool shouldTrackEvent */ 5: + message.shouldTrackEvent = reader.bool(); + break; + default: + let u = options.readUnknownField; + if (u === "throw") + throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); + let d = reader.skip(wireType); + if (u !== false) + (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); + } + } + return message; + } + internalBinaryWrite(message, writer, options) { + /* string sdkKey = 1; */ + if (message.sdkKey !== "") + writer.tag(1, WireType.LengthDelimited).string(message.sdkKey); + /* string variableKey = 2; */ + if (message.variableKey !== "") + writer.tag(2, WireType.LengthDelimited).string(message.variableKey); + /* VariableType_PB variableType = 3; */ + if (message.variableType !== 0) + writer.tag(3, WireType.Varint).int32(message.variableType); + /* DVCUser_PB user = 4; */ + if (message.user) + DVCUser_PB.internalBinaryWrite(message.user, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); + /* bool shouldTrackEvent = 5; */ + if (message.shouldTrackEvent !== false) + writer.tag(5, WireType.Varint).bool(message.shouldTrackEvent); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message VariableForUserParams_PB + */ +export const VariableForUserParams_PB = new VariableForUserParams_PB$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class DVCUser_PB$Type extends MessageType { + constructor() { + super("DVCUser_PB", [ + { no: 1, name: "user_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 2, name: "email", kind: "message", T: () => NullableString }, + { no: 3, name: "name", kind: "message", T: () => NullableString }, + { no: 4, name: "language", kind: "message", T: () => NullableString }, + { no: 5, name: "country", kind: "message", T: () => NullableString }, + { no: 6, name: "appBuild", kind: "message", T: () => NullableDouble }, + { no: 7, name: "appVersion", kind: "message", T: () => NullableString }, + { no: 8, name: "deviceModel", kind: "message", T: () => NullableString }, + { no: 9, name: "customData", kind: "message", T: () => NullableCustomData }, + { no: 10, name: "privateCustomData", kind: "message", T: () => NullableCustomData } + ]); + } + create(value) { + const message = globalThis.Object.create((this.messagePrototype)); + message.userId = ""; + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader, length, options, target) { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* string user_id */ 1: + message.userId = reader.string(); + break; + case /* NullableString email */ 2: + message.email = NullableString.internalBinaryRead(reader, reader.uint32(), options, message.email); + break; + case /* NullableString name */ 3: + message.name = NullableString.internalBinaryRead(reader, reader.uint32(), options, message.name); + break; + case /* NullableString language */ 4: + message.language = NullableString.internalBinaryRead(reader, reader.uint32(), options, message.language); + break; + case /* NullableString country */ 5: + message.country = NullableString.internalBinaryRead(reader, reader.uint32(), options, message.country); + break; + case /* NullableDouble appBuild */ 6: + message.appBuild = NullableDouble.internalBinaryRead(reader, reader.uint32(), options, message.appBuild); + break; + case /* NullableString appVersion */ 7: + message.appVersion = NullableString.internalBinaryRead(reader, reader.uint32(), options, message.appVersion); + break; + case /* NullableString deviceModel */ 8: + message.deviceModel = NullableString.internalBinaryRead(reader, reader.uint32(), options, message.deviceModel); + break; + case /* NullableCustomData customData */ 9: + message.customData = NullableCustomData.internalBinaryRead(reader, reader.uint32(), options, message.customData); + break; + case /* NullableCustomData privateCustomData */ 10: + message.privateCustomData = NullableCustomData.internalBinaryRead(reader, reader.uint32(), options, message.privateCustomData); + break; + default: + let u = options.readUnknownField; + if (u === "throw") + throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); + let d = reader.skip(wireType); + if (u !== false) + (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); + } + } + return message; + } + internalBinaryWrite(message, writer, options) { + /* string user_id = 1; */ + if (message.userId !== "") + writer.tag(1, WireType.LengthDelimited).string(message.userId); + /* NullableString email = 2; */ + if (message.email) + NullableString.internalBinaryWrite(message.email, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); + /* NullableString name = 3; */ + if (message.name) + NullableString.internalBinaryWrite(message.name, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); + /* NullableString language = 4; */ + if (message.language) + NullableString.internalBinaryWrite(message.language, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); + /* NullableString country = 5; */ + if (message.country) + NullableString.internalBinaryWrite(message.country, writer.tag(5, WireType.LengthDelimited).fork(), options).join(); + /* NullableDouble appBuild = 6; */ + if (message.appBuild) + NullableDouble.internalBinaryWrite(message.appBuild, writer.tag(6, WireType.LengthDelimited).fork(), options).join(); + /* NullableString appVersion = 7; */ + if (message.appVersion) + NullableString.internalBinaryWrite(message.appVersion, writer.tag(7, WireType.LengthDelimited).fork(), options).join(); + /* NullableString deviceModel = 8; */ + if (message.deviceModel) + NullableString.internalBinaryWrite(message.deviceModel, writer.tag(8, WireType.LengthDelimited).fork(), options).join(); + /* NullableCustomData customData = 9; */ + if (message.customData) + NullableCustomData.internalBinaryWrite(message.customData, writer.tag(9, WireType.LengthDelimited).fork(), options).join(); + /* NullableCustomData privateCustomData = 10; */ + if (message.privateCustomData) + NullableCustomData.internalBinaryWrite(message.privateCustomData, writer.tag(10, WireType.LengthDelimited).fork(), options).join(); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message DVCUser_PB + */ +export const DVCUser_PB = new DVCUser_PB$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class SDKVariable_PB$Type extends MessageType { + constructor() { + super("SDKVariable_PB", [ + { no: 1, name: "_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 2, name: "type", kind: "enum", T: () => ["VariableType_PB", VariableType_PB] }, + { no: 3, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 4, name: "boolValue", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, + { no: 5, name: "doubleValue", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ }, + { no: 6, name: "stringValue", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 7, name: "evalReason", kind: "message", T: () => NullableString } + ]); + } + create(value) { + const message = globalThis.Object.create((this.messagePrototype)); + message.Id = ""; + message.type = 0; + message.key = ""; + message.boolValue = false; + message.doubleValue = 0; + message.stringValue = ""; + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader, length, options, target) { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* string _id */ 1: + message.Id = reader.string(); + break; + case /* VariableType_PB type */ 2: + message.type = reader.int32(); + break; + case /* string key */ 3: + message.key = reader.string(); + break; + case /* bool boolValue */ 4: + message.boolValue = reader.bool(); + break; + case /* double doubleValue */ 5: + message.doubleValue = reader.double(); + break; + case /* string stringValue */ 6: + message.stringValue = reader.string(); + break; + case /* NullableString evalReason */ 7: + message.evalReason = NullableString.internalBinaryRead(reader, reader.uint32(), options, message.evalReason); + break; + default: + let u = options.readUnknownField; + if (u === "throw") + throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); + let d = reader.skip(wireType); + if (u !== false) + (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); + } + } + return message; + } + internalBinaryWrite(message, writer, options) { + /* string _id = 1; */ + if (message.Id !== "") + writer.tag(1, WireType.LengthDelimited).string(message.Id); + /* VariableType_PB type = 2; */ + if (message.type !== 0) + writer.tag(2, WireType.Varint).int32(message.type); + /* string key = 3; */ + if (message.key !== "") + writer.tag(3, WireType.LengthDelimited).string(message.key); + /* bool boolValue = 4; */ + if (message.boolValue !== false) + writer.tag(4, WireType.Varint).bool(message.boolValue); + /* double doubleValue = 5; */ + if (message.doubleValue !== 0) + writer.tag(5, WireType.Bit64).double(message.doubleValue); + /* string stringValue = 6; */ + if (message.stringValue !== "") + writer.tag(6, WireType.LengthDelimited).string(message.stringValue); + /* NullableString evalReason = 7; */ + if (message.evalReason) + NullableString.internalBinaryWrite(message.evalReason, writer.tag(7, WireType.LengthDelimited).fork(), options).join(); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message SDKVariable_PB + */ +export const SDKVariable_PB = new SDKVariable_PB$Type(); diff --git a/package.json b/package.json index f741262f1..772989e35 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,6 @@ "@playwright/test": "^1.51.1", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15", "@protobuf-ts/plugin": "^2.9.6", - "@protobuf-ts/protoc": "^2.9.6", "@react-native-async-storage/async-storage": "1.19.4", "@react-native-community/cli": "11.3.6", "@react-native-community/cli-platform-android": "11.3.6", diff --git a/yarn.lock b/yarn.lock index 7d86879fd..cfc668757 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4272,7 +4272,6 @@ __metadata: dependencies: "@devcycle/bucketing-test-data": "npm:^1.27.0" "@protobuf-ts/plugin": "npm:^2.9.6" - "@protobuf-ts/protoc": "npm:^2.9.6" "@protobuf-ts/runtime": "npm:^2.9.3" languageName: unknown linkType: soft @@ -15703,7 +15702,6 @@ __metadata: "@playwright/test": "npm:^1.51.1" "@pmmmwh/react-refresh-webpack-plugin": "npm:^0.5.15" "@protobuf-ts/plugin": "npm:^2.9.6" - "@protobuf-ts/protoc": "npm:^2.9.6" "@react-native-async-storage/async-storage": "npm:1.19.4" "@react-native-community/cli": "npm:11.3.6" "@react-native-community/cli-platform-android": "npm:11.3.6" From 644989778fb2e31724dca722a5500920740c386f Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Fri, 28 Mar 2025 14:05:57 -0400 Subject: [PATCH 4/4] WIP: trying to get WASM import to work on vercel edge config --- .../__tests__/protobufVariableHelper.ts | 39 +++++++++-- lib/shared/bucketing-assembly-script/index.js | 65 ++++++++++++++++--- sdk/nodejs/package.json | 4 +- sdk/nodejs/src/client.ts | 13 ++-- sdk/nodejs/src/models/populatedUserHelpers.ts | 3 - sdk/nodejs/src/pb-types/pbTypeHelpers.ts | 34 +++++++++- sdk/nodejs/src/utils/platformDetails.ts | 16 ++++- sdk/nodejs/src/utils/userBucketingHelper.ts | 28 ++++---- yarn.lock | 2 + 9 files changed, 160 insertions(+), 44 deletions(-) diff --git a/lib/shared/bucketing-assembly-script/__tests__/protobufVariableHelper.ts b/lib/shared/bucketing-assembly-script/__tests__/protobufVariableHelper.ts index 338246b56..00d63d36e 100644 --- a/lib/shared/bucketing-assembly-script/__tests__/protobufVariableHelper.ts +++ b/lib/shared/bucketing-assembly-script/__tests__/protobufVariableHelper.ts @@ -1,6 +1,13 @@ import { SDKVariable, VariableType as VariableTypeStr } from '@devcycle/types' import { variableForUser_PB, VariableType } from './bucketingImportHelper' import { VariableForUserParams_PB, SDKVariable_PB } from '../protobuf/compiled' +import { + BinaryWriter, + BinaryReader, + BinaryWriteOptions, + BinaryReadOptions, + MessageType, +} from '@protobuf-ts/runtime' type SDKVariable_PB_Type = { _id: string @@ -96,6 +103,31 @@ export type VariableForUserArgs = { variableType: VariableType } +export function encodeProtobufMessage( + message: T, + messageType: MessageType, +): Uint8Array { + const writer = new BinaryWriter() + const writeOptions: BinaryWriteOptions = { + writeUnknownFields: true, + writerFactory: () => new BinaryWriter(), + } + messageType.internalBinaryWrite(message, writer, writeOptions) + return writer.finish() +} + +export function decodeProtobufMessage( + buffer: Uint8Array, + messageType: MessageType, +): T { + const reader = new BinaryReader(buffer) + const readOptions: BinaryReadOptions = { + readUnknownField: true, + readerFactory: () => new BinaryReader(new Uint8Array()), + } + return messageType.internalBinaryRead(reader, 0, readOptions) +} + export const variableForUserPB = ({ sdkKey, user, @@ -138,14 +170,11 @@ export const variableForUserPB = ({ }, shouldTrackEvent: true, } - const err = VariableForUserParams_PB.verify(params) - if (err) throw new Error(err) - const pbMsg = VariableForUserParams_PB.create(params) - const buffer = VariableForUserParams_PB.encode(pbMsg).finish() + const buffer = encodeProtobufMessage(pbMsg, VariableForUserParams_PB) const resultBuffer = variableForUser_PB(buffer) return !resultBuffer ? null - : pbSDKVariableToJS(SDKVariable_PB.decode(resultBuffer)) + : pbSDKVariableToJS(decodeProtobufMessage(resultBuffer, SDKVariable_PB)) } diff --git a/lib/shared/bucketing-assembly-script/index.js b/lib/shared/bucketing-assembly-script/index.js index 3d405a189..df9f04730 100644 --- a/lib/shared/bucketing-assembly-script/index.js +++ b/lib/shared/bucketing-assembly-script/index.js @@ -2,23 +2,68 @@ const ProtobufTypes = require('./protobuf/compiled') const path = require('path') const isEdgeRuntime = () => { - try { - return process.env.NEXT_RUNTIME === 'edge' - } catch { - return false + return process.env.NEXT_RUNTIME === 'edge' +} + +const base64ToUint8Array = (base64) => { + const binaryString = atob(base64) + const bytes = new Uint8Array(binaryString.length) + for (let i = 0; i < binaryString.length; i++) { + bytes[i] = binaryString.charCodeAt(i) } + return bytes } +// Import WASM modules at the top level for Edge Runtime +import releaseWasmModule from './build/bucketing-lib.release.wasm?module' +import debugWasmModule from './build/bucketing-lib.debug.wasm?module' + const instantiate = async (debug = false, imports = {}) => { const releaseStr = debug ? 'debug' : 'release' - const { instantiate } = require(`./build/bucketing-lib.${releaseStr}.js`) - let compiled + console.log(`isEdgeRuntime: ${isEdgeRuntime()}`) + if (isEdgeRuntime()) { - // In Edge Runtime, we need to use the WASM binary directly - const wasmBinary = require(`./build/bucketing-lib.${releaseStr}.wasm`) - compiled = await globalThis.WebAssembly.compile(wasmBinary) + console.log('Using Edge Runtime WASM binary') + try { + // Use the appropriate WASM module based on debug flag + const wasmModule = debug ? debugWasmModule : releaseWasmModule + console.log('WASM module loaded:', { + type: typeof wasmModule, + isArray: Array.isArray(wasmModule), + isBuffer: Buffer.isBuffer(wasmModule), + length: wasmModule?.length, + keys: Object.keys(wasmModule) + }) + + // If the module is a string with numeric keys, convert it to a Uint8Array + let wasmBinary + if (typeof wasmModule === 'string' && Object.keys(wasmModule).every(key => !isNaN(key))) { + // Convert string to Uint8Array + wasmBinary = new Uint8Array(wasmModule.length) + for (let i = 0; i < wasmModule.length; i++) { + wasmBinary[i] = wasmModule.charCodeAt(i) + } + } else { + // Try to use the default export if available + wasmBinary = base64ToUint8Array(wasmModule.default) + } + + console.log('Converted to Uint8Array:', { + length: wasmBinary.length, + byteLength: wasmBinary.byteLength, + firstBytes: Array.from(wasmBinary.slice(0, 4)) + }) + + // Instantiate with the buffer + const { instance } = await WebAssembly.instantiate(wasmBinary, imports) + return instance.exports + } catch (e) { + console.error('Failed to instantiate WASM in Edge Runtime:', e) + throw e + } } else { + const { instantiate } = require(`./build/bucketing-lib.${releaseStr}.js`) /** * using path.resolve here to fix an issue caused by webpack in the example apps * In normal operation __dirname is an absolute path, so path.resolve does nothing to it @@ -54,7 +99,7 @@ const instantiate = async (debug = false, imports = {}) => { return await instantiate(compiled, imports) } -module.exports = { +export { instantiate, ProtobufTypes, } diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index efa95a521..ccf18dd19 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -25,9 +25,11 @@ "@devcycle/types": "^1.24.0", "@openfeature/core": "^1.7.2", "@openfeature/server-sdk": "^1.17.1", + "@protobuf-ts/runtime": "^2.9.3", "cross-fetch": "^4.1.0", "eventsource": "^2.0.2", - "fetch-retry": "^5.0.6" + "fetch-retry": "^5.0.6", + "uuid": "^8.3.2" }, "peerDependencies": { "@devcycle/js-client-sdk": "^1.36.2", diff --git a/sdk/nodejs/src/client.ts b/sdk/nodejs/src/client.ts index 92716fc58..73ea6acf3 100644 --- a/sdk/nodejs/src/client.ts +++ b/sdk/nodejs/src/client.ts @@ -19,7 +19,6 @@ import { InferredVariableType, DVCCustomDataJSON, } from '@devcycle/types' -import os from 'os' import { DevCycleUser, DVCVariable, @@ -34,10 +33,10 @@ import { DevCyclePlatformDetails, } from '@devcycle/js-cloud-server-sdk' import { DVCPopulatedUserFromDevCycleUser } from './models/populatedUserHelpers' -import { randomUUID } from 'crypto' +import { v4 as uuidv4 } from 'uuid' import { DevCycleOptionsLocalEnabled } from './index' import { WASMBucketingExports } from '@devcycle/bucketing-assembly-script' -import { getNodeJSPlatformDetails } from './utils/platformDetails' +import { getNodeJSPlatformDetails, getHostname } from './utils/platformDetails' import { DevCycleProvider } from './open-feature/DevCycleProvider' const castIncomingUser = (user: DevCycleUser) => { @@ -71,8 +70,8 @@ export class DevCycleClient< } constructor(sdkKey: string, options?: DevCycleOptionsLocalEnabled) { - this.clientUUID = randomUUID() - this.hostname = os.hostname() + this.clientUUID = uuidv4() + this.hostname = getHostname() this.sdkKey = sdkKey this.sdkPlatform = options?.sdkPlatform @@ -154,10 +153,6 @@ export class DevCycleClient< .finally(() => { this._isInitialized = true }) - - process.on('exit', () => { - this.close() - }) } private setPlatformDataInBucketingLib(): void { diff --git a/sdk/nodejs/src/models/populatedUserHelpers.ts b/sdk/nodejs/src/models/populatedUserHelpers.ts index 215cb39e2..06f64b219 100644 --- a/sdk/nodejs/src/models/populatedUserHelpers.ts +++ b/sdk/nodejs/src/models/populatedUserHelpers.ts @@ -43,9 +43,6 @@ export function DVCPopulatedUserToPBUser( customData: getNullableCustomDataValue(user.customData), privateCustomData: getNullableCustomDataValue(user.privateCustomData), } - const err = ProtobufTypes.DVCUser_PB.verify(params) - if (err) throw new Error(`DVCUser protobuf verification error: ${err}`) - return ProtobufTypes.DVCUser_PB.create(params) } diff --git a/sdk/nodejs/src/pb-types/pbTypeHelpers.ts b/sdk/nodejs/src/pb-types/pbTypeHelpers.ts index 79d69c593..66b600fae 100644 --- a/sdk/nodejs/src/pb-types/pbTypeHelpers.ts +++ b/sdk/nodejs/src/pb-types/pbTypeHelpers.ts @@ -1,5 +1,37 @@ import { SDKVariable, VariableType, VariableValue } from '@devcycle/types' import { ProtobufTypes } from '@devcycle/bucketing-assembly-script' +import { + BinaryWriter, + BinaryReader, + BinaryWriteOptions, + BinaryReadOptions, + MessageType, +} from '@protobuf-ts/runtime' + +export function encodeProtobufMessage( + message: T, + messageType: MessageType, +): Uint8Array { + const writer = new BinaryWriter() + const writeOptions: BinaryWriteOptions = { + writeUnknownFields: true, + writerFactory: () => new BinaryWriter(), + } + messageType.internalBinaryWrite(message, writer, writeOptions) + return writer.finish() +} + +export function decodeProtobufMessage( + buffer: Uint8Array, + messageType: MessageType, +): T { + const reader = new BinaryReader(buffer) + const readOptions: BinaryReadOptions = { + readUnknownField: true, + readerFactory: () => new BinaryReader(new Uint8Array()), + } + return messageType.internalBinaryRead(reader, 0, readOptions) +} type GetVariableType = { type: VariableType @@ -40,7 +72,7 @@ export function pbSDKVariableTransform( const { type, value } = getVariableTypeFromPB(variable) return { - _id: variable._id, + _id: variable.Id, type, key: variable.key, value, diff --git a/sdk/nodejs/src/utils/platformDetails.ts b/sdk/nodejs/src/utils/platformDetails.ts index 1140e5012..9eb45a904 100644 --- a/sdk/nodejs/src/utils/platformDetails.ts +++ b/sdk/nodejs/src/utils/platformDetails.ts @@ -1,6 +1,14 @@ import { DevCyclePlatformDetails } from '@devcycle/js-cloud-server-sdk' import * as packageJson from '../../package.json' -import os from 'os' + +function getNodeHostname(): string { + try { + const os = require('os') + return os.hostname() + } catch (e) { + return 'edge-runtime' + } +} export function getNodeJSPlatformDetails(): DevCyclePlatformDetails { return { @@ -8,6 +16,10 @@ export function getNodeJSPlatformDetails(): DevCyclePlatformDetails { platformVersion: process.version, sdkType: 'server', sdkVersion: packageJson.version, - hostname: os.hostname(), + hostname: getNodeHostname(), } } + +export function getHostname(): string { + return getNodeHostname() +} diff --git a/sdk/nodejs/src/utils/userBucketingHelper.ts b/sdk/nodejs/src/utils/userBucketingHelper.ts index 4bf0b9369..2126ee6ef 100644 --- a/sdk/nodejs/src/utils/userBucketingHelper.ts +++ b/sdk/nodejs/src/utils/userBucketingHelper.ts @@ -1,12 +1,15 @@ import { BucketedUserConfig, SDKVariable, VariableType } from '@devcycle/types' import { DVCPopulatedUser } from '@devcycle/js-cloud-server-sdk' import { - VariableForUserParams_PB, - SDKVariable_PB, -} from '@devcycle/bucketing-assembly-script/protobuf/compiled' + WASMBucketingExports, + ProtobufTypes, +} from '@devcycle/bucketing-assembly-script' import { pbSDKVariableTransform } from '../pb-types/pbTypeHelpers' import { DVCPopulatedUserToPBUser } from '../models/populatedUserHelpers' -import { WASMBucketingExports } from '@devcycle/bucketing-assembly-script' +import { + encodeProtobufMessage, + decodeProtobufMessage, +} from '../pb-types/pbTypeHelpers' export function bucketUserForConfig( bucketing: WASMBucketingExports, @@ -75,15 +78,14 @@ export function variableForUser_PB( variableType: type, shouldTrackEvent: true, } - const err = VariableForUserParams_PB.verify(params) - if (err) - throw new Error( - `Invalid VariableForUserParams_PB protobuf params: ${err}`, - ) - - const buffer = VariableForUserParams_PB.encode(params).finish() - + const pbMsg = ProtobufTypes.VariableForUserParams_PB.create(params) + const buffer = encodeProtobufMessage( + pbMsg, + ProtobufTypes.VariableForUserParams_PB, + ) const bucketedVariable = bucketing.variableForUser_PB(buffer) if (!bucketedVariable) return null - return pbSDKVariableTransform(SDKVariable_PB.decode(bucketedVariable)) + return pbSDKVariableTransform( + decodeProtobufMessage(bucketedVariable, ProtobufTypes.SDKVariable_PB), + ) } diff --git a/yarn.lock b/yarn.lock index cfc668757..b5aecf11e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4371,9 +4371,11 @@ __metadata: "@devcycle/types": "npm:^1.24.0" "@openfeature/core": "npm:^1.7.2" "@openfeature/server-sdk": "npm:^1.17.1" + "@protobuf-ts/runtime": "npm:^2.9.3" cross-fetch: "npm:^4.1.0" eventsource: "npm:^2.0.2" fetch-retry: "npm:^5.0.6" + uuid: "npm:^8.3.2" peerDependencies: "@devcycle/js-client-sdk": ^1.36.2 "@openfeature/multi-provider": ^0.1.2