react-native-onyx 3.0.61 → 3.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,12 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const react_native_nitro_sqlite_1 = require("react-native-nitro-sqlite");
|
|
7
7
|
const react_native_device_info_1 = require("react-native-device-info");
|
|
8
8
|
const utils_1 = __importDefault(require("../../utils"));
|
|
9
|
-
// By default, NitroSQLite does not accept nullish values due to current limitations in Nitro Modules.
|
|
10
|
-
// This flag enables a feature in NitroSQLite that allows for nullish values to be passed to operations, such as "execute" or "executeBatch".
|
|
11
|
-
// Simple null handling can potentially add a minor performance overhead,
|
|
12
|
-
// since parameters and results from SQLite queries need to be parsed from and to JavaScript nullish values.
|
|
13
|
-
// https://github.com/margelo/react-native-nitro-sqlite#sending-and-receiving-nullish-values
|
|
14
|
-
(0, react_native_nitro_sqlite_1.enableSimpleNullHandling)();
|
|
15
9
|
const DB_NAME = 'OnyxDB';
|
|
16
10
|
/**
|
|
17
11
|
* Prevents the stringifying of the object markers.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-onyx",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.62",
|
|
4
4
|
"author": "Expensify, Inc.",
|
|
5
5
|
"homepage": "https://expensify.com",
|
|
6
6
|
"description": "State management for React Native",
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
"react": "18.2.0",
|
|
92
92
|
"react-native": "0.76.3",
|
|
93
93
|
"react-native-device-info": "^10.3.0",
|
|
94
|
-
"react-native-nitro-modules": "^0.
|
|
95
|
-
"react-native-nitro-sqlite": "^9.
|
|
94
|
+
"react-native-nitro-modules": "^0.35.0",
|
|
95
|
+
"react-native-nitro-sqlite": "^9.6.0",
|
|
96
96
|
"react-test-renderer": "18.2.0",
|
|
97
97
|
"reassure": "1.4.0",
|
|
98
98
|
"ts-node": "^10.9.2",
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
"react": ">=18.1.0",
|
|
105
105
|
"react-native": ">=0.75.0",
|
|
106
106
|
"react-native-device-info": "^10.3.0",
|
|
107
|
-
"react-native-nitro-modules": ">=0.
|
|
108
|
-
"react-native-nitro-sqlite": "^9.
|
|
107
|
+
"react-native-nitro-modules": ">=0.35.0",
|
|
108
|
+
"react-native-nitro-sqlite": "^9.6.0"
|
|
109
109
|
},
|
|
110
110
|
"peerDependenciesMeta": {
|
|
111
111
|
"idb-keyval": {
|