From baf38f484dc8971dd2162ad3c0a3846cfd2006e2 Mon Sep 17 00:00:00 2001 From: Cecilia Avila <44245136+ceciliaavila@users.noreply.github.com> Date: Wed, 25 Sep 2024 16:36:15 -0300 Subject: [PATCH] [#4009] Update samples to support latest Node version - JavaScript (#4010) * JS - Update samples and ARM templates to support latest LTS Node version * Use Node 20 as default in ARM templates * Update default value for Stack en linux * Update README files * Update botbuilder version in JS samples * Fix Node version in linux templates --------- Co-authored-by: Ivan K Berlot --- samples/javascript_nodejs/01.console-echo/README.md | 2 +- .../javascript_nodejs/01.console-echo/package.json | 2 +- samples/javascript_nodejs/02.echo-bot/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../template-BotApp-with-rg.json | 4 ++-- .../template-BotApp-new-rg.json | 4 ++-- samples/javascript_nodejs/02.echo-bot/package.json | 4 ++-- samples/javascript_nodejs/03.welcome-users/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../javascript_nodejs/03.welcome-users/package.json | 4 ++-- .../javascript_nodejs/05.multi-turn-prompt/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../05.multi-turn-prompt/package.json | 6 +++--- samples/javascript_nodejs/06.using-cards/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../javascript_nodejs/06.using-cards/package.json | 6 +++--- .../07.using-adaptive-cards/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../07.using-adaptive-cards/package.json | 4 ++-- .../javascript_nodejs/08.suggested-actions/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../08.suggested-actions/package.json | 4 ++-- samples/javascript_nodejs/12.customQABot/README.md | 4 ++-- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../javascript_nodejs/12.customQABot/package.json | 6 +++--- samples/javascript_nodejs/13.core-bot/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../template-BotApp-with-rg.json | 4 ++-- .../template-BotApp-new-rg.json | 4 ++-- samples/javascript_nodejs/13.core-bot/package.json | 10 +++++----- .../15.handling-attachments/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../15.handling-attachments/package.json | 4 ++-- .../16.proactive-messages/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../16.proactive-messages/package.json | 6 +++--- .../javascript_nodejs/17.multilingual-bot/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../17.multilingual-bot/package.json | 4 ++-- .../18.bot-authentication/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../18.bot-authentication/package.json | 6 +++--- .../javascript_nodejs/19.custom-dialogs/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../javascript_nodejs/19.custom-dialogs/package.json | 6 +++--- .../21.corebot-app-insights/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../21.corebot-app-insights/package.json | 10 +++++----- .../javascript_nodejs/23.facebook-events/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../23.facebook-events/package.json | 6 +++--- .../24.bot-authentication-msgraph/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../24.bot-authentication-msgraph/package.json | 4 ++-- .../javascript_nodejs/43.complex-dialog/README.md | 4 ++-- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../javascript_nodejs/43.complex-dialog/package.json | 6 +++--- .../44.prompt-for-user-input/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../44.prompt-for-user-input/package.json | 4 ++-- .../javascript_nodejs/45.state-management/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../45.state-management/package.json | 4 ++-- samples/javascript_nodejs/47.inspection/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- samples/javascript_nodejs/47.inspection/package.json | 4 ++-- .../48.customQABot-all-features/README.md | 4 ++-- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../48.customQABot-all-features/package.json | 8 ++++---- .../80.skills-simple-bot-to-bot/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../echo-skill-bot/package.json | 6 +++--- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../simple-root-bot/package.json | 6 +++--- .../81.skills-skilldialog/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../81.skills-skilldialog/dialogRootBot/package.json | 6 +++--- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../dialogSkillBot/package.json | 8 ++++---- .../82.skills-sso-cloudadapter/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../82.skills-sso-cloudadapter/rootBot/package.json | 8 ++++---- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../82.skills-sso-cloudadapter/skillBot/package.json | 12 ++++++------ .../83.named-pipe-sample/named-pipe-bot/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../template-BotApp-with-rg.json | 4 ++-- .../template-BotApp-new-rg.json | 4 ++-- .../83.named-pipe-sample/named-pipe-bot/package.json | 2 +- .../84.bot-authentication-certificate/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../template-BotApp-with-rg.json | 4 ++-- .../template-BotApp-new-rg.json | 4 ++-- .../84.bot-authentication-certificate/package.json | 2 +- .../85.bot-authentication-sni/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../template-BotApp-with-rg.json | 4 ++-- .../template-BotApp-new-rg.json | 4 ++-- .../85.bot-authentication-sni/package.json | 2 +- .../javascript_nodejs/86.echo-proxy-bot/README.md | 2 +- .../template-BotApp-with-rg.json | 2 +- .../template-BotApp-new-rg.json | 2 +- .../template-BotApp-with-rg.json | 4 ++-- .../template-BotApp-new-rg.json | 4 ++-- .../javascript_nodejs/86.echo-proxy-bot/package.json | 2 +- 135 files changed, 204 insertions(+), 204 deletions(-) diff --git a/samples/javascript_nodejs/01.console-echo/README.md b/samples/javascript_nodejs/01.console-echo/README.md index 245fda3394..cfed328971 100644 --- a/samples/javascript_nodejs/01.console-echo/README.md +++ b/samples/javascript_nodejs/01.console-echo/README.md @@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/01.console-echo/package.json b/samples/javascript_nodejs/01.console-echo/package.json index 0ee28b64f5..e46935ae54 100644 --- a/samples/javascript_nodejs/01.console-echo/package.json +++ b/samples/javascript_nodejs/01.console-echo/package.json @@ -16,7 +16,7 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder-core": "~4.17.0", + "botbuilder-core": "~4.23.0", "dotenv": "^8.2.0", "path": "^0.12.7", "readline": "^1.3.0" diff --git a/samples/javascript_nodejs/02.echo-bot/README.md b/samples/javascript_nodejs/02.echo-bot/README.md index 4b6a9d0c57..6a322afc43 100644 --- a/samples/javascript_nodejs/02.echo-bot/README.md +++ b/samples/javascript_nodejs/02.echo-bot/README.md @@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json index 29d28db9b9..db8f219d47 100644 --- a/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -51,7 +51,7 @@ }, "linuxFxVersion": { "type": "string", - "defaultValue": "NODE|16" + "defaultValue": "NODE|20-LTS" }, "appId": { "type": "string", @@ -137,7 +137,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json index a8bea6399f..ff144bfd5f 100644 --- a/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/02.echo-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -48,7 +48,7 @@ }, "linuxFxVersion": { "type": "string", - "defaultValue": "NODE|16" + "defaultValue": "NODE|20-LTS" }, "appId": { "type": "string", @@ -156,7 +156,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/02.echo-bot/package.json b/samples/javascript_nodejs/02.echo-bot/package.json index b18c755437..62a1a4f778 100644 --- a/samples/javascript_nodejs/02.echo-bot/package.json +++ b/samples/javascript_nodejs/02.echo-bot/package.json @@ -16,7 +16,7 @@ "url": "https://github.com" }, "dependencies": { - "botbuilder": "~4.22.1", + "botbuilder": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -29,4 +29,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/03.welcome-users/README.md b/samples/javascript_nodejs/03.welcome-users/README.md index 00fcbf00d7..a3918f5481 100644 --- a/samples/javascript_nodejs/03.welcome-users/README.md +++ b/samples/javascript_nodejs/03.welcome-users/README.md @@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/03.welcome-users/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/03.welcome-users/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/03.welcome-users/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/03.welcome-users/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/03.welcome-users/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/03.welcome-users/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/03.welcome-users/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/03.welcome-users/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/03.welcome-users/package.json b/samples/javascript_nodejs/03.welcome-users/package.json index 63f6213042..f7aed7025d 100644 --- a/samples/javascript_nodejs/03.welcome-users/package.json +++ b/samples/javascript_nodejs/03.welcome-users/package.json @@ -16,7 +16,7 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", + "botbuilder": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -29,4 +29,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/05.multi-turn-prompt/README.md b/samples/javascript_nodejs/05.multi-turn-prompt/README.md index b68395e370..a508988b7a 100644 --- a/samples/javascript_nodejs/05.multi-turn-prompt/README.md +++ b/samples/javascript_nodejs/05.multi-turn-prompt/README.md @@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/05.multi-turn-prompt/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/05.multi-turn-prompt/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/05.multi-turn-prompt/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/05.multi-turn-prompt/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/05.multi-turn-prompt/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/05.multi-turn-prompt/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/05.multi-turn-prompt/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/05.multi-turn-prompt/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/05.multi-turn-prompt/package.json b/samples/javascript_nodejs/05.multi-turn-prompt/package.json index 6914785168..330f8c4018 100644 --- a/samples/javascript_nodejs/05.multi-turn-prompt/package.json +++ b/samples/javascript_nodejs/05.multi-turn-prompt/package.json @@ -16,8 +16,8 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", "dotenv": "^8.2.0", "path": "^0.12.7", "restify": "~10.0.0" @@ -31,4 +31,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/06.using-cards/README.md b/samples/javascript_nodejs/06.using-cards/README.md index dee622e517..54d87446d3 100644 --- a/samples/javascript_nodejs/06.using-cards/README.md +++ b/samples/javascript_nodejs/06.using-cards/README.md @@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/06.using-cards/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/06.using-cards/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/06.using-cards/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/06.using-cards/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/06.using-cards/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/06.using-cards/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/06.using-cards/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/06.using-cards/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/06.using-cards/package.json b/samples/javascript_nodejs/06.using-cards/package.json index 43a9d597fb..8701d58cc1 100644 --- a/samples/javascript_nodejs/06.using-cards/package.json +++ b/samples/javascript_nodejs/06.using-cards/package.json @@ -16,8 +16,8 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -30,4 +30,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/07.using-adaptive-cards/README.md b/samples/javascript_nodejs/07.using-adaptive-cards/README.md index 0fd6ebac58..10092cb3fa 100644 --- a/samples/javascript_nodejs/07.using-adaptive-cards/README.md +++ b/samples/javascript_nodejs/07.using-adaptive-cards/README.md @@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/07.using-adaptive-cards/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/07.using-adaptive-cards/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/07.using-adaptive-cards/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/07.using-adaptive-cards/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/07.using-adaptive-cards/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/07.using-adaptive-cards/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/07.using-adaptive-cards/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/07.using-adaptive-cards/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/07.using-adaptive-cards/package.json b/samples/javascript_nodejs/07.using-adaptive-cards/package.json index eee9cab696..dfe19e6745 100644 --- a/samples/javascript_nodejs/07.using-adaptive-cards/package.json +++ b/samples/javascript_nodejs/07.using-adaptive-cards/package.json @@ -16,7 +16,7 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", + "botbuilder": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -29,4 +29,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/08.suggested-actions/README.md b/samples/javascript_nodejs/08.suggested-actions/README.md index 2ff3c9b31d..1a35bd4bf3 100644 --- a/samples/javascript_nodejs/08.suggested-actions/README.md +++ b/samples/javascript_nodejs/08.suggested-actions/README.md @@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/08.suggested-actions/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/08.suggested-actions/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/08.suggested-actions/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/08.suggested-actions/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/08.suggested-actions/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/08.suggested-actions/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/08.suggested-actions/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/08.suggested-actions/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/08.suggested-actions/package.json b/samples/javascript_nodejs/08.suggested-actions/package.json index 148f8c6c7e..441cd72b23 100644 --- a/samples/javascript_nodejs/08.suggested-actions/package.json +++ b/samples/javascript_nodejs/08.suggested-actions/package.json @@ -16,7 +16,7 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", + "botbuilder": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -29,4 +29,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/12.customQABot/README.md b/samples/javascript_nodejs/12.customQABot/README.md index f23fedea25..a134e1cba5 100644 --- a/samples/javascript_nodejs/12.customQABot/README.md +++ b/samples/javascript_nodejs/12.customQABot/README.md @@ -9,7 +9,7 @@ This bot has been created using the [Bot Framework SDK][BF], it shows how to cre ## Prerequisites - This project requires a [Language service resource](https://aka.ms/create-language-resource) with Custom question answering enabled. -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version @@ -92,4 +92,4 @@ If you are new to Microsoft Azure, please refer to [Getting started with Azure][ [BF]: https://dev.botframework.com/ [Quickstart]: https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/quickstart/sdk [Azure]: https://portal.azure.com -[BFE]: https://github.com/Microsoft/BotFramework-Emulator/releases \ No newline at end of file +[BFE]: https://github.com/Microsoft/BotFramework-Emulator/releases diff --git a/samples/javascript_nodejs/12.customQABot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/12.customQABot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/12.customQABot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/12.customQABot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/12.customQABot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/12.customQABot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/12.customQABot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/12.customQABot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/12.customQABot/package.json b/samples/javascript_nodejs/12.customQABot/package.json index 0af4252041..d38e8b2a5e 100644 --- a/samples/javascript_nodejs/12.customQABot/package.json +++ b/samples/javascript_nodejs/12.customQABot/package.json @@ -16,8 +16,8 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", - "botbuilder-ai": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-ai": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -30,4 +30,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/13.core-bot/README.md b/samples/javascript_nodejs/13.core-bot/README.md index e504f138d6..51d230c77c 100644 --- a/samples/javascript_nodejs/13.core-bot/README.md +++ b/samples/javascript_nodejs/13.core-bot/README.md @@ -17,7 +17,7 @@ This sample **requires** prerequisites in order to run. This bot uses [LUIS](https://www.luis.ai), an AI based cognitive service, to implement language understanding. -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/13.core-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/13.core-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json index 29d28db9b9..db8f219d47 100644 --- a/samples/javascript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/13.core-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -51,7 +51,7 @@ }, "linuxFxVersion": { "type": "string", - "defaultValue": "NODE|16" + "defaultValue": "NODE|20-LTS" }, "appId": { "type": "string", @@ -137,7 +137,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json index a8bea6399f..ff144bfd5f 100644 --- a/samples/javascript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/13.core-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -48,7 +48,7 @@ }, "linuxFxVersion": { "type": "string", - "defaultValue": "NODE|16" + "defaultValue": "NODE|20-LTS" }, "appId": { "type": "string", @@ -156,7 +156,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/13.core-bot/package.json b/samples/javascript_nodejs/13.core-bot/package.json index 2f01d60941..42b50f22d8 100644 --- a/samples/javascript_nodejs/13.core-bot/package.json +++ b/samples/javascript_nodejs/13.core-bot/package.json @@ -17,10 +17,10 @@ }, "dependencies": { "@microsoft/recognizers-text-data-types-timex-expression": "1.1.4", - "botbuilder": "~4.22.1", - "botbuilder-ai": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", - "botbuilder-testing": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-ai": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", + "botbuilder-testing": "~4.23.0", "dotenv": "^8.2.0", "moment-timezone": "~0.5.33", "restify": "~10.0.0" @@ -36,4 +36,4 @@ "nodemon": "~2.0.4", "nyc": "^15.0.1" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/15.handling-attachments/README.md b/samples/javascript_nodejs/15.handling-attachments/README.md index a2ff669646..4b1677cffa 100644 --- a/samples/javascript_nodejs/15.handling-attachments/README.md +++ b/samples/javascript_nodejs/15.handling-attachments/README.md @@ -9,7 +9,7 @@ upload files to Teams from a bot and how to receive a file sent to a bot as an a ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/15.handling-attachments/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/15.handling-attachments/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/15.handling-attachments/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/15.handling-attachments/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/15.handling-attachments/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/15.handling-attachments/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/15.handling-attachments/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/15.handling-attachments/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/15.handling-attachments/package.json b/samples/javascript_nodejs/15.handling-attachments/package.json index b7dba329d7..47a736f07b 100644 --- a/samples/javascript_nodejs/15.handling-attachments/package.json +++ b/samples/javascript_nodejs/15.handling-attachments/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "axios": "^0.21.2", - "botbuilder": "~4.22.1", + "botbuilder": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -30,4 +30,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/16.proactive-messages/README.md b/samples/javascript_nodejs/16.proactive-messages/README.md index f6dac92838..56400f3752 100644 --- a/samples/javascript_nodejs/16.proactive-messages/README.md +++ b/samples/javascript_nodejs/16.proactive-messages/README.md @@ -15,7 +15,7 @@ all users who have previously messaged the bot. ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/16.proactive-messages/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/16.proactive-messages/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/16.proactive-messages/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/16.proactive-messages/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/16.proactive-messages/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/16.proactive-messages/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/16.proactive-messages/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/16.proactive-messages/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/16.proactive-messages/package.json b/samples/javascript_nodejs/16.proactive-messages/package.json index 6fa53feda9..5873c4b66c 100644 --- a/samples/javascript_nodejs/16.proactive-messages/package.json +++ b/samples/javascript_nodejs/16.proactive-messages/package.json @@ -16,8 +16,8 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", "dotenv": "^8.2.0", "fetch-ponyfill": "^7.0.0", "moment": "^2.29.1", @@ -33,4 +33,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/17.multilingual-bot/README.md b/samples/javascript_nodejs/17.multilingual-bot/README.md index 7a23c39f52..8849a281ea 100644 --- a/samples/javascript_nodejs/17.multilingual-bot/README.md +++ b/samples/javascript_nodejs/17.multilingual-bot/README.md @@ -21,7 +21,7 @@ The API uses the most modern neural machine translation technology, as well as o This sample **requires** prerequisites in order to run. -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/17.multilingual-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/17.multilingual-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/17.multilingual-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/17.multilingual-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/17.multilingual-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/17.multilingual-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/17.multilingual-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/17.multilingual-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/17.multilingual-bot/package.json b/samples/javascript_nodejs/17.multilingual-bot/package.json index ed828edfa2..bdc74dfad0 100644 --- a/samples/javascript_nodejs/17.multilingual-bot/package.json +++ b/samples/javascript_nodejs/17.multilingual-bot/package.json @@ -16,7 +16,7 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", + "botbuilder": "~4.23.0", "dotenv": "^8.2.0", "node-fetch": "^2.6.0", "restify": "~10.0.0" @@ -30,4 +30,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/18.bot-authentication/README.md b/samples/javascript_nodejs/18.bot-authentication/README.md index e33adbcaee..862b6c0cf5 100644 --- a/samples/javascript_nodejs/18.bot-authentication/README.md +++ b/samples/javascript_nodejs/18.bot-authentication/README.md @@ -10,7 +10,7 @@ NOTE: Microsoft Teams currently differs slightly in the way auth is integrated w ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/18.bot-authentication/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/18.bot-authentication/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/18.bot-authentication/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/18.bot-authentication/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/18.bot-authentication/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/18.bot-authentication/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/18.bot-authentication/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/18.bot-authentication/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/18.bot-authentication/package.json b/samples/javascript_nodejs/18.bot-authentication/package.json index 227fb5ab46..859e9e73f8 100644 --- a/samples/javascript_nodejs/18.bot-authentication/package.json +++ b/samples/javascript_nodejs/18.bot-authentication/package.json @@ -16,8 +16,8 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -30,4 +30,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/19.custom-dialogs/README.md b/samples/javascript_nodejs/19.custom-dialogs/README.md index 4ab0f263ae..9aad8fffae 100644 --- a/samples/javascript_nodejs/19.custom-dialogs/README.md +++ b/samples/javascript_nodejs/19.custom-dialogs/README.md @@ -8,7 +8,7 @@ BotFramework provides a built-in base class called `Dialog`. By subclassing `Dia ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/19.custom-dialogs/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/19.custom-dialogs/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/19.custom-dialogs/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/19.custom-dialogs/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/19.custom-dialogs/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/19.custom-dialogs/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/19.custom-dialogs/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/19.custom-dialogs/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/19.custom-dialogs/package.json b/samples/javascript_nodejs/19.custom-dialogs/package.json index 1fdc2ffc02..2d205c226d 100644 --- a/samples/javascript_nodejs/19.custom-dialogs/package.json +++ b/samples/javascript_nodejs/19.custom-dialogs/package.json @@ -16,8 +16,8 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -30,4 +30,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/21.corebot-app-insights/README.md b/samples/javascript_nodejs/21.corebot-app-insights/README.md index 4f6bf552b7..60855abcb0 100644 --- a/samples/javascript_nodejs/21.corebot-app-insights/README.md +++ b/samples/javascript_nodejs/21.corebot-app-insights/README.md @@ -19,7 +19,7 @@ This sample **requires** prerequisites in order to run. This bot uses [LUIS](https://www.luis.ai), an AI based cognitive service, to implement language understanding and [Application Insights](https://docs.microsoft.com/azure/azure-monitor/app/cloudservices), an extensible Application Performance Management (APM) service for web developers on multiple platforms. -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/21.corebot-app-insights/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/21.corebot-app-insights/package.json b/samples/javascript_nodejs/21.corebot-app-insights/package.json index febf28b4f9..3122c903d0 100644 --- a/samples/javascript_nodejs/21.corebot-app-insights/package.json +++ b/samples/javascript_nodejs/21.corebot-app-insights/package.json @@ -17,10 +17,10 @@ "license": "MIT", "dependencies": { "@microsoft/recognizers-text-data-types-timex-expression": "1.1.4", - "botbuilder": "~4.22.1", - "botbuilder-ai": "~4.22.1", - "botbuilder-applicationinsights": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-ai": "~4.23.0", + "botbuilder-applicationinsights": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", "dotenv": "^8.2.0", "path": "^0.12.7", "restify": "~10.0.0" @@ -37,4 +37,4 @@ "path": "^0.12.7", "restify": "^8.6.0" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/23.facebook-events/README.md b/samples/javascript_nodejs/23.facebook-events/README.md index 2ab0b73677..14be633e89 100644 --- a/samples/javascript_nodejs/23.facebook-events/README.md +++ b/samples/javascript_nodejs/23.facebook-events/README.md @@ -8,7 +8,7 @@ More information about configuring a bot for Facebook Messenger can be found her ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/23.facebook-events/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/23.facebook-events/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/23.facebook-events/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/23.facebook-events/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/23.facebook-events/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/23.facebook-events/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/23.facebook-events/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/23.facebook-events/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/23.facebook-events/package.json b/samples/javascript_nodejs/23.facebook-events/package.json index 47459b4473..46bfba6af4 100644 --- a/samples/javascript_nodejs/23.facebook-events/package.json +++ b/samples/javascript_nodejs/23.facebook-events/package.json @@ -16,8 +16,8 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -30,4 +30,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/24.bot-authentication-msgraph/README.md b/samples/javascript_nodejs/24.bot-authentication-msgraph/README.md index 2f2a5115de..08c5622d27 100644 --- a/samples/javascript_nodejs/24.bot-authentication-msgraph/README.md +++ b/samples/javascript_nodejs/24.bot-authentication-msgraph/README.md @@ -11,7 +11,7 @@ application setup for use in Azure Bot Service. The [scopes](https://developer.m ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/24.bot-authentication-msgraph/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/24.bot-authentication-msgraph/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/24.bot-authentication-msgraph/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/24.bot-authentication-msgraph/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/24.bot-authentication-msgraph/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/24.bot-authentication-msgraph/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/24.bot-authentication-msgraph/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/24.bot-authentication-msgraph/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/24.bot-authentication-msgraph/package.json b/samples/javascript_nodejs/24.bot-authentication-msgraph/package.json index da60b9f481..2ccb529948 100644 --- a/samples/javascript_nodejs/24.bot-authentication-msgraph/package.json +++ b/samples/javascript_nodejs/24.bot-authentication-msgraph/package.json @@ -17,8 +17,8 @@ }, "dependencies": { "@microsoft/microsoft-graph-client": "~2.0.0", - "botbuilder": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", "dotenv": "^8.2.0", "isomorphic-fetch": "^3.0.0", "restify": "~10.0.0" diff --git a/samples/javascript_nodejs/43.complex-dialog/README.md b/samples/javascript_nodejs/43.complex-dialog/README.md index b61b164134..4c92307733 100644 --- a/samples/javascript_nodejs/43.complex-dialog/README.md +++ b/samples/javascript_nodejs/43.complex-dialog/README.md @@ -4,7 +4,7 @@ This sample creates a complex conversation with dialogs. ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version @@ -52,4 +52,4 @@ This sample creates a complex conversation with dialogs. ## Further reading - [Azure Bot Service](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0) -- [Bot Storage](https://docs.microsoft.com/azure/bot-service/dotnet/bot-builder-dotnet-state?view=azure-bot-service-3.0&viewFallbackFrom=azure-bot-service-4.0) \ No newline at end of file +- [Bot Storage](https://docs.microsoft.com/azure/bot-service/dotnet/bot-builder-dotnet-state?view=azure-bot-service-3.0&viewFallbackFrom=azure-bot-service-4.0) diff --git a/samples/javascript_nodejs/43.complex-dialog/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/43.complex-dialog/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/43.complex-dialog/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/43.complex-dialog/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/43.complex-dialog/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/43.complex-dialog/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/43.complex-dialog/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/43.complex-dialog/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/43.complex-dialog/package.json b/samples/javascript_nodejs/43.complex-dialog/package.json index f68103c66f..06169ebe20 100644 --- a/samples/javascript_nodejs/43.complex-dialog/package.json +++ b/samples/javascript_nodejs/43.complex-dialog/package.json @@ -12,8 +12,8 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies": { - "botbuilder": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -26,4 +26,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/44.prompt-for-user-input/README.md b/samples/javascript_nodejs/44.prompt-for-user-input/README.md index 13e07a320a..6890e5f0fc 100644 --- a/samples/javascript_nodejs/44.prompt-for-user-input/README.md +++ b/samples/javascript_nodejs/44.prompt-for-user-input/README.md @@ -6,7 +6,7 @@ The bot maintains user state to track the user's answers. ## Prerequisites -- Node.js version 16.16.0 or higher. +- Node.js version 18 or higher. ```bash # determine node version diff --git a/samples/javascript_nodejs/44.prompt-for-user-input/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/44.prompt-for-user-input/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/44.prompt-for-user-input/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/44.prompt-for-user-input/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/44.prompt-for-user-input/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/44.prompt-for-user-input/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/44.prompt-for-user-input/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/44.prompt-for-user-input/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/44.prompt-for-user-input/package.json b/samples/javascript_nodejs/44.prompt-for-user-input/package.json index 0979f29340..46e4f6aee4 100644 --- a/samples/javascript_nodejs/44.prompt-for-user-input/package.json +++ b/samples/javascript_nodejs/44.prompt-for-user-input/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@microsoft/recognizers-text-suite": "1.1.4", - "botbuilder": "~4.22.1", + "botbuilder": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -26,4 +26,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/45.state-management/README.md b/samples/javascript_nodejs/45.state-management/README.md index 767e837081..bd77483a10 100644 --- a/samples/javascript_nodejs/45.state-management/README.md +++ b/samples/javascript_nodejs/45.state-management/README.md @@ -6,7 +6,7 @@ The bot maintains user state to track the user's answers. ## Prerequisites -- Node.js version 16.16.0 or higher. +- Node.js version 18 or higher. ```bash # determine node version diff --git a/samples/javascript_nodejs/45.state-management/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/45.state-management/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/45.state-management/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/45.state-management/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/45.state-management/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/45.state-management/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/45.state-management/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/45.state-management/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/45.state-management/package.json b/samples/javascript_nodejs/45.state-management/package.json index d05dc9b200..a60b21b308 100644 --- a/samples/javascript_nodejs/45.state-management/package.json +++ b/samples/javascript_nodejs/45.state-management/package.json @@ -12,7 +12,7 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies": { - "botbuilder": "~4.22.1", + "botbuilder": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -25,4 +25,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/47.inspection/README.md b/samples/javascript_nodejs/47.inspection/README.md index 5d819444a9..1904952122 100644 --- a/samples/javascript_nodejs/47.inspection/README.md +++ b/samples/javascript_nodejs/47.inspection/README.md @@ -12,7 +12,7 @@ More details are available [here](https://github.com/microsoft/BotFramework-Emul ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/47.inspection/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/47.inspection/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/47.inspection/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/47.inspection/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/47.inspection/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/47.inspection/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/47.inspection/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/47.inspection/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/47.inspection/package.json b/samples/javascript_nodejs/47.inspection/package.json index 95957fd76f..88d33e5abb 100644 --- a/samples/javascript_nodejs/47.inspection/package.json +++ b/samples/javascript_nodejs/47.inspection/package.json @@ -16,7 +16,7 @@ "url": "https://github.com" }, "dependencies": { - "botbuilder": "~4.22.1", + "botbuilder": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -29,4 +29,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/48.customQABot-all-features/README.md b/samples/javascript_nodejs/48.customQABot-all-features/README.md index 5d270487f0..702d3101a5 100644 --- a/samples/javascript_nodejs/48.customQABot-all-features/README.md +++ b/samples/javascript_nodejs/48.customQABot-all-features/README.md @@ -13,7 +13,7 @@ This bot was created using [Bot Framework][BF]. ## Prerequisites - This project requires a [Language resource](https://aka.ms/create-language-resource) with Custom question answering enabled. -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version @@ -187,4 +187,4 @@ If you are new to Microsoft Azure, please refer to [Getting started with Azure][ [BF]: https://dev.botframework.com/ [Quickstart]: https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/quickstart/sdk [Azure]: https://portal.azure.com/ -[BFE]: https://github.com/Microsoft/BotFramework-Emulator/releases \ No newline at end of file +[BFE]: https://github.com/Microsoft/BotFramework-Emulator/releases diff --git a/samples/javascript_nodejs/48.customQABot-all-features/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/48.customQABot-all-features/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/48.customQABot-all-features/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/48.customQABot-all-features/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/48.customQABot-all-features/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/48.customQABot-all-features/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/48.customQABot-all-features/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/48.customQABot-all-features/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/48.customQABot-all-features/package.json b/samples/javascript_nodejs/48.customQABot-all-features/package.json index 710b529cb0..534c359fd3 100644 --- a/samples/javascript_nodejs/48.customQABot-all-features/package.json +++ b/samples/javascript_nodejs/48.customQABot-all-features/package.json @@ -16,9 +16,9 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", - "botbuilder-ai": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-ai": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -31,4 +31,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/README.md b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/README.md index eb1ac6db60..17346737b6 100644 --- a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/README.md +++ b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/README.md @@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/echo-skill-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/echo-skill-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/echo-skill-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/echo-skill-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/echo-skill-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/echo-skill-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/echo-skill-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/echo-skill-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/echo-skill-bot/package.json b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/echo-skill-bot/package.json index 704971cc9f..63e5844548 100644 --- a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/echo-skill-bot/package.json +++ b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/echo-skill-bot/package.json @@ -16,8 +16,8 @@ "url": "https://github.com" }, "dependencies": { - "botbuilder": "~4.22.1", - "botframework-connector": "~4.22.1", + "botbuilder": "~4.23.0", + "botframework-connector": "~4.23.0", "dotenv": "~8.2.0", "restify": "~10.0.0" }, @@ -30,4 +30,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/simple-root-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/simple-root-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/simple-root-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/simple-root-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/simple-root-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/simple-root-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/simple-root-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/simple-root-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/simple-root-bot/package.json b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/simple-root-bot/package.json index 2b3613777b..af9d1bd29c 100644 --- a/samples/javascript_nodejs/80.skills-simple-bot-to-bot/simple-root-bot/package.json +++ b/samples/javascript_nodejs/80.skills-simple-bot-to-bot/simple-root-bot/package.json @@ -16,8 +16,8 @@ "url": "https://github.com" }, "dependencies": { - "botbuilder": "~4.22.1", - "botframework-connector": "~4.22.1", + "botbuilder": "~4.23.0", + "botframework-connector": "~4.23.0", "dotenv": "~8.2.0", "restify": "~10.0.0" }, @@ -30,4 +30,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/81.skills-skilldialog/README.md b/samples/javascript_nodejs/81.skills-skilldialog/README.md index c1cd492ae9..c0e0e772eb 100644 --- a/samples/javascript_nodejs/81.skills-skilldialog/README.md +++ b/samples/javascript_nodejs/81.skills-skilldialog/README.md @@ -6,7 +6,7 @@ This bot has been created using the [Bot Framework](https://dev.botframework.com ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher. +- [Node.js](https://nodejs.org) version 18 or higher. ```bash # Determine node version. diff --git a/samples/javascript_nodejs/81.skills-skilldialog/dialogRootBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/81.skills-skilldialog/dialogRootBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/81.skills-skilldialog/dialogRootBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/81.skills-skilldialog/dialogRootBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/81.skills-skilldialog/dialogRootBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/81.skills-skilldialog/dialogRootBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/81.skills-skilldialog/dialogRootBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/81.skills-skilldialog/dialogRootBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/81.skills-skilldialog/dialogRootBot/package.json b/samples/javascript_nodejs/81.skills-skilldialog/dialogRootBot/package.json index 1974d79ce1..b0d19e00b6 100644 --- a/samples/javascript_nodejs/81.skills-skilldialog/dialogRootBot/package.json +++ b/samples/javascript_nodejs/81.skills-skilldialog/dialogRootBot/package.json @@ -16,8 +16,8 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", "dotenv": "~8.2.0", "restify": "~10.0.0" }, @@ -32,4 +32,4 @@ "nodemon": "~2.0.4", "nyc": "^15.0.1" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/81.skills-skilldialog/dialogSkillBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/81.skills-skilldialog/dialogSkillBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/81.skills-skilldialog/dialogSkillBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/81.skills-skilldialog/dialogSkillBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/81.skills-skilldialog/dialogSkillBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/81.skills-skilldialog/dialogSkillBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/81.skills-skilldialog/dialogSkillBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/81.skills-skilldialog/dialogSkillBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/81.skills-skilldialog/dialogSkillBot/package.json b/samples/javascript_nodejs/81.skills-skilldialog/dialogSkillBot/package.json index 18fe560865..bfc494d4dc 100644 --- a/samples/javascript_nodejs/81.skills-skilldialog/dialogSkillBot/package.json +++ b/samples/javascript_nodejs/81.skills-skilldialog/dialogSkillBot/package.json @@ -17,9 +17,9 @@ }, "dependencies": { "@microsoft/recognizers-text-data-types-timex-expression": "~1.1.4", - "botbuilder": "~4.22.1", - "botbuilder-ai": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-ai": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", "dotenv": "~8.2.0", "restify": "~10.0.0" }, @@ -34,4 +34,4 @@ "nodemon": "~1.19.4", "nyc": "^15.0.1" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/82.skills-sso-cloudadapter/README.md b/samples/javascript_nodejs/82.skills-sso-cloudadapter/README.md index 7a21d8f980..c569d7478e 100644 --- a/samples/javascript_nodejs/82.skills-sso-cloudadapter/README.md +++ b/samples/javascript_nodejs/82.skills-sso-cloudadapter/README.md @@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher. +- [Node.js](https://nodejs.org) version 18 or higher. ```bash # Determine node version. diff --git a/samples/javascript_nodejs/82.skills-sso-cloudadapter/rootBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/82.skills-sso-cloudadapter/rootBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/82.skills-sso-cloudadapter/rootBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/82.skills-sso-cloudadapter/rootBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/82.skills-sso-cloudadapter/rootBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/82.skills-sso-cloudadapter/rootBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/82.skills-sso-cloudadapter/rootBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/82.skills-sso-cloudadapter/rootBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/82.skills-sso-cloudadapter/rootBot/package.json b/samples/javascript_nodejs/82.skills-sso-cloudadapter/rootBot/package.json index 3d4ff2127d..3c253b5fd3 100644 --- a/samples/javascript_nodejs/82.skills-sso-cloudadapter/rootBot/package.json +++ b/samples/javascript_nodejs/82.skills-sso-cloudadapter/rootBot/package.json @@ -16,9 +16,9 @@ "url": "https://github.com/Microsoft/BotBuilder-Samples.git" }, "dependencies": { - "botbuilder": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", - "botbuilder-lg": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", + "botbuilder-lg": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -31,4 +31,4 @@ "eslint-plugin-standard": "^4.0.1", "nodemon": "~2.0.4" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/82.skills-sso-cloudadapter/skillBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/82.skills-sso-cloudadapter/skillBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/82.skills-sso-cloudadapter/skillBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/82.skills-sso-cloudadapter/skillBot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/82.skills-sso-cloudadapter/skillBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/82.skills-sso-cloudadapter/skillBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/82.skills-sso-cloudadapter/skillBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/82.skills-sso-cloudadapter/skillBot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/82.skills-sso-cloudadapter/skillBot/package.json b/samples/javascript_nodejs/82.skills-sso-cloudadapter/skillBot/package.json index 20b98ffbe1..2303e775bd 100644 --- a/samples/javascript_nodejs/82.skills-sso-cloudadapter/skillBot/package.json +++ b/samples/javascript_nodejs/82.skills-sso-cloudadapter/skillBot/package.json @@ -17,11 +17,11 @@ }, "dependencies": { "@microsoft/recognizers-text-data-types-timex-expression": "1.1.4", - "botbuilder": "~4.22.1", - "botbuilder-ai": "~4.22.1", - "botbuilder-dialogs": "~4.22.1", - "botbuilder-testing": "~4.22.1", - "botbuilder-lg": "~4.22.1", + "botbuilder": "~4.23.0", + "botbuilder-ai": "~4.23.0", + "botbuilder-dialogs": "~4.23.0", + "botbuilder-testing": "~4.23.0", + "botbuilder-lg": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, @@ -36,4 +36,4 @@ "nodemon": "~2.0.4", "nyc": "^15.0.1" } -} \ No newline at end of file +} diff --git a/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/README.md b/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/README.md index db24023bac..91ef9a3b21 100644 --- a/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/README.md +++ b/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/README.md @@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json index 29d28db9b9..db8f219d47 100644 --- a/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -51,7 +51,7 @@ }, "linuxFxVersion": { "type": "string", - "defaultValue": "NODE|16" + "defaultValue": "NODE|20-LTS" }, "appId": { "type": "string", @@ -137,7 +137,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json index a8bea6399f..ff144bfd5f 100644 --- a/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -48,7 +48,7 @@ }, "linuxFxVersion": { "type": "string", - "defaultValue": "NODE|16" + "defaultValue": "NODE|20-LTS" }, "appId": { "type": "string", @@ -156,7 +156,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/package.json b/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/package.json index 5f998eb5f5..84007b62bd 100644 --- a/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/package.json +++ b/samples/javascript_nodejs/83.named-pipe-sample/named-pipe-bot/package.json @@ -16,7 +16,7 @@ "url": "https://github.com" }, "dependencies": { - "botbuilder": "~4.22.1", + "botbuilder": "~4.23.0", "dotenv": "^8.2.0", "math-random": "^2.0.1", "restify": "~10.0.0" diff --git a/samples/javascript_nodejs/84.bot-authentication-certificate/README.md b/samples/javascript_nodejs/84.bot-authentication-certificate/README.md index 32c260934a..0333183cbd 100644 --- a/samples/javascript_nodejs/84.bot-authentication-certificate/README.md +++ b/samples/javascript_nodejs/84.bot-authentication-certificate/README.md @@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com/), ## Prerequisites -- [Node.js](https://nodejs.org) version 10.14 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index 4b84be0eaa..7c62998beb 100644 --- a/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -176,7 +176,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index bebbbbad96..a5465fc96f 100644 --- a/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -194,7 +194,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json index 9134816c87..31b214a39e 100644 --- a/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -51,7 +51,7 @@ }, "linuxFxVersion": { "type": "string", - "defaultValue": "NODE|16" + "defaultValue": "NODE|20-LTS" }, "appId": { "type": "string", @@ -151,7 +151,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json index a8bea6399f..ff144bfd5f 100644 --- a/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/84.bot-authentication-certificate/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -48,7 +48,7 @@ }, "linuxFxVersion": { "type": "string", - "defaultValue": "NODE|16" + "defaultValue": "NODE|20-LTS" }, "appId": { "type": "string", @@ -156,7 +156,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/84.bot-authentication-certificate/package.json b/samples/javascript_nodejs/84.bot-authentication-certificate/package.json index 1d5a91e2c2..69f560c01d 100644 --- a/samples/javascript_nodejs/84.bot-authentication-certificate/package.json +++ b/samples/javascript_nodejs/84.bot-authentication-certificate/package.json @@ -19,7 +19,7 @@ "@azure/identity": "^3.3.0", "@azure/keyvault-certificates": "^4.7.0", "@azure/keyvault-secrets": "^4.7.0", - "botbuilder": "~4.22.1", + "botbuilder": "~4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, diff --git a/samples/javascript_nodejs/85.bot-authentication-sni/README.md b/samples/javascript_nodejs/85.bot-authentication-sni/README.md index db9616eb2e..7e218c6acf 100644 --- a/samples/javascript_nodejs/85.bot-authentication-sni/README.md +++ b/samples/javascript_nodejs/85.bot-authentication-sni/README.md @@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com/), ## Prerequisites -- [Node.js](https://nodejs.org) version 10.14 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index 62a42c9a5d..93441894af 100644 --- a/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "16.20.2" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index caafb9ba0a..c10d46b3cf 100644 --- a/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "16.20.2" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json index 61d4070e32..db8f219d47 100644 --- a/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -51,7 +51,7 @@ }, "linuxFxVersion": { "type": "string", - "defaultValue": "NODE|16.20" + "defaultValue": "NODE|20-LTS" }, "appId": { "type": "string", @@ -137,7 +137,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "16.20.2" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json index e64071d85a..ff144bfd5f 100644 --- a/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/85.bot-authentication-sni/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -48,7 +48,7 @@ }, "linuxFxVersion": { "type": "string", - "defaultValue": "NODE|16.20" + "defaultValue": "NODE|20-LTS" }, "appId": { "type": "string", @@ -156,7 +156,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "16.20.2" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/85.bot-authentication-sni/package.json b/samples/javascript_nodejs/85.bot-authentication-sni/package.json index cf95a7e854..60f74d8730 100644 --- a/samples/javascript_nodejs/85.bot-authentication-sni/package.json +++ b/samples/javascript_nodejs/85.bot-authentication-sni/package.json @@ -19,7 +19,7 @@ "@azure/identity": "^3.3.0", "@azure/keyvault-certificates": "^4.7.0", "@azure/keyvault-secrets": "^4.7.0", - "botbuilder": "^4.22.1", + "botbuilder": "^4.23.0", "dotenv": "^8.2.0", "restify": "~10.0.0" }, diff --git a/samples/javascript_nodejs/86.echo-proxy-bot/README.md b/samples/javascript_nodejs/86.echo-proxy-bot/README.md index f3145a2456..cd177e57a6 100644 --- a/samples/javascript_nodejs/86.echo-proxy-bot/README.md +++ b/samples/javascript_nodejs/86.echo-proxy-bot/README.md @@ -6,7 +6,7 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i ## Prerequisites -- [Node.js](https://nodejs.org) version 16.16.0 or higher +- [Node.js](https://nodejs.org) version 18 or higher ```bash # determine node version diff --git a/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json index e14f532660..93441894af 100644 --- a/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -158,7 +158,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json index eb6ad68a9f..c10d46b3cf 100644 --- a/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -175,7 +175,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json b/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json index 29d28db9b9..db8f219d47 100644 --- a/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json +++ b/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/linux/deployUseExistResourceGroup/template-BotApp-with-rg.json @@ -51,7 +51,7 @@ }, "linuxFxVersion": { "type": "string", - "defaultValue": "NODE|16" + "defaultValue": "NODE|20-LTS" }, "appId": { "type": "string", @@ -137,7 +137,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json b/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json index a8bea6399f..ff144bfd5f 100644 --- a/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json +++ b/samples/javascript_nodejs/86.echo-proxy-bot/deploymentTemplates/linux/deployWithNewResourceGroup/template-BotApp-new-rg.json @@ -48,7 +48,7 @@ }, "linuxFxVersion": { "type": "string", - "defaultValue": "NODE|16" + "defaultValue": "NODE|20-LTS" }, "appId": { "type": "string", @@ -156,7 +156,7 @@ "appSettings": [ { "name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "~16" + "value": "~20" }, { "name": "MicrosoftAppType", diff --git a/samples/javascript_nodejs/86.echo-proxy-bot/package.json b/samples/javascript_nodejs/86.echo-proxy-bot/package.json index ed1a1b7674..12f18dbbc0 100644 --- a/samples/javascript_nodejs/86.echo-proxy-bot/package.json +++ b/samples/javascript_nodejs/86.echo-proxy-bot/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "@azure/msal-node": "^1.18.4", - "botbuilder": "~4.22.1", + "botbuilder": "~4.23.0", "dotenv": "^8.2.0", "node-global-proxy": "^1.0.1", "restify": "~10.0.0"