Skip to content

Commit

Permalink
dependency upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
gilgardosh committed Jul 17, 2023
1 parent 9ce3faf commit 7c87d4a
Show file tree
Hide file tree
Showing 10 changed files with 1,071 additions and 1,058 deletions.
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.16.1
v20.4.0
30 changes: 13 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"packages/*"
],
"engines": {
"node": "18.16.1"
"node": "20.4.0"
},
"scripts": {
"build": "bob build",
Expand All @@ -23,27 +23,23 @@
},
"dependencies": {
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.0",
"glob": "9.2.1"
"@changesets/cli": "2.26.2",
"glob": "10.3.3"
},
"devDependencies": {
"@theguild/eslint-config": "0.8.0",
"@theguild/prettier-config": "1.1.2",
"@types/node": "18.15.1",
"bob-the-bundler": "5.0.1",
"concurrently": "7.6.0",
"eslint": "8.36.0",
"@theguild/eslint-config": "0.11.0",
"@theguild/prettier-config": "2.0.0",
"@types/node": "20.4.2",
"bob-the-bundler": "7.0.1",
"concurrently": "8.2.0",
"eslint": "8.45.0",
"husky": "8.0.3",
"lint-staged": "13.2.0",
"patch-package": "^6.5.1",
"prettier": "2.8.4",
"prettier-plugin-sql": "0.13.0",
"lint-staged": "13.2.3",
"patch-package": "^7.0.2",
"prettier": "3.0.0",
"prettier-plugin-sql": "0.15.1",
"typescript": "4.9.5"
},
"resolutions": {
"**/execa": "5.1.1",
"lint-staged/execa": "6.1.0"
},
"publishConfig": {
"directory": "dist",
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/green-invoice-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
},
"devDependencies": {
"@types/mime-types": "^2.1.1",
"dotenv": "16.0.3",
"dotenv": "16.3.1",
"mime-types": "2.1.35",
"ts-node": "10.9.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/hashavshevet-mesh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"graphql": "16.7.1"
},
"devDependencies": {
"dotenv": "16.0.3",
"dotenv": "16.3.1",
"ts-node": "10.9.1"
},
"publishConfig": {
Expand Down
6 changes: 3 additions & 3 deletions packages/israeli-vat-scraper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@
},
"dependencies": {
"ajv": "8.12.0",
"dotenv": "16.0.3",
"dotenv": "16.3.1",
"puppeteer": "18.2.1"
},
"devDependencies": {
"@types/puppeteer": "7.0.4",
"nodemon": "2.0.21",
"pino-pretty": "10.0.0"
"nodemon": "3.0.1",
"pino-pretty": "10.0.1"
},
"publishConfig": {
"directory": "dist",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ export const homePageHandler = async (config: Config): Promise<Report[]> => {

const years: Record<number, number[]> = {};
if (config.years) {
config.years.forEach(item => {
for (const item of config.years) {
if (typeof item === 'number') {
years[item] = [];
} else {
years[item[0]] = item[1];
}
});
}
}

await Promise.all(
Expand All @@ -47,9 +47,9 @@ export const homePageHandler = async (config: Config): Promise<Report[]> => {
return [];
}),
).then(reportsLists => {
reportsLists.forEach(list => {
for (const list of reportsLists) {
reports.push(...list);
});
}
});

page.browser().close();
Expand Down
4 changes: 2 additions & 2 deletions packages/israeli-vat-scraper/src/utils/user-prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ export class UserPrompt {
const entries = Object.entries(data);
if (entries.length > 0) {
entries.sort((a, b) => (a[0] > b[0] ? 1 : -1));
entries.forEach(([key, value]) => {
for (const [key, value] of entries) {
message += `${prefix}${key}: ${value[0]}\n`;
recursivePrint(value[1], prefix + ' ');
});
}
}
};

Expand Down
2 changes: 1 addition & 1 deletion packages/payper-mesh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"path": "0.12.7"
},
"devDependencies": {
"dotenv": "16.0.3",
"dotenv": "16.3.1",
"ts-node": "10.9.1"
},
"publishConfig": {
Expand Down
24 changes: 0 additions & 24 deletions patches/bob-the-bundler+5.0.1.patch

This file was deleted.

Loading

0 comments on commit 7c87d4a

Please sign in to comment.