From c3bde99cd02e55bc6a0590cff5bf2283da0817de Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Oct 2023 12:42:26 +0100 Subject: [PATCH] Build(deps): Bump ember-template-imports from 3.4.2 to 4.0.0 in /app/assets/javascripts (#23970) * Build(deps): Bump ember-template-imports in /app/assets/javascripts Bumps [ember-template-imports](https://github.com/ember-template-imports/ember-template-imports) from 3.4.2 to 4.0.0. - [Release notes](https://github.com/ember-template-imports/ember-template-imports/releases) - [Changelog](https://github.com/ember-template-imports/ember-template-imports/blob/master/CHANGELOG.md) - [Commits](https://github.com/ember-template-imports/ember-template-imports/compare/v3.4.2...v4.0.0) --- updated-dependencies: - dependency-name: ember-template-imports dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Remove legacy decorators from gjs file --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Taylor --- app/assets/javascripts/admin/package.json | 2 +- .../discourse-plugins/package.json | 2 +- app/assets/javascripts/discourse/package.json | 2 +- .../components/plugin-outlet-test.gjs | 15 +++++---- app/assets/javascripts/float-kit/package.json | 2 +- app/assets/javascripts/yarn.lock | 31 ++++--------------- 6 files changed, 17 insertions(+), 37 deletions(-) diff --git a/app/assets/javascripts/admin/package.json b/app/assets/javascripts/admin/package.json index c2aff968516..97525d2bbb3 100644 --- a/app/assets/javascripts/admin/package.json +++ b/app/assets/javascripts/admin/package.json @@ -18,7 +18,7 @@ "ember-auto-import": "^2.6.3", "ember-cli-babel": "^8.2.0", "ember-cli-htmlbars": "^6.3.0", - "ember-template-imports": "^3.4.2" + "ember-template-imports": "^4.0.0" }, "devDependencies": { "@babel/core": "^7.23.2", diff --git a/app/assets/javascripts/discourse-plugins/package.json b/app/assets/javascripts/discourse-plugins/package.json index efe7f090e9c..c3e07a62417 100644 --- a/app/assets/javascripts/discourse-plugins/package.json +++ b/app/assets/javascripts/discourse-plugins/package.json @@ -13,7 +13,7 @@ "ember-auto-import": "^2.6.3", "ember-cli-babel": "^8.2.0", "ember-cli-htmlbars": "^6.3.0", - "ember-template-imports": "^3.4.2", + "ember-template-imports": "^4.0.0", "ember-this-fallback": "^0.4.0" }, "devDependencies": { diff --git a/app/assets/javascripts/discourse/package.json b/app/assets/javascripts/discourse/package.json index 79f6bae269e..481e72e1333 100644 --- a/app/assets/javascripts/discourse/package.json +++ b/app/assets/javascripts/discourse/package.json @@ -107,7 +107,7 @@ "ember-production-deprecations": "1.0.0", "ember-qunit": "^6.2.0", "ember-router-service-refresh-polyfill": "^1.1.0", - "ember-template-imports": "^3.4.2", + "ember-template-imports": "^4.0.0", "ember-test-selectors": "^6.0.0", "eslint": "^8.51.0", "eslint-plugin-qunit": "^8.0.1", diff --git a/app/assets/javascripts/discourse/tests/integration/components/plugin-outlet-test.gjs b/app/assets/javascripts/discourse/tests/integration/components/plugin-outlet-test.gjs index 72f143b2b66..54edd5d6954 100644 --- a/app/assets/javascripts/discourse/tests/integration/components/plugin-outlet-test.gjs +++ b/app/assets/javascripts/discourse/tests/integration/components/plugin-outlet-test.gjs @@ -1,7 +1,6 @@ import Component from "@glimmer/component"; import { getOwner } from "@ember/application"; import templateOnly from "@ember/component/template-only"; -import { action } from "@ember/object"; import { click, render, settled } from "@ember/test-helpers"; import { hbs } from "ember-cli-htmlbars"; import { module, test } from "qunit"; @@ -39,14 +38,14 @@ module("Integration | Component | plugin-outlet", function (hooks) { this.appEvents.off("hi:sayHi", this, this.say); }, - @action - say() { - this.set("hi", "hi!"); - }, + actions: { + say() { + this.set("hi", "hi!"); + }, - @action - sayHi() { - this.appEvents.trigger("hi:sayHi"); + sayHi() { + this.appEvents.trigger("hi:sayHi"); + }, }, }); diff --git a/app/assets/javascripts/float-kit/package.json b/app/assets/javascripts/float-kit/package.json index 3759d1e9ffd..74e35b363a9 100644 --- a/app/assets/javascripts/float-kit/package.json +++ b/app/assets/javascripts/float-kit/package.json @@ -17,7 +17,7 @@ "ember-auto-import": "^2.6.3", "ember-cli-babel": "^8.2.0", "ember-cli-htmlbars": "^6.3.0", - "ember-template-imports": "^3.4.2" + "ember-template-imports": "^4.0.0" }, "devDependencies": { "@babel/core": "^7.23.2", diff --git a/app/assets/javascripts/yarn.lock b/app/assets/javascripts/yarn.lock index e34dbfbee6d..566337c3607 100644 --- a/app/assets/javascripts/yarn.lock +++ b/app/assets/javascripts/yarn.lock @@ -2764,11 +2764,6 @@ babel-helper-replace-supers@^6.24.1: babel-traverse "^6.24.1" babel-types "^6.24.1" -babel-import-util@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-import-util/-/babel-import-util-0.2.0.tgz#b468bb679919601a3570f9e317536c54f2862e23" - integrity sha512-CtWYYHU/MgK88rxMrLfkD356dApswtR/kWZ/c6JifG1m10e7tBBrs/366dFzWMAoqYmG5/JSh+94tUSpIwh+ag== - babel-import-util@^1.2.2: version "1.4.1" resolved "https://registry.yarnpkg.com/babel-import-util/-/babel-import-util-1.4.1.tgz#1df6fd679845df45494bac9ca12461d49497fdd4" @@ -5387,20 +5382,14 @@ ember-source@~3.28.12: semver "^7.3.4" silent-error "^1.1.1" -ember-template-imports@^3.4.2: - version "3.4.2" - resolved "https://registry.yarnpkg.com/ember-template-imports/-/ember-template-imports-3.4.2.tgz#6cf7de7d4b8348a0fddf3aaec4947aa1211289e6" - integrity sha512-OS8TUVG2kQYYwP3netunLVfeijPoOKIs1SvPQRTNOQX4Pu8xGGBEZmrv0U1YTnQn12Eg+p6w/0UdGbUnITjyzw== +ember-template-imports@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/ember-template-imports/-/ember-template-imports-4.0.0.tgz#e423b378bd8c479f6e4c3d269de0f40a5958b91e" + integrity sha512-Kw1FnFX3MrBesfsjJDFvVgOf1mANOvMprAH1ngDd5SvdlkltNWCF2UKI9WXKQV3lw5noQC1+n6S80L9Q03D3Hw== dependencies: - babel-import-util "^0.2.0" broccoli-stew "^3.0.0" - ember-cli-babel-plugin-helpers "^1.1.1" + content-tag "^1.1.2" ember-cli-version-checker "^5.1.2" - line-column "^1.0.2" - magic-string "^0.25.7" - parse-static-imports "^1.1.0" - string.prototype.matchall "^4.0.6" - validate-peer-dependencies "^1.1.0" ember-test-selectors@^6.0.0: version "6.0.0" @@ -10252,7 +10241,7 @@ string-width@^2.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string.prototype.matchall@^4.0.5, string.prototype.matchall@^4.0.6: +string.prototype.matchall@^4.0.5: version "4.0.8" resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz#3bf85722021816dcd1bf38bb714915887ca79fd3" integrity sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg== @@ -10948,14 +10937,6 @@ validate-npm-package-name@^5.0.0: dependencies: builtins "^5.0.0" -validate-peer-dependencies@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/validate-peer-dependencies/-/validate-peer-dependencies-1.2.0.tgz#22aab93c514f4fda457d36c80685e8b1160d2036" - integrity sha512-nd2HUpKc6RWblPZQ2GDuI65sxJ2n/UqZwSBVtj64xlWjMx0m7ZB2m9b2JS3v1f+n9VWH/dd1CMhkHfP6pIdckA== - dependencies: - resolve-package-path "^3.1.0" - semver "^7.3.2" - validate-peer-dependencies@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/validate-peer-dependencies/-/validate-peer-dependencies-2.2.0.tgz#47b8ff008f66a66fc5d8699123844522c1d874f4"