[Pkg-javascript-devel] Bug#888926: tracking bug: breakages in reverse dependencies of node-source-map

Pirate Praveen praveen at debian.org
Wed Jan 31 09:17:39 UTC 2018


Package: node-source-map
Version: 0.7.0+dfsg-1
Severity: important
Control: block -1 by 888846

source-map 0.7 introduced many breaking changes including dropping
support for node < 8 which makes it harder for upstreams to switch to
this version.

Breaking change: new SourceMapConsumer now returns a Promise object that
resolves to the newly constructed SourceMapConsumer instance, rather
than returning the new instance immediately.

Breaking change: when you're done using a SourceMapConsumer instance,
you must call SourceMapConsumer.prototype.destroy on it. After calling
destroy, you must not use the instance again.

Breaking change: SourceMapConsumer used to be able to handle lines,
columns numbers and source and name indices up to 2^53 - 1 (aka
Number.MAX_SAFE_INTEGER). It can now only handle them up to 2^32 - 1.

Breaking change: The source-map library now uses modern ECMAScript-isms:
let, arrow functions, async, etc. Use Babel to compile it down to
ECMAScript 5 if you need to support older JavaScript environments.

Breaking change: Drop support for Node < 8. If you want to support older
versions of node, please use v0.6 or below.

This should have been better handled as a transition giving time for
reverse dependency maintainers to adapt.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20180131/4ed6e72d/attachment.sig>


More information about the Pkg-javascript-devel mailing list