>   - 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

Attachment: signature.asc
Description: PGP signature

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to