From 3ccd01cc93f9f76229f781156f66dd1967920aa3 Mon Sep 17 00:00:00 2001 From: Oscar Franco Date: Thu, 31 Oct 2024 11:19:08 +0100 Subject: [PATCH] clean code --- cpp/bindings.cpp | 6 +- cpp/bindings.h | 2 +- cpp/bridge.cpp | 15 +- cpp/bridge.h | 8 +- cpp/utils.cpp | 25 +-- cpp/utils.h | 1 - example/package.json | 2 +- example/src/tests/dbsetup.spec.ts | 8 +- example/src/tests/preparedStatements.spec.ts | 1 + example/src/tests/queries.spec.ts | 3 +- example/src/tests/reactive.spec.ts | 8 +- package.json | 2 +- src/index.ts | 12 +- yarn.lock | 191 ++++++++++++++----- 14 files changed, 179 insertions(+), 105 deletions(-) diff --git a/cpp/bindings.cpp b/cpp/bindings.cpp index a4cd737e..1aa502ce 100644 --- a/cpp/bindings.cpp +++ b/cpp/bindings.cpp @@ -22,7 +22,6 @@ namespace jsi = facebook::jsi; std::string _base_path; std::string _crsqlite_path; std::string _sqlite_vec_path; -std::shared_ptr _invoker; std::shared_ptr thread_pool = std::make_shared(); std::vector> dbs; @@ -47,14 +46,13 @@ void clearState() { thread_pool->restartPool(); } -void install(jsi::Runtime &rt, std::shared_ptr invoker, +void install(jsi::Runtime &rt, const std::shared_ptr& invoker, const char *base_path, const char *crsqlite_path, const char *sqlite_vec_path) { invalidated = false; _base_path = std::string(base_path); _crsqlite_path = std::string(crsqlite_path); _sqlite_vec_path = std::string(sqlite_vec_path); - _invoker = invoker; auto open = HOSTFN("open") { jsi::Object options = args[0].asObject(rt); @@ -82,7 +80,7 @@ void install(jsi::Runtime &rt, std::shared_ptr invoker, if (!location.empty()) { if (location == ":memory:") { path = ":memory:"; - } else if (location.rfind("/", 0) == 0) { + } else if (location.rfind('/', 0) == 0) { path = location; } else { path = path + "/" + location; diff --git a/cpp/bindings.h b/cpp/bindings.h index 912bd47a..30a287b6 100644 --- a/cpp/bindings.h +++ b/cpp/bindings.h @@ -9,7 +9,7 @@ namespace opsqlite { namespace jsi = facebook::jsi; namespace react = facebook::react; -void install(jsi::Runtime &rt, std::shared_ptr invoker, +void install(jsi::Runtime &rt, const std::shared_ptr& invoker, const char *base_path, const char *crsqlite_path, const char *sqlite_vec_path); void clearState(); diff --git a/cpp/bridge.cpp b/cpp/bridge.cpp index 59e5ec13..78129e6a 100644 --- a/cpp/bridge.cpp +++ b/cpp/bridge.cpp @@ -58,7 +58,7 @@ BridgeResult opsqlite_open(std::string const &name, #else BridgeResult opsqlite_open(std::string const &name, std::string const &last_path, - std::string const &crsqlite_path, + [[maybe_unused]] std::string const &crsqlite_path, std::string const &sqlite_vec_path) { if (dbMap.count(name) != 0) { @@ -253,10 +253,6 @@ BridgeResult opsqlite_execute_prepared_statement( switch (result) { case SQLITE_ROW: { - if (results == nullptr) { - break; - } - i = 0; DumbHostObject row = DumbHostObject(metadatas); @@ -314,9 +310,7 @@ BridgeResult opsqlite_execute_prepared_statement( i++; } - if (results != nullptr) { - results->emplace_back(row); - } + results->emplace_back(row); break; } @@ -641,9 +635,8 @@ BridgeResult opsqlite_execute_host_objects( } i++; } - if (results != nullptr) { - results->push_back(row); - } + + results->emplace_back(row); break; } diff --git a/cpp/bridge.h b/cpp/bridge.h index 4d0d6e7c..012a6db1 100644 --- a/cpp/bridge.h +++ b/cpp/bridge.h @@ -29,7 +29,7 @@ BridgeResult opsqlite_open(std::string const &dbName, std::string const &dbPath, std::string const &encryptionKey); #else BridgeResult opsqlite_open(std::string const &name, std::string const &path, - std::string const &crsqlite_path, + [[maybe_unused]] std::string const &crsqlite_path, std::string const &sqlite_vec_path); #endif @@ -65,13 +65,13 @@ BridgeResult opsqlite_execute_raw(std::string const &dbName, void opsqlite_close_all(); BridgeResult opsqlite_register_update_hook(std::string const &dbName, - UpdateCallback const callback); + UpdateCallback callback); BridgeResult opsqlite_deregister_update_hook(std::string const &dbName); BridgeResult opsqlite_register_commit_hook(std::string const &dbName, - CommitCallback const callback); + CommitCallback callback); BridgeResult opsqlite_deregister_commit_hook(std::string const &dbName); BridgeResult opsqlite_register_rollback_hook(std::string const &dbName, - RollbackCallback const callback); + RollbackCallback callback); BridgeResult opsqlite_deregister_rollback_hook(std::string const &dbName); sqlite3_stmt *opsqlite_prepare_statement(std::string const &dbName, diff --git a/cpp/utils.cpp b/cpp/utils.cpp index 504773d9..c1ee3e71 100644 --- a/cpp/utils.cpp +++ b/cpp/utils.cpp @@ -200,10 +200,6 @@ jsi::Value createResult(jsi::Runtime &rt, BridgeResult status, std::vector *results, std::shared_ptr> metadata) { - if (status.type == SQLiteError) { - throw std::invalid_argument(status.message); - } - jsi::Object res = jsi::Object(rt); res.setProperty(rt, "rowsAffected", status.affectedRows); @@ -212,20 +208,15 @@ createResult(jsi::Runtime &rt, BridgeResult status, } size_t rowCount = results->size(); - jsi::Object rows = jsi::Object(rt); - rows.setProperty(rt, "length", jsi::Value((int)rowCount)); - - if (rowCount > 0) { - auto array = jsi::Array(rt, rowCount); - for (int i = 0; i < rowCount; i++) { - auto obj = results->at(i); - array.setValueAtIndex(rt, i, - jsi::Object::createFromHostObject( - rt, std::make_shared(obj))); - } - rows.setProperty(rt, "_array", std::move(array)); - res.setProperty(rt, "rows", std::move(rows)); + + auto array = jsi::Array(rt, rowCount); + for (int i = 0; i < rowCount; i++) { + auto obj = results->at(i); + array.setValueAtIndex(rt, i, + jsi::Object::createFromHostObject( + rt, std::make_shared(obj))); } + res.setProperty(rt, "rows", std::move(array)); size_t column_count = metadata->size(); auto column_array = jsi::Array(rt, column_count); diff --git a/cpp/utils.h b/cpp/utils.h index 8dc58a0e..2950d9fb 100644 --- a/cpp/utils.h +++ b/cpp/utils.h @@ -8,7 +8,6 @@ #include #include #include -#include #include namespace opsqlite { diff --git a/example/package.json b/example/package.json index f9a3cb1e..3ffc9adb 100644 --- a/example/package.json +++ b/example/package.json @@ -23,7 +23,7 @@ "mocha": "^10.7.3", "nativewind": "^2.0.11", "react": "18.3.1", - "react-native": "0.76.0", + "react-native": "0.76.1", "react-native-http-bridge-refurbished": "1.2.9", "react-native-restart": "^0.0.27", "react-native-share": "^11.0.3", diff --git a/example/src/tests/dbsetup.spec.ts b/example/src/tests/dbsetup.spec.ts index e5bd1e64..1b4f8ead 100644 --- a/example/src/tests/dbsetup.spec.ts +++ b/example/src/tests/dbsetup.spec.ts @@ -65,19 +65,19 @@ export function dbSetupTests() { }); if (Platform.OS === 'android') { - it('Create db in external directory Android', () => { + it('Create db in external directory Android', async () => { let androidDb = open({ name: 'AndroidSDCardDB.sqlite', location: ANDROID_EXTERNAL_FILES_PATH, encryptionKey: 'test', }); - androidDb.execute('DROP TABLE IF EXISTS User;'); - androidDb.execute( + await androidDb.execute('DROP TABLE IF EXISTS User;'); + await androidDb.execute( 'CREATE TABLE User ( id INT PRIMARY KEY, name TEXT NOT NULL, age INT, networth REAL) STRICT;', ); - androidDb.close(); + await androidDb.close(); }); } diff --git a/example/src/tests/preparedStatements.spec.ts b/example/src/tests/preparedStatements.spec.ts index b6de72fd..7b3dfcb6 100644 --- a/example/src/tests/preparedStatements.spec.ts +++ b/example/src/tests/preparedStatements.spec.ts @@ -49,6 +49,7 @@ export function preparedStatementsTests() { db = null; } }); + it('Creates a prepared statement and executes a prepared statement', async () => { const statement = db.prepareStatement('SELECT * FROM User;'); let results = await statement.execute(); diff --git a/example/src/tests/queries.spec.ts b/example/src/tests/queries.spec.ts index 17ea3d4e..55ab6d2c 100644 --- a/example/src/tests/queries.spec.ts +++ b/example/src/tests/queries.spec.ts @@ -572,9 +572,8 @@ export function queriesTests() { const res = await db.executeWithHostObjects('SELECT * FROM User'); - expect(res.rowsAffected).to.equal(1); expect(res.insertId).to.equal(1); - expect(res.rows!).to.eql([ + expect(res.rows).to.eql([ { id, name, diff --git a/example/src/tests/reactive.spec.ts b/example/src/tests/reactive.spec.ts index 0bdc7369..75249775 100644 --- a/example/src/tests/reactive.spec.ts +++ b/example/src/tests/reactive.spec.ts @@ -51,7 +51,7 @@ export function reactiveTests() { table: 'User', }, ], - callback: () => { + callback: data => { fullSelectRan = true; }, }); @@ -65,7 +65,7 @@ export function reactiveTests() { }, ], callback: data => { - emittedUser = data.rows._array[0]; + emittedUser = data.rows[0]; }, }); @@ -170,7 +170,7 @@ export function reactiveTests() { }, ], callback: data => { - emittedUser = data.rows._array[0]; + emittedUser = data.rows[0]; }, }); @@ -218,7 +218,7 @@ export function reactiveTests() { }, ], callback: data => { - emittedUser = data.rows._array[0]; + emittedUser = data.rows[0]; }, }); diff --git a/package.json b/package.json index 7557720e..b38cf209 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "clang-format": "^1.8.0", "lefthook": "^1.5.5", "react": "18.3.1", - "react-native": "0.76.0", + "react-native": "0.76.1", "react-native-builder-bob": "^0.23.2", "turbo": "^1.12.4", "typescript": "5.0.4" diff --git a/src/index.ts b/src/index.ts index 7f108aeb..48e7ab0a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -264,10 +264,6 @@ function enhanceDB(db: DB, options: any): DB { const result = await db.executeWithHostObjects(query, sanitizedParams); - // Fix this on the native side - // @ts-ignore - result.rows = result.rows?._array ?? []; - return result; }, execute: async ( @@ -320,13 +316,7 @@ function enhanceDB(db: DB, options: any): DB { stmt.bind(sanitizedParams); }, - execute: async () => { - const res = await stmt.execute(); - // TODO fix on the native side - // @ts-ignore - res.rows = res.rows?._array; - return res; - }, + execute: stmt.execute, }; }, transaction: async ( diff --git a/yarn.lock b/yarn.lock index 960743c9..1a4ac44e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4113,7 +4113,7 @@ __metadata: clang-format: "npm:^1.8.0" lefthook: "npm:^1.5.5" react: "npm:18.3.1" - react-native: "npm:0.76.0" + react-native: "npm:0.76.1" react-native-builder-bob: "npm:^0.23.2" turbo: "npm:^1.12.4" typescript: "npm:5.0.4" @@ -4296,10 +4296,10 @@ __metadata: languageName: node linkType: hard -"@react-native/assets-registry@npm:0.76.0": - version: 0.76.0 - resolution: "@react-native/assets-registry@npm:0.76.0" - checksum: 10c0/a8543167afbd2a2d63ec8518f41efddbb3de39ad5905cb98002fdfad7441ade6ae05d86321aea43e366fa9b2336a9bca67d14c89f064e5c7064cd98334ba82c0 +"@react-native/assets-registry@npm:0.76.1": + version: 0.76.1 + resolution: "@react-native/assets-registry@npm:0.76.1" + checksum: 10c0/cab379c78de38c478a1bc2289df4becd6a3a7ac6f5a2da9f37fbb49a10662c1adf61b1da8a9282c380be66842c6b6c3a9d4df2ab69060e974e31f032a2795723 languageName: node linkType: hard @@ -4312,6 +4312,15 @@ __metadata: languageName: node linkType: hard +"@react-native/babel-plugin-codegen@npm:0.76.1": + version: 0.76.1 + resolution: "@react-native/babel-plugin-codegen@npm:0.76.1" + dependencies: + "@react-native/codegen": "npm:0.76.1" + checksum: 10c0/382928aed967b56803e6598a123d6a2bb27dda2b175298f8afcd0a047c3d02172ac2d61e35a088500cb96caffa39fe18f9a8452dfd5818b05c281a59e81d6c83 + languageName: node + linkType: hard + "@react-native/babel-preset@npm:0.76.0": version: 0.76.0 resolution: "@react-native/babel-preset@npm:0.76.0" @@ -4367,6 +4376,61 @@ __metadata: languageName: node linkType: hard +"@react-native/babel-preset@npm:0.76.1": + version: 0.76.1 + resolution: "@react-native/babel-preset@npm:0.76.1" + dependencies: + "@babel/core": "npm:^7.25.2" + "@babel/plugin-proposal-export-default-from": "npm:^7.24.7" + "@babel/plugin-syntax-dynamic-import": "npm:^7.8.3" + "@babel/plugin-syntax-export-default-from": "npm:^7.24.7" + "@babel/plugin-syntax-nullish-coalescing-operator": "npm:^7.8.3" + "@babel/plugin-syntax-optional-chaining": "npm:^7.8.3" + "@babel/plugin-transform-arrow-functions": "npm:^7.24.7" + "@babel/plugin-transform-async-generator-functions": "npm:^7.25.4" + "@babel/plugin-transform-async-to-generator": "npm:^7.24.7" + "@babel/plugin-transform-block-scoping": "npm:^7.25.0" + "@babel/plugin-transform-class-properties": "npm:^7.25.4" + "@babel/plugin-transform-classes": "npm:^7.25.4" + "@babel/plugin-transform-computed-properties": "npm:^7.24.7" + "@babel/plugin-transform-destructuring": "npm:^7.24.8" + "@babel/plugin-transform-flow-strip-types": "npm:^7.25.2" + "@babel/plugin-transform-for-of": "npm:^7.24.7" + "@babel/plugin-transform-function-name": "npm:^7.25.1" + "@babel/plugin-transform-literals": "npm:^7.25.2" + "@babel/plugin-transform-logical-assignment-operators": "npm:^7.24.7" + "@babel/plugin-transform-modules-commonjs": "npm:^7.24.8" + "@babel/plugin-transform-named-capturing-groups-regex": "npm:^7.24.7" + "@babel/plugin-transform-nullish-coalescing-operator": "npm:^7.24.7" + "@babel/plugin-transform-numeric-separator": "npm:^7.24.7" + "@babel/plugin-transform-object-rest-spread": "npm:^7.24.7" + "@babel/plugin-transform-optional-catch-binding": "npm:^7.24.7" + "@babel/plugin-transform-optional-chaining": "npm:^7.24.8" + "@babel/plugin-transform-parameters": "npm:^7.24.7" + "@babel/plugin-transform-private-methods": "npm:^7.24.7" + "@babel/plugin-transform-private-property-in-object": "npm:^7.24.7" + "@babel/plugin-transform-react-display-name": "npm:^7.24.7" + "@babel/plugin-transform-react-jsx": "npm:^7.25.2" + "@babel/plugin-transform-react-jsx-self": "npm:^7.24.7" + "@babel/plugin-transform-react-jsx-source": "npm:^7.24.7" + "@babel/plugin-transform-regenerator": "npm:^7.24.7" + "@babel/plugin-transform-runtime": "npm:^7.24.7" + "@babel/plugin-transform-shorthand-properties": "npm:^7.24.7" + "@babel/plugin-transform-spread": "npm:^7.24.7" + "@babel/plugin-transform-sticky-regex": "npm:^7.24.7" + "@babel/plugin-transform-typescript": "npm:^7.25.2" + "@babel/plugin-transform-unicode-regex": "npm:^7.24.7" + "@babel/template": "npm:^7.25.0" + "@react-native/babel-plugin-codegen": "npm:0.76.1" + babel-plugin-syntax-hermes-parser: "npm:^0.23.1" + babel-plugin-transform-flow-enums: "npm:^0.0.2" + react-refresh: "npm:^0.14.0" + peerDependencies: + "@babel/core": "*" + checksum: 10c0/3c39636684aaa0c9f23a96e83e657307c7e94bdf61fd12eaaf7a9446c19ea9225e4556c987a3afb5d472b7d6191af6f5c1c6cbd80f51f287d0b63f0c590d83ee + languageName: node + linkType: hard + "@react-native/codegen@npm:0.76.0": version: 0.76.0 resolution: "@react-native/codegen@npm:0.76.0" @@ -4385,12 +4449,30 @@ __metadata: languageName: node linkType: hard -"@react-native/community-cli-plugin@npm:0.76.0": - version: 0.76.0 - resolution: "@react-native/community-cli-plugin@npm:0.76.0" +"@react-native/codegen@npm:0.76.1": + version: 0.76.1 + resolution: "@react-native/codegen@npm:0.76.1" dependencies: - "@react-native/dev-middleware": "npm:0.76.0" - "@react-native/metro-babel-transformer": "npm:0.76.0" + "@babel/parser": "npm:^7.25.3" + glob: "npm:^7.1.1" + hermes-parser: "npm:0.23.1" + invariant: "npm:^2.2.4" + jscodeshift: "npm:^0.14.0" + mkdirp: "npm:^0.5.1" + nullthrows: "npm:^1.1.1" + yargs: "npm:^17.6.2" + peerDependencies: + "@babel/preset-env": ^7.1.6 + checksum: 10c0/087e763df614590754f3790d35eabd8e26fdc076be41e9c39708844bd690d91163914b62f96fd1df4086214db3f9f9a01cda97bc32188ce245e1f86452da3895 + languageName: node + linkType: hard + +"@react-native/community-cli-plugin@npm:0.76.1": + version: 0.76.1 + resolution: "@react-native/community-cli-plugin@npm:0.76.1" + dependencies: + "@react-native/dev-middleware": "npm:0.76.1" + "@react-native/metro-babel-transformer": "npm:0.76.1" chalk: "npm:^4.0.0" execa: "npm:^5.1.1" invariant: "npm:^2.2.4" @@ -4404,23 +4486,23 @@ __metadata: peerDependenciesMeta: "@react-native-community/cli-server-api": optional: true - checksum: 10c0/b7bf144542264e52bdc49e124a6613debc9c590283999e3e6ef420b36cbb77578f99f05a9ca57dd802e042108a6b5a46428014f9d1f6fe48c18a8b52f9697801 + checksum: 10c0/64608038afafb44e851f6b98be0b1f3a45aee9a791cafe5c9211aae731db68938d29a403701bb8569db91f5ebf41823c75850e7b7756518abbe572cde9139470 languageName: node linkType: hard -"@react-native/debugger-frontend@npm:0.76.0": - version: 0.76.0 - resolution: "@react-native/debugger-frontend@npm:0.76.0" - checksum: 10c0/115db2f3fab68791606bea674718fb96ed684754f346a4d3e12f44f2486cb0bb0935c6c7bce318bcf5be8010eca4e111e0ae74a591c8f845d0e106a5ecac2dbf +"@react-native/debugger-frontend@npm:0.76.1": + version: 0.76.1 + resolution: "@react-native/debugger-frontend@npm:0.76.1" + checksum: 10c0/7fc49ae2625f6166facd19ef61f6b68771576414936c7330f74d04da9ff37152c3ef673266690277953fdc8e20b8cae191d69913e39d67eae69ff784b72e2f99 languageName: node linkType: hard -"@react-native/dev-middleware@npm:0.76.0": - version: 0.76.0 - resolution: "@react-native/dev-middleware@npm:0.76.0" +"@react-native/dev-middleware@npm:0.76.1": + version: 0.76.1 + resolution: "@react-native/dev-middleware@npm:0.76.1" dependencies: "@isaacs/ttlcache": "npm:^1.4.1" - "@react-native/debugger-frontend": "npm:0.76.0" + "@react-native/debugger-frontend": "npm:0.76.1" chrome-launcher: "npm:^0.15.2" chromium-edge-launcher: "npm:^0.2.0" connect: "npm:^3.6.5" @@ -4430,7 +4512,7 @@ __metadata: selfsigned: "npm:^2.4.1" serve-static: "npm:^1.13.1" ws: "npm:^6.2.3" - checksum: 10c0/b39deb0db79a2e8cc7b72417fdbbb3907dc7c178a8974cce928e7acf061e961793c9fa3ce2f1dfda53a6fcc5e5bcdf00bd37b291e0b0d860e6d6970159115362 + checksum: 10c0/c60c6b003df7903fe288a09d28bd1fbc5ce014778b71c5059f3605f941463e36949804b09d8980d3be345768b9cc0e5eccd69653d7e3d6361a237d3ad6f5e2b2 languageName: node linkType: hard @@ -4465,10 +4547,10 @@ __metadata: languageName: node linkType: hard -"@react-native/gradle-plugin@npm:0.76.0": - version: 0.76.0 - resolution: "@react-native/gradle-plugin@npm:0.76.0" - checksum: 10c0/4d88a2df24356a4c9ea9438bb2ff623377d69276802e7a3dfa6e441cbc79a42f0ca216abec8a55d104e4146c72f8e4404c06cd7a4071bc91af9a733966689637 +"@react-native/gradle-plugin@npm:0.76.1": + version: 0.76.1 + resolution: "@react-native/gradle-plugin@npm:0.76.1" + checksum: 10c0/7056ff70ff42d9575eb35fd63ce7accb42caffb08839bcf32abd5a83e3016be9e8b56a115e927b45302c94e3ad88e928283354577fc77547b13c0c84183e016b languageName: node linkType: hard @@ -4479,6 +4561,13 @@ __metadata: languageName: node linkType: hard +"@react-native/js-polyfills@npm:0.76.1": + version: 0.76.1 + resolution: "@react-native/js-polyfills@npm:0.76.1" + checksum: 10c0/4dbf213e4bddb68a27cc8f9b776866f5480ca507de3daee30f66a7f68326c9533a0fe215e9bc3e71eb97c42a0218903e659182265178cb2635a080c464218939 + languageName: node + linkType: hard + "@react-native/metro-babel-transformer@npm:0.76.0": version: 0.76.0 resolution: "@react-native/metro-babel-transformer@npm:0.76.0" @@ -4493,6 +4582,20 @@ __metadata: languageName: node linkType: hard +"@react-native/metro-babel-transformer@npm:0.76.1": + version: 0.76.1 + resolution: "@react-native/metro-babel-transformer@npm:0.76.1" + dependencies: + "@babel/core": "npm:^7.25.2" + "@react-native/babel-preset": "npm:0.76.1" + hermes-parser: "npm:0.23.1" + nullthrows: "npm:^1.1.1" + peerDependencies: + "@babel/core": "*" + checksum: 10c0/cacdca11847d11c6d1dba3c57b26f43054296676c1f846455297d1eb869b8830f6278b701c8b42e63da25f24dc7e97512f56d515f15718c4c3e77e8908bfe4e4 + languageName: node + linkType: hard + "@react-native/metro-config@npm:0.76.0": version: 0.76.0 resolution: "@react-native/metro-config@npm:0.76.0" @@ -4505,10 +4608,10 @@ __metadata: languageName: node linkType: hard -"@react-native/normalize-colors@npm:0.76.0": - version: 0.76.0 - resolution: "@react-native/normalize-colors@npm:0.76.0" - checksum: 10c0/4218ef1f785ab5f4d9fe29a314abdce9e1ba5a193cb8b0f2c8fa821bb72c33c54548bda2128c6de488f055898e407e8553db1adecd6cbe34503f2b55e9e35c0f +"@react-native/normalize-colors@npm:0.76.1": + version: 0.76.1 + resolution: "@react-native/normalize-colors@npm:0.76.1" + checksum: 10c0/44a3849de811cf91481339321e644566a5c1971bc276df46b608431926c70a00bf30c3bd7b2a81032ca6e88d57a39ae6630e8c6afdc6782383ecea44eeba2f84 languageName: node linkType: hard @@ -4519,9 +4622,9 @@ __metadata: languageName: node linkType: hard -"@react-native/virtualized-lists@npm:0.76.0": - version: 0.76.0 - resolution: "@react-native/virtualized-lists@npm:0.76.0" +"@react-native/virtualized-lists@npm:0.76.1": + version: 0.76.1 + resolution: "@react-native/virtualized-lists@npm:0.76.1" dependencies: invariant: "npm:^2.2.4" nullthrows: "npm:^1.1.1" @@ -4532,7 +4635,7 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: 10c0/37979b170b9ac4768efb4306c05424613f7f7339b3496fd7eeac074b1439a3b16323d5cd91a94d81ee314c5841e238c49a25401a4e6cfbd06d9c87424796c79f + checksum: 10c0/f8b07e2d7167e61eda26247b9edecc99c518ca5b025de8058a87916294f47bfaf2210ec41d4e812be882d5c4f7f3153b45a5d9056694a0595d1348e1b3d0f406 languageName: node linkType: hard @@ -10749,7 +10852,7 @@ __metadata: nativewind: "npm:^2.0.11" prettier: "npm:2.8.8" react: "npm:18.3.1" - react-native: "npm:0.76.0" + react-native: "npm:0.76.1" react-native-builder-bob: "npm:^0.30.0" react-native-http-bridge-refurbished: "npm:1.2.9" react-native-restart: "npm:^0.0.27" @@ -11480,18 +11583,18 @@ __metadata: languageName: node linkType: hard -"react-native@npm:0.76.0": - version: 0.76.0 - resolution: "react-native@npm:0.76.0" +"react-native@npm:0.76.1": + version: 0.76.1 + resolution: "react-native@npm:0.76.1" dependencies: "@jest/create-cache-key-function": "npm:^29.6.3" - "@react-native/assets-registry": "npm:0.76.0" - "@react-native/codegen": "npm:0.76.0" - "@react-native/community-cli-plugin": "npm:0.76.0" - "@react-native/gradle-plugin": "npm:0.76.0" - "@react-native/js-polyfills": "npm:0.76.0" - "@react-native/normalize-colors": "npm:0.76.0" - "@react-native/virtualized-lists": "npm:0.76.0" + "@react-native/assets-registry": "npm:0.76.1" + "@react-native/codegen": "npm:0.76.1" + "@react-native/community-cli-plugin": "npm:0.76.1" + "@react-native/gradle-plugin": "npm:0.76.1" + "@react-native/js-polyfills": "npm:0.76.1" + "@react-native/normalize-colors": "npm:0.76.1" + "@react-native/virtualized-lists": "npm:0.76.1" abort-controller: "npm:^3.0.0" anser: "npm:^1.4.9" ansi-regex: "npm:^5.0.0" @@ -11530,7 +11633,7 @@ __metadata: optional: true bin: react-native: cli.js - checksum: 10c0/a24304cc08e3409a820704c4f45f47b994d72906835abb32e8b5289de2bcb6e1f029cba0238163fce88fb7dde6c1b8624934ec4ad937902dc08ee15e7db43503 + checksum: 10c0/cee6d34890dfce2e84dd8dbc530b0915ea3fa38e648eb829983c30cf9a6efb6123a61394b3c48e93c3fa031b063c04bb5790863a6e5a00c643c84923dd356532 languageName: node linkType: hard