Skip to content

Commit db043df

Browse files
authored
Update Nitro to version 0.20.1 (#98)
1 parent e55e8b2 commit db043df

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

bun.lockb

-408 Bytes
Binary file not shown.

example/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PODS:
77
- hermes-engine (0.76.1):
88
- hermes-engine/Pre-built (= 0.76.1)
99
- hermes-engine/Pre-built (0.76.1)
10-
- NitroModules (0.18.1):
10+
- NitroModules (0.20.1):
1111
- DoubleConversion
1212
- glog
1313
- hermes-engine
@@ -1887,7 +1887,7 @@ SPEC CHECKSUMS:
18871887
fmt: 10c6e61f4be25dc963c36bd73fc7b1705fe975be
18881888
glog: 08b301085f15bcbb6ff8632a8ebaf239aae04e6a
18891889
hermes-engine: 46f1ffbf0297f4298862068dd4c274d4ac17a1fd
1890-
NitroModules: 1301dc53a33ca73ada1479a3dda1141032d8e597
1890+
NitroModules: ff8680342cb7008646d8160ff9b30ba74c681c11
18911891
RCT-Folly: bf5c0376ffe4dd2cf438dcf86db385df9fdce648
18921892
RCTDeprecation: fde92935b3caa6cb65cbff9fbb7d3a9867ffb259
18931893
RCTRequired: 75c6cee42d21c1530a6f204ba32ff57335d19007

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"patch-package": "^8.0.0",
3232
"react": "18.3.1",
3333
"react-native": "0.76.1",
34-
"react-native-nitro-modules": "^0.18.1"
34+
"react-native-nitro-modules": "0.20.1"
3535
},
3636
"devDependencies": {
3737
"@babel/core": "^7.25.2",
@@ -57,7 +57,7 @@
5757
"eslint-config-prettier": "^9.1.0",
5858
"eslint-plugin-prettier": "^5.2.1",
5959
"jest": "^29.7.0",
60-
"nitro-codegen": "^0.17.0",
60+
"nitro-codegen": "0.20.1",
6161
"prettier": "^3.3.3",
6262
"release-it": "^17.10.0",
6363
"typescript": "~5.5.4",

package/nitrogen/generated/ios/RNNitroSQLite-Swift-Cxx-Umbrella.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
// This header is generated by Xcode/Swift on every app build.
3131
// If it cannot be found, make sure the Swift module's name (= podspec name) is actually "RNNitroSQLite".
3232
#include "RNNitroSQLite-Swift.h"
33+
// Same as above, but used when building with frameworks (`use_frameworks`)
34+
#elif __has_include(<RNNitroSQLite/RNNitroSQLite-Swift.h>)
35+
#include <RNNitroSQLite/RNNitroSQLite-Swift.h>
3336
#else
3437
#error RNNitroSQLite's autogenerated Swift header cannot be found! Make sure the Swift module's name (= podspec name) is actually "RNNitroSQLite", and try building the app first.
3538
#endif

package/nitrogen/generated/shared/c++/ColumnType.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ namespace margelo::nitro {
5050
int enumValue = static_cast<int>(arg);
5151
return JSIConverter<int>::toJSI(runtime, enumValue);
5252
}
53-
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
53+
static inline bool canConvert(jsi::Runtime&, const jsi::Value& value) {
5454
if (!value.isNumber()) {
5555
return false;
5656
}

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"peerDependencies": {
8080
"react": ">=17.0.0",
8181
"react-native": ">=0.74.0",
82-
"react-native-nitro-modules": ">=0.17.0"
82+
"react-native-nitro-modules": ">=0.20.1"
8383
},
8484
"resolutions": {
8585
"@types/react": "^18.2.44"

0 commit comments

Comments
 (0)