From 4b9624d522daa5cdd0ef102d7e1d134f1e45f85f Mon Sep 17 00:00:00 2001
From: snyk-bot <snyk-bot@snyk.io>
Date: Fri, 21 Jun 2024 05:41:54 +0000
Subject: [PATCH] fix: upgrade handlebars from 4.7.7 to 4.7.8

Snyk has created this PR to upgrade handlebars from 4.7.7 to 4.7.8.

See this package in npm:
handlebars

See this project in Snyk:
https://app.snyk.io/org/himadrirathod43/project/c18db11d-0791-47c4-8a88-b01bc7c9a631?utm_source=github&utm_medium=referral&page=upgrade-pr
---
 package-lock.json | 56 ++++++++++++++++++++++++++++++++++++++---------
 package.json      |  2 +-
 2 files changed, 47 insertions(+), 11 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index b178bca..93e773d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -6,14 +6,14 @@
   "packages": {
     "": {
       "name": "azure-nodejs-demo",
-      "version": "0.11.1",
+      "version": "0.11.2",
       "license": "MIT",
       "dependencies": {
         "applicationinsights": "^1.8.10",
         "body-parser": "^1.19.0",
         "express": "^4.16.3",
         "express-handlebars": "^5.3.1",
-        "handlebars": "^4.7.7",
+        "handlebars": "^4.7.8",
         "hbs": "^4.1.2",
         "helmet": "^3.23.3",
         "http": "0.0.0",
@@ -3099,12 +3099,13 @@
       "dev": true
     },
     "node_modules/handlebars": {
-      "version": "4.7.7",
-      "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz",
-      "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==",
+      "version": "4.7.8",
+      "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz",
+      "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==",
+      "license": "MIT",
       "dependencies": {
         "minimist": "^1.2.5",
-        "neo-async": "^2.6.0",
+        "neo-async": "^2.6.2",
         "source-map": "^0.6.1",
         "wordwrap": "^1.0.0"
       },
@@ -3191,6 +3192,27 @@
         "npm": "1.2.8000 || >= 1.4.16"
       }
     },
+    "node_modules/hbs/node_modules/handlebars": {
+      "version": "4.7.7",
+      "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz",
+      "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==",
+      "license": "MIT",
+      "dependencies": {
+        "minimist": "^1.2.5",
+        "neo-async": "^2.6.0",
+        "source-map": "^0.6.1",
+        "wordwrap": "^1.0.0"
+      },
+      "bin": {
+        "handlebars": "bin/handlebars"
+      },
+      "engines": {
+        "node": ">=0.4.7"
+      },
+      "optionalDependencies": {
+        "uglify-js": "^3.1.4"
+      }
+    },
     "node_modules/helmet": {
       "version": "3.23.3",
       "resolved": "https://registry.npmjs.org/helmet/-/helmet-3.23.3.tgz",
@@ -8959,12 +8981,12 @@
       "dev": true
     },
     "handlebars": {
-      "version": "4.7.7",
-      "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz",
-      "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==",
+      "version": "4.7.8",
+      "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz",
+      "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==",
       "requires": {
         "minimist": "^1.2.5",
-        "neo-async": "^2.6.0",
+        "neo-async": "^2.6.2",
         "source-map": "^0.6.1",
         "uglify-js": "^3.1.4",
         "wordwrap": "^1.0.0"
@@ -9022,6 +9044,20 @@
       "requires": {
         "handlebars": "4.7.7",
         "walk": "2.3.15"
+      },
+      "dependencies": {
+        "handlebars": {
+          "version": "4.7.7",
+          "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz",
+          "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==",
+          "requires": {
+            "minimist": "^1.2.5",
+            "neo-async": "^2.6.0",
+            "source-map": "^0.6.1",
+            "uglify-js": "^3.1.4",
+            "wordwrap": "^1.0.0"
+          }
+        }
       }
     },
     "helmet": {
diff --git a/package.json b/package.json
index 99334d9..605e46e 100644
--- a/package.json
+++ b/package.json
@@ -25,7 +25,7 @@
     "body-parser": "^1.19.0",
     "express": "^4.16.3",
     "express-handlebars": "^5.3.1",
-    "handlebars": "^4.7.7",
+    "handlebars": "^4.7.8",
     "hbs": "^4.1.2",
     "helmet": "^3.23.3",
     "http": "0.0.0",