diff --git a/.eslintignore b/.eslintignore index 78619ae5..bd2ec140 100644 --- a/.eslintignore +++ b/.eslintignore @@ -3,3 +3,4 @@ dist generated protos **/*.js +**/*.test.ts \ No newline at end of file diff --git a/.eslintrc.js b/.eslintrc.js index 21114047..b9f17893 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,12 +1,8 @@ module.exports = { root: true, parser: "@typescript-eslint/parser", - plugins: ["@typescript-eslint", "jsdoc"], - extends: [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:jsdoc/recommended", - ], + plugins: ["@typescript-eslint", "eslint-plugin-tsdoc"], + extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"], rules: { "no-constant-condition": ["error", { checkLoops: false }], // prettier decides @@ -22,17 +18,6 @@ module.exports = { // better handled by ts itself "@typescript-eslint/no-unused-vars": ["off"], - "jsdoc/check-alignment": ["off"], - "jsdoc/check-examples": ["warn"], - "jsdoc/check-indentation": ["warn"], - "jsdoc/check-syntax": ["warn"], - "jsdoc/check-tag-names": ["warn", { definedTags: ["jest-environment"] }], - "jsdoc/newline-after-description": ["warn", "never"], - "jsdoc/no-types": ["error", { contexts: ["any"] }], - "jsdoc/require-description": ["warn"], - "jsdoc/require-description-complete-sentence": ["warn"], - "jsdoc/require-jsdoc": ["off"], - "jsdoc/require-param-type": ["off"], - "jsdoc/require-returns": ["off"], + "tsdoc/syntax": "warn", }, }; diff --git a/package.json b/package.json index 7ca88b16..72acbcc8 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "docker-compose": "^0.24.7", "dotenv": "^10.0.0", "eslint": "^7.32.0", - "eslint-plugin-jsdoc": "^40.3.0", + "eslint-plugin-tsdoc": "^0.2.17", "get-port": "^5.1.1", "grpc-tools": "^1.12.4", "grpc_tools_node_protoc_ts": "^5.3.3", diff --git a/src/Client/index.ts b/src/Client/index.ts index 00b3ced4..2f8b1406 100644 --- a/src/Client/index.ts +++ b/src/Client/index.ts @@ -45,28 +45,28 @@ interface ClientOptions { /** * The amount of time (in milliseconds) to wait after which a keepalive ping is sent on the transport. * Use -1 to disable. - * @default 10_000 + * @defaultValue 10_000 */ keepAliveInterval?: number; /** * The amount of time (in milliseconds) the sender of the keepalive ping waits for an acknowledgement. * If it does not receive an acknowledgment within this time, it will close the connection. - * @default 10_000 + * @defaultValue 10_000 */ keepAliveTimeout?: number; /** * Whether or not to immediately throw an exception when an append fails. - * @default true + * @defaultValue true */ throwOnAppendFailure?: boolean; /** * An optional length of time (in milliseconds) to use for gRPC deadlines. - * @default 10_000 + * @defaultValue 10_000 */ defaultDeadline?: number; /** * The name of the connection to use in logs. - * @default uuid + * @defaultValue uuid */ connectionName?: string; } @@ -118,13 +118,11 @@ export interface ChannelCredentialOptions { */ rootCertificate?: Buffer; /** - * This has been deprecated in favor of {@link userKeyFile}. - * @deprecated + * @deprecated Use the new {@link userKeyFile} instead. */ privateKey?: Buffer; /** - * This has been deprecated in favor of {@link userCertFile}. - * @deprecated + * @deprecated Use the new {@link userCertFile} instead. */ certChain?: Buffer; /** @@ -165,10 +163,9 @@ export class Client { #http: HTTP; #connectionName: string; - // eslint-disable-next-line jsdoc/require-param /** * Returns a connection from a connection string. - * @param connectionString The connection string for your database. + * @param connectionString - The connection string for your database. */ static connectionString( connectionString: TemplateStringsArray | string, diff --git a/src/persistentSubscription/createPersistentSubscriptionToAll.ts b/src/persistentSubscription/createPersistentSubscriptionToAll.ts index 97c4525d..518bd11e 100644 --- a/src/persistentSubscription/createPersistentSubscriptionToAll.ts +++ b/src/persistentSubscription/createPersistentSubscriptionToAll.ts @@ -27,10 +27,10 @@ declare module "../Client" { * server remembers where the read offset is. This allows for many different modes of operations compared to a * regular subscription where the client holds the read offset. The group name must be unique. * Available from server version 21.10 onwards. - * @param groupName A group name. - * @param settings PersistentSubscription settings. + * @param groupName - A group name. + * @param settings - PersistentSubscription settings. * @see {@link persistentSubscriptionToStreamSettingsFromDefaults} - * @param options Command options. + * @param options - Command options. */ createPersistentSubscriptionToAll( groupName: string, diff --git a/src/persistentSubscription/createPersistentSubscriptionToStream.ts b/src/persistentSubscription/createPersistentSubscriptionToStream.ts index 4bdcd233..a709ca07 100644 --- a/src/persistentSubscription/createPersistentSubscriptionToStream.ts +++ b/src/persistentSubscription/createPersistentSubscriptionToStream.ts @@ -15,11 +15,11 @@ declare module "../Client" { * Creates a persistent subscription on a stream. Persistent subscriptions are special kind of subscription where the * server remembers where the read offset is at. This allows for many different modes of operations compared to a * regular subscription where the client holds the read offset. The pair stream name and group must be unique. - * @param streamName A stream name. - * @param groupName A group name. - * @param settings PersistentSubscription settings. + * @param streamName - A stream name. + * @param groupName - A group name. + * @param settings - PersistentSubscription settings. * @see {@link persistentSubscriptionToStreamSettingsFromDefaults} - * @param options Command options. + * @param options - Command options. */ createPersistentSubscriptionToStream( streamName: string, diff --git a/src/persistentSubscription/deletePersistentSubscriptionToAll.ts b/src/persistentSubscription/deletePersistentSubscriptionToAll.ts index dd7abb98..b7591b0e 100644 --- a/src/persistentSubscription/deletePersistentSubscriptionToAll.ts +++ b/src/persistentSubscription/deletePersistentSubscriptionToAll.ts @@ -15,9 +15,9 @@ declare module "../Client" { interface Client { /** * Deletes a persistent subscription. - * @param streamName A stream name. - * @param groupName A group name. - * @param options Deletion options. + * @param streamName - A stream name. + * @param groupName - A group name. + * @param options - Deletion options. */ deletePersistentSubscriptionToAll( groupName: string, diff --git a/src/persistentSubscription/deletePersistentSubscriptionToStream.ts b/src/persistentSubscription/deletePersistentSubscriptionToStream.ts index 80208205..bdecdc58 100644 --- a/src/persistentSubscription/deletePersistentSubscriptionToStream.ts +++ b/src/persistentSubscription/deletePersistentSubscriptionToStream.ts @@ -12,9 +12,9 @@ declare module "../Client" { interface Client { /** * Deletes a persistent subscription. - * @param streamName A stream name. - * @param groupName A group name. - * @param options Deletion options. + * @param streamName - A stream name. + * @param groupName - A group name. + * @param options - Deletion options. */ deletePersistentSubscriptionToStream( streamName: string, diff --git a/src/persistentSubscription/getPersistentSubscriptionToAllInfo.ts b/src/persistentSubscription/getPersistentSubscriptionToAllInfo.ts index c34071c6..c28b0582 100644 --- a/src/persistentSubscription/getPersistentSubscriptionToAllInfo.ts +++ b/src/persistentSubscription/getPersistentSubscriptionToAllInfo.ts @@ -20,8 +20,8 @@ declare module "../Client" { interface Client { /** * Gets information and statistics on the specified persistent subscription to $all and its connections. - * @param groupName A group name. - * @param options Get persistent subscription to all options. + * @param groupName - A group name. + * @param options - Get persistent subscription to all options. */ getPersistentSubscriptionToAllInfo( groupName: string, diff --git a/src/persistentSubscription/getPersistentSubscriptionToStreamInfo.ts b/src/persistentSubscription/getPersistentSubscriptionToStreamInfo.ts index 1c85db06..ca6f7c48 100644 --- a/src/persistentSubscription/getPersistentSubscriptionToStreamInfo.ts +++ b/src/persistentSubscription/getPersistentSubscriptionToStreamInfo.ts @@ -26,9 +26,9 @@ declare module "../Client" { interface Client { /** * Gets information and statistics on the specified persistent subscription and its connections. - * @param streamName A stream name. - * @param groupName A group name. - * @param options Get persistent subscription info options. + * @param streamName - A stream name. + * @param groupName - A group name. + * @param options - Get persistent subscription info options. */ getPersistentSubscriptionToStreamInfo( streamName: string, diff --git a/src/persistentSubscription/listAllPersistentSubscriptions.ts b/src/persistentSubscription/listAllPersistentSubscriptions.ts index 6c9aba1d..fdc3ffc0 100644 --- a/src/persistentSubscription/listAllPersistentSubscriptions.ts +++ b/src/persistentSubscription/listAllPersistentSubscriptions.ts @@ -22,7 +22,7 @@ declare module "../Client" { interface Client { /** * Lists all persistent subscriptions. - * @param options List persistent subscriptions options. + * @param options - List persistent subscriptions options. */ listAllPersistentSubscriptions( options?: ListPersistentSubscriptionsOptions diff --git a/src/persistentSubscription/listPersistentSubscriptionsToAll.ts b/src/persistentSubscription/listPersistentSubscriptionsToAll.ts index 86e84754..7b92d596 100644 --- a/src/persistentSubscription/listPersistentSubscriptionsToAll.ts +++ b/src/persistentSubscription/listPersistentSubscriptionsToAll.ts @@ -20,7 +20,7 @@ declare module "../Client" { interface Client { /** * Lists persistent subscriptions to the $all stream. - * @param options List persistent subscriptions options. + * @param options - List persistent subscriptions options. */ listPersistentSubscriptionsToAll( options?: ListPersistentSubscriptionsToAllOptions diff --git a/src/persistentSubscription/listPersistentSubscriptionsToStream.ts b/src/persistentSubscription/listPersistentSubscriptionsToStream.ts index cdcd38f9..f3912458 100644 --- a/src/persistentSubscription/listPersistentSubscriptionsToStream.ts +++ b/src/persistentSubscription/listPersistentSubscriptionsToStream.ts @@ -26,8 +26,8 @@ declare module "../Client" { interface Client { /** * Lists persistent subscriptions to a stream. - * @param streamName A stream name. - * @param options List persistent subscriptions options. + * @param streamName - A stream name. + * @param options - List persistent subscriptions options. */ listPersistentSubscriptionsToStream( streamName: string, diff --git a/src/persistentSubscription/replayParkedMessagesToAll.ts b/src/persistentSubscription/replayParkedMessagesToAll.ts index ab54ad5e..40d55f6b 100644 --- a/src/persistentSubscription/replayParkedMessagesToAll.ts +++ b/src/persistentSubscription/replayParkedMessagesToAll.ts @@ -12,7 +12,7 @@ import { Client } from "../Client"; export interface ReplayParkedMessagesToAllOptions extends BaseOptions { /** * When to stop replaying parked messages. Leave undefined to have no limit. - * @default undefined + * @defaultValue undefined */ stopAt?: number | bigint; } @@ -21,8 +21,8 @@ declare module "../Client" { interface Client { /** * Replays the parked messages of a persistent subscription to $all. - * @param groupName A group name. - * @param options Replay options. + * @param groupName - A group name. + * @param options - Replay options. */ replayParkedMessagesToAll( groupName: string, diff --git a/src/persistentSubscription/replayParkedMessagesToStream.ts b/src/persistentSubscription/replayParkedMessagesToStream.ts index 7548ca40..4a0d73e6 100644 --- a/src/persistentSubscription/replayParkedMessagesToStream.ts +++ b/src/persistentSubscription/replayParkedMessagesToStream.ts @@ -17,7 +17,7 @@ import { Client } from "../Client"; export interface ReplayParkedMessagesToStreamOptions extends BaseOptions { /** * When to stop replaying parked messages. Leave undefined to have no limit. - * @default undefined + * @defaultValue undefined */ stopAt?: number | bigint; } @@ -26,9 +26,9 @@ declare module "../Client" { interface Client { /** * Replays the parked messages of a persistent subscription. - * @param streamName A stream name. - * @param groupName A group name. - * @param options Replay options. + * @param streamName - A stream name. + * @param groupName - A group name. + * @param options - Replay options. */ replayParkedMessagesToStream( streamName: string, diff --git a/src/persistentSubscription/restartPersistentSubscriptionSubsystem.ts b/src/persistentSubscription/restartPersistentSubscriptionSubsystem.ts index 85ff2347..27e314f2 100644 --- a/src/persistentSubscription/restartPersistentSubscriptionSubsystem.ts +++ b/src/persistentSubscription/restartPersistentSubscriptionSubsystem.ts @@ -15,7 +15,7 @@ declare module "../Client" { interface Client { /** * Restarts the persistent subscription subsystem. - * @param options Restart subsystem options. + * @param options - Restart subsystem options. */ restartPersistentSubscriptionSubsystem( options?: RestartPersistentSubscriptionSubsystemOptions diff --git a/src/persistentSubscription/subscribeToPersistentSubscriptionToAll.ts b/src/persistentSubscription/subscribeToPersistentSubscriptionToAll.ts index 6f244bbd..4bed5b05 100644 --- a/src/persistentSubscription/subscribeToPersistentSubscriptionToAll.ts +++ b/src/persistentSubscription/subscribeToPersistentSubscriptionToAll.ts @@ -20,7 +20,7 @@ export interface SubscribeToPersistentSubscriptionToAllOptions extends BaseOptions { /** * The buffer size to use for the persistent subscription. - * @default 10 + * @defaultValue 10 */ bufferSize?: number; } @@ -29,9 +29,9 @@ declare module "../Client" { interface Client { /** * Connects to a persistent subscription. - * @param stream A stream name. - * @param group A group name. - * @param options Connection options. + * @param stream - A stream name. + * @param group - A group name. + * @param options - Connection options. */ subscribeToPersistentSubscriptionToAll( groupName: string, diff --git a/src/persistentSubscription/subscribeToPersistentSubscriptionToStream.ts b/src/persistentSubscription/subscribeToPersistentSubscriptionToStream.ts index 563d1df8..c2605f91 100644 --- a/src/persistentSubscription/subscribeToPersistentSubscriptionToStream.ts +++ b/src/persistentSubscription/subscribeToPersistentSubscriptionToStream.ts @@ -21,7 +21,7 @@ export interface SubscribeToPersistentSubscriptionToStreamOptions extends BaseOptions { /** * The buffer size to use for the persistent subscription. - * @default 10 + * @defaultValue 10 */ bufferSize?: number; } @@ -30,9 +30,9 @@ declare module "../Client" { interface Client { /** * Connects to a persistent subscription. - * @param stream A stream name. - * @param group A group name. - * @param options Connection options. + * @param stream - A stream name. + * @param group - A group name. + * @param options - Connection options. */ subscribeToPersistentSubscriptionToStream( streamName: string, diff --git a/src/persistentSubscription/updatePersistentSubscriptionToAll.ts b/src/persistentSubscription/updatePersistentSubscriptionToAll.ts index 67ae0b58..4b517801 100644 --- a/src/persistentSubscription/updatePersistentSubscriptionToAll.ts +++ b/src/persistentSubscription/updatePersistentSubscriptionToAll.ts @@ -19,10 +19,10 @@ declare module "../Client" { interface Client { /** * Updates a persistent subscription to all configuration. - * @param groupName A group name. - * @param settings PersistentSubscriptionToAll settings. + * @param groupName - A group name. + * @param settings - PersistentSubscriptionToAll settings. * @see {@link persistentSubscriptionToAllSettingsFromDefaults} - * @param options Command options. + * @param options - Command options. */ updatePersistentSubscriptionToAll( groupName: string, diff --git a/src/persistentSubscription/updatePersistentSubscriptionToStream.ts b/src/persistentSubscription/updatePersistentSubscriptionToStream.ts index e9778870..79c09273 100644 --- a/src/persistentSubscription/updatePersistentSubscriptionToStream.ts +++ b/src/persistentSubscription/updatePersistentSubscriptionToStream.ts @@ -13,11 +13,11 @@ declare module "../Client" { interface Client { /** * Updates a persistent subscription configuration. - * @param streamName A stream name. - * @param groupName A group name. - * @param settings PersistentSubscription settings. + * @param streamName - A stream name. + * @param groupName - A group name. + * @param settings - PersistentSubscription settings. * @see {@link persistentSubscriptionToStreamSettingsFromDefaults} - * @param options Command options. + * @param options - Command options. */ updatePersistentSubscriptionToStream( streamName: string, diff --git a/src/persistentSubscription/utils/persistentSubscriptionSettings.ts b/src/persistentSubscription/utils/persistentSubscriptionSettings.ts index b5e67d5c..4c6e3854 100644 --- a/src/persistentSubscription/utils/persistentSubscriptionSettings.ts +++ b/src/persistentSubscription/utils/persistentSubscriptionSettings.ts @@ -6,73 +6,73 @@ export interface PersistentSubscriptionSettingsGeneric { * The best way to explain link resolution is when using system projections. When reading the stream `$streams` (which * contains all streams), each event is actually a link pointing to the first event of a stream. By enabling link * resolution feature, the server will also return the event targeted by the link. - * @default false + * @defaultValue false */ resolveLinkTos: boolean; /** * Enable tracking of in depth latency statistics on this subscription. - * @default false + * @defaultValue false */ extraStatistics: boolean; /** * The amount of time in milliseconds after which a message should be considered to be timeout and retried. - * @default 30_000 + * @defaultValue 30_000 */ messageTimeout: number; /** * The maximum number of retries (due to timeout) before a message gets considered to be parked. - * @default 10 + * @defaultValue 10 */ maxRetryCount: number; /** * The amount of time to try checkpoint after in milliseconds. - * @default 2_000 + * @defaultValue 2_000 */ checkPointAfter: number; /** * The minimum number of messages to process before a checkpoint may be written. - * @default 10 + * @defaultValue 10 */ checkPointLowerBound: number; /** * The maximum number of messages not checkpointed before forcing a checkpoint. - * @default 1_000 + * @defaultValue 1_000 */ checkPointUpperBound: number; /** * The maximum number of subscribers allowed. - * @default UNLIMITED + * @defaultValue UNLIMITED */ maxSubscriberCount: typeof UNBOUNDED | number; /** * The size of the buffer listening to live messages as they happen. - * @default 500 + * @defaultValue 500 */ liveBufferSize: number; /** * The number of events read at a time when paging in history. - * @default 20 + * @defaultValue 20 */ readBatchSize: number; /** * The number of events to cache when paging through history. - * @default 500 + * @defaultValue 500 */ historyBufferSize: number; /** * The strategy to use for distributing events to client consumers. - * @default ROUND_ROBIN + * @defaultValue ROUND_ROBIN */ consumerStrategyName: ConsumerStrategy | string; } @@ -81,7 +81,7 @@ export interface PersistentSubscriptionToStreamSettings extends PersistentSubscriptionSettingsGeneric { /** * Where to start the subscription from. This can be from the start of the stream, from the end of the stream at the time of creation, or from an inclusive position in the stream. - * @default END + * @defaultValue END */ startFrom: typeof START | typeof END | bigint; } @@ -90,7 +90,7 @@ export interface PersistentSubscriptionToAllSettings extends PersistentSubscriptionSettingsGeneric { /** * Where to start the subscription from. This can be from the start of the stream, from the end of the stream at the time of creation, or from an inclusive position in the stream. - * @default END + * @defaultValue END */ startFrom: typeof START | typeof END | Position; } @@ -112,7 +112,7 @@ const defaults: PersistentSubscriptionSettingsGeneric = { /** * Creates {@link PersistentSubscriptionToStreamSettings} from default settings. - * @param changes Changes to apply to the default settings. + * @param changes - Changes to apply to the default settings. */ export const persistentSubscriptionToStreamSettingsFromDefaults = ( changes: Partial = {} @@ -124,7 +124,7 @@ export const persistentSubscriptionToStreamSettingsFromDefaults = ( /** * Creates {@link PersistentSubscriptionToAllSettings} from default settings. - * @param changes Changes to apply to the default settings. + * @param changes - Changes to apply to the default settings. */ export const persistentSubscriptionToAllSettingsFromDefaults = ( changes: Partial = {} diff --git a/src/projections/createProjection.ts b/src/projections/createProjection.ts index 9a427a7c..2a218fbf 100644 --- a/src/projections/createProjection.ts +++ b/src/projections/createProjection.ts @@ -11,12 +11,12 @@ import { debug, convertToCommandError } from "../utils"; export interface CreateProjectionOptions extends BaseOptions { /** * Enables emitting from the projection. - * @default false + * @defaultValue false */ emitEnabled?: boolean; /** * Enables tracking emitted streams. - * @default false + * @defaultValue false */ trackEmittedStreams?: boolean; } @@ -25,9 +25,9 @@ declare module "../Client" { interface Client { /** * Creates a continuous projection. - * @param projectionName The name of the projection. - * @param query The query to run. - * @param options Projection options. + * @param projectionName - The name of the projection. + * @param query - The query to run. + * @param options - Projection options. */ createProjection( projectionName: string, diff --git a/src/projections/deleteProjection.ts b/src/projections/deleteProjection.ts index 214e06b3..28d9e634 100644 --- a/src/projections/deleteProjection.ts +++ b/src/projections/deleteProjection.ts @@ -8,19 +8,19 @@ import { debug, convertToCommandError } from "../utils"; export interface DeleteProjectionOptions extends BaseOptions { /** * Deletes emitted streams. - * @default false + * @defaultValue false */ deleteEmittedStreams?: boolean; /** * Deletes state stream. - * @default false + * @defaultValue false */ deleteStateStream?: boolean; /** * Deletes checkpoint stream. - * @default false + * @defaultValue false */ deleteCheckpointStream?: boolean; } @@ -29,8 +29,8 @@ declare module "../Client" { interface Client { /** * Deletes a projection. - * @param projectionName The name of the projection to delete. - * @param options Delete projection options. + * @param projectionName - The name of the projection to delete. + * @param options - Delete projection options. */ deleteProjection( projectionName: string, diff --git a/src/projections/disableProjection.ts b/src/projections/disableProjection.ts index d370ab59..79135705 100644 --- a/src/projections/disableProjection.ts +++ b/src/projections/disableProjection.ts @@ -12,8 +12,8 @@ declare module "../Client" { interface Client { /** * Disables a projection. - * @param projectionName The name of the projection to disable. - * @param options Disable projection options. + * @param projectionName - The name of the projection to disable. + * @param options - Disable projection options. */ disableProjection( projectionName: string, @@ -21,8 +21,8 @@ declare module "../Client" { ): Promise; /** * Aborts a projection. - * @param projectionName The name of the projection to disable. - * @param options Disable projection options. + * @param projectionName - The name of the projection to disable. + * @param options - Disable projection options. */ abortProjection( projectionName: string, diff --git a/src/projections/enableProjection.ts b/src/projections/enableProjection.ts index c464b531..37ba7122 100644 --- a/src/projections/enableProjection.ts +++ b/src/projections/enableProjection.ts @@ -11,8 +11,8 @@ declare module "../Client" { interface Client { /** * Enables a projection. - * @param projectionName The name of the projection to enable. - * @param options Enable projection options. + * @param projectionName - The name of the projection to enable. + * @param options - Enable projection options. */ enableProjection( projectionName: string, diff --git a/src/projections/getProjectionResult.ts b/src/projections/getProjectionResult.ts index 7263288f..84935715 100644 --- a/src/projections/getProjectionResult.ts +++ b/src/projections/getProjectionResult.ts @@ -16,8 +16,8 @@ declare module "../Client" { interface Client { /** * Gets the result of a projection. - * @param projectionName The name of the projection. - * @param options Get result options. + * @param projectionName - The name of the projection. + * @param options - Get result options. */ getProjectionResult( projectionName: string, diff --git a/src/projections/getProjectionState.ts b/src/projections/getProjectionState.ts index 9e445d91..dbe0dac5 100644 --- a/src/projections/getProjectionState.ts +++ b/src/projections/getProjectionState.ts @@ -16,8 +16,8 @@ declare module "../Client" { interface Client { /** * Gets the result of a projection. - * @param projectionName The name of the projection. - * @param options Get state options. + * @param projectionName - The name of the projection. + * @param options - Get state options. */ getProjectionState( projectionName: string, diff --git a/src/projections/getProjectionStatus.ts b/src/projections/getProjectionStatus.ts index e6d164da..e3a24680 100644 --- a/src/projections/getProjectionStatus.ts +++ b/src/projections/getProjectionStatus.ts @@ -14,8 +14,8 @@ declare module "../Client" { interface Client { /** * Gets the current status of a projection. - * @param projectionName The name of the projection. - * @param options Get status options. + * @param projectionName - The name of the projection. + * @param options - Get status options. */ getProjectionStatus( projectionName: string, diff --git a/src/projections/listProjections.ts b/src/projections/listProjections.ts index 9bf81cd5..d7f4738b 100644 --- a/src/projections/listProjections.ts +++ b/src/projections/listProjections.ts @@ -16,7 +16,7 @@ declare module "../Client" { interface Client { /** * Lists projections. - * @param options List projections options. + * @param options - List projections options. */ listProjections( options?: ListProjectionsOptions diff --git a/src/projections/resetProjection.ts b/src/projections/resetProjection.ts index 9501a510..747c51df 100644 --- a/src/projections/resetProjection.ts +++ b/src/projections/resetProjection.ts @@ -12,8 +12,8 @@ declare module "../Client" { /** * Resets a projection. This will re-emit events. * Streams that are written to from the projection will also be soft deleted. - * @param projectionName The name of the projection to reset. - * @param options Reset projection options. + * @param projectionName - The name of the projection to reset. + * @param options - Reset projection options. */ resetProjection( projectionName: string, diff --git a/src/projections/restartSubsystem.ts b/src/projections/restartSubsystem.ts index 3a4c16d3..deff5404 100644 --- a/src/projections/restartSubsystem.ts +++ b/src/projections/restartSubsystem.ts @@ -11,7 +11,7 @@ declare module "../Client" { interface Client { /** * Restarts the entire projection subsystem. - * @param options Restart subsystem options. + * @param options - Restart subsystem options. */ restartSubsystem(options?: RestartSubsystemOptions): Promise; } diff --git a/src/projections/updateProjection.ts b/src/projections/updateProjection.ts index c696a3c1..c1af49df 100644 --- a/src/projections/updateProjection.ts +++ b/src/projections/updateProjection.ts @@ -10,7 +10,7 @@ export interface UpdateProjectionOptions extends BaseOptions { /** * Enables emitting events from the projection. * Passing `undefined` will leave emitEnabled at its current value. - * @default undefined + * @defaultValue undefined */ emitEnabled?: boolean; } @@ -19,9 +19,9 @@ declare module "../Client" { interface Client { /** * Updates a projection. - * @param projectionName The name of the projection. - * @param query The query to run. - * @param options Projection options. + * @param projectionName - The name of the projection. + * @param query - The query to run. + * @param options - Projection options. */ updateProjection( projectionName: string, diff --git a/src/streams/appendToStream/index.ts b/src/streams/appendToStream/index.ts index fbc72b66..3ea0e1bc 100644 --- a/src/streams/appendToStream/index.ts +++ b/src/streams/appendToStream/index.ts @@ -16,12 +16,12 @@ import { batchAppend } from "./batchAppend"; export interface AppendToStreamOptions extends BaseOptions { /** * Asks the server to check the stream is at specific revision before writing events. - * @default ANY + * @defaultValue ANY */ expectedRevision?: AppendExpectedRevision; /** * The batch size, in bytes. - * @default 3 * 1024 * 1024 + * @defaultValue 3 * 1024 * 1024 */ batchAppendSize?: number; } @@ -30,9 +30,9 @@ declare module "../../Client" { interface Client { /** * Appends events to a given stream. - * @param streamName A stream name. - * @param events Events or event to write. - * @param options Writing options. + * @param streamName - A stream name. + * @param events - Events or event to write. + * @param options - Writing options. */ appendToStream( streamName: string, diff --git a/src/streams/deleteStream.ts b/src/streams/deleteStream.ts index beb753f1..988ead85 100644 --- a/src/streams/deleteStream.ts +++ b/src/streams/deleteStream.ts @@ -10,7 +10,7 @@ import { ANY, NO_STREAM } from "../constants"; export interface DeleteStreamOptions extends BaseOptions { /** * Asks the server to check the stream is at specific revision before deleting. - * @default ANY + * @defaultValue ANY */ expectedRevision?: ExpectedRevision; } @@ -19,8 +19,8 @@ declare module "../Client" { interface Client { /** * Soft-deletes a stream. - * @param streamName A stream name. - * @param options Deletion options. + * @param streamName - A stream name. + * @param options - Deletion options. */ deleteStream( streamName: string, diff --git a/src/streams/getStreamMetadata.ts b/src/streams/getStreamMetadata.ts index 9a258788..32819f5b 100644 --- a/src/streams/getStreamMetadata.ts +++ b/src/streams/getStreamMetadata.ts @@ -35,8 +35,8 @@ declare module "../Client" { interface Client { /** * Reads the metadata for a stream. - * @param streamName A stream name. - * @param options Read options. + * @param streamName - A stream name. + * @param options - Read options. */ getStreamMetadata< CustomMetadata extends CustomStreamMetadata = CustomStreamMetadata diff --git a/src/streams/readAll.ts b/src/streams/readAll.ts index 83910581..8e2bcf1f 100644 --- a/src/streams/readAll.ts +++ b/src/streams/readAll.ts @@ -20,24 +20,24 @@ import { ReadStream } from "./utils/ReadStream"; export interface ReadAllOptions extends BaseOptions { /** * The number of events to read. - * @default Number.MAX_SAFE_INTEGER + * @defaultValue Number.MAX_SAFE_INTEGER */ maxCount?: number | bigint; /** * Starts the read at the given position. - * @default START + * @defaultValue START */ fromPosition?: ReadPosition; /** * The best way to explain link resolution is when using system projections. When reading the stream `$streams` (which * contains all streams), each event is actually a link pointing to the first event of a stream. By enabling link * resolution feature, the server will also return the event targeted by the link. - * @default false + * @defaultValue false */ resolveLinkTos?: boolean; /** * Sets the read direction of the streamconnection. - * @default FORWARDS + * @defaultValue FORWARDS */ direction?: Direction; } @@ -47,7 +47,7 @@ declare module "../Client" { /** * Reads events from the $all. You can read forwards or backwards. * You might need to be authenticated to execute the command successfully. - * @param options Reading options. + * @param options - Reading options. */ readAll( options?: ReadAllOptions, diff --git a/src/streams/readStream.ts b/src/streams/readStream.ts index 254b7ee5..d5f763e5 100644 --- a/src/streams/readStream.ts +++ b/src/streams/readStream.ts @@ -26,24 +26,24 @@ import { ReadStream } from "./utils/ReadStream"; export interface ReadStreamOptions extends BaseOptions { /** * The number of events to read. - * @default Number.MAX_SAFE_INTEGER + * @defaultValue Number.MAX_SAFE_INTEGER */ maxCount?: number | bigint; /** * Starts the read at the given event revision. - * @default START + * @defaultValue START */ fromRevision?: ReadRevision; /** * The best way to explain link resolution is when using system projections. When reading the stream `$streams` (which * contains all streams), each event is actually a link pointing to the first event of a stream. By enabling link * resolution feature, the server will also return the event targeted by the link. - * @default false + * @defaultValue false */ resolveLinkTos?: boolean; /** * Sets the read direction of the stream. - * @default FORWARDS + * @defaultValue FORWARDS */ direction?: Direction; } @@ -52,8 +52,8 @@ declare module "../Client" { interface Client { /** * Reads events from a given stream. - * @param streamName A stream name. - * @param options Reading options. + * @param streamName - A stream name. + * @param options - Reading options. */ readStream( streamName: string, diff --git a/src/streams/setStreamMetadata.ts b/src/streams/setStreamMetadata.ts index 88e742d9..dae04689 100644 --- a/src/streams/setStreamMetadata.ts +++ b/src/streams/setStreamMetadata.ts @@ -13,7 +13,7 @@ import { metastreamOf } from "./utils/systemStreams"; export interface SetStreamMetadataOptions extends BaseOptions { /** * Asks the server to check the stream is at specific revision before writing events. - * @default ANY + * @defaultValue ANY */ expectedRevision?: AppendExpectedRevision; } @@ -22,9 +22,9 @@ declare module "../Client" { interface Client { /** * Sets metadata for steam. - * @param streamName A stream name. - * @param metadata Metadata to write. - * @param options Writing options. + * @param streamName - A stream name. + * @param metadata - Metadata to write. + * @param options - Writing options. */ setStreamMetadata( streamName: string, diff --git a/src/streams/subscribeToAll.ts b/src/streams/subscribeToAll.ts index b9eba32f..1c6921cd 100644 --- a/src/streams/subscribeToAll.ts +++ b/src/streams/subscribeToAll.ts @@ -19,14 +19,14 @@ import { Subscription } from "./utils/Subscription"; export interface SubscribeToAllOptions extends BaseOptions { /** * Starts the read at the given position. - * @default START + * @defaultValue START */ fromPosition?: ReadPosition; /** * The best way to explain link resolution is when using system projections. When reading the stream `$streams` (which * contains all streams), each event is actually a link pointing to the first event of a stream. By enabling link * resolution feature, the server will also return the event targeted by the link. - * @default false + * @defaultValue false */ resolveLinkTos?: boolean; /** @@ -39,8 +39,8 @@ declare module "../Client" { interface Client { /** * Subscribe to events on the $all stream. - * @param options Subscription options. - * @param readableOptions Readable stream options. + * @param options - Subscription options. + * @param readableOptions - Readable stream options. */ subscribeToAll( options?: SubscribeToAllOptions, diff --git a/src/streams/subscribeToStream.ts b/src/streams/subscribeToStream.ts index 834bf9ea..e0c6a82a 100644 --- a/src/streams/subscribeToStream.ts +++ b/src/streams/subscribeToStream.ts @@ -19,14 +19,14 @@ import { Subscription } from "./utils/Subscription"; export interface SubscribeToStreamOptions extends BaseOptions { /** * Starts the read at the given event revision. - * @default START + * @defaultValue START */ fromRevision?: ReadRevision; /** * The best way to explain link resolution is when using system projections. When reading the stream `$streams` (which * contains all streams), each event is actually a link pointing to the first event of a stream. By enabling link * resolution feature, the server will also return the event targeted by the link. - * @default false + * @defaultValue false */ resolveLinkTos?: boolean; } @@ -35,9 +35,9 @@ declare module "../Client" { interface Client { /** * Subscribe to events on the given stream. - * @param streamName A stream name. - * @param options Subscription options. - * @param readableOptions Readable stream options. + * @param streamName - A stream name. + * @param options - Subscription options. + * @param readableOptions - Readable stream options. */ subscribeToStream( streamName: string, diff --git a/src/streams/tombstoneStream.ts b/src/streams/tombstoneStream.ts index 74260981..c47c9c0c 100644 --- a/src/streams/tombstoneStream.ts +++ b/src/streams/tombstoneStream.ts @@ -10,7 +10,7 @@ import { convertToCommandError, createStreamIdentifier, debug } from "../utils"; export interface TombstoneStreamOptions extends BaseOptions { /** * Asks the server to check the stream is at specific revision before deleting. - * @default ANY + * @defaultValue ANY */ expectedRevision?: ExpectedRevision; } @@ -19,8 +19,8 @@ declare module "../Client" { interface Client { /** * Hard-deletes a stream. - * @param streamName A stream name. - * @param options Tombstoneing options. + * @param streamName - A stream name. + * @param options - Tombstoneing options. */ tombstoneStream( streamName: string, diff --git a/src/streams/utils/systemStreams.ts b/src/streams/utils/systemStreams.ts index 7758d694..10f44641 100644 --- a/src/streams/utils/systemStreams.ts +++ b/src/streams/utils/systemStreams.ts @@ -1,26 +1,26 @@ /** * Returns true if the stream is a system stream. - * @param streamId The stream id to test against. + * @param streamId - The stream id to test against. */ export const isSystemStream = (streamId: string): boolean => streamId[0] === "$"; /** * Returns true if the stream is a metadata stream. - * @param streamId The stream id to test against. + * @param streamId - The stream id to test against. */ export const isMetastream = (streamId: string): boolean => streamId.slice(0, 2) == "$$"; /** * Returns the metadata stream of the stream. - * @param streamId The stream id to get the metastream name of. + * @param streamId - The stream id to get the metastream name of. */ export const metastreamOf = (streamId: string): string => `$$${streamId}`; /** * Returns the original stream of the metadata stream. - * @param metastreamId The metastream id to get the original stream name of. + * @param metastreamId - The metastream id to get the original stream name of. */ export const originalStreamOf = (metastreamId: string): string => metastreamId.slice(2); diff --git a/yarn.lock b/yarn.lock index dd815a10..a93a7a1c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -525,15 +525,6 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@es-joy/jsdoccomment@~0.37.0": - version "0.37.1" - resolved "https://registry.yarnpkg.com/@es-joy/jsdoccomment/-/jsdoccomment-0.37.1.tgz#fa32a41ba12097452693343e09ad4d26d157aedd" - integrity sha512-5vxWJ1gEkEF0yRd0O+uK6dHJf7adrxwQSX8PuRiPfFSAbNLnY0ZJfXaZucoz14Jj2N11xn2DnlEPwWRpYpvRjg== - dependencies: - comment-parser "1.3.1" - esquery "^1.5.0" - jsdoc-type-pratt-parser "~4.0.0" - "@eslint-community/eslint-utils@^4.2.0": version "4.4.0" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" @@ -836,6 +827,21 @@ semver "^7.3.5" tar "^6.1.11" +"@microsoft/tsdoc-config@0.16.2": + version "0.16.2" + resolved "https://registry.yarnpkg.com/@microsoft/tsdoc-config/-/tsdoc-config-0.16.2.tgz#b786bb4ead00d54f53839a458ce626c8548d3adf" + integrity sha512-OGiIzzoBLgWWR0UdRJX98oYO+XKGf7tiK4Zk6tQ/E4IJqGCe7dvkTvgDZV5cFJUzLGDOjeAXrnZoA6QkVySuxw== + dependencies: + "@microsoft/tsdoc" "0.14.2" + ajv "~6.12.6" + jju "~1.4.0" + resolve "~1.19.0" + +"@microsoft/tsdoc@0.14.2": + version "0.14.2" + resolved "https://registry.yarnpkg.com/@microsoft/tsdoc/-/tsdoc-0.14.2.tgz#c3ec604a0b54b9a9b87e9735dfc59e1a5da6a5fb" + integrity sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug== + "@nodelib/fs.scandir@2.1.4": version "2.1.4" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz#d4b3549a5db5de2683e0c1071ab4f140904bbf69" @@ -1189,7 +1195,7 @@ agent-base@6: dependencies: debug "4" -ajv@^6.10.0, ajv@^6.12.4: +ajv@^6.10.0, ajv@^6.12.4, ajv@~6.12.6: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -1548,11 +1554,6 @@ combined-stream@^1.0.8: dependencies: delayed-stream "~1.0.0" -comment-parser@1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.3.1.tgz#3d7ea3adaf9345594aedee6563f422348f165c1b" - integrity sha512-B52sN2VNghyq5ofvUsqZjmk6YkihBX5vMSChmSK9v4ShjKf3Vk5Xcmgpw4o+iIgtrnM/u5FiMpz9VKb8lpBveA== - concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -1822,18 +1823,13 @@ escodegen@^2.0.0: optionalDependencies: source-map "~0.6.1" -eslint-plugin-jsdoc@^40.3.0: - version "40.3.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-40.3.0.tgz#75a91ab71c41bb797db05a32d9528ce3ab613e90" - integrity sha512-EhCqpzRkxoT2DUB4AnrU0ggBYvTh3bWrLZzQTupq6vSVE6XzNwJVKsOHa41GCoevnsWMBNmoDVjXWGqckjuG1g== +eslint-plugin-tsdoc@^0.2.17: + version "0.2.17" + resolved "https://registry.yarnpkg.com/eslint-plugin-tsdoc/-/eslint-plugin-tsdoc-0.2.17.tgz#27789495bbd8778abbf92db1707fec2ed3dfe281" + integrity sha512-xRmVi7Zx44lOBuYqG8vzTXuL6IdGOeF9nHX17bjJ8+VE6fsxpdGem0/SBTmAwgYMKYB1WBkqRJVQ+n8GK041pA== dependencies: - "@es-joy/jsdoccomment" "~0.37.0" - comment-parser "1.3.1" - debug "^4.3.4" - escape-string-regexp "^4.0.0" - esquery "^1.5.0" - semver "^7.3.8" - spdx-expression-parse "^3.0.1" + "@microsoft/tsdoc" "0.14.2" + "@microsoft/tsdoc-config" "0.16.2" eslint-scope@^5.1.1: version "5.1.1" @@ -1932,13 +1928,6 @@ esquery@^1.4.0: dependencies: estraverse "^5.1.0" -esquery@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" - integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== - dependencies: - estraverse "^5.1.0" - esrecurse@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" @@ -2097,6 +2086,11 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + functional-red-black-tree@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" @@ -2293,6 +2287,13 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" +hasown@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== + dependencies: + function-bind "^1.1.2" + hosted-git-info@^2.1.4: version "2.8.9" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" @@ -2422,6 +2423,13 @@ is-callable@^1.1.4, is-callable@^1.2.4: resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== +is-core-module@^2.1.0: + version "2.13.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" + integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== + dependencies: + hasown "^2.0.0" + is-core-module@^2.8.0: version "2.8.1" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.1.tgz#f59fdfca701d5879d0a6b100a40aa1560ce27211" @@ -3004,6 +3012,11 @@ jest@^27.5.1: import-local "^3.0.2" jest-cli "^27.5.1" +jju@~1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/jju/-/jju-1.4.0.tgz#a3abe2718af241a2b2904f84a625970f389ae32a" + integrity sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA== + js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -3017,11 +3030,6 @@ js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" -jsdoc-type-pratt-parser@~4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.0.0.tgz#136f0571a99c184d84ec84662c45c29ceff71114" - integrity sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ== - jsdom@^16.6.0: version "16.7.0" resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.7.0.tgz#918ae71965424b197c819f8183a754e18977b710" @@ -3511,7 +3519,7 @@ path-key@^3.0.0, path-key@^3.1.0: resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== -path-parse@^1.0.7: +path-parse@^1.0.6, path-parse@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== @@ -3726,6 +3734,14 @@ resolve@^1.1.6, resolve@^1.10.0, resolve@^1.20.0: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" +resolve@~1.19.0: + version "1.19.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c" + integrity sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg== + dependencies: + is-core-module "^2.1.0" + path-parse "^1.0.6" + reusify@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" @@ -3772,7 +3788,7 @@ saxes@^5.0.1: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== -semver@7.x, semver@^7.2.1, semver@^7.3.2, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8: +semver@7.x, semver@^7.2.1, semver@^7.3.2, semver@^7.3.5, semver@^7.3.7: version "7.5.4" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== @@ -3904,7 +3920,7 @@ spdx-exceptions@^2.1.0: resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz#3f28ce1a77a00372683eade4a433183527a2163d" integrity sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A== -spdx-expression-parse@^3.0.0, spdx-expression-parse@^3.0.1: +spdx-expression-parse@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz#cf70f50482eefdc98e3ce0a6833e4a53ceeba679" integrity sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==