Skip to content

Commit

Permalink
Update dependency upgrades - non-major (#208)
Browse files Browse the repository at this point in the history
* Update dependency upgrades - non-major

* Check types in JavaScript files

* Disable UpLeveled ESLint database auth config

This project is an exercise in spotting security problems, and the UpLeveled
ESLint database auth config makes it easier to spot the problems

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Karl Horky <karl.horky@gmail.com>
  • Loading branch information
renovate[bot] and karlhorky authored Jun 14, 2024
1 parent aec34f9 commit be97481
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 61 deletions.
10 changes: 9 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
export { default } from 'eslint-config-upleveled';
import upleveled from 'eslint-config-upleveled';

const config = upleveled.filter(({ name }) => {
// Disable UpLeveled database auth config, since this
// is an exercise to try to spot security problems
return name !== 'upleveled:database-auth';
});

export default config;
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
"dotenv-safe": "9.1.0",
"jsdom": "24.1.0",
"ley": "0.8.1",
"next": "14.2.3",
"next": "14.2.4",
"postgres": "3.4.4",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-markdown": "9.0.1",
"sass": "1.77.4",
"sass": "1.77.5",
"sharp": "0.33.4",
"tsm": "2.3.0",
"zod": "3.23.8"
},
"devDependencies": {
"@ts-safeql/eslint-plugin": "3.3.0",
"@ts-safeql/eslint-plugin": "3.3.1",
"@types/bcrypt": "5.0.2",
"@types/dompurify": "3.0.5",
"@types/dotenv-safe": "8.1.6",
Expand Down
112 changes: 56 additions & 56 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"name": "next"
}
],
"jsx": "preserve"
"jsx": "preserve",
"checkJs": true
},
"include": [
"**/*.ts",
Expand Down

0 comments on commit be97481

Please sign in to comment.