react-native-appwrite
Advanced tools
+4
-0
| # Change log | ||
| ## 0.24.1 | ||
| * Fix very large double values (for example 1.7976931348623157e+308) from being expanded into giant integer literals. | ||
| ## 0.24.0 | ||
@@ -4,0 +8,0 @@ |
+1
-1
@@ -5,3 +5,3 @@ { | ||
| "description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API", | ||
| "version": "0.24.0", | ||
| "version": "0.24.1", | ||
| "license": "BSD-3-Clause", | ||
@@ -8,0 +8,0 @@ "main": "dist/cjs/sdk.js", |
+7
-2
@@ -11,2 +11,4 @@ import { Models } from './models'; | ||
| const MIN_SAFE = BigInt(Number.MIN_SAFE_INTEGER); | ||
| const MAX_INT64 = BigInt('9223372036854775807'); | ||
| const MIN_INT64 = BigInt('-9223372036854775808'); | ||
@@ -30,3 +32,6 @@ function isBigNumber(value: any): boolean { | ||
| } | ||
| return bi; | ||
| if (bi >= MIN_INT64 && bi <= MAX_INT64) { | ||
| return bi; | ||
| } | ||
| return value.toNumber(); | ||
| } | ||
@@ -158,3 +163,3 @@ return value.toNumber(); | ||
| 'x-sdk-language': 'reactnative', | ||
| 'x-sdk-version': '0.24.0', | ||
| 'x-sdk-version': '0.24.1', | ||
| 'X-Appwrite-Response-Format': '1.8.0', | ||
@@ -161,0 +166,0 @@ }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
2849915
0.06%30184
0.05%