From 816da32c7dc8ec4a0cb007b1191d2864c9f049d3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 25 Jan 2023 21:50:07 -0800 Subject: [PATCH 1/4] fix: packages/twilio-run/package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-JSONWEBTOKEN-3180020 - https://snyk.io/vuln/SNYK-JS-JSONWEBTOKEN-3180022 - https://snyk.io/vuln/SNYK-JS-JSONWEBTOKEN-3180024 - https://snyk.io/vuln/SNYK-JS-JSONWEBTOKEN-3180026 --- packages/twilio-run/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twilio-run/package.json b/packages/twilio-run/package.json index 2ced79c0..6fcbc541 100644 --- a/packages/twilio-run/package.json +++ b/packages/twilio-run/package.json @@ -77,7 +77,7 @@ "serialize-error": "^7.0.1", "terminal-link": "^1.3.0", "title": "^3.4.1", - "twilio": "^3.60.0", + "twilio": "^4.0.0", "type-fest": "^0.15.1", "window-size": "^1.1.1", "wrap-ansi": "^7.0.0", From efc4634dd58fcf035a9ca0f2ba22d6ad71cc63b6 Mon Sep 17 00:00:00 2001 From: Andre Lars Date: Mon, 19 Feb 2024 11:06:14 +0200 Subject: [PATCH 2/4] Create quiet-crabs-join.md --- .changeset/quiet-crabs-join.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/quiet-crabs-join.md diff --git a/.changeset/quiet-crabs-join.md b/.changeset/quiet-crabs-join.md new file mode 100644 index 00000000..619d6b53 --- /dev/null +++ b/.changeset/quiet-crabs-join.md @@ -0,0 +1,5 @@ +--- +"twilio-run": minor +--- + +[Snyk] Security upgrade twilio from 3.84.1 to 4.0.0 From 58ce826d5d8ed995c2ee086d583cc4256b92167e Mon Sep 17 00:00:00 2001 From: Andre Lars Date: Mon, 19 Feb 2024 11:26:20 +0200 Subject: [PATCH 3/4] Update runtime.ts --- packages/twilio-run/src/runtime/internal/runtime.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twilio-run/src/runtime/internal/runtime.ts b/packages/twilio-run/src/runtime/internal/runtime.ts index 6571c8da..49ab7d33 100644 --- a/packages/twilio-run/src/runtime/internal/runtime.ts +++ b/packages/twilio-run/src/runtime/internal/runtime.ts @@ -58,7 +58,7 @@ export type ExtendedSyncServiceContext = ServiceContext & { export function create({ env }: StartCliConfig): RuntimeInstance { function getSync( - options?: RuntimeSyncClientOptions + options?: ClientOpts ): RuntimeSyncServiceContext { options = { serviceName: 'default', ...options }; const { serviceName } = options; From b70d8e93ca86b2e0aa2fc3147b3dfb46077f87f9 Mon Sep 17 00:00:00 2001 From: Andre Lars Date: Mon, 19 Feb 2024 12:04:18 +0200 Subject: [PATCH 4/4] Update runtime.ts --- packages/twilio-run/src/runtime/internal/runtime.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twilio-run/src/runtime/internal/runtime.ts b/packages/twilio-run/src/runtime/internal/runtime.ts index 49ab7d33..6571c8da 100644 --- a/packages/twilio-run/src/runtime/internal/runtime.ts +++ b/packages/twilio-run/src/runtime/internal/runtime.ts @@ -58,7 +58,7 @@ export type ExtendedSyncServiceContext = ServiceContext & { export function create({ env }: StartCliConfig): RuntimeInstance { function getSync( - options?: ClientOpts + options?: RuntimeSyncClientOptions ): RuntimeSyncServiceContext { options = { serviceName: 'default', ...options }; const { serviceName } = options;