@expo/xcpretty
Advanced tools
Comparing version 4.3.0 to 4.3.1
@@ -15,5 +15,8 @@ "use strict"; | ||
} | ||
const NODE_MODULE_PATTERN = /node_modules(\/\.(pnpm|store)\/.*\/node_modules)?\//i; | ||
function getNodeModuleName(filePath) { | ||
// '/Users/evanbacon/Documents/GitHub/lab/yolo5/node_modules/react-native-reanimated/ios/Nodes/REACallFuncNode.m' | ||
const [, modulePath] = filePath.split('/node_modules/'); | ||
// '/<project>/node_modules/react-native/ReactCommon/react/renderer/components/rncore/EventEmitters.cpp' | ||
// '/<project>/node_modules/.pnpm/react-native@0.73.1_@babel+core@7.20.2_react@18.2.0/node_modules/react-native/ReactCommon/react/renderer/components/rncore/EventEmitters.cpp' | ||
// '/<project>/node_modules/.store/react-native@0.73.1-OKL2xQk6utgOIuOl3VvO_g/node_modules/react-native/ReactCommon/react/renderer/components/rncore/EventEmitters.cpp' | ||
const [, , , modulePath] = filePath.split(NODE_MODULE_PATTERN); | ||
if (modulePath) { | ||
@@ -20,0 +23,0 @@ return moduleNameFromPath(modulePath); |
{ | ||
"name": "@expo/xcpretty", | ||
"description": "Parse and format xcodebuild logs", | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"main": "build/index.js", | ||
@@ -6,0 +6,0 @@ "types": "build/index.d.ts", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
306658
3388
29
0
0
0
2