coderaiser
coderaiser
I see, I think it's great idea. I thin this commit good thing to merge, because of install warning. Anyway it is better to change `perror("chdir failed");` -> `perror("chdir "...
No, but it's a good idea for a pull request :).
Are you willing for a PR?
https://github.com/coderaiser/cm-searchbox/blob/620da2611c9c89d07f625579b85df52dbdd6ed82/lib/searchbox.js#L16 Maybe `Search` should be declared a little bit below so it wasnβt a singleton.
Just landed ability to generate `sourcemap` according to file `url` received from loader. Since `mock-import` does some changes, `sourcemap` should help to identify correct locations of code parts. Generated file...
Looks like istrumenting with [`babel-plugin-istanbul`](https://github.com/istanbuljs/babel-plugin-istanbul) helped to solve the problem on a half! No it works full coverage all the time π . Happy holidays π !
@bcoe Unfortunately it shows full coverage every time, so itβs useless. Could you please tell me is it possible to make `c8` read source maps? Source file is changed inside...
Looks like it can be related to [`_normalizeMapCache`](https://github.com/bcoe/c8/blob/ff01cd832a155494892b24c30c5a1c8f0169fd8e/lib/report.js#L307-L313) and [`_normalizeProcessCov`](https://github.com/bcoe/c8/blob/ff01cd832a155494892b24c30c5a1c8f0169fd8e/lib/report.js#L272-L296) in `/lib/report.js`. Both uses [fileURLToPath](https://nodejs.org/dist/latest-v17.x/docs/api/url.html#urlfileurltopathurl) which is cut down `?mock-import-count=1` suffixes. But they are needed to `import` file again and...
Looks like this is `1:many` case from [`v8-to-instanbul`](https://github.com/istanbuljs/v8-to-istanbul/blob/v8.1.0/lib/v8-to-istanbul.js#L63-L66) function named `load`: - β `1` source code; - β `many` source maps; We should merge all changes that we find using...
Hey @bcoe, OK, right now I have 3 tests. > they include the query string? Sourcemap doesn't includes `query string`, it includes path of a file on disk. When `readFile`...