[Pkg-javascript-devel] Bug#960095: eslint: Build with babel version 7
Jonas Smedegaard
jonas at jones.dk
Sat May 9 13:03:15 BST 2020
Quoting Pirate Praveen (2020-05-09 13:53:05)
>
>
> On Sat, May 9, 2020 at 1:47 pm, Jonas Smedegaard <jonas at jones.dk> wrote:
> > Yes, my mistake: ESLint build-depend on (and suggest)
> > node-babel-code-frame (not node-babel-eslint).
> >
> > Question remain: How is ESLint affected by the babel transition?
>
> We cannot remove node-babel 6 from the archive until eslint remove the
> build dependency on node-babel-code-frame.
>
> > What action is possible to take from the side of eslint?!?
>
> babel-code-frame is renamed to @babel/code-frame in babel 7 (included
> in node-babel7 package). So replace node-babel-code-frame with
> node-babel7 in build dependency and patch any code that has
> require('babel-code-fram') with require('@babel/code-frame').
Thanks, that was helpful!
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200509/b590a6cc/attachment.sig>
More information about the Pkg-javascript-devel
mailing list