mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
chore(deps): update typescript dependencies (master) (#4442)
* chore(deps): update typescript dependencies * Update proxy.ts * Update request.ts * Update local-fs.test.ts * Update renovate.json --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Juan Picado <juanpicado19@gmail.com>
This commit is contained in:
parent
3d368fc456
commit
2acf0d4cbb
5 changed files with 397 additions and 395 deletions
12
package.json
12
package.json
|
@ -62,11 +62,11 @@
|
|||
"@types/lodash": "4.14.202",
|
||||
"@types/mime": "3.0.4",
|
||||
"@types/minimatch": "5.1.2",
|
||||
"@types/node": "20.11.0",
|
||||
"@types/node-fetch": "2.6.10",
|
||||
"@types/node": "20.11.5",
|
||||
"@types/node-fetch": "2.6.11",
|
||||
"@types/qs": "6.9.11",
|
||||
"@types/range-parser": "1.2.7",
|
||||
"@types/react": "18.2.47",
|
||||
"@types/react": "18.2.48",
|
||||
"@types/react-dom": "18.2.18",
|
||||
"@types/react-router-dom": "5.3.3",
|
||||
"@types/react-virtualized": "9.21.29",
|
||||
|
@ -80,8 +80,8 @@
|
|||
"@types/validator": "13.11.8",
|
||||
"@types/webpack": "5.28.5",
|
||||
"@types/webpack-env": "1.18.4",
|
||||
"@typescript-eslint/eslint-plugin": "6.18.1",
|
||||
"@typescript-eslint/parser": "6.18.1",
|
||||
"@typescript-eslint/eslint-plugin": "6.19.0",
|
||||
"@typescript-eslint/parser": "6.19.0",
|
||||
"@verdaccio/crowdin-translations": "workspace:*",
|
||||
"@verdaccio/eslint-config": "workspace:*",
|
||||
"@verdaccio/types": "workspace:*",
|
||||
|
@ -118,7 +118,7 @@
|
|||
"selfsigned": "2.4.1",
|
||||
"supertest": "6.3.4",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.2.2",
|
||||
"typescript": "5.3.3",
|
||||
"undici-types": "5.28.2",
|
||||
"update-ts-references": "3.2.1",
|
||||
"verdaccio-audit": "workspace:*",
|
||||
|
|
|
@ -156,6 +156,6 @@ describe('Local FS test', () => {
|
|||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
}, 100000);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -196,7 +196,7 @@ class ProxyStorage implements IProxy {
|
|||
return headers;
|
||||
}
|
||||
|
||||
if (_.isObject(auth) === false && _.isObject(auth.token) === false) {
|
||||
if (_.isObject(auth) === false && _.isObject((auth as any).token) === false) {
|
||||
this._throwErrorAuth('Auth invalid');
|
||||
}
|
||||
|
||||
|
|
|
@ -78,6 +78,7 @@ export async function createRequest(options: Options): Promise<any> {
|
|||
debug('options %s', JSON.stringify(options));
|
||||
let body = undefined;
|
||||
if (isNil(options.body) === false) {
|
||||
// @ts-ignore
|
||||
body = isObject(options.body) === false ? JSON.stringify(options.body) : options.body;
|
||||
}
|
||||
|
||||
|
|
775
pnpm-lock.yaml
775
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue