Skip to content

Commit

Permalink
feat: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mytlogos committed Oct 26, 2022
1 parent e358a17 commit 3751058
Show file tree
Hide file tree
Showing 8 changed files with 934 additions and 714 deletions.
1,575 changes: 898 additions & 677 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/release-notes-generator": "^10.0.3",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.36.2",
"@vue/eslint-config-standard-with-typescript": "^8.0.0",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.23.0",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.3.6",
"eslint-plugin-jsdoc": "^39.3.25",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.1",
"eslint-plugin-vue": "^9.4.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.6.0",
"jest-junit": "^14.0.1",
"prettier": "^2.7.1",
"semantic-release": "^19.0.5",
Expand Down
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"ajv": "^8.11.0",
"bcryptjs": "^2.4.3",
"debug": "^4.3.4",
"dotenv": "^16.0.2",
"emoji-regex": "^10.1.0",
"dotenv": "^16.0.3",
"emoji-regex": "^10.2.1",
"jsonschema": "^1.4.1",
"mysql": "^2.18.1",
"node-cache": "^5.1.2",
Expand All @@ -31,10 +31,10 @@
"@types/debug": "^4.1.7",
"@types/dotenv": "^8.2.0",
"@types/mysql": "^2.15.21",
"@types/node": "^18.7.16",
"@types/node": "^18.11.5",
"@types/node-cache": "^4.2.5",
"@types/triple-beam": "^1.3.2",
"@types/uuid": "^8.3.4",
"typescript": "^4.8.3"
"typescript": "^4.8.4"
}
}
14 changes: 7 additions & 7 deletions packages/scraper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,32 @@
"lintfix": "eslint --fix 'src/**/*.{js,ts,vue}'"
},
"dependencies": {
"axios": "^0.27.2",
"axios": "^1.1.3",
"axios-cookiejar-support": "^4.0.3",
"cheerio": "^1.0.0-rc.12",
"debug": "^4.3.4",
"feedparser-promised": "^2.0.1",
"header-generator": "^2.0.9",
"header-generator": "^2.1.1",
"htmlparser2": "^8.0.1",
"jsdom": "^20.0.0",
"jsdom": "^20.0.1",
"jsonpath": "^1.1.1",
"puppeteer": "^17.1.3",
"puppeteer": "^19.2.0",
"puppeteer-extra": "^3.3.4",
"puppeteer-extra-plugin-stealth": "^2.11.1",
"tough-cookie": "^4.1.2",
"tslib": "^2.4.0",
"validate.js": "^0.13.1",
"ws": "^8.8.1",
"ws": "^8.10.0",
"x-ray": "^2.3.4"
},
"devDependencies": {
"@types/debug": "^4.1.7",
"@types/htmlparser2": "^3.10.3",
"@types/jsdom": "20.0.0",
"@types/jsonpath": "0.2.0",
"@types/node": "^18.7.16",
"@types/node": "^18.11.5",
"@types/ws": "^8.5.3",
"@types/x-ray": "^2.3.3",
"typescript": "^4.8.3"
"typescript": "^4.8.4"
}
}
2 changes: 1 addition & 1 deletion packages/scraper/src/externals/request/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ export class Requestor {
if (networkTrack) {
networkTrack.retryCount++;
}
const retryAfterValue = error.response?.headers?.["retry-after"];
const retryAfterValue = error.response?.headers?.["retry-after"] ?? "";
const retryAfterSeconds = Number.parseInt(retryAfterValue);

if (Number.isInteger(retryAfterSeconds) && retryAfterSeconds > 0) {
Expand Down
7 changes: 3 additions & 4 deletions packages/scraper/src/externals/request/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { AxiosResponseHeaders, ParamsSerializerOptions, RawAxiosResponseHeaders } from "axios";
import type { CheerioAPI } from "cheerio";

export interface BasicCredentials {
Expand Down Expand Up @@ -73,9 +74,7 @@ export interface TransitionalOptions {

export type RequestHeaders = Record<string, string>;

export type ResponseHeaders = Record<string, string> & {
"set-cookie"?: string[];
};
export type ResponseHeaders = RawAxiosResponseHeaders | AxiosResponseHeaders;

export interface RequestConfig<D> extends BasicRequestConfig<D> {
url: string;
Expand All @@ -89,7 +88,7 @@ export interface BasicRequestConfig<D> {
baseURL?: string;
headers?: RequestHeaders;
params?: any;
paramsSerializer?: (params: any) => string;
paramsSerializer?: ParamsSerializerOptions;
data?: D;
timeout?: number;
timeoutErrorMessage?: string;
Expand Down
10 changes: 5 additions & 5 deletions packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"brotli": "^1.3.3",
"compression": "^1.7.4",
"debug": "^4.3.4",
"express": "^4.18.1",
"express": "^4.18.2",
"express-json-validator-middleware": "^3.0.1",
"express-prom-bundle": "^6.5.0",
"express-ws": "^5.0.2",
Expand All @@ -33,24 +33,24 @@
"swagger-ui-express": "^4.5.0",
"tslib": "^2.4.0",
"validate.js": "^0.13.1",
"yargs": "^17.5.1"
"yargs": "^17.6.0"
},
"devDependencies": {
"@types/compression": "^1.7.2",
"@types/debug": "^4.1.7",
"@types/express-ws": "3.0.1",
"@types/http-errors": "^1.8.2",
"@types/jest": "^29.0.0",
"@types/jest": "^29.2.0",
"@types/js-yaml": "^4.0.5",
"@types/localtunnel": "^2.0.1",
"@types/morgan": "^1.9.3",
"@types/node": "^18.7.16",
"@types/node": "^18.11.5",
"@types/on-finished": "^2.3.1",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui": "^3.52.0",
"@types/swagger-ui-express": "^4.1.3",
"@types/yargs": "^17.0.12",
"js-yaml": "^4.1.0",
"typescript": "^4.8.3"
"typescript": "^4.8.4"
}
}
22 changes: 11 additions & 11 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,28 @@
"@fortawesome/fontawesome-svg-core": "^6.2.0",
"@fortawesome/free-solid-svg-icons": "^6.2.0",
"@popperjs/core": "^2.11.6",
"bootstrap": "^5.2.1",
"bootstrap": "^5.2.2",
"chart.js": "^3.9.1",
"d3-scale-chromatic": "^3.0.0",
"jsonschema": "^1.4.1",
"mitt": "^3.0.0",
"pinia": "^2.0.22",
"pinia-plugin-persistedstate": "^2.2.0",
"pinia": "^2.0.23",
"pinia-plugin-persistedstate": "^2.3.0",
"primeflex": "^3.2.1",
"primeicons": "^5.0.0",
"primevue": "^3.17.0",
"primeicons": "^6.0.1",
"primevue": "^3.18.0",
"prismjs": "^1.29.0",
"qs": "^6.11.0",
"register-service-worker": "^1.7.2",
"tslib": "^2.4.0",
"url": "^0.11.0",
"vue": "^3.2.37",
"vue": "^3.2.41",
"vue-observe-visibility": "^1.0.0",
"vue-prism-editor": "^2.0.0-alpha.2",
"vue-router": "^4.1.5"
"vue-router": "^4.1.6"
},
"devDependencies": {
"@types/bootstrap": "^5.2.3",
"@types/bootstrap": "^5.2.5",
"@types/chart.js": "^2.9.37",
"@types/d3-scale-chromatic": "^3.0.0",
"@types/prismjs": "1.26.0",
Expand All @@ -51,12 +51,12 @@
"@vue/cli-plugin-typescript": "^5.0.8",
"@vue/cli-plugin-vuex": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"@vue/test-utils": "^2.0.2",
"@vue/test-utils": "^2.2.0",
"babel-core": "6.26.3",
"babel-loader": "^8.2.5",
"babel-plugin-prismjs": "^2.1.0",
"pinia-logger": "^1.3.2",
"typescript": "^4.8.3",
"pinia-logger": "^1.3.6",
"typescript": "^4.8.4",
"vue-cli-plugin-webpack-bundle-analyzer": "^4.0.0",
"webpack": "^5.74.0"
},
Expand Down

0 comments on commit 3751058

Please sign in to comment.