react-native-nitro-modules 0.29.7 → 0.29.8
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.
- package/android/src/main/cpp/platform/NitroLogger.cpp +1 -1
- package/cpp/core/ArrayBuffer.cpp +1 -0
- package/cpp/core/HybridObject.hpp +1 -0
- package/cpp/prototype/HybridObjectPrototype.hpp +1 -0
- package/cpp/utils/NitroDefines.hpp +1 -1
- package/cpp/utils/NitroHash.hpp +1 -0
- package/cpp/utils/NitroTypeInfo.cpp +1 -1
- package/cpp/utils/WeakReference.hpp +1 -0
- package/ios/platform/NitroLogger.mm +1 -1
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ int levelToAndroidLevel(LogLevel level) {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
void Logger::nativeLog(LogLevel level, const char* tag, const std::string& message) {
|
|
29
|
+
void Logger::nativeLog([[maybe_unused]] LogLevel level, [[maybe_unused]] const char* tag, [[maybe_unused]] const std::string& message) {
|
|
30
30
|
#ifdef NITRO_DEBUG
|
|
31
31
|
int logLevel = levelToAndroidLevel(level);
|
|
32
32
|
std::string combinedTag = "Nitro." + std::string(tag);
|
package/cpp/core/ArrayBuffer.cpp
CHANGED
package/cpp/utils/NitroHash.hpp
CHANGED
|
@@ -35,7 +35,7 @@ std::string TypeInfo::replaceRegex(const std::string& original, const std::strin
|
|
|
35
35
|
return std::regex_replace(original, regex, replacement);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
std::string TypeInfo::demangleName(const std::string& typeName, bool removeNamespace) {
|
|
38
|
+
std::string TypeInfo::demangleName(const std::string& typeName, [[maybe_unused]] bool removeNamespace) {
|
|
39
39
|
#ifdef NITRO_DEBUG
|
|
40
40
|
// In debug, we demangle the name using Cxx ABI and prettify it.
|
|
41
41
|
std::string name = typeName;
|
|
@@ -26,7 +26,7 @@ const char* levelToString(LogLevel level) {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
void Logger::nativeLog(LogLevel level, const char* tag, const std::string& message) {
|
|
29
|
+
void Logger::nativeLog([[maybe_unused]] LogLevel level, [[maybe_unused]] const char* tag, [[maybe_unused]] const std::string& message) {
|
|
30
30
|
#ifdef NITRO_DEBUG
|
|
31
31
|
const char* logLevel = levelToString(level);
|
|
32
32
|
NSLog(@"[%s] [Nitro.%s] %s", logLevel, tag, message.c_str());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-nitro-modules",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.8",
|
|
4
4
|
"description": "Insanely fast native C++, Swift or Kotlin modules with a statically compiled binding layer to JSI.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|