Sébastien Règne

Results 113 comments of Sébastien Règne

> I asked because all the examples you have given have `node-fetch` as _dependencies_ or _peerDependencies_ right? I only have one case because `addons-scanner-utils` is a dependency of `addons-linter`: ```...

With this `src/index.js` ([TS Playground](https://www.typescriptlang.org/play/?module=0#code/KYDwDg9gTgLgBAQwM4E8B2BjOAzArpmASwjTinwAoBKOAbzgHoAqOAOnbiYbgF8AoPqEiw4AE2DYEuADbx65UjyA)): ```typescript export async function run( runOptions: RunOptions = {}, { cli }: { cli?: boolean } = {}, ): Promise { // ... } export...

To export by default, use the `export =` syntax. ```typescript async function run( runOptions: RunOptions = {}, { cli }: { cli?: boolean } = {}, ): Promise { //...

> Out of curiosity, does this work for you currently? ```javascript import ncu from 'npm-check-updates' console.log(ncu); const upgraded = await ncu({ // ... }) ``` Here's the terminal when I...

I think it should be fine with the following code: ```typescript async function run( runOptions: RunOptions = {}, { cli }: { cli?: boolean } = {}, ): Promise {...

I tried with `export = run` ``` An export assignment cannot be used in a module with other exported elements. ``` So I deleted `export type { RunOptions }` ```...

The proposed API doesn't break the compatible and allows to add other options. But I only ask for the `{ crendentials: "omit" }` option because I don't know enough about...

I have the same problem https://github.com/npm/cli/issues/7884, but only if the version numbers of the two dependencies are identical. - `playwright` uses `"1.48.2"` ```javascript { "name": "playwright", "version": "1.48.2", /* ......

I have a similar problem. When a bullet list line is written on two lines and followed by a comment: the second line isnt indented. **Prettier 3.3.3**: [Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEBaABAGQJZTugMwgBtiIB3OAE3QCMBPdAQ3UgFs2EYA6LCAJzht02AA4BnAK7CqJAenHYYzTjAA0raOLhh4MSf2ZUx2cWFwBzADp5iS7jYA8AQlQYiEdG4B8Nmxhw8dAA5AHkAFUISMkoaBmZNDi5eTAEhEQlpdFkyQ0VlJlUNSChtXTh9fhsmY1FTcygLdDg7HhsQNRAIURhsLWRQJn5+CgAFIYRxZBAmYnImeinO2n4mMABrCoBlQrhAuGQCWe1l1Y3t0TXLZBh+SThO7TZsG7uHkDgAD1E4fmxOWCzcK-KBDbBwKZII7EE4gRSNYhwACKkgg8EOx3eACtxJ8tpZESi0QcoZjOgBHVHwUYjCTTJjiVB4ajUDogW5MbB2RoAYQgHCY9NIbPhFkRAEEYLdsLRJNTfvsMTD3gALGBsYgAdRVSghlzAcC2kyU2AAbkp6NMwOIliBTfcAJJQKhcLZgP49cXOrYweiIpWw0QjbSa1aiaZBiG-U0HTq4bT8GA0pgWNiC0nKzqXfgJ6Zp-jrWTkKBsoO4GCa7BUGAq5AADgADJ1BJTsIJk6n09DYTAmLRK9Xa0gAEydSTacJ9yHd95CWjUF1UTBMRqSFNwABiAjTUuuKCYcogIAAvsegA) **Input:**...

I'm porting my Chrome extension to _Manifest V3_ which requires the use of a service worker. But in the service worker, the [`DOMParser`](https://crbug.com/1056354) object isn't available. So I want to...