Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated source-map-resolve@0.6.0 #435

Closed
mwallace72 opened this issue Feb 14, 2022 · 5 comments · Fixed by #470
Closed

Deprecated source-map-resolve@0.6.0 #435

mwallace72 opened this issue Feb 14, 2022 · 5 comments · Fixed by #470

Comments

@mwallace72
Copy link

  • @testing-library/jest-dom version: 5.15.1
  • node version: 16.14.0
  • npm (or yarn) version: 8.3.1

What you did:

Installing v5.15.1 or v5.16.2

What happened:

npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated

Reproduction:

Problem description:

No available newer module of https://www.npmjs.com/package/css that uses non-deprecated library

Suggested solution:

@JJ
Copy link

JJ commented Mar 16, 2022

css is only used here, in this single function:

const ast = cssParse(`selector { ${css} }`, {silent: true}).stylesheet

There are other alternatives for obtaining the AST of a CSS declaration. However, they are not plug-in compatible, so changing it would require a certain amount of refactoring.

@gnapse
Copy link
Member

gnapse commented Mar 16, 2022

This seems related to #443, which attempts to remove the dependency on this external css package.

@grosch
Copy link

grosch commented Jun 23, 2022

Any updates on resolving this?

@octionut
Copy link

octionut commented Jul 1, 2022

I'd like to have some updates on this as well

@MichaelDeBoey
Copy link
Member

Fixed by #470

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 a pull request may close this issue.

6 participants