shellscape/postcss-values-parser

Depends on deprecated package "flatten"

Closed this issue · 6 comments

Expected Behavior / Situation

Installation does not install a deprecated package.

Actual Behavior / Situation

Installation installs deprecated package "flatten."

warning postcss-values-parser > flatten@1.0.2: I wrote this module a very long time ago; you should use something else.

Modification Proposal

Remove dependency on flatten.

Thanks for raising the issue. flatten is likely a dependency of another module. We don't use it directly, as can be seen here

"dependencies": {
"color-name": "^1.1.4",
"is-number": "^7.0.0",
"is-url-superb": "^2.0.0",
"postcss": "^7.0.5",
"url-regex": "^4.1.1"
},

flatten is/was a dependency of this package up until v 2.0.1. it looks like it was removed in v 3.0 but until downstream packages (about a dozen in my repo) update to use ^3.0, this error will show

v3.0.4 went up the other day, and should resolve that downstream issue. If it doesn't, please contact the offending package's project.

Can this fix easily be backported to the v2 series? Thanks!

Bumping up!!!
@shellscape Can this fix easily be backported to the v2 series? Thanks!

I'm sorry but I don't have the bandwidth to backport features to old major versions. Please use the newer version. Thanks!