Skip to content

fix: remove obsolete mixed-decls from silenceDeprecations#683

Open
arbrandes wants to merge 1 commit intoopenedx:masterfrom
arbrandes:arbrandes/remove-obsolete-silence-deprecations
Open

fix: remove obsolete mixed-decls from silenceDeprecations#683
arbrandes wants to merge 1 commit intoopenedx:masterfrom
arbrandes:arbrandes/remove-obsolete-silence-deprecations

Conversation

@arbrandes
Copy link
Copy Markdown
Contributor

@arbrandes arbrandes commented Apr 7, 2026

Description

The mixed-decls Sass deprecation became obsolete in Dart Sass 1.85.0. Since frontend-build pins sass at 1.85.1, silencing it now causes its own warning in downstream MFE builds. The other silenceDeprecations entries remain valid for the current Sass version.

Fixes #682

Testing

To reproduce the problem, run npm run dev in frontend-app-learning. You should see warnings like:

Module Warning (from ./node_modules/sass-loader/dist/cjs.js):
mixed-decls deprecation is obsolete. If you were previously silencing it, your code may now behave in unexpected ways.

To test the fix, cd to your local frontend-build checkout on this branch and pack a tarball:

npm version 14.6.4 --no-git-tag-version && npm pack

Then install it in frontend-app-learning:

npm install ../frontend-build/openedx-frontend-build-14.6.4.tgz

Run npm run dev again and confirm the mixed-decls warnings are gone.

LLM usage notice

Built with assistance from Claude.

The mixed-decls deprecation became obsolete in Dart Sass 1.85.0,
so silencing it now triggers its own warning in downstream MFE
builds.

Fixes openedx#682

Co-Authored-By: Claude <noreply@anthropic.com>
@arbrandes arbrandes force-pushed the arbrandes/remove-obsolete-silence-deprecations branch from f261f69 to 76d90a3 Compare April 7, 2026 11:52
@arbrandes arbrandes changed the title fix: remove obsolete silenceDeprecations entries fix: remove obsolete mixed-decls from silenceDeprecations Apr 7, 2026
Copy link
Copy Markdown
Contributor

@brian-smith-tcril brian-smith-tcril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove obsolete mixed-decls from silenceDeprecations

2 participants