question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

stylus is relying on outdated/deprecated deps

See original GitHub issue

Describe the bug One of the dependencies of this project is using an old version of a dep, which is causing npm WARN deprecated to show up on every install.

Namely, stylus relies on css-parse which has been replaced by just css. There has been a PR up for a few months that fixes it, but it seems like the maintainer of stylus is nowhere to be found.

To Reproduce

  1. Install this package
  2. You’ll see:
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated

Expected behavior Shouldn’t rely on deprecated packages.

Additional context The quick and dirty solution would be for you to fork stylus and just do a branch install. Otherwise I’m not sure other than playing the waiting-game. Not sure what stylus is used for, perhaps it can be replaced with something smaller/simpler?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
jsg2021commented, Oct 11, 2021

in the meantime, you can bump stylus to 0.55.0, which would resolve the deprecation warning for now.

2reactions
mrmckebcommented, Jul 19, 2021

Not yet sorry. I think we’ll probably end up dropping it though… especially if it’s no longer actively maintained, and there are other solutions available.

Read more comments on GitHub >

github_iconTop Results From Across the Web

System.Drawing.Common only supported on Windows - .NET
Learn about the .NET 6 breaking change where the System.Drawing.Common package is no longer supported on non-Windows operating systems.
Read more >
Webpack 5 release (2020-10-10)
New deprecations include a deprecation code so they are easier to ... Webpack 4 didn't analyze dependencies between exports and imports of a ......
Read more >
Chapter 9. Deprecated Functionality Red Hat Enterprise Linux 7
This chapter provides an overview of functionality that has been deprecated in all minor releases of Red ... Red Hat Access plug-in for...
Read more >
Migrating from v2 to v3 - Gatsby
You can run an npm script to see all outdated dependencies. ... The deprecated __experimentalThemes key inside gatsby-config.js was removed.
Read more >
Does ES6 make JavaScript frameworks obsolete?
You already see lots of so called Vanilla Javascript components that are written in ES6 without dependencies. VS Code plays very nice if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found