Commit Graph

76 Commits

Author SHA1 Message Date
Pekka Enberg
be31b611cd examples/react-native: update metro to 0.83.8 to drop image-size
Dependabot alert #547 flags image-size 1.2.1 in the react-native
example lockfile (GHSA: ICNS parser infinite loop, fixed in 2.0.3).
Dependabot cannot fix it on its own because metro 0.83.5 requires
image-size ^1.0.2.

metro 0.83.8 no longer depends on image-size at all and fits the
existing ^0.83.3 range from @react-native/community-cli-plugin, so
updating the metro packages in the lockfile removes the vulnerable
package without an override. package.json is unchanged.

Tests: `npm ci` in examples/react-native succeeds and `npm ls
image-size` no longer resolves it from the example's own tree.
2026-10-15 11:30:48 +03:00
dependabot[bot]
56a08cb58c build(deps): bump compression in /examples/react-native
Bumps [compression](https://github.com/expressjs/compression) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/expressjs/compression/releases)
- [Changelog](https://github.com/expressjs/compression/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/compression/compare/v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: compression
  dependency-version: 1.8.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-14 07:42:51 +00:00
Pekka Enberg
9200158753 Merge 'build(deps): bump shell-quote from 1.10.0 to 1.12.0 in /examples/react-native' from app/dependabot
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.10.0
to 1.12.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a
href="https://github.com/ljharb/shell-
quote/blob/main/CHANGELOG.md">shell-quote's changelog</a>.</em></p>
<blockquote> <h2><a href="https://github.com/ljharb/shell-
quote/compare/v1.11.0...v1.12.0">v1.12.0</a> - 2026-10-02</h2>
<h3>Fixed</h3> <ul> <li>[New] <code>parse</code>: support here-documents
(<code>&amp;lt;&amp;lt;</code>) <a
href="https://redirect.github.com/ljharb/shell-
quote/issues/31"><code>[#31](https://github.com/ljharb/shell-
quote/issues/31)</code></a></li> </ul> <h3>Commits</h3> <ul> <li>[New]
<code>parse</code>: support tab-stripping here-documents
(<code>&amp;lt;&amp;lt;-</code>) <a
href="https://github.com/ljharb/shell-quote/commit/dbfac376d4065d37539d3
abdb5e76847f93797d3"><code>dbfac37</code></a></li> <li>[New]
<code>parse</code>: support output process substitution
(<code>&amp;gt;(</code>) <a href="https://github.com/ljharb/shell-quote/
commit/20533154bb57809c80f55318b8493aef49505f4e"><code>2053315</code></a
></li> <li>[New] <code>parse</code>: support the <code>case</code> test-
next terminator (<code>;;&amp;</code>) <a
href="https://github.com/ljharb/shell-quote/commit/7d688b9bec1917a22cccd
4d4c887128a9c66e8a0"><code>7d688b9</code></a></li> <li>[New]
<code>parse</code>: support the <code>case</code> fall-through
terminator (<code>;&amp;</code>) <a
href="https://github.com/ljharb/shell-quote/commit/f27010ed04bcd925795b3
50afb1c49e36bbd1ba3"><code>f27010e</code></a></li> <li>[New]
<code>parse</code>: support redirecting output despite
<code>noclobber</code> (<code>&amp;gt;|</code>) <a
href="https://github.com/ljharb/shell-quote/commit/b78d19c14da6356cc12c4
6b3478203247ab8a295"><code>b78d19c</code></a></li> <li>[New]
<code>parse</code>: support opening a file for reading and writing
(<code>&amp;lt;&amp;gt;</code>) <a
href="https://github.com/ljharb/shell-quote/commit/21cc333eb0ce5bf094f59
5b7fdc01b3447ffd4b0"><code>21cc333</code></a></li> <li>[New]
<code>parse</code>: support redirecting stdout and stderr
(<code>&amp;&amp;gt;</code>) <a href="https://github.com/ljharb/shell-qu
ote/commit/6ad6cd215f89adcc29dd601e085fa54083c2f911"><code>6ad6cd2</code
></a></li> <li>[New] <code>parse</code>: support appending stdout and
stderr (<code>&amp;&amp;gt;&amp;gt;</code>) <a
href="https://github.com/ljharb/shell-quote/commit/90cde9cfd8af30fcb65e9
fd2cb2f9e181d3f103b"><code>90cde9c</code></a></li> <li>[Dev Deps] update
<code>@ljharb/eslint-config</code> <a
href="https://github.com/ljharb/shell-quote/commit/3a7b4ae3960c3ff441393
2e276c5b0ecb3a2b456"><code>3a7b4ae</code></a></li> </ul> <h2><a
href="https://github.com/ljharb/shell-
quote/compare/v1.10.0...v1.11.0">v1.11.0</a> - 2026-09-29</h2>
<h3>Fixed</h3> <ul> <li>[Refactor] <code>quote</code>: drop a replace
that can never match in the single-quote branch <a
href="https://redirect.github.com/ljharb/shell-
quote/issues/15"><code>[#15](https://github.com/ljharb/shell-
quote/issues/15)</code></a></li> <li>[New] <code>parse</code>: support
bash ANSI-C quoting (<code>$'...'</code>) <a
href="https://redirect.github.com/ljharb/shell-
quote/issues/32"><code>[#32](https://github.com/ljharb/shell-
quote/issues/32)</code></a></li> </ul> <h3>Commits</h3> <ul> <li>[Fix]
<code>quote</code>: reject line terminators in tokens after a
<code>comment</code> <a href="https://github.com/ljharb/shell-quote/comm
it/6002b2ed90c6b83095eb272b6b0adaf3a172b0bc"><code>6002b2e</code></a></l
i> <li>[Fix] <code>parse</code>: preserve text after special shell
parameters <a href="https://github.com/ljharb/shell-quote/commit/81b08a5
32e898a3627f9305fa13d643ffa82a9d3"><code>81b08a5</code></a></li>
<li>[Fix] <code>parse</code>: an escaped backslash does not escape the
character after it <a href="https://github.com/ljharb/shell-quote/commit
/d708019016ce26e1a8a05af4b296e35ef8095c9e"><code>d708019</code></a></li>
<li>[Fix] <code>quote</code>: preserve <code>!</code> in arguments that
also contain <code>'</code> <a href="https://github.com/ljharb/shell-quo
te/commit/ad399279dbbbd086967d2040c1558b4888b074e6"><code>ad39927</code>
</a></li> <li>[Fix] <code>parse</code>: treat <code>$_name</code> as a
variable name, not <code>$_</code> followed by text <a
href="https://github.com/ljharb/shell-quote/commit/28f88cd422ae4046aca95
56c4b74ca90b0ea7f6b"><code>28f88cd</code></a></li> <li>[Fix]
<code>quote</code>: preserve empty glob patterns <a
href="https://github.com/ljharb/shell-quote/commit/35c9b97a744211091b772
f145bef0b6a5562b68e"><code>35c9b97</code></a></li> <li>[Fix]
<code>quote</code>: escape <code>~</code> in glob patterns to prevent
shell tilde-expansion <a href="https://github.com/ljharb/shell-quote/com
mit/239d49cae6d231436ea4e676850037018c790c49"><code>239d49c</code></a></
li> <li>[Dev Deps] update <code>@ljharb/eslint-config</code>,
<code>auto-changelog</code>, <code>eslint</code>, <code>evalmd</code> <a
href="https://github.com/ljharb/shell-quote/commit/b1e406ed4287a134cc649
db47b9a59e21b304472"><code>b1e406e</code></a></li> <li>[meta] npmignore
some files <a href="https://github.com/ljharb/shell-quote/commit/ebfc308
0cf5f68db5edfddfba49dc8c4ccacd2d5"><code>ebfc308</code></a></li>
<li>[actions] add permissions <a href="https://github.com/ljharb/shell-q
uote/commit/3429b0d349211786765e9e68478e029d96ad44e9"><code>3429b0d</cod
e></a></li> <li>[actions] set least-privilege <code>cache-mode</code> <a
href="https://github.com/ljharb/shell-quote/commit/36f23944db50dd3f0df4d
a9c7cba0bb63df05f64"><code>36f2394</code></a></li> <li>[Dev Deps] update
<code>eslint</code> <a href="https://github.com/ljharb/shell-quote/commi
t/6de9a41ecfc4fe9f9546df08866c8ead039f8909"><code>6de9a41</code></a></li
> </ul> </blockquote> </details> <details> <summary>Commits</summary>
<ul> <li><a href="https://github.com/ljharb/shell-quote/commit/6ecb8aa61
8ba6dc6c3b087fce6d7660320d2adeb"><code>6ecb8aa</code></a> v1.12.0</li>
<li><a href="https://github.com/ljharb/shell-quote/commit/3a7b4ae3960c3f
f4413932e276c5b0ecb3a2b456"><code>3a7b4ae</code></a> [Dev Deps] update
<code>@ljharb/eslint-config</code></li> <li><a
href="https://github.com/ljharb/shell-quote/commit/7d688b9bec1917a22cccd
4d4c887128a9c66e8a0"><code>7d688b9</code></a> [New] <code>parse</code>:
support the <code>case</code> test-next terminator
(<code>;;&amp;</code>)</li> <li><a
href="https://github.com/ljharb/shell-quote/commit/f27010ed04bcd925795b3
50afb1c49e36bbd1ba3"><code>f27010e</code></a> [New] <code>parse</code>:
support the <code>case</code> fall-through terminator
(<code>;&amp;</code>)</li> <li><a href="https://github.com/ljharb/shell-
quote/commit/90cde9cfd8af30fcb65e9fd2cb2f9e181d3f103b"><code>90cde9c</co
de></a> [New] <code>parse</code>: support appending stdout and stderr
(<code>&amp;&gt;&gt;</code>)</li> <li><a
href="https://github.com/ljharb/shell-quote/commit/6ad6cd215f89adcc29dd6
01e085fa54083c2f911"><code>6ad6cd2</code></a> [New] <code>parse</code>:
support redirecting stdout and stderr (<code>&amp;&gt;</code>)</li>
<li><a href="https://github.com/ljharb/shell-quote/commit/20533154bb5780
9c80f55318b8493aef49505f4e"><code>2053315</code></a> [New]
<code>parse</code>: support output process substitution
(<code>&gt;(</code>)</li> <li><a href="https://github.com/ljharb/shell-q
uote/commit/b78d19c14da6356cc12c46b3478203247ab8a295"><code>b78d19c</cod
e></a> [New] <code>parse</code>: support redirecting output despite
<code>noclobber</code> (<code>&gt;|</code>)</li> <li><a
href="https://github.com/ljharb/shell-quote/commit/21cc333eb0ce5bf094f59
5b7fdc01b3447ffd4b0"><code>21cc333</code></a> [New] <code>parse</code>:
support opening a file for reading and writing
(<code>\&lt;&gt;</code>)</li> <li><a
href="https://github.com/ljharb/shell-quote/commit/dbfac376d4065d37539d3
abdb5e76847f93797d3"><code>dbfac37</code></a> [New] <code>parse</code>:
support tab-stripping here-documents (<code>&lt;&lt;-</code>)</li>
<li>Additional commits viewable in <a
href="https://github.com/ljharb/shell-
quote/compare/v1.10.0...v1.12.0">compare view</a></li> </ul> </details>
<br />

[![Dependabot compatibility score](https://dependabot-
badges.githubapp.com/badges/compatibility_score?dependency-name=shell-
quote&package-manager=npm_and_yarn&previous-version=1.10.0&new-
version=1.12.0)](https://docs.github.com/en/github/managing-security-
vulnerabilities/about-dependabot-security-updates#about-compatibility-
scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end)

---

<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/tursodatabase/turso/network/alerts).

