Skip to content

Commit 51622bc

Browse files
authored
fix: security vulnerabilities (#33)
* fix: security vulnerabilities * fix: commitlint config
1 parent 6776880 commit 51622bc

File tree

7 files changed

+1073
-886
lines changed

7 files changed

+1073
-886
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,7 @@ yarn-error.*
3636

3737
# typescript
3838
*.tsbuildinfo
39+
40+
# misc
41+
.history
42+
lefthook.yml

commitlint.config.cjs

Lines changed: 0 additions & 9 deletions
This file was deleted.

commitlint.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import conventional from '@commitlint/config-conventional';
2+
import { UserConfig } from '@commitlint/types';
3+
4+
const config: UserConfig = {
5+
extends: ['@commitlint/config-conventional'],
6+
rules: {
7+
'type-enum': [2, 'always', [...conventional.rules['type-enum'][2], 'release']],
8+
},
9+
};
10+
11+
export default config;

package.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,12 @@
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
99
"devDependencies": {
10-
"@commitlint/cli": "^18.6.1",
11-
"@commitlint/config-conventional": "^18.6.1",
12-
"@commitlint/types": "^18.6.1",
13-
"husky": "^9.0.11"
10+
"@commitlint/cli": "^19.6.0",
11+
"@commitlint/config-conventional": "^19.6.0",
12+
"@commitlint/types": "^19.5.0",
13+
"husky": "^9.1.7"
1414
},
1515
"engines": {
1616
"pnpm": "^9"
17-
},
18-
"pnpm": {
19-
"overrides": {
20-
"@expo/config>semver@^7": "^7.6.0",
21-
"@expo/image-utils>semver@^7": "^7.6.0"
22-
}
2317
}
2418
}

packages/rn-sample/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@
1515
"@expo/metro-runtime": "~3.2.1",
1616
"@logto/rn": "workspace:^",
1717
"@react-native-async-storage/async-storage": "^1.23.1",
18-
"expo": "~51.0.8",
18+
"expo": "~51.0.38",
1919
"expo-crypto": "^13.0.2",
2020
"expo-secure-store": "^13.0.1",
2121
"expo-status-bar": "~1.12.1",
2222
"expo-web-browser": "^13.0.3",
23-
"react": "18.2.0",
24-
"react-dom": "18.2.0",
23+
"react": "18.3.1",
24+
"react-dom": "18.3.1",
2525
"react-native": "0.74.1",
2626
"react-native-web": "~0.19.6"
2727
},
2828
"devDependencies": {
2929
"@babel/core": "^7.24.4",
3030
"@silverhand/eslint-config": "^6.0.1",
3131
"@silverhand/eslint-config-react": "^6.0.2",
32-
"@types/react": "~18.2.79",
32+
"@types/react": "~18.3.0",
3333
"eslint": "^8.57.0",
3434
"prettier": "^3.2.5",
3535
"stylelint": "^15.0.0",

packages/rn/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"prettier": "^3.2.5",
4343
"stylelint": "^15.0.0",
4444
"typescript": "^5.4.5",
45-
"vitest": "^1.5.0"
45+
"vitest": "^2.1.8"
4646
},
4747
"eslintConfig": {
4848
"extends": "@silverhand/react"

0 commit comments

Comments
 (0)