loynoir

Results 97 comments of loynoir

@ianizaguirre I think `removePort` should be rename to `unsafeRemovePort`, or current naming style `forceRemovePort`. Because [https://example.com:80](https://example.com:80) and [https://example.com](https://example.com) is **NOT SAME AT ALL**, they **MAY** just happen to **LOOK** same...

Related: Can I use version 7 in the browser? https://github.com/sindresorhus/normalize-url/issues/140

Node ```js > new URL("sindre://www.sorhus.com").protocol 'sindre:' > new URL("sindre://www.sorhus.com").host 'www.sorhus.com' > new URL("sindre://www.sorhus.com").pathname '' ``` Google Chrome 92 ```js > new URL("sindre://www.sorhus.com").protocol "sindre:" > new URL("sindre://www.sorhus.com").host "" > new URL("sindre://www.sorhus.com").pathname...

Google Chrome 92 ![chrome](https://user-images.githubusercontent.com/78727408/128677685-31b7c9d0-1223-4550-85bf-45b296c9ab00.png) Mozilla Firefox 90 ![firefox](https://user-images.githubusercontent.com/78727408/128677642-23d8b254-a82d-4a11-b9b0-984e22dad903.png)

Hi, developers. Will this useful pull be merged? Maybe `stripMilliseconds`? - Less than 0.5, `11:22:33.444` -> 11:22:33 - Larger than 0.5, `11:22:33.666` -> 11:22:33

I think `htpasswd` can be consider widely adopted auth solution. self hosted docker registry https://docs.docker.com/registry/deploying/#native-basic-auth self hosted npm registry https://github.com/verdaccio/verdaccio/tree/master/packages/plugins/htpasswd#configure

Workaround, non-root ```sh $ podman run -v "${PWD}":/run docker.io/safewaters/docker-lock lock generate $ podman run -v "${PWD}":/run docker.io/safewaters/docker-lock lock rewrite ```

Related https://github.com/safe-waters/docker-lock/issues/90

Same issue/proposal here. Currently my mini working example. https://cdn.jsdelivr.net/npm/[email protected]/dist/rollup.browser.js ```js var bundle = rollup.rollup({ input: "rollup://localhost/a.mjs", plugins: [ { name: "rollup-in-browser-example", resolveId(importee, importer) { console.debug("resolveId", { importee, importer }); return...