[Pkg-javascript-devel] Bug#995702: TypeError: Cannot read property 'prefix_exceptions' of undefined
Dominik George
natureshadow at debian.org
Mon Oct 4 13:32:19 BST 2021
> - let autoprefixerData = { browsers: agents, prefixes: dataPrefixes }
> + let autoprefixerData = { browsers: agents.agents, prefixes: dataPrefixes }
It's
https://github.com/browserslist/caniuse-lite/commit/fde289588b2ccb129ba3d1552134be2c78fee8b7
So, this happened with a recent update of node-autoprefixer, because
the new autoprefixer relies on the new API of caniuse-lite.
caniuse-lite should, and will at some point, be updated in Debian as
well. However, this will break node-browserslist, because that relies
on the old API. Oh the joy!
Proposal:
1. Add a patch to node-autoprefixer to use the old API
2. Add a version constraint to the node-caniuse-lite dependency in
node-autoprefixer (<< 1.0.30001226~)
3. Report a bug against node-caniuse-lite to update to the current
upstream version, with a gentle hint on what will break if updated
4. Once updated, drop the patch, and remove the version constraint
@ JavaScript team, shall I proceed with that?
-nik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 297 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20211004/8b5bc25c/attachment-0001.sig>
More information about the Pkg-javascript-devel
mailing list