From 0a6dfee0b9327260a3c5e21f264548df8d30bd81 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Oct 2023 10:56:35 +0100 Subject: [PATCH] Build(deps): Bump ember-this-fallback from 0.3.1 to 0.4.0 in /app/assets/javascripts (#23959) * Build(deps): Bump ember-this-fallback in /app/assets/javascripts Bumps [ember-this-fallback](https://github.com/tildeio/ember-this-fallback) from 0.3.1 to 0.4.0. - [Release notes](https://github.com/tildeio/ember-this-fallback/releases) - [Changelog](https://github.com/tildeio/ember-this-fallback/blob/main/CHANGELOG.md) - [Commits](https://github.com/tildeio/ember-this-fallback/commits) --- updated-dependencies: - dependency-name: ember-this-fallback dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Remove stale patch * Update patch filenames --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Taylor --- .../javascripts/discourse-plugins/package.json | 2 +- ...-fallback+0.3.1+003+fix-nested-components.patch | 14 -------------- ...this-fallback+0.4.0+001+deprecation-name.patch} | 0 ... => ember-this-fallback+0.4.0+002+themes.patch} | 0 .../javascripts/theme-transpiler/package.json | 2 +- app/assets/javascripts/yarn.lock | 8 ++++---- 6 files changed, 6 insertions(+), 20 deletions(-) delete mode 100644 app/assets/javascripts/patches/ember-this-fallback+0.3.1+003+fix-nested-components.patch rename app/assets/javascripts/patches/{ember-this-fallback+0.3.1+001+initial.patch => ember-this-fallback+0.4.0+001+deprecation-name.patch} (100%) rename app/assets/javascripts/patches/{ember-this-fallback+0.3.1+002+themes.patch => ember-this-fallback+0.4.0+002+themes.patch} (100%) diff --git a/app/assets/javascripts/discourse-plugins/package.json b/app/assets/javascripts/discourse-plugins/package.json index 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.patch deleted file mode 100644 index 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.patch similarity index 100% rename from app/assets/javascripts/patches/ember-this-fallback+0.3.1+001+initial.patch rename to app/assets/javascripts/patches/ember-this-fallback+0.4.0+001+deprecation-name.patch diff --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.patch similarity index 100% rename from app/assets/javascripts/patches/ember-this-fallback+0.3.1+002+themes.patch rename to app/assets/javascripts/patches/ember-this-fallback+0.4.0+002+themes.patch diff --git a/app/assets/javascripts/theme-transpiler/package.json b/app/assets/javascripts/theme-transpiler/package.json index 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.lock index 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"