From 87f6e6d37dabb11dc46e62a8fb249978e9b7300e Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Thu, 28 Sep 2023 11:18:54 -0600 Subject: [PATCH] Loosen version check against ember-cli-babel This gets us 'clean' support for interop with ember-cli-babel v8, which works just fine with this package. Fixes #1567 --- ts/addon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/addon.ts b/ts/addon.ts index 815d02290..445dfcb22 100644 --- a/ts/addon.ts +++ b/ts/addon.ts @@ -145,7 +145,7 @@ export default addon({ let babel = this.parent.addons.find((addon) => addon.name === 'ember-cli-babel'); let version = babel && babel.pkg.version; - if (!babel || !(semver.gte(version!, '7.17.0') && semver.lt(version!, '8.0.0'))) { + if (!babel || !semver.gte(version!, '7.17.0')) { let versionString = babel ? `version ${babel.pkg.version} installed` : `no instance of ember-cli-babel installed in your dependencies (check if it's in devDependencies instead?)`;