react-native-sentry
Advanced tools
Comparing version
# Changelog | ||
## 0.41.0 | ||
- Update android build tools and gradle scripts to be compatible with latest version | ||
- Fix support to build on windows | ||
## 0.40.3 | ||
@@ -4,0 +9,0 @@ |
@@ -44,5 +44,10 @@ /*global ErrorUtils:false*/ | ||
* Strip device-specific IDs from React Native file:// paths | ||
* Ensure path begins with / (after app://) to ensure source code and map path can be found | ||
*/ | ||
function normalizeUrl(url, pathStripRe) { | ||
return 'app://' + url.replace(/^file\:\/\//, '').replace(pathStripRe, ''); | ||
const normUrl = url.replace(/^file\:\/\//, '').replace(pathStripRe, ''); | ||
if (normUrl.indexOf('/') !== 0) { | ||
return 'app:///' + normUrl; | ||
} | ||
return 'app://' + normUrl; | ||
} | ||
@@ -49,0 +54,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"repository": "https://github.com/getsentry/react-native-sentry", | ||
"version": "0.40.3", | ||
"version": "0.41.0", | ||
"description": "Official Sentry SDK for react-native", | ||
@@ -8,0 +8,0 @@ "typings": "lib/Sentry.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3825008
0.06%51142
0.01%