Skip to content

A platform for community discussion. Free, open, simple.

Update handlebars from 4.7.6 to 4.7.7 (#13027)

Jarek Radosz4f07e9d01798
diff --git a/package.json b/package.json
index 8b9d3ca3f0f..eaf0fb19d71 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,7 @@
"chartjs-plugin-datalabels": "^0.7.0",
"diffhtml": "^1.0.0-beta.18",
"eslint-config-discourse": "^1.1.8",
- "handlebars": "^4.7.0",
+ "handlebars": "^4.7.7",
"@highlightjs/cdn-assets": "^10.6.0",
"intersection-observer": "^0.5.1",
"jquery": "3.5.1",
diff --git a/vendor/assets/javascripts/handlebars.js b/vendor/assets/javascripts/handlebars.js
index 05d9f6141a6..baad5d3d97e 100644
--- a/vendor/assets/javascripts/handlebars.js
+++ b/vendor/assets/javascripts/handlebars.js
@@ -1,7 +1,7 @@
/**!
@license
- handlebars v4.7.6
+ handlebars v4.7.7
Copyright (C) 2011-2019 by Yehuda Katz
@@ -278,7 +278,7 @@ return /******/ (function(modules) { // webpackBootstrap
var _internalProtoAccess = __webpack_require__(33);
- var VERSION = '4.7.6';
+ var VERSION = '4.7.7';
exports.VERSION = VERSION;
var COMPILER_REVISION = 8;
exports.COMPILER_REVISION = COMPILER_REVISION;
@@ -1525,7 +1525,7 @@ return /******/ (function(modules) { // webpackBootstrap
loc: loc
});
}
- return obj[name];
+ return container.lookupProperty(obj, name);
},
lookupProperty: function lookupProperty(parent, propertyName) {
var result = parent[propertyName];
@@ -3903,7 +3903,7 @@ return /******/ (function(modules) { // webpackBootstrap
return this.internalNameLookup(parent, name);
},
depthedLookup: function depthedLookup(name) {
- return [this.aliasable('container.lookup'), '(depths, "', name, '")'];
+ return [this.aliasable('container.lookup'), '(depths, ', JSON.stringify(name), ')'];
},
compilerInfo: function compilerInfo() {
diff --git a/vendor/assets/javascripts/handlebars.runtime.js b/vendor/assets/javascripts/handlebars.runtime.js
index ac3976acbd7..4bed375d45a 100644
--- a/vendor/assets/javascripts/handlebars.runtime.js
+++ b/vendor/assets/javascripts/handlebars.runtime.js
@@ -1,7 +1,7 @@
/**!
@license
- handlebars v4.7.6
+ handlebars v4.7.7
Copyright (C) 2011-2019 by Yehuda Katz
@@ -209,7 +209,7 @@ return /******/ (function(modules) { // webpackBootstrap
var _internalProtoAccess = __webpack_require__(32);
- var VERSION = '4.7.6';
+ var VERSION = '4.7.7';
exports.VERSION = VERSION;
var COMPILER_REVISION = 8;
exports.COMPILER_REVISION = COMPILER_REVISION;
@@ -1456,7 +1456,7 @@ return /******/ (function(modules) { // webpackBootstrap
loc: loc
});
}
- return obj[name];
+ return container.lookupProperty(obj, name);
},
lookupProperty: function lookupProperty(parent, propertyName) {
var result = parent[propertyName];
diff --git a/yarn.lock b/yarn.lock
index 6124605c5cd..4e57f574bcb 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1683,10 +1683,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/google-closure-compiler/-/google-closure-compiler-20150901.0.0.tgz#3d01c6cade65790a9bfb4e30b2158b7635acbade"
integrity sha1-PQHGyt5leQqb+04wshWLdjWsut4=
-handlebars@^4.7.0, handlebars@^4.7.4:
- version "4.7.6"
- resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.6.tgz#d4c05c1baf90e9945f77aa68a7a219aa4a7df74e"
- integrity sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA==
+handlebars@^4.7.4, handlebars@^4.7.7:
+ version "4.7.7"
+ resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1"
+ integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==
dependencies:
minimist "^1.2.5"
neo-async "^2.6.0"