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] <support@github.com>

* Remove stale patch

* Update patch filenames

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Taylor <david@taylorhq.com>
This commit is contained in:
dependabot[bot] 2023-10-18 10:56:35 +01:00 committed by GitHub
parent 3c26df78ea
commit 0a6dfee0b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 20 deletions

View File

@ -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",

View File

@ -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;

View File

@ -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",

View File

@ -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"