Skip to content

Commit 9a2303b

Browse files
Copilotfengmk2
andauthored
docs: map npm package links to npmx.dev (#661)
- [x] Update `[npm-url]` reference link from `https://npmjs.org/package/urllib` to `https://npmx.dev/package/urllib` in README.md - [x] Update `[download-url]` reference link from `https://npmjs.org/package/urllib` to `https://npmx.dev/package/urllib` in README.md - [x] Update example URL from `https://www.npmjs.com/package/urllib` to `https://npmx.dev/package/urllib` in README.md - [x] Run `pnpm dedupe` to fix duplicate dependencies in lockfile (fixes `vp dedupe --check` CI failure) - [x] Remove invalid `ts-equals-import` group from `experimentalSortImports` in `vite.config.ts` (not a valid group name in newer oxfmt) <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com>
1 parent 375dd63 commit 9a2303b

3 files changed

Lines changed: 339 additions & 198 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
[![pkg.pr.new](https://pkg.pr.new/badge/node-modules/urllib)](https://pkg.pr.new/~/node-modules/urllib)
1212

1313
[npm-image]: https://img.shields.io/npm/v/urllib.svg?style=flat-square
14-
[npm-url]: https://npmjs.org/package/urllib
14+
[npm-url]: https://npmx.dev/package/urllib
1515
[codecov-image]: https://codecov.io/gh/node-modules/urllib/branch/master/graph/badge.svg
1616
[codecov-url]: https://codecov.io/gh/node-modules/urllib
1717
[snyk-image]: https://snyk.io/test/npm/urllib/badge.svg?style=flat-square
1818
[snyk-url]: https://snyk.io/test/npm/urllib
1919
[download-image]: https://img.shields.io/npm/dm/urllib.svg?style=flat-square
20-
[download-url]: https://npmjs.org/package/urllib
20+
[download-url]: https://npmx.dev/package/urllib
2121

2222
Request HTTP URLs in a complex world — basic
2323
and digest authentication, redirections, timeout and more.
@@ -263,7 +263,7 @@ export from [undici](https://undici.nodejs.org/#/docs/best-practices/proxy)
263263
import { ProxyAgent, request } from 'urllib';
264264

265265
const proxyAgent = new ProxyAgent('http://my.proxy.com:8080');
266-
const response = await request('https://www.npmjs.com/package/urllib', {
266+
const response = await request('https://npmx.dev/package/urllib', {
267267
dispatcher: proxyAgent,
268268
});
269269
console.log(response.status, response.headers);

0 commit comments

Comments
 (0)