From 847dcfa5d76309911932c7b11f0bdf39bf0f4d1e Mon Sep 17 00:00:00 2001 From: akvlad Date: Wed, 10 Apr 2024 12:42:55 +0300 Subject: [PATCH] fix: downgrade handlebars helpers --- package-lock.json | 125 +++++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 64 insertions(+), 63 deletions(-) diff --git a/package-lock.json b/package-lock.json index bb8d706c..0d998fc4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ "glob": "^7.1.2", "google-protobuf": "^3.21.2", "handlebars": "^4.7.7", - "handlebars-helpers": "^0.10.0", + "handlebars-helpers": "^0.9.8", "http-errors": "^2.0.0", "json-stable-stringify": "^1.0.1", "jsonic": "^0.3.1", @@ -6964,47 +6964,58 @@ } }, "node_modules/handlebars-helpers": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/handlebars-helpers/-/handlebars-helpers-0.10.0.tgz", - "integrity": "sha512-QiyhQz58u/DbuV41VnfpE0nhy6YCH4vB514ajysV8SoKmP+DxU+pR+fahVyNECHj+jiwEN2VrvxD/34/yHaLUg==", + "version": "0.9.8", + "resolved": "https://registry.npmjs.org/handlebars-helpers/-/handlebars-helpers-0.9.8.tgz", + "integrity": "sha512-N9MoNopXTOzNv9L2oDFUo1ZhWTzUd8YURVrksZaXVRybgs1JFnUXohCnFTOJL8m4t+jKn1xU6Vi7qxtCu4mRsg==", "dependencies": { - "arr-flatten": "^1.1.0", - "array-sort": "^0.1.4", + "arr-flatten": "^1.0.3", + "array-sort": "^0.1.2", "create-frame": "^1.0.0", "define-property": "^1.0.0", - "falsey": "^0.3.2", + "falsey": "^0.3.0", "for-in": "^1.0.2", "for-own": "^1.0.0", "get-object": "^0.2.0", "get-value": "^2.0.6", - "handlebars": "^4.0.11", + "handlebars": "^4.0.10", "handlebars-helper-create-frame": "^0.1.0", - "handlebars-utils": "^1.0.6", + "handlebars-utils": "^1.0.1", "has-value": "^1.0.0", - "helper-date": "^1.0.1", - "helper-markdown": "^1.0.0", + "helper-date": "^1.0.0", + "helper-markdown": "^0.2.2", "helper-md": "^0.2.2", - "html-tag": "^2.0.0", + "html-tag": "^1.0.0", "is-even": "^1.0.0", - "is-glob": "^4.0.0", - "is-number": "^4.0.0", - "kind-of": "^6.0.0", + "is-glob": "^3.1.0", + "is-number": "^3.0.0", + "kind-of": "^5.0.0", "lazy-cache": "^2.0.2", "logging-helpers": "^1.0.0", - "micromatch": "^3.1.4", + "micromatch": "^3.0.3", "relative": "^3.0.2", - "striptags": "^3.1.0", + "striptags": "^3.0.1", "to-gfm-code-block": "^0.1.1", "year": "^0.2.1" }, "engines": { - "node": ">=0.12.0" + "node": ">=5" } }, - "node_modules/handlebars-helpers/node_modules/is-number": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", - "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", + "node_modules/handlebars-helpers/node_modules/is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw==", + "dependencies": { + "is-extglob": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/handlebars-helpers/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", "engines": { "node": ">=0.10.0" } @@ -7163,13 +7174,24 @@ } }, "node_modules/helper-markdown": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/helper-markdown/-/helper-markdown-1.0.0.tgz", - "integrity": "sha512-AnDqMS4ejkQK0MXze7pA9TM3pu01ZY+XXsES6gEE0RmCGk5/NIfvTn0NmItfyDOjRAzyo9z6X7YHbHX4PzIvOA==", + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/helper-markdown/-/helper-markdown-0.2.2.tgz", + "integrity": "sha512-VLbwB3RMq3fJ3H1IcYRa18gd300WS/1rNJVmjc61fuBEK46RcqeqN1vOLRm1ZabBE/o3EdCrUFjKkekB/pBJyQ==", "dependencies": { - "handlebars-utils": "^1.0.2", - "highlight.js": "^9.12.0", - "remarkable": "^1.7.1" + "isobject": "^2.0.0", + "mixin-deep": "^1.1.3", + "remarkable": "^1.6.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/helper-markdown/node_modules/isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==", + "dependencies": { + "isarray": "1.0.0" }, "engines": { "node": ">=0.10.0" @@ -7189,16 +7211,6 @@ "node": ">=0.10.0" } }, - "node_modules/highlight.js": { - "version": "9.18.5", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.18.5.tgz", - "integrity": "sha512-a5bFyofd/BHCX52/8i8uJkjr9DYwXIPnM/plwI6W7ezItLGqzt7X2G2nXuYSfsIJdkwwj/g9DG1LkcGJI/dDoA==", - "deprecated": "Support has ended for 9.x series. Upgrade to @latest", - "hasInstallScript": true, - "engines": { - "node": "*" - } - }, "node_modules/homedir-polyfill": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", @@ -7244,12 +7256,12 @@ "dev": true }, "node_modules/html-tag": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/html-tag/-/html-tag-2.0.0.tgz", - "integrity": "sha512-XxzooSo6oBoxBEUazgjdXj7VwTn/iSTSZzTYKzYY6I916tkaYzypHxy+pbVU1h+0UQ9JlVf5XkNQyxOAiiQO1g==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/html-tag/-/html-tag-1.0.0.tgz", + "integrity": "sha512-SXjQ8wG7dh1fIxT/lhj+nKcc2R0rEmMGjvw2Bh46IkijhEaVdEteqYGBFZiICXkUra3PHLy+4zoXwDhh0l55SQ==", "dependencies": { - "is-self-closing": "^1.0.1", - "kind-of": "^6.0.0" + "isobject": "^3.0.0", + "void-elements": "^2.0.1" }, "engines": { "node": ">=0.10.0" @@ -7862,17 +7874,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-self-closing": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-self-closing/-/is-self-closing-1.0.1.tgz", - "integrity": "sha512-E+60FomW7Blv5GXTlYee2KDrnG6srxF7Xt1SjrhWUGUEsTFIqY/nq2y3DaftCsgUMdh89V07IVfhY9KIJhLezg==", - "dependencies": { - "self-closing-tags": "^1.0.1" - }, - "engines": { - "node": ">=0.12.0" - } - }, "node_modules/is-shared-array-buffer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", @@ -11556,14 +11557,6 @@ "resolved": "https://registry.npmjs.org/secure-json-parse/-/secure-json-parse-2.7.0.tgz", "integrity": "sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==" }, - "node_modules/self-closing-tags": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/self-closing-tags/-/self-closing-tags-1.0.1.tgz", - "integrity": "sha512-7t6hNbYMxM+VHXTgJmxwgZgLGktuXtVVD5AivWzNTdJBM4DBjnDKDzkf2SrNjihaArpeJYNjxkELBu1evI4lQA==", - "engines": { - "node": ">=0.12.0" - } - }, "node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", @@ -13323,6 +13316,14 @@ "resolved": "https://registry.npmjs.org/vlq/-/vlq-0.2.3.tgz", "integrity": "sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow==" }, + "node_modules/void-elements": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", + "integrity": "sha512-qZKX4RnBzH2ugr8Lxa7x+0V6XD9Sb/ouARtiasEQCHB1EVU4NXtmHsDDrx1dO4ne5fc3J6EW05BP1Dl0z0iung==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/w3c-hr-time": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", diff --git a/package.json b/package.json index 6102367c..8ccf1751 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "fastify-plugin": "^4.5.1", "glob": "^7.1.2", "handlebars": "^4.7.7", - "handlebars-helpers": "^0.10.0", + "handlebars-helpers": "^0.9.8", "http-errors": "^2.0.0", "json-stable-stringify": "^1.0.1", "jsonic": "^0.3.1",