Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
awlayton committed Jul 16, 2024
1 parent 6b9e7f1 commit b28e0b5
Show file tree
Hide file tree
Showing 7 changed files with 876 additions and 715 deletions.
17 changes: 16 additions & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ overrides:
ecmaVersion: 2020
project: ./**/tsconfig*.json
rules:
prettier/prettier: off
'@typescript-eslint/naming-convention':
[
error,
{ selector: default, format: [camelCase] },
{ selector: import, modifiers: [default], format: null },
{ selector: objectLiteralProperty, format: null },
{ selector: enumMember, format: [PascalCase] },
{ selector: typeProperty, format: null },
Expand All @@ -63,6 +65,7 @@ overrides:
format: [camelCase, UPPER_CASE],
leadingUnderscore: allow,
},
{ selector: variable, modifiers: [destructured], format: null },
{
selector: parameter,
format: [camelCase],
Expand All @@ -77,6 +80,7 @@ overrides:
},

{ selector: typeLike, format: [PascalCase] },
{ selector: parameter, modifiers: [destructured], format: null },
]
'@typescript-eslint/restrict-template-expressions': 0
'@typescript-eslint/no-shadow': warn
Expand Down Expand Up @@ -114,6 +118,7 @@ rules:
*/
onNonMatchingHeader: append
nonMatchingTolerance: 0.7
'@typescript-eslint/no-shadow': [warn, { allow: [_] }]
sonarjs/no-duplicate-string: [warn, { threshold: 5 }]
sonarjs/cognitive-complexity: warn
eslint-comments/no-unused-disable: off
Expand All @@ -125,15 +130,25 @@ rules:
i18n-text/no-en: off
eslint-comments/no-use: off
no-secrets/no-secrets: [error, { tolerance: 5 }]
no-empty-label: 0
no-empty-label: off
no-warning-comments: 0
node/no-missing-import: off
import/no-unresolved: off
unicorn/prefer-spread: off
unicorn/prevent-abbreviations:
- warn
- replacements:
db: false
req: false
res: false
err: false
doc: false
docs: false
no-constructor-bind/no-constructor-bind: error
no-constructor-bind/no-constructor-state: error
sort-imports: [warn, { allowSeparatedGroups: true }]
ava/no-ignored-test-files: off
ava/no-import-test-files: off
ava/no-skip-test: warn
ava/no-skip-assert: warn
ava/use-test: off
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,6 @@ dist
.yarn/*
!.yarn/releases
!.yarn/plugins
!.yarn/patches
!.yarn/versions
.pnp.*
626 changes: 313 additions & 313 deletions .yarn/releases/yarn-4.2.2.cjs → .yarn/releases/yarn-4.3.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ compressionLevel: mixed

enableGlobalCache: false

yarnPath: .yarn/releases/yarn-4.2.2.cjs
yarnPath: .yarn/releases/yarn-4.3.1.cjs
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qlever-llc/unfisk",
"version": "2.2.0",
"version": "2.2.1",
"description": "OADA uservice to \"unflatten\" a list into a list of links",
"author": "Alex Layton <[email protected]>",
"license": "Apache-2.0",
Expand Down Expand Up @@ -51,23 +51,23 @@
"@oada/lib-prom": "^3.8.0",
"@oada/pino-debug": "^3.10.0",
"convict": "^6.2.4",
"debug": "^4.3.4",
"debug": "^4.3.5",
"dotenv": "^16.4.5",
"moment": "^2.30.1",
"tslib": "^2.6.2"
"tslib": "^2.6.3"
},
"devDependencies": {
"@ava/typescript": "^5.0.0",
"@tsconfig/node16": "^16.1.3",
"@types/convict": "^6.1.6",
"@types/debug": "^4.1.12",
"@types/node": "^20.12.12",
"@types/node": "^20.14.11",
"@types/prettier": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"@yarnpkg/sdks": "^3.1.2",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"@yarnpkg/sdks": "^3.1.3",
"ava": "6.1.3",
"c8": "^9.1.0",
"c8": "^10.1.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-xo": "^0.45.0",
Expand All @@ -79,25 +79,25 @@
"eslint-plugin-escompat": "^3.4.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-github": "^5.0.0-2",
"eslint-plugin-github": "^5.0.1",
"eslint-plugin-i18n-text": "^1.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-no-constructor-bind": "^2.0.4",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-no-secrets": "^1.0.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-notice": "^0.9.10",
"eslint-plugin-notice": "^1.0.0",
"eslint-plugin-optimize-regex": "^1.2.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-regexp": "^2.5.0",
"eslint-plugin-security": "^3.0.0",
"eslint-plugin-promise": "^6.4.0",
"eslint-plugin-regexp": "^2.6.0",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-sonarjs": "^1.0.3",
"eslint-plugin-unicorn": "^53.0.0",
"prettier": "^3.2.5",
"typescript": "^5.4.5"
"eslint-plugin-unicorn": "^54.0.0",
"prettier": "^3.3.3",
"typescript": "^5.5.3"
},
"packageManager": "yarn@4.2.2",
"packageManager": "yarn@4.3.1",
"volta": {
"node": "20.13.1"
}
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import config from './config.js';
// Import this _before_ pino and/or DEBUG
import '@oada/pino-debug';

import { join } from 'node:path';
import { join } from 'node:path/posix';
import { setTimeout } from 'node:timers/promises';

import debug from 'debug';
Expand Down Expand Up @@ -193,6 +193,7 @@ async function flatHandler(conn: OADAClient, change: Readonly<Change>) {
break;
}

// eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check
default: {
warn('Ignoring unknown change type %s to flat list', type);
}
Expand Down
Loading

0 comments on commit b28e0b5

Please sign in to comment.