Skip to content

Commit

Permalink
⬆️ Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
KirianCaumes committed Jul 20, 2024
1 parent a564c56 commit 53b4dab
Show file tree
Hide file tree
Showing 9 changed files with 620 additions and 809 deletions.
1 change: 0 additions & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
discogs-marketplace-api-nodejs_container:
build:
Expand Down
6 changes: 0 additions & 6 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,4 @@ module.exports = {
},
},
],
/** {@link https://github.com/import-js/eslint-plugin-import/issues/1485} */
settings: {
'import/resolver': {
typescript: {},
},
},
}
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
14 changes: 13 additions & 1 deletion cspell.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,17 @@ module.exports = {
language: 'en',
ignorePaths: ['settings.json', 'devcontainer.json', 'node_modules/**', 'build/**', 'dist/**'],
ignoreWords: ['Kirian_', 'KirianCaumes', 'knip'],
words: ['discogs', 'wantlist', 'catnos', 'devcontainer', 'gitmojis', 'mywants', 'camelcase', 'texttrack', 'domcontentloaded', 'PJAX'],
words: [
'discogs',
'wantlist',
'catnos',
'devcontainer',
'gitmojis',
'mywants',
'camelcase',
'texttrack',
'domcontentloaded',
'PJAX',
'localtime',
],
}
1,353 changes: 586 additions & 767 deletions package-lock.json

Large diffs are not rendered by default.

29 changes: 14 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,28 @@
}
],
"dependencies": {
"playwright-chromium": "^1.44.1",
"user-agents": "^1.1.225"
"playwright-chromium": "^1.45.2",
"user-agents": "^1.1.271"
},
"devDependencies": {
"@types/node": "^20.14.1",
"@types/node": "^20.14.11",
"@types/user-agents": "^1.0.4",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
"cspell": "^8.8.4",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"cspell": "^8.11.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.2.7",
"husky": "^9.0.11",
"knip": "^5.17.4",
"lint-staged": "^15.2.5",
"prettier": "^3.3.0",
"rimraf": "^5.0.7",
"eslint-plugin-jsdoc": "^48.8.3",
"husky": "^9.1.1",
"knip": "^5.26.0",
"lint-staged": "^15.2.7",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"tsc-alias": "^1.8.10",
"tsx": "^4.11.2",
"typescript": "^5.4.5"
"tsx": "^4.16.2",
"typescript": "^5.5.3"
}
}
4 changes: 2 additions & 2 deletions src/marketplace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,11 @@ export default abstract class Marketplace {
artist: originalTitle?.substring(0, firstIndexOfDash) ?? '',
item:
firstIndexOfDash > -1 && lastIndexOfParenthesis > -1
? originalTitle?.substring(firstIndexOfDash + 3, lastIndexOfParenthesis) ?? ''
? (originalTitle?.substring(firstIndexOfDash + 3, lastIndexOfParenthesis) ?? '')
: '',
formats:
lastIndexOfParenthesis > -1
? originalTitle?.substring(lastIndexOfParenthesis + 2, originalTitle.length - 1)?.split(', ') ?? []
? (originalTitle?.substring(lastIndexOfParenthesis + 2, originalTitle.length - 1)?.split(', ') ?? [])
: [],
},
url: `https://www.discogs.com${el
Expand Down
10 changes: 3 additions & 7 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
"tsc-alias": {
"resolveFullPaths": true
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules"
]
}
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 2 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,5 @@
"esModuleInterop": true,
"baseUrl": "./src"
},
"include": [
"./src",
"./test",
".eslintrc.cjs",
"cspell.config.js",
"knip.js"
]
}
"include": ["./src", "./test", ".eslintrc.cjs", "cspell.config.js", "knip.js"]
}

0 comments on commit 53b4dab

Please sign in to comment.