</details>

Closes #9867
2026-10-14 10:38:38 +03:00
dependabot[bot]
6f224c1ba9 build(deps): bump shell-quote in /examples/react-native
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.10.0 to 1.12.0.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.10.0...v1.12.0)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.12.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-14 07:14:24 +00:00
dependabot[bot]
5cfb203d39 build(deps): bump joi from 17.13.6 to 17.13.8 in /examples/react-native
Bumps [joi](https://github.com/hapijs/joi) from 17.13.6 to 17.13.8.
- [Commits](https://github.com/hapijs/joi/compare/v17.13.6...v17.13.8)

---
updated-dependencies:
- dependency-name: joi
  dependency-version: 17.13.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-14 07:13:03 +00:00
Pekka Enberg
230f652b5b deps: update brace-expansion to fix quadratic parsing of trailing braces
Expanding input shaped like {a}}}}...,z} takes time quadratic in the
number of literal } characters. The parser rewrites the string and
restarts the scan once per brace, and each rewrite also grows the
working string by about 25 characters. A 128 KB pattern blocks the
event loop for close to half a minute. The max and maxLength caps do
not help because the cost is in parsing, before any results exist.

Every major line in use here is affected, so this moves each pinned
copy to the patched release on its own line: 1.1.21, 2.1.7 and 5.0.12.
npm also re-synced stale metadata for the locally linked
@tursodatabase packages while rewriting the lockfiles.

