Debian Patches

Status for node-postcss-reporter/7.0.5+~7.0.1-2

Patch Description Author Forwarded Bugs Origin Last update
adapt-tests-to-postcss-8.5.16-origin-columns.patch adapt sourcemap test to postcss >= 8.5.16 column semantics PostCSS 8.5.16 fixed an off-by-one in Input#origin(): the method now expects
1-based columns (as carried by warning messages) and converts them to the
0-based columns used by the source map consumer, and it converts the resolved
original column back to a 1-based value.
.
The test built its message around the previous, 0-based behaviour: it looked up
generated column 7, which used to hit the mapping registered at (0-based)
generated column 7. With the fix that lookup targets generated column 6, no
mapping is found, origin() returns false and the formatter falls back to the
generated position (2:7) instead of the original one.
.
Feed the formatter the 1-based column of the mapped position (8) and expect the
1-based original column (108) accordingly.
Yadd <yadd@debian.org> no 2026-08-03

All known versions for source package 'node-postcss-reporter'

Links