Skip to content

Commit

Permalink
Update dependencies for security and disabling warning on newer versi…
Browse files Browse the repository at this point in the history
…ons of react-native
  • Loading branch information
zubairaziz committed Nov 14, 2024
1 parent d4c3150 commit 3488787
Show file tree
Hide file tree
Showing 43 changed files with 4,520 additions and 7,562 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: ['current', '18']
node-version: ['22', '20', '18'] # We only support LTS versions of Node.js that are still maintained
steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.16.0
v22.11.0
13 changes: 9 additions & 4 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"files": {
"ignore": ["**/*.gen.ts", "**/generated/**"]
"ignore": ["**/*.gen.ts", "**/generated/**", "**/dist/**", "**/node_modules/**", "**/.next/**"]
},
"organizeImports": {
"enabled": true
Expand All @@ -18,19 +18,23 @@
"recommended": true,
"a11y": {
"noSvgWithoutTitle": "off",
"useAriaPropsForRole": "off"
"useAriaPropsForRole": "off",
"useSemanticElements": "off",
"useGenericFontNames": "off"
},
"complexity": {
"noForEach": "off"
},
"correctness": {
"noUnusedImports": "warn"
"noUnusedImports": "warn",
"noUnknownFunction": "off"
},
"nursery": {
"useSortedClasses": "warn"
},
"performance": {
"noAccumulatingSpread": "warn"
"noAccumulatingSpread": "warn",
"noDelete": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
Expand All @@ -41,6 +45,7 @@
"noParameterAssign": "warn"
},
"suspicious": {
"noArrayIndexKey": "off",
"noExplicitAny": "off",
"noImplicitAnyLet": "warn"
}
Expand Down
47 changes: 24 additions & 23 deletions examples/react-native-expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,39 +19,40 @@
"preset": "jest-expo"
},
"dependencies": {
"@expo/vector-icons": "^14.0.2",
"@quiltt/react-native": "3.7.1",
"@expo/vector-icons": "^14.0.4",
"@quiltt/react-native": "3.7.4",
"@react-navigation/native": "6.0.2",
"base-64": "1.0.0",
"expo": "~51.0.17",
"expo-constants": "~16.0.2",
"expo-font": "~12.0.7",
"expo-linking": "6.3.1",
"expo-router": "~3.5.17",
"expo-splash-screen": "~0.27.5",
"expo-status-bar": "1.12.1",
"expo-system-ui": "~3.0.7",
"expo-web-browser": "13.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.74.3",
"react-native-gesture-handler": "2.16.1",
"react-native-reanimated": "3.10.1",
"react-native-safe-area-context": "4.10.1",
"react-native-screens": "3.31.1",
"expo": "~52.0.6",
"expo-constants": "~17.0.3",
"expo-font": "~13.0.1",
"expo-linking": "~7.0.2",
"expo-router": "~4.0.5",
"expo-splash-screen": "~0.29.9",
"expo-status-bar": "~2.0.0",
"expo-system-ui": "~4.0.2",
"expo-web-browser": "~14.0.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-native": "0.76.1",
"react-native-gesture-handler": "~2.20.2",
"react-native-reanimated": "~3.16.1",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "~4.0.0",
"react-native-url-polyfill": "2.0.0",
"react-native-web": "0.19.10",
"react-native-webview": "13.8.6"
"react-native-web": "~0.19.13",
"react-native-webview": "13.12.2"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.1.6",
"@types/jest": "29.5.12",
"@types/react": "~18.2.79",
"@types/react": "18.3.12",
"@types/react-test-renderer": "18.0.7",
"jest": "^29.4.0",
"jest-expo": "~51.0.3",
"jest-expo": "~52.0.1",
"react-test-renderer": "18.2.0",
"typescript": "~5.3.3"
"typescript": "5.6.3"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 3488787

Please sign in to comment.