Deprecation warnings when building assets

Open
#2,842 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, sass
Domain
build-system

Research direction

Start by running the project's asset build and inspect the @wordpress/scripts version constraint discussed in #2624. Compare the warning with the linked Gutenberg upstream reports; done means the build completes without the Dart Sass legacy JS API deprecation warning, subject to an available upstream update.

Written by the indexing model from the issue text.

Description

wp-parsely

Describe the bug

We're getting deprecation warnings like Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. when building our assets. This isn't a real problem yet, as assets still get build normally.

To Reproduce

Build the project's assets. The warnings will appear.

Expected behavior

We shouldn't be getting warnings.

Additional context

This seems to be an upstream issue, tracked here (also see here). If this was to be included in a future update of @wordpress/scripts though, we're currently stuck on an old version due to #2624.

Dominant language
PHP
Stars
67
Forks
38
Avg merge
1d 5h
Merged PRs (30d)
79

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Parsely/wp-parsely

All issues in Parsely/wp-parsely

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.