A platform for community discussion. Free, open, simple.
Build(deps): Bump ember-this-fallback from 0.3.1 to 0.4.0 in /app/assets/javascripts (#23959)
dependabot[bot]0a6dfee0b932
diff --git a/app/assets/javascripts/discourse-plugins/package.json b/app/assets/javascripts/discourse-plugins/package.jsonindex 90ecc9a80b9..efe7f090e9c 100644--- a/app/assets/javascripts/discourse-plugins/package.json+++ b/app/assets/javascripts/discourse-plugins/package.json@@ -14,7 +14,7 @@"ember-cli-babel": "^8.2.0","ember-cli-htmlbars": "^6.3.0","ember-template-imports": "^3.4.2",- "ember-this-fallback": "^0.3.1"+ "ember-this-fallback": "^0.4.0"},"devDependencies": {"@babel/core": "^7.23.2",diff --git a/app/assets/javascripts/patches/ember-this-fallback+0.3.1+003+fix-nested-components.patch b/app/assets/javascripts/patches/ember-this-fallback+0.3.1+003+fix-nested-components.patchdeleted file mode 100644index 821ebfcef4f..00000000000--- a/app/assets/javascripts/patches/ember-this-fallback+0.3.1+003+fix-nested-components.patch+++ /dev/null@@ -1,14 +0,0 @@-diff --git a/node_modules/ember-this-fallback/lib/helpers/string.js b/node_modules/ember-this-fallback/lib/helpers/string.js-index c6f4e65..91ed2af 100644---- a/node_modules/ember-this-fallback/lib/helpers/string.js-+++ b/node_modules/ember-this-fallback/lib/helpers/string.js-@@ -21,6 +21,8 @@ function squish(str) {- }- exports.squish = squish;- function classify(str) {-- return (0, lodash_1.upperFirst)((0, lodash_1.camelCase)(str));-+ const parts = str.split('/');-+ const classifiedParts = parts.map((p) => (0, lodash_1.upperFirst)((0, lodash_1.camelCase)(p)));-+ return classifiedParts.join('::');- }- exports.classify = classify;diff --git a/app/assets/javascripts/patches/ember-this-fallback+0.3.1+001+initial.patch b/app/assets/javascripts/patches/ember-this-fallback+0.4.0+001+deprecation-name.patchsimilarity index 100%rename from app/assets/javascripts/patches/ember-this-fallback+0.3.1+001+initial.patchrename to app/assets/javascripts/patches/ember-this-fallback+0.4.0+001+deprecation-name.patchdiff --git a/app/assets/javascripts/patches/ember-this-fallback+0.3.1+002+themes.patch b/app/assets/javascripts/patches/ember-this-fallback+0.4.0+002+themes.patchsimilarity index 100%rename from app/assets/javascripts/patches/ember-this-fallback+0.3.1+002+themes.patchrename to app/assets/javascripts/patches/ember-this-fallback+0.4.0+002+themes.patchdiff --git a/app/assets/javascripts/theme-transpiler/package.json b/app/assets/javascripts/theme-transpiler/package.jsonindex 6a4a290fe26..cde8299e9d5 100644--- a/app/assets/javascripts/theme-transpiler/package.json+++ b/app/assets/javascripts/theme-transpiler/package.json@@ -15,7 +15,7 @@"discourse-widget-hbs": "1.0.0","ember-cli-htmlbars": "^6.3.0","ember-source": "~3.28.12",- "ember-this-fallback": "^0.3.1",+ "ember-this-fallback": "^0.4.0","handlebars": "^4.7.8","path-browserify": "^1.0.1","polyfill-crypto.getrandomvalues": "^1.0.0",diff --git a/app/assets/javascripts/yarn.lock b/app/assets/javascripts/yarn.lockindex 4c52c8ddbb8..38c31565d4b 100644--- a/app/assets/javascripts/yarn.lock+++ b/app/assets/javascripts/yarn.lock@@ -5218,10 +5218,10 @@ ember-test-selectors@^6.0.0:ember-cli-babel "^7.26.4"ember-cli-version-checker "^5.1.2"-ember-this-fallback@^0.3.1:- version "0.3.1"- resolved "https://registry.yarnpkg.com/ember-this-fallback/-/ember-this-fallback-0.3.1.tgz#5870d2ade13160dcc9296b1c99e306e128e76ad1"- integrity sha512-fX2ATkxD3ss77+noNUuKQt34izbursPTLKJwaXfK72YXL4GZfbFMTBiQySjGxogGUr1pJo5g/v9+wEgPFa5wMg==+ember-this-fallback@^0.4.0:+ version "0.4.0"+ resolved "https://registry.yarnpkg.com/ember-this-fallback/-/ember-this-fallback-0.4.0.tgz#c5a62f4a35cbd3da09c95f976154df8710f37d51"+ integrity sha512-5b2Khp9VNGXLHd6kCdv/KiP6jIUoMaXiJ9++e/P3r+4DZy7qdHwGVYxFkS/1r6NIsZpjrDjpGjztV1p0H8+1TQ==dependencies:"@glimmer/syntax" "^0.84.3"babel-plugin-ember-template-compilation "^2.0.2"