[Pkg-javascript-devel] Bug#963628: Bug#963628: Bug#963628: Node-jest fails with: Error: Cannot find module 'import-local'

2020-07-14 Thread Xavier
Le 14/07/2020 à 22:06, Xavier a écrit :
> Le 28/06/2020 à 09:32, Xavier a écrit :
>> Control: severity -1 grave
>>
>> Le 27/06/2020 à 23:31, Nilesh Patra a écrit :
>>>
>>>
>>> On Sun, 28 Jun 2020, 02:45 Xavier, >> > wrote:
>>>
>>> Control: severity -i grave
>>>
>>>
>>> Thanks.
>>>
>>>
>>> Le 24/06/2020 à 21:18, Nilesh Patra a écrit :
>>> > Package: node-jest
>>> > Severity: serious
>>> >
>>> > Dear Maintainer,
>>> >
>>> > Node-jest fails with the following on all the node-modules I've
>>> tried yet.
>>> > Sample examples on
>>>
>>> Work needed for node-jest:
>>>  * add babel-plugin-istanbul; proposition: add it in node-babel7
>>>
>>>
>>> It's good.
>>> Would you mind discussing this bit on the list?
>>
>> pkg-js list receives messages related to this bug
>>
>>>  * update and fix node-jsdom
>>>  * add missing components
>>>
>>>
>>> Noted.
>>>
>>>
>>> Here is the list of missing modules (mix of node-jest and node-jsdom):
>>
>> jsdom:
>>  * data-urls
>>  * domexception
>>  * html-encoding-sniffer
>>  * w3c-hr-time
>>  * whatwg-encoding
>>  * whatwg-mimetype
>>  * whatwg-url
>>  * xml-name-validator
> 
> Hi all,
> 
> after fixing node-jsdom, these modules are required for jest:
>  * astral-regex
>  * babel-plugin-istanbul
>  * babel-preset-current-node-syntax
>  * fast-json-stable-stringify
>  * is-generator-fn
>  * makeerror
>  * natural-compare
>  * p-each-series
>  * p-reduce
>  * sane
>  * string-length
>  * supports-hyperlinks
>  * terminal-link
>  * throat
>  * tmpl
>  * walker

+ import-local and realpath-native

> I suggests to embed babel* in node-babel7 and others in node-jest. What
> are your advises ?
> 

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

[Pkg-javascript-devel] Bug#963628: Bug#963628: Bug#963628: Node-jest fails with: Error: Cannot find module 'import-local'

2020-07-14 Thread Xavier
Le 28/06/2020 à 09:32, Xavier a écrit :
> Control: severity -1 grave
> 
> Le 27/06/2020 à 23:31, Nilesh Patra a écrit :
>>
>>
>> On Sun, 28 Jun 2020, 02:45 Xavier, > > wrote:
>>
>> Control: severity -i grave
>>
>>
>> Thanks.
>>
>>
>> Le 24/06/2020 à 21:18, Nilesh Patra a écrit :
>> > Package: node-jest
>> > Severity: serious
>> >
>> > Dear Maintainer,
>> >
>> > Node-jest fails with the following on all the node-modules I've
>> tried yet.
>> > Sample examples on
>>
>> Work needed for node-jest:
>>  * add babel-plugin-istanbul; proposition: add it in node-babel7
>>
>>
>> It's good.
>> Would you mind discussing this bit on the list?
> 
> pkg-js list receives messages related to this bug
> 
>>  * update and fix node-jsdom
>>  * add missing components
>>
>>
>> Noted.
>>
>>
>> Here is the list of missing modules (mix of node-jest and node-jsdom):
> 
> jsdom:
>  * data-urls
>  * domexception
>  * html-encoding-sniffer
>  * w3c-hr-time
>  * whatwg-encoding
>  * whatwg-mimetype
>  * whatwg-url
>  * xml-name-validator

Hi all,

after fixing node-jsdom, these modules are required for jest:
 * astral-regex
 * babel-plugin-istanbul
 * babel-preset-current-node-syntax
 * fast-json-stable-stringify
 * is-generator-fn
 * makeerror
 * natural-compare
 * p-each-series
 * p-reduce
 * sane
 * string-length
 * supports-hyperlinks
 * terminal-link
 * throat
 * tmpl
 * walker

I suggests to embed babel* in node-babel7 and others in node-jest. What
are your advises ?

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

[Pkg-javascript-devel] Bug#963628: Bug#963628: Bug#963628: Node-jest fails with: Error: Cannot find module 'import-local'

2020-06-28 Thread Xavier
Control: severity -1 grave

