FortAwesome / ember-fontawesome

Font Awesome Ember component using SVG with JS
https://fontawesome.com
MIT License
119 stars 49 forks source link

Issue with `@glimmer/syntax@0.93.0` #240

Open gzurbach opened 6 days ago

gzurbach commented 6 days ago

Dependabot is attempting to upgrade @glimmer/syntax from version 0.92.3 to 0.93.0 in our Ember app.

However, the build fails due to an issue with ember-ast-helpers, a dependency of ember-fontawesome, which hasn’t been updated in 7 years.

Specifically, ember-ast-helpers fails to import @glimmer/syntax:

ember build --environment=production

require() of ES Module /home/runner/work/webapp/webapp/node_modules/@glimmer/syntax/dist/prod/index.js from /home/runner/work/webapp/webapp/node_modules/ember-ast-helpers/build-time-component.js not supported.

Instead change the require of index.js in /home/runner/work/webapp/webapp/node_modules/ember-ast-helpers/build-time-component.js to a dynamic import() which is available in all CommonJS modules.

I reported this problem in the ember-ast-helpers repository, but as the package appears to be abandoned, it should be replaced in this project with a suitable alternative.

Version: @fortawesome/ember-fontawesome@2.0.0