From 4c2f2ac784542c3ee19a2bc7441afd195ab02e4f Mon Sep 17 00:00:00 2001 From: MrChocolatine <47531779+MrChocolatine@users.noreply.github.com> Date: Mon, 15 Feb 2021 09:41:25 +0000 Subject: [PATCH 1/3] build: rm `ember-cli-htmlbars-inline-precompile` --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index abf8ea0..77c10e7 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ "ember-cli-eslint": "^5.1.0", "ember-cli-flash": "^1.6.6", "ember-cli-htmlbars": "^3.0.1", - "ember-cli-htmlbars-inline-precompile": "^2.1.0", "ember-cli-inject-live-reload": "^1.8.2", "ember-cli-moment-shim": "^3.7.1", "ember-cli-sri": "^2.1.1", From ce54f7badad29427b2dfc12302ca55a96bce81dd Mon Sep 17 00:00:00 2001 From: MrChocolatine <47531779+MrChocolatine@users.noreply.github.com> Date: Mon, 15 Feb 2021 09:42:47 +0000 Subject: [PATCH 2/3] build: install `ember-cli-htmlbars@5.3.2` --- package.json | 2 +- yarn.lock | 97 +++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 94 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 77c10e7..f12593d 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "ember-cli-dependency-checker": "^3.1.0", "ember-cli-eslint": "^5.1.0", "ember-cli-flash": "^1.6.6", - "ember-cli-htmlbars": "^3.0.1", + "ember-cli-htmlbars": "^5.3.2", "ember-cli-inject-live-reload": "^1.8.2", "ember-cli-moment-shim": "^3.7.1", "ember-cli-sri": "^2.1.1", diff --git a/yarn.lock b/yarn.lock index 4576973..51ef7dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2787,6 +2787,19 @@ async-disk-cache@^1.2.1: rsvp "^3.0.18" username-sync "^1.0.2" +async-disk-cache@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/async-disk-cache/-/async-disk-cache-2.1.0.tgz#e0f37b187ed8c41a5991518a9556d206ae2843a2" + integrity sha512-iH+boep2xivfD9wMaZWkywYIURSmsL96d6MoqrC94BnGSvXE4Quf8hnJiHGFYhw/nLeIa1XyRaf4vvcvkwAefg== + dependencies: + debug "^4.1.1" + heimdalljs "^0.2.3" + istextorbinary "^2.5.1" + mkdirp "^0.5.0" + rimraf "^3.0.0" + rsvp "^4.8.5" + username-sync "^1.0.2" + async-each@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" @@ -3098,6 +3111,11 @@ babel-plugin-htmlbars-inline-precompile@^3.2.0: resolved "https://registry.yarnpkg.com/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-3.2.0.tgz#c4882ea875d0f5683f0d91c1f72e29a4f14b5606" integrity sha512-IUeZmgs9tMUGXYu1vfke5I18yYJFldFGdNFQOWslXTnDWXzpwPih7QFduUqvT+awDpDuNtXpdt5JAf43Q1Hhzg== +babel-plugin-htmlbars-inline-precompile@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-4.2.1.tgz#9a367f8d7ecb9fb2c2e886edfe285caf7cb9766d" + integrity sha512-MCJXk+1R0YjlF/F52eDbhJTpsnqRVYsPYVP9d0jEu7E46AcRPEWDL5tfSweiQWHLKG017BIedATb91KcIoT3zA== + babel-plugin-module-resolver@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/babel-plugin-module-resolver/-/babel-plugin-module-resolver-3.1.1.tgz#881cf67e3d4b8400d5eaaefc1be44d2dc1fe404f" @@ -3550,7 +3568,7 @@ binary-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.1.0.tgz#30fa40c9e7fe07dbc895678cd287024dea241dd9" integrity sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ== -"binaryextensions@1 || 2": +"binaryextensions@1 || 2", binaryextensions@^2.1.2: version "2.3.0" resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-2.3.0.tgz#1d269cbf7e6243ea886aa41453c3651ccbe13c22" integrity sha512-nAihlQsYGyc5Bwq6+EsubvANYGExeJKHDO3RjnvwU042fawQTQfM3Kxn7IHUXQOz4bzfwsGYYHGSvXyW4zOGLg== @@ -4188,6 +4206,23 @@ broccoli-persistent-filter@^2.1.0, broccoli-persistent-filter@^2.1.1, broccoli-p sync-disk-cache "^1.3.3" walk-sync "^1.0.0" +broccoli-persistent-filter@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/broccoli-persistent-filter/-/broccoli-persistent-filter-3.1.2.tgz#41da6b9577be09a170ecde185f2c5a6099f99c4e" + integrity sha512-CbU95RXXVyy+eJV9XTiHUC7NnsY3EvdVrGzp3YgyvO2bzXZFE5/GzDp4X/VQqX+jsk4qyT1HvMOF0sD1DX68TQ== + dependencies: + async-disk-cache "^2.0.0" + async-promise-queue "^1.0.3" + broccoli-plugin "^4.0.3" + fs-tree-diff "^2.0.0" + hash-for-dep "^1.5.0" + heimdalljs "^0.2.1" + heimdalljs-logger "^0.1.7" + promise-map-series "^0.2.1" + rimraf "^3.0.0" + symlink-or-copy "^1.0.1" + sync-disk-cache "^2.0.0" + broccoli-plugin@1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/broccoli-plugin/-/broccoli-plugin-1.1.0.tgz#73e2cfa05f8ea1e3fc1420c40c3d9e7dc724bf02" @@ -4230,7 +4265,7 @@ broccoli-plugin@^3.1.0: rimraf "^2.3.4" symlink-or-copy "^1.1.8" -broccoli-plugin@^4.0.1, broccoli-plugin@^4.0.2: +broccoli-plugin@^4.0.1, broccoli-plugin@^4.0.2, broccoli-plugin@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/broccoli-plugin/-/broccoli-plugin-4.0.3.tgz#9dcfbfb6a1b27a37cc22e65c071719ce9f92bc1e" integrity sha512-CtAIEYq5K+4yQv8c/BHymOteuyjDAJfvy/asu4LudIWcMSS7dTn3yGI5gNBkwHG+qlRangYkHJNVAcDZMQbSVQ== @@ -5854,6 +5889,14 @@ editions@^1.1.1: resolved "https://registry.yarnpkg.com/editions/-/editions-1.3.4.tgz#3662cb592347c3168eb8e498a0ff73271d67f50b" integrity sha512-gzao+mxnYDzIysXKMQi/+M1mjy/rjestjg6OPoYTtI+3Izp23oiGZitsl9lPDPiTGXbcSIk1iJWhliSaglxnUg== +editions@^2.2.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/editions/-/editions-2.3.1.tgz#3bc9962f1978e801312fbd0aebfed63b49bfe698" + integrity sha512-ptGvkwTvGdGfC0hfhKg0MT+TRLRKGtUiWGBInxOm5pz7ssADezahjCUaYuZ8Dr+C05FW0AECIIPt4WBxVINEhA== + dependencies: + errlop "^2.0.0" + semver "^6.3.0" + editor@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/editor/-/editor-1.0.0.tgz#60c7f87bd62bcc6a894fa8ccd6afb7823a24f742" @@ -6187,6 +6230,27 @@ ember-cli-htmlbars@^4.0.8, ember-cli-htmlbars@^4.2.0: strip-bom "^4.0.0" walk-sync "^2.0.2" +ember-cli-htmlbars@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/ember-cli-htmlbars/-/ember-cli-htmlbars-5.3.2.tgz#d0e1a4ccd2e7c6f91be51ea0cc1ef7650a9b67e7" + integrity sha512-S/spDVzBxkdMhnjiT6gG9xqpM9sT0Z7HskWSvSIAAW1sQsKPOCfRYp/1CqJ3+V5aX8ct0j5aHsdRanQYyHya2w== + dependencies: + "@ember/edition-utils" "^1.2.0" + babel-plugin-htmlbars-inline-precompile "^4.2.1" + broccoli-debug "^0.6.5" + broccoli-persistent-filter "^3.1.2" + broccoli-plugin "^4.0.3" + common-tags "^1.8.0" + ember-cli-babel-plugin-helpers "^1.1.1" + fs-tree-diff "^2.0.1" + hash-for-dep "^1.5.1" + heimdalljs-logger "^0.1.10" + json-stable-stringify "^1.0.1" + semver "^7.3.4" + silent-error "^1.1.1" + strip-bom "^4.0.0" + walk-sync "^2.2.0" + ember-cli-import-polyfill@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/ember-cli-import-polyfill/-/ember-cli-import-polyfill-0.2.0.tgz#c1a08a8affb45c97b675926272fe78cf4ca166f2" @@ -6985,6 +7049,11 @@ err-code@^1.0.0: resolved "https://registry.yarnpkg.com/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960" integrity sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA= +errlop@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/errlop/-/errlop-2.2.0.tgz#1ff383f8f917ae328bebb802d6ca69666a42d21b" + integrity sha512-e64Qj9+4aZzjzzFpZC7p5kmm/ccCrbLhAJplhsDXQFs87XTsXwOpH4s1Io2s90Tau/8r2j9f4l/thhDevRjzxw== + "errno@>=0.1.1 <0.2.0-0", errno@^0.1.3, errno@~0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.7.tgz#4684d71779ad39af177e3f007996f7c67c852618" @@ -9526,6 +9595,15 @@ istextorbinary@2.1.0: editions "^1.1.1" textextensions "1 || 2" +istextorbinary@^2.5.1: + version "2.6.0" + resolved "https://registry.yarnpkg.com/istextorbinary/-/istextorbinary-2.6.0.tgz#60776315fb0fa3999add276c02c69557b9ca28ab" + integrity sha512-+XRlFseT8B3L9KyjxxLjfXSLMuErKDsd8DBNrsaxoViABMEZlOSCstwmw0qpoFX3+U6yWU1yhLudAe6/lETGGA== + dependencies: + binaryextensions "^2.1.2" + editions "^2.2.0" + textextensions "^2.5.0" + isurl@^1.0.0-alpha5: version "1.0.0" resolved "https://registry.yarnpkg.com/isurl/-/isurl-1.0.0.tgz#b27f4f49f3cdaa3ea44a0a5b7f3462e6edc39d67" @@ -14041,6 +14119,17 @@ sync-disk-cache@^1.3.3: rimraf "^2.2.8" username-sync "^1.0.2" +sync-disk-cache@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/sync-disk-cache/-/sync-disk-cache-2.1.0.tgz#01e879edc41c34a01fcdda5b39d47dd496e154a6" + integrity sha512-vngT2JmkSapgq0z7uIoYtB9kWOOzMihAAYq/D3Pjm/ODOGMgS4r++B+OZ09U4hWR6EaOdy9eqQ7/8ygbH3wehA== + dependencies: + debug "^4.1.1" + heimdalljs "^0.2.6" + mkdirp "^0.5.0" + rimraf "^3.0.0" + username-sync "^1.0.2" + tabbable@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/tabbable/-/tabbable-4.0.0.tgz#5bff1d1135df1482cf0f0206434f15eadbeb9261" @@ -14215,7 +14304,7 @@ text-table@^0.2.0, text-table@~0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= -"textextensions@1 || 2": +"textextensions@1 || 2", textextensions@^2.5.0: version "2.6.0" resolved "https://registry.yarnpkg.com/textextensions/-/textextensions-2.6.0.tgz#d7e4ab13fe54e32e08873be40d51b74229b00fc4" integrity sha512-49WtAWS+tcsy93dRt6P0P3AMD2m5PvXRhuEA0kaXos5ZLlujtYmpmFsB+QvWUSxE1ZsstmYXfQ7L40+EcQgpAQ== @@ -14849,7 +14938,7 @@ walk-sync@^1.0.0, walk-sync@^1.1.3: ensure-posix-path "^1.1.0" matcher-collection "^1.1.1" -walk-sync@^2.0.2: +walk-sync@^2.0.2, walk-sync@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/walk-sync/-/walk-sync-2.2.0.tgz#80786b0657fcc8c0e1c0b1a042a09eae2966387a" integrity sha512-IC8sL7aB4/ZgFcGI2T1LczZeFWZ06b3zoHH7jBPyHxOtIIz1jppWHjjEXkOFvFojBVAK9pV7g47xOZ4LW3QLfg== From 6e23c1ca5966cf114c727f410ffeb1813eff0f16 Mon Sep 17 00:00:00 2001 From: MrChocolatine <47531779+MrChocolatine@users.noreply.github.com> Date: Mon, 15 Feb 2021 09:44:29 +0000 Subject: [PATCH 3/3] fix: update `import` path for `ember-cli-htmlbars` Upgrading from `htmlbars-inline-precompile` to `ember-cli-htmlbars` required to update the `import` path of `hbs`: https://github.com/ember-cli/ember-cli-htmlbars/blob/8c46757712d802c6f850e43185d192096fa2c89b/README.md --- tests/integration/components/ci-perf-graph-test.js | 2 +- tests/integration/components/collapsible-container-test.js | 2 +- tests/integration/components/custom-graph-form-test.js | 2 +- tests/integration/components/custom-graph-test.js | 2 +- tests/integration/components/graph-controls-test.js | 2 +- tests/integration/components/graph-controls/-buttons-test.js | 2 +- tests/integration/components/line-graph-test.js | 2 +- tests/integration/components/nav-bar-test.js | 2 +- tests/integration/components/nav-bar/-project-test.js | 2 +- tests/integration/components/nav-bar/-provider-test.js | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/integration/components/ci-perf-graph-test.js b/tests/integration/components/ci-perf-graph-test.js index 0735494..c0d547d 100644 --- a/tests/integration/components/ci-perf-graph-test.js +++ b/tests/integration/components/ci-perf-graph-test.js @@ -1,7 +1,7 @@ import { module, test } from 'qunit' import { setupRenderingTest } from 'ember-qunit' import { render } from '@ember/test-helpers' -import hbs from 'htmlbars-inline-precompile' +import { hbs } from 'ember-cli-htmlbars' module('Integration | Component | ci-perf-graph', function(hooks) { setupRenderingTest(hooks) diff --git a/tests/integration/components/collapsible-container-test.js b/tests/integration/components/collapsible-container-test.js index 1028ae9..2002004 100644 --- a/tests/integration/components/collapsible-container-test.js +++ b/tests/integration/components/collapsible-container-test.js @@ -1,7 +1,7 @@ import { module, test } from 'qunit' import { setupRenderingTest } from 'ember-qunit' import { render } from '@ember/test-helpers' -import hbs from 'htmlbars-inline-precompile' +import { hbs } from 'ember-cli-htmlbars' module('Integration | Component | collapsible-container', function(hooks) { setupRenderingTest(hooks) diff --git a/tests/integration/components/custom-graph-form-test.js b/tests/integration/components/custom-graph-form-test.js index 9c133e9..59a110e 100644 --- a/tests/integration/components/custom-graph-form-test.js +++ b/tests/integration/components/custom-graph-form-test.js @@ -1,7 +1,7 @@ import { module, test } from 'qunit' import { setupRenderingTest } from 'ember-qunit' import { render } from '@ember/test-helpers' -import hbs from 'htmlbars-inline-precompile' +import { hbs } from 'ember-cli-htmlbars' module('Integration | Component | custom-graph-form', function(hooks) { setupRenderingTest(hooks) diff --git a/tests/integration/components/custom-graph-test.js b/tests/integration/components/custom-graph-test.js index 0ecd9e1..a493e75 100644 --- a/tests/integration/components/custom-graph-test.js +++ b/tests/integration/components/custom-graph-test.js @@ -1,7 +1,7 @@ import { module, test } from 'qunit' import { setupRenderingTest } from 'ember-qunit' import { render } from '@ember/test-helpers' -import hbs from 'htmlbars-inline-precompile' +import { hbs } from 'ember-cli-htmlbars' module('Integration | Component | custom-graph', function(hooks) { setupRenderingTest(hooks) diff --git a/tests/integration/components/graph-controls-test.js b/tests/integration/components/graph-controls-test.js index 5311b79..78686a9 100644 --- a/tests/integration/components/graph-controls-test.js +++ b/tests/integration/components/graph-controls-test.js @@ -1,7 +1,7 @@ import { module, test } from 'qunit' import { setupRenderingTest } from 'ember-qunit' import { render } from '@ember/test-helpers' -import hbs from 'htmlbars-inline-precompile' +import { hbs } from 'ember-cli-htmlbars' module('Integration | Component | graph-controls', function(hooks) { setupRenderingTest(hooks) diff --git a/tests/integration/components/graph-controls/-buttons-test.js b/tests/integration/components/graph-controls/-buttons-test.js index b10f1fd..2f98cdf 100644 --- a/tests/integration/components/graph-controls/-buttons-test.js +++ b/tests/integration/components/graph-controls/-buttons-test.js @@ -1,7 +1,7 @@ import { module, test } from 'qunit' import { setupRenderingTest } from 'ember-qunit' import { render } from '@ember/test-helpers' -import hbs from 'htmlbars-inline-precompile' +import { hbs } from 'ember-cli-htmlbars' module('Integration | Component | graph-controls/-buttons', function(hooks) { setupRenderingTest(hooks) diff --git a/tests/integration/components/line-graph-test.js b/tests/integration/components/line-graph-test.js index 9cfc2dc..64f8a01 100644 --- a/tests/integration/components/line-graph-test.js +++ b/tests/integration/components/line-graph-test.js @@ -1,7 +1,7 @@ import { module, test } from 'qunit' import { setupRenderingTest } from 'ember-qunit' import { render } from '@ember/test-helpers' -import hbs from 'htmlbars-inline-precompile' +import { hbs } from 'ember-cli-htmlbars' module('Integration | Component | line-graph', function(hooks) { setupRenderingTest(hooks) diff --git a/tests/integration/components/nav-bar-test.js b/tests/integration/components/nav-bar-test.js index d0e997a..6c43d3e 100644 --- a/tests/integration/components/nav-bar-test.js +++ b/tests/integration/components/nav-bar-test.js @@ -1,7 +1,7 @@ import { module, test } from 'qunit' import { setupRenderingTest } from 'ember-qunit' import { render } from '@ember/test-helpers' -import hbs from 'htmlbars-inline-precompile' +import { hbs } from 'ember-cli-htmlbars' module('Integration | Component | nav-bar', function(hooks) { setupRenderingTest(hooks) diff --git a/tests/integration/components/nav-bar/-project-test.js b/tests/integration/components/nav-bar/-project-test.js index 70d1f06..b9af4e6 100644 --- a/tests/integration/components/nav-bar/-project-test.js +++ b/tests/integration/components/nav-bar/-project-test.js @@ -1,7 +1,7 @@ import { module, test } from 'qunit' import { setupRenderingTest } from 'ember-qunit' import { render } from '@ember/test-helpers' -import hbs from 'htmlbars-inline-precompile' +import { hbs } from 'ember-cli-htmlbars' module('Integration | Component | nav-bar/-project', function(hooks) { setupRenderingTest(hooks) diff --git a/tests/integration/components/nav-bar/-provider-test.js b/tests/integration/components/nav-bar/-provider-test.js index f5b9bee..cc1ff0e 100644 --- a/tests/integration/components/nav-bar/-provider-test.js +++ b/tests/integration/components/nav-bar/-provider-test.js @@ -1,7 +1,7 @@ import { module, test } from 'qunit' import { setupRenderingTest } from 'ember-qunit' import { render } from '@ember/test-helpers' -import hbs from 'htmlbars-inline-precompile' +import { hbs } from 'ember-cli-htmlbars' module('Integration | Component | nav-bar/-provider', function(hooks) { setupRenderingTest(hooks)