Le 27/06/2020 à 23:31, Nilesh Patra a écrit :
> 
> 
> On Sun, 28 Jun 2020, 02:45 Xavier,  > wrote:
> 
> Control: severity -i grave
> 
> 
> Thanks.
> 
> 
> Le 24/06/2020 à 21:18, Nilesh Patra a écrit :
> > Package: node-jest
> > Severity: serious
> >
> > Dear Maintainer,
> >
> > Node-jest fails with the following on all the node-modules I've
> tried yet.
> > Sample examples on
> 
> Work needed for node-jest:
>  * add babel-plugin-istanbul; proposition: add it in node-babel7
> 
> 
> It's good.
> Would you mind discussing this bit on the list?

pkg-js list receives messages related to this bug

>  * update and fix node-jsdom
>  * add missing components
> 
> 
> Noted.
> 
> 
> Here is the list of missing modules (mix of node-jest and node-jsdom):

jsdom:
 * data-urls
 * domexception
 * html-encoding-sniffer
 * w3c-hr-time
 * whatwg-encoding
 * whatwg-mimetype
 * whatwg-url
 * xml-name-validator


>  * astral-regex
>  * babel-plugin-istanbul
>  * browser-process-hrtime
>  * data-urls
>  * domexception
>  * es-abstract
>  * fast-json-stable-stringify
>  * html-encoding-sniffer
>  * import-local
>  * is-generator-fn
>  * is-regex
>  * left-pad
>  * makeerror
>  * natural-compare
>  * nwsapi
>  * object.getownpropertydescriptors
>  * object-keys
>  * parse5
>  * p-each-series
>  * pn
>  * p-reduce
>  * realpath-native
>  * request-promise-native
>  * sane
>  * string-length
>  * symbol-tree
>  * throat
>  * tmpl
>  * tr46
>  * util.promisify
>  * w3c-hr-time
>  * walker
>  * whatwg-encoding
>  * whatwg-mimetype
>  * whatwg-url
>  * xml-name-validator
> 
> 
> Would you have a rough idea as to how many of these can be simply
> embedded - or do all of these need to be packaged NEW?
> 
> For all new packages needed,
> I would really like helping here :-)
> 
> Kind Regards,
> Nilesh
> 

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

[Pkg-javascript-devel] Bug#963628: Bug#963628: Bug#963628: Node-jest fails with: Error: Cannot find module 'import-local'

2020-06-27 Thread Nilesh Patra
Also, as I dug in a bit, the "import-local" module has this description:

"""
Let a globally installed package use a locally installed version of itself
if available

For our use-case we would need modules only from /usr/share/* right?
So _maybe_ this has no real use here?

Let me know if this is wrong, or I'm missing out something.

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

[Pkg-javascript-devel] Bug#963628: Bug#963628: Bug#963628: Node-jest fails with: Error: Cannot find module 'import-local'

2020-06-27 Thread Nilesh Patra
On Sun, 28 Jun 2020, 02:45 Xavier,  wrote:

> Control: severity -i grave
>

Thanks.


> Le 24/06/2020 à 21:18, Nilesh Patra a écrit :
> > Package: node-jest
> > Severity: serious
> >
> > Dear Maintainer,
> >
> > Node-jest fails with the following on all the node-modules I've tried
> yet.
> > Sample examples on
>
> Work needed for node-jest:
>  * add babel-plugin-istanbul; proposition: add it in node-babel7
>

It's good.
Would you mind discussing this bit on the list?

 * update and fix node-jsdom
>  * add missing components
>

Noted.


> Here is the list of missing modules (mix of node-jest and node-jsdom):
>  * astral-regex
>  * babel-plugin-istanbul
>  * browser-process-hrtime
>  * data-urls
>  * domexception
>  * es-abstract
>  * fast-json-stable-stringify
>  * html-encoding-sniffer
>  * import-local
>  * is-generator-fn
>  * is-regex
>  * left-pad
>  * makeerror
>  * natural-compare
>  * nwsapi
>  * object.getownpropertydescriptors
>  * object-keys
>  * parse5
>  * p-each-series
>  * pn
>  * p-reduce
>  * realpath-native
>  * request-promise-native
>  * sane
>  * string-length
>  * symbol-tree
>  * throat
>  * tmpl
>  * tr46
>  * util.promisify
>  * w3c-hr-time
>  * walker
>  * whatwg-encoding
>  * whatwg-mimetype
>  * whatwg-url
>  * xml-name-validator
>

Would you have a rough idea as to how many of these can be simply embedded
- or do all of these need to be packaged NEW?

For all new packages needed,
I would really like helping here :-)

Kind Regards,
Nilesh

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