Tests: ran the advisory's reproduction against serverless/javascript
before and after npm ci. On 2.1.4, n=32000 took 2358 ms. On 2.1.7 it
took 15 ms.
2026-10-14 09:49:10 +03:00
dependabot[bot]
8add9f2226 build(deps): bump browserslist in /examples/react-native
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.28.2 to 4.29.1.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.28.2...4.29.1)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-version: 4.29.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-27 16:07:07 +00:00
dependabot[bot]
bca3fe583d build(deps): bump baseline-browser-mapping in /examples/react-native
Bumps [baseline-browser-mapping](https://github.com/web-platform-dx/baseline-browser-mapping) from 2.10.16 to 2.11.24.
- [Release notes](https://github.com/web-platform-dx/baseline-browser-mapping/releases)
- [Commits](https://github.com/web-platform-dx/baseline-browser-mapping/compare/v2.10.16...v2.11.24)

---
updated-dependencies:
- dependency-name: baseline-browser-mapping
  dependency-version: 2.11.24
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-17 14:42:26 +00:00
dependabot[bot]
e68af49f45 build(deps-dev): bump @humanfs/node in /examples/react-native
Bumps [@humanfs/node](https://github.com/humanwhocodes/humanfs/tree/HEAD/packages/node) from 0.16.7 to 0.16.8.
- [Release notes](https://github.com/humanwhocodes/humanfs/releases)
- [Changelog](https://github.com/humanwhocodes/humanfs/blob/main/packages/node/CHANGELOG.md)
- [Commits](https://github.com/humanwhocodes/humanfs/commits/node-v0.16.8/packages/node)

---
updated-dependencies:
- dependency-name: "@humanfs/node"
  dependency-version: 0.16.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-17 11:42:57 +00:00
dependabot[bot]
41b77c4212 build(deps): bump json from 2.19.2 to 2.19.9 in /examples/react-native
Bumps [json](https://github.com/ruby/json) from 2.19.2 to 2.19.9.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](https://github.com/ruby/json/compare/v2.19.2...v2.19.9)

---
updated-dependencies:
- dependency-name: json
  dependency-version: 2.19.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-30 16:09:12 +00:00
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
Amp
c407d40a02 bindings/react-native: update vulnerable transitive dependencies
Refresh the binding and example locks to fixed brace-expansion, js-yaml, ws, and Babel SystemJS plugin versions. image-size remains unchanged because upstream has not published a fixed release.

Tests: npm ci --ignore-scripts in both projects; npm run typescript in bindings/react-native; npm audit --package-lock-only
Co-authored-by: pedro muniz <pedro.muniz.carlo@gmail.com>
2026-08-29 15:37:43 +03:00
Pekka Enberg
5f6098a0cf repo: renormalize gradlew.bat line endings to lf in the index
Commit 59bfb15f3 added .gitattributes with '*.bat text eol=crlf', but
bindings/java/gradlew.bat and examples/react-native/android/gradlew.bat
were committed with crlf blobs and missed by the renormalize pass. Git
stores text files with lf in the index and only converts to crlf on
checkout, so the stale crlf blobs made these files show up as fully
modified whenever anything renormalized them.

git add --renormalize rewrites the blobs to lf; checkouts still produce
crlf on disk via the eol=crlf attribute.
2026-08-17 12:18:59 +03:00
dependabot[bot]
d7fe90adf9 build(deps): bump ws in /examples/react-native
Bumps  and [ws](https://github.com/websockets/ws). These dependencies needed to be updated together.

Updates `ws` from 6.2.3 to 6.2.4
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/6.2.3...6.2.4)

Updates `ws` from 7.5.10 to 7.5.11
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/6.2.3...6.2.4)

---
updated-dependencies:
- dependency-name: ws
  dependency-version: 6.2.4
  dependency-type: indirect
- dependency-name: ws
  dependency-version: 7.5.11
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-13 05:35:31 +00:00
dependabot[bot]
cf5980cd11 build(deps): bump shell-quote in /examples/react-native
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.3 to 1.10.0.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.8.3...v1.10.0)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.10.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-12 11:22:15 +00:00
dependabot[bot]
cd64429446 Bump concurrent-ruby from 1.3.3 to 1.3.7 in /examples/react-native
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.3.3 to 1.3.7.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases)
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.3.3...v1.3.7)

---
updated-dependencies:
- dependency-name: concurrent-ruby
  dependency-version: 1.3.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-29 05:12:20 +00:00
copilot-swe-agent[bot]
1ce23a8c9b Resolve merge conflicts: keep activesupport 7.2.3.1, addressable 2.9.0 from main
Co-authored-by: penberg <81939+penberg@users.noreply.github.com>
2026-04-23 13:57:08 +00:00
dependabot[bot]
ea850936c1 Bump json from 2.18.0 to 2.19.2 in /examples/react-native
Bumps [json](https://github.com/ruby/json) from 2.18.0 to 2.19.2.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](https://github.com/ruby/json/compare/v2.18.0...v2.19.2)

---
updated-dependencies:
- dependency-name: json
  dependency-version: 2.19.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-21 12:53:54 +00:00
dependabot[bot]
b73a0c173d Bump addressable from 2.8.8 to 2.9.0 in /examples/react-native
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.8.8 to 2.9.0.
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.8.8...addressable-2.9.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-version: 2.9.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-21 10:51:39 +00:00
dependabot[bot]
461be50643 Bump activesupport from 7.2.3 to 7.2.3.1 in /examples/react-native
Bumps [activesupport](https://github.com/rails/rails) from 7.2.3 to 7.2.3.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.1.3/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v7.2.3...v7.2.3.1)

---
updated-dependencies:
- dependency-name: activesupport
  dependency-version: 7.2.3.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-21 10:50:29 +00:00
Pekka Enberg
eab85f6696 Update eslint to 10.2.0
Bump eslint from ^8 to ^10.2.0 in bindings/react-native and
examples/react-native to resolve dependabot alerts for vulnerable
transitive dependencies (minimatch, flatted, picomatch, etc).

Migrate examples/react-native from .eslintrc.js to eslint.config.js
(flat config) since eslint 10 dropped legacy config support. Add
@eslint/eslintrc for FlatCompat bridge with @react-native/eslint-config.
2026-04-12 08:42:53 +03:00
Pekka Enberg
10d9db4980 Update lodash to 4.18.1
Addresses GHSA-f23m-r3pf-42rh / CVE-2026-2950: lodash versions <= 4.17.23
are vulnerable to prototype pollution in `_.unset` and `_.omit`. The
prior fix for CVE-2025-13465 only guarded against string key members,
so an attacker can bypass it by passing array-wrapped path segments,
allowing deletion of properties from built-in prototypes such as
`Object.prototype`, `Number.prototype`, and `String.prototype`.

lodash is only used transitively by dev dependencies in our JS example
and test projects (ava, react-native toolchain), but bump it anyway to
clear the dependabot alert.
2026-04-06 13:19:07 +03:00
Jussi Saurio
69aea92084 react-native: add concurrent read test to example app 2026-03-03 10:23:56 +02:00
Jussi Saurio
5c16f0e696 Adjust React Native example app instructions 2026-02-24 18:26:50 +02:00
Nikita Sivukhin
e301056668 add simple concurrency tests in the example app 2026-02-10 23:28:45 +01:00
Nikita Sivukhin
a5cb795a3c make example tests more robust 2026-02-09 22:57:42 +01:00
Nikita Sivukhin
b7eb0008c5 Add logger callback support to React Native bindings
Forward Rust tracing logs to JavaScript via a user-provided callback
in setup(), matching the pattern used by Go and Python bindings. The C
callback copies log data and schedules JS execution via CallInvoker to
handle cross-thread safety.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 21:09:40 +01:00
Nikita Sivukhin
9d80f06158 Fix RunResult.lastInsertRowid always returning 0
Pass the NativeConnection to Statement so run() can read
lastInsertRowid from it after execution. Previously it was
hardcoded to 0 with a TODO comment.

Also add a lastInsertRowid assertion to the React Native example
app's INSERT test to verify the fix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 20:36:24 +01:00
Alexandra Makushina
ea769712ce some changes after mac build 2026-01-28 17:26:43 +04:00
Nikita Sivukhin
a0e398e042 commit lock file changes 2026-01-28 13:17:41 +00:00
Nikita Sivukhin
d8929f25a8 update readme and slightly fix tests 2026-01-28 15:55:28 +04:00
Nikita Sivukhin
245ab632e7 fix example imports 2026-01-28 15:05:13 +04:00
Nikita Sivukhin
0bf91de4c3 add sync and encryption tests in the example app 2026-01-28 14:36:42 +04:00
Alexandra Makushina
60edbf49a8 mac fixes after package rename 2026-01-23 17:20:07 +04:00
Nikita Sivukhin
5641642dc3 fixes for macos build and publishing 2026-01-20 13:08:40 +04:00
Nikita Sivukhin
eef3e8f7f5 fixes after macos build 2026-01-19 16:21:04 +04:00
Nikita Sivukhin
29c31e7569 small adjustments 2026-01-19 10:12:41 +00:00
Nikita Sivukhin
0ca3f485f7 add explicit dependency from library 2026-01-19 10:11:02 +00:00
Nikita Sivukhin
92706003fb remove explicit dependency from example 2026-01-19 12:34:30 +04:00
Nikita Sivukhin
d5b04bb5c1 add react-native.config.js - otherwise example build can't properly link with bindings 2026-01-19 12:10:59 +04:00
Nikita Sivukhin
44c2d9b8b0 recreate example app 2026-01-19 11:52:21 +04:00
Nikita Sivukhin
300882e034 init example app from scratch: npx @react-native-community/cli@latest init TursoExample --directory react-native --pm npm --skip-git-init 2026-01-19 11:42:58 +04:00
Nikita Sivukhin
72d6bc4122 weird stuff 2026-01-18 22:08:47 +00:00
Nikita Sivukhin
bda0e6aadd remove samples 2026-01-19 02:00:25 +04:00
Nikita Sivukhin
e5abcad59f some ios code 2026-01-19 00:33:41 +04:00
Nikita Sivukhin
ff5d9e21a3 no something works 2026-01-18 20:05:11 +00:00
Nikita Sivukhin
a4ece4869e wip 2026-01-18 17:21:41 +00:00
Nikita Sivukhin
c8eb5b52ab claude cooking 2026-01-18 16:33:42 +00:00
Nikita Sivukhin
c3e73f4c64 small fixes 2026-01-18 15:39:12 +00:00
Nikita Sivukhin
f9f8c5b8f0 wip 2026-01-18 14:24:22 +00:00