0
Fork 0
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:
renovate[bot] 2024-01-20 13:59:24 +01:00 committed by GitHub
parent 3d368fc456
commit 2acf0d4cbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 397 additions and 395 deletions

View file

@ -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:*",

View file

@ -156,6 +156,6 @@ describe('Local FS test', () => {
done();
});
});
});
}, 100000);
});
});

View file

@ -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');
}

View file

@ -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;
}

File diff suppressed because it is too large Load diff