Skip to content

Commit

Permalink
[proxy-agent] Use "lru-cache@8"
Browse files Browse the repository at this point in the history
ncc v0.24.0 has an issue parsing "lru-cache@9" :/

```
ncc: Version 0.24.0
ncc: Compiling file index.js
ncc: Using typescript@4.9.5 (local user-provided)
Error: Module parse failed: Unexpected token (27:15)
File was processed with these loaders:
 * ../../node_modules/.pnpm/@vercel+ncc@0.24.0/node_modules/@vercel/ncc/dist/ncc/loaders/empty-loader.js
 * ../../node_modules/.pnpm/@vercel+ncc@0.24.0/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js
 * ../../node_modules/.pnpm/@vercel+ncc@0.24.0/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js
You may need an additional loader to handle the result of these loaders.
|     //@ts-ignore
|     AS = class AbortSignal {
>         onabort;
|         _onabort = [];
|         reason;
```
  • Loading branch information
TooTallNate committed Apr 30, 2023
1 parent ed3e630 commit 9cbb421
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/proxy-agent/package.json
Expand Up @@ -40,7 +40,7 @@
"debug": "^4.3.4",
"http-proxy-agent": "^5.0.0",
"https-proxy-agent": "^5.0.1",
"lru-cache": "^9.1.1",
"lru-cache": "^8.0.5",
"pac-proxy-agent": "^5.0.0",
"proxy-from-env": "^1.1.0",
"socks-proxy-agent": "^7.0.0"
Expand Down
10 changes: 8 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9cbb421

Please sign in to comment.