Skip to content

Commit

Permalink
Dependency bumps (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoe-codez authored Oct 14, 2024
1 parent 3773e85 commit 63439c1
Show file tree
Hide file tree
Showing 4 changed files with 420 additions and 297 deletions.
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,48 +47,48 @@
"node": ">=20"
},
"dependencies": {
"chalk": "^5",
"dayjs": "^1",
"dotenv": "^16",
"ini": "^4",
"js-yaml": "^4",
"minimist": "^1",
"node-cron": "^3",
"uuid": "^9 || ^10"
"chalk": "^5.3.0",
"dayjs": "^1.11.13",
"dotenv": "^16.4.5",
"ini": "^5.0.0",
"js-yaml": "^4.1.0",
"minimist": "^1.2.8",
"node-cron": "^3.0.3",
"uuid": "^10.0.0"
},
"devDependencies": {
"@cspell/eslint-plugin": "^8.14.4",
"@eslint/compat": "^1.1.1",
"@cspell/eslint-plugin": "^8.15.1",
"@eslint/compat": "^1.2.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.11.1",
"@eslint/js": "^9.12.0",
"@faker-js/faker": "^9.0.3",
"@jest/globals": "^29.7.0",
"@types/dotenv": "^8.2.0",
"@types/ini": "^4.1.1",
"@types/jest": "^29.5.13",
"@types/js-yaml": "^4.0.9",
"@types/minimist": "^1.2.5",
"@types/node": "^22.7.3",
"@types/node": "^22.7.5",
"@types/node-cron": "^3.0.11",
"@types/sinonjs__fake-timers": "^8.1.5",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "8.7.0",
"@typescript-eslint/parser": "8.7.0",
"@typescript-eslint/eslint-plugin": "8.8.1",
"@typescript-eslint/parser": "8.8.1",
"chalk": "^5.3.0",
"dayjs": "^1.11.13",
"dotenv": "^16.4.5",
"eslint": "9.11.1",
"eslint": "9.12.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsonc": "^2.16.0",
"eslint-plugin-no-unsanitized": "^4.1.1",
"eslint-plugin-no-unsanitized": "^4.1.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sonarjs": "^2.0.2",
"eslint-plugin-sonarjs": "^2.0.3",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-unicorn": "^55.0.0",
"globals": "^15.9.0",
"eslint-plugin-unicorn": "^56.0.0",
"globals": "^15.11.0",
"ini": "^5.0.0",
"jest": "^29.7.0",
"jest-environment-node": "^29.7.0",
Expand All @@ -100,7 +100,7 @@
"tslib": "^2.7.0",
"tsx": "^4.19.1",
"type-fest": "^4.26.1",
"typescript": "^5.6.2",
"typescript": "^5.6.3",
"uuid": "^10.0.0"
},
"jest": {
Expand Down
10 changes: 5 additions & 5 deletions src/services/logger.extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export async function Logger({
}
// validated with datadog, probably is fine elsewhere too
// https://http-intake.logs.datadoghq.com/v1/input/{API_KEY}
global.fetch(httpLogTarget, {
globalThis.fetch(httpLogTarget, {
body: JSON.stringify(data),
headers: { "Content-Type": "application/json" },
method: "POST",
Expand Down Expand Up @@ -187,20 +187,20 @@ export async function Logger({
}
switch (key) {
case "warn": {
global.console.warn(message);
globalThis.console.warn(message);
return;
}
case "debug": {
global.console.debug(message);
globalThis.console.debug(message);
return;
}
case "error":
case "fatal": {
global.console.error(message);
globalThis.console.error(message);
return;
}
default: {
global.console.log(message);
globalThis.console.log(message);
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/services/wiring.extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ async function teardown(internal: InternalDefinition, logger: ILogger) {
internal.boot.completedLifecycleEvents.add("ShutdownComplete");
} catch (error) {
// ! oof
global.console.error(
globalThis.console.error(
{ error },
"error occurred during teardown, some lifecycle events may be incomplete",
);
Expand Down
Loading

0 comments on commit 63439c1

Please sign in to comment.