Files
turso/examples/react-native/package.json
Pekka Enberg 3b7cbd2779 examples/react-native: update dependencies for security advisories
Dependabot flagged five advisories against the example's lockfile:
@babel/core arbitrary file read, qs stringify DoS, launch-editor NTLMv2
hash disclosure, and fast-xml-parser comment/CDATA injection.

Four clear through `npm audit fix` without touching package.json.
fast-xml-parser arrives via @react-native-community/cli, whose 20.0.0 pin
still resolves the 4.x line, so bump the three CLI pins to 20.2.0 to pick
up fast-xml-parser 5.11.1, past the 5.7.0 fix.

The two image-size advisories stay open. Their range is <=2.0.2 and 2.0.2
is the newest published version, so no patched release exists yet, and
metro pins image-size ^1.0.2 anyway.

Tests: npm install succeeds; npm audit reports only the image-size chain
2026-08-30 13:27:37 +03:00

45 lines
1.3 KiB
JSON

{
"name": "TursoExample",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"test": "jest"
},
"dependencies": {
"@react-native/new-app-screen": "0.83.1",
"@tursodatabase/sync-react-native": "file:../../bindings/react-native",
"react": "19.2.0",
"react-native": "0.83.1",
"react-native-safe-area-context": "^5.5.2"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@eslint/eslintrc": "^3.3.5",
"@react-native-community/cli": "20.2.0",
"@react-native-community/cli-platform-android": "20.2.0",
"@react-native-community/cli-platform-ios": "20.2.0",
"@react-native/babel-preset": "0.83.1",
"@react-native/eslint-config": "0.83.1",
"@react-native/metro-config": "0.83.1",
"@react-native/typescript-config": "0.83.1",
"@types/jest": "^29.5.13",
"@types/react": "^19.2.0",
"@types/react-test-renderer": "^19.1.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"eslint": "^10.2.0",
"jest": "^29.6.3",
"prettier": "2.8.8",
"react-test-renderer": "19.2.0",
"typescript": "^5.8.3"
},
"engines": {
"node": ">=20"
}
}