@react-navigation/devtools
Advanced tools
Comparing version 6.0.4 to 6.0.5
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.useFlipper = exports.useReduxDevToolsExtension = void 0; | ||
exports.useReduxDevToolsExtension = exports.useFlipper = void 0; | ||
@@ -9,0 +9,0 @@ const noop = () => {}; |
@@ -50,8 +50,11 @@ "use strict"; | ||
}).then(res => res.json()); | ||
return result.stack.filter(it => !it.collapse).map(({ | ||
methodName, | ||
file, | ||
lineNumber, | ||
column | ||
}) => `${methodName}@${file}:${lineNumber}:${column}`).join('\n'); | ||
return result.stack.filter(it => !it.collapse).map(_ref => { | ||
let { | ||
methodName, | ||
file, | ||
lineNumber, | ||
column | ||
} = _ref; | ||
return `${methodName}@${file}:${lineNumber}:${column}`; | ||
}).join('\n'); | ||
} catch (err) { | ||
@@ -58,0 +61,0 @@ return stack; |
@@ -84,8 +84,10 @@ "use strict"; | ||
on('navigation.invoke', ({ | ||
method, | ||
args = [] | ||
}) => { | ||
on('navigation.invoke', _ref => { | ||
var _ref$current; | ||
let { | ||
method, | ||
args = [] | ||
} = _ref; | ||
switch (method) { | ||
@@ -100,8 +102,9 @@ case 'resetRoot': | ||
}); | ||
on('linking.invoke', ({ | ||
method, | ||
args = [] | ||
}) => { | ||
on('linking.invoke', _ref2 => { | ||
var _global$REACT_NAVIGAT, _global$REACT_NAVIGAT2, _args$; | ||
let { | ||
method, | ||
args = [] | ||
} = _ref2; | ||
const linking = ref.current ? // @ts-ignore: this might not exist | ||
@@ -108,0 +111,0 @@ (_global$REACT_NAVIGAT = global.REACT_NAVIGATION_DEVTOOLS) === null || _global$REACT_NAVIGAT === void 0 ? void 0 : (_global$REACT_NAVIGAT2 = _global$REACT_NAVIGAT.get(ref.current)) === null || _global$REACT_NAVIGAT2 === void 0 ? void 0 : _global$REACT_NAVIGAT2.linking : null; |
@@ -34,8 +34,11 @@ import deepEqual from 'deep-equal'; | ||
}).then(res => res.json()); | ||
return result.stack.filter(it => !it.collapse).map(({ | ||
methodName, | ||
file, | ||
lineNumber, | ||
column | ||
}) => `${methodName}@${file}:${lineNumber}:${column}`).join('\n'); | ||
return result.stack.filter(it => !it.collapse).map(_ref => { | ||
let { | ||
methodName, | ||
file, | ||
lineNumber, | ||
column | ||
} = _ref; | ||
return `${methodName}@${file}:${lineNumber}:${column}`; | ||
}).join('\n'); | ||
} catch (err) { | ||
@@ -42,0 +45,0 @@ return stack; |
@@ -68,8 +68,10 @@ import { nanoid } from 'nanoid/non-secure'; | ||
on('navigation.invoke', ({ | ||
method, | ||
args = [] | ||
}) => { | ||
on('navigation.invoke', _ref => { | ||
var _ref$current; | ||
let { | ||
method, | ||
args = [] | ||
} = _ref; | ||
switch (method) { | ||
@@ -84,8 +86,9 @@ case 'resetRoot': | ||
}); | ||
on('linking.invoke', ({ | ||
method, | ||
args = [] | ||
}) => { | ||
on('linking.invoke', _ref2 => { | ||
var _global$REACT_NAVIGAT, _global$REACT_NAVIGAT2, _args$; | ||
let { | ||
method, | ||
args = [] | ||
} = _ref2; | ||
const linking = ref.current ? // @ts-ignore: this might not exist | ||
@@ -92,0 +95,0 @@ (_global$REACT_NAVIGAT = global.REACT_NAVIGATION_DEVTOOLS) === null || _global$REACT_NAVIGAT === void 0 ? void 0 : (_global$REACT_NAVIGAT2 = _global$REACT_NAVIGAT.get(ref.current)) === null || _global$REACT_NAVIGAT2 === void 0 ? void 0 : _global$REACT_NAVIGAT2.linking : null; |
{ | ||
"name": "@react-navigation/devtools", | ||
"description": "Developer tools for React Navigation", | ||
"version": "6.0.4", | ||
"version": "6.0.5", | ||
"keywords": [ | ||
@@ -44,3 +44,3 @@ "react", | ||
"devDependencies": { | ||
"@react-navigation/core": "^6.1.0", | ||
"@react-navigation/core": "^6.1.1", | ||
"@testing-library/react-native": "^7.2.0", | ||
@@ -50,3 +50,3 @@ "@types/deep-equal": "^1.0.1", | ||
"del-cli": "^3.0.1", | ||
"react": "~16.13.1", | ||
"react": "17.0.1", | ||
"react-native-builder-bob": "^0.18.1", | ||
@@ -73,3 +73,3 @@ "react-native-flipper": "^0.80.0", | ||
}, | ||
"gitHead": "e77a5ab9d342a03cd8e20b54938700dfd4e23f42" | ||
"gitHead": "4c5805867ce946d99ba17f71b4d6086bb8751262" | ||
} |
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
Sorry, the diff of this file is not supported yet
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
112372
1407