Skip to content

Commit

Permalink
Update dependencies (#346)
Browse files Browse the repository at this point in the history
* Update TypeScript to 4.9.5 and Upgrade Other Dependencies

* Use dynamic tags instead of hardcoding esdb versions (#352)
  • Loading branch information
w1am authored Dec 6, 2023
1 parent 2bdbaab commit d3de174
Show file tree
Hide file tree
Showing 9 changed files with 931 additions and 646 deletions.
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,31 +73,31 @@
},
"dependencies": {
"@grpc/grpc-js": "1.9.0",
"@types/debug": "^4.1.7",
"@types/google-protobuf": "^3.15.5",
"@types/node": "^16.11.4",
"@types/debug": "^4.1.12",
"@types/google-protobuf": "^3.15.12",
"@types/node": "^16.18.67",
"debug": "^4.3.2",
"google-protobuf": "^3.19.0",
"google-protobuf": "^3.21.2",
"uuid": "^8.3.2"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"@types/jest": "^27.5.2",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"cross-env": "^7.0.3",
"docker-compose": "^0.23.13",
"docker-compose": "^0.23.19",
"dotenv": "^10.0.0",
"eslint": "^7.26.0",
"eslint-plugin-jsdoc": "^40.0.0",
"eslint": "^7.32.0",
"eslint-plugin-jsdoc": "^40.3.0",
"get-port": "^5.1.1",
"grpc-tools": "^1.11.2",
"grpc_tools_node_protoc_ts": "^5.3.2",
"jest": "^27.3.1",
"grpc-tools": "^1.12.4",
"grpc_tools_node_protoc_ts": "^5.3.3",
"jest": "^27.5.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"shx": "^0.3.3",
"ts-jest": "^27.0.7",
"typescript": "^4.4.4"
"shx": "^0.3.4",
"ts-jest": "^27.1.5",
"typescript": "^4.9.5"
}
}
2 changes: 1 addition & 1 deletion src/persistentSubscription/replayParkedMessagesToAll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface ReplayParkedMessagesToAllOptions extends BaseOptions {
* When to stop replaying parked messages. Leave undefined to have no limit.
* @default undefined
*/
stopAt?: number | BigInt;
stopAt?: number | bigint;
}

declare module "../Client" {
Expand Down
2 changes: 1 addition & 1 deletion src/persistentSubscription/replayParkedMessagesToStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface ReplayParkedMessagesToStreamOptions extends BaseOptions {
* When to stop replaying parked messages. Leave undefined to have no limit.
* @default undefined
*/
stopAt?: number | BigInt;
stopAt?: number | bigint;
}

declare module "../Client" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface PersistentSubscriptionConnectionInfo {
/** Number of in flight messages on this connection. */
inFlightMessages: number;
/** Timing measurements for the connection. Can be enabled with the `extraStatistics` setting. */
extraStatistics?: Map<ExtraStatisticsKey, BigInt>;
extraStatistics?: Map<ExtraStatisticsKey, bigint>;
}

interface PersistentSubscriptionStatsBase {
Expand Down
2 changes: 1 addition & 1 deletion src/streams/getStreamMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface GetStreamMetadataResult<
/**
* A the version of the metadata.
*/
metastreamRevision?: BigInt;
metastreamRevision?: bigint;
}

export interface GetStreamMetadataOptions extends BaseOptions {}
Expand Down
2 changes: 1 addition & 1 deletion src/streams/readAll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface ReadAllOptions extends BaseOptions {
* The number of events to read.
* @default Number.MAX_SAFE_INTEGER
*/
maxCount?: number | BigInt;
maxCount?: number | bigint;
/**
* Starts the read at the given position.
* @default START
Expand Down
2 changes: 1 addition & 1 deletion src/streams/readStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface ReadStreamOptions extends BaseOptions {
* The number of events to read.
* @default Number.MAX_SAFE_INTEGER
*/
maxCount?: number | BigInt;
maxCount?: number | bigint;
/**
* Starts the read at the given event revision.
* @default START
Expand Down
10 changes: 5 additions & 5 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,17 @@ export interface ProjectionDetails {
/**
* The CoreProcessingTime.
*/
coreProcessingTime: BigInt;
coreProcessingTime: bigint;

/**
* The projection version.
*/
version: BigInt;
version: bigint;

/**
* The Epoch.
*/
epoch: BigInt;
epoch: bigint;

/**
* The projection EffectiveName.
Expand Down Expand Up @@ -216,7 +216,7 @@ export interface ProjectionDetails {
/**
* The projection EventsProcessedAfterRestart.
*/
eventsProcessedAfterRestart: BigInt;
eventsProcessedAfterRestart: bigint;

/**
* The projection CheckpointStatus.
Expand All @@ -226,7 +226,7 @@ export interface ProjectionDetails {
/**
* The projection BufferedEvents.
*/
bufferedEvents: BigInt;
bufferedEvents: bigint;

/**
* The projection WritePendingEventsBeforeCheckpoint.
Expand Down
Loading

0 comments on commit d3de174

Please sign in to comment.