webpack-cli error because of older version of dependency css-select
I'm migrating my app from Node 14 to Node 16 and this errors now appears.
[webpack-cli] Failed to load '/app/webpack.config.js' config
[webpack-cli] TypeError: Cannot read properties of undefined (reading 'Descendant')
at Object.
I'm using this module on my app: html-webpack-plugin that has this dependency:
[email protected]
└─┬ [email protected]
└─┬ [email protected]
└── [email protected]
I believe renderkid is still using an older version of css-select 4.3.0 that is not compatible with Node 16. There is a newer version of css-select 5.1.0 that is now updated and in TS that probably works with Node 16. Could you update renderkid to use this new version os css-select, please?
Thank you.
@AriaMinaei please take a look
@AriaMinaei Any chance this could be looked at? I'd also be happy to submit a PR, though my coffeescript understanding is practically non-existent, I don't think the breaking change in css-select v5 affects this package.