react-native-deep-linking
Advanced tools
Comparing version 2.1.0 to 2.2.0
{ | ||
"name": "react-native-deep-linking", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "React Native URL routing library", | ||
@@ -36,3 +36,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"babel-jest": "^19.0.0", | ||
"babel-jest": "^20.0.0", | ||
"babel-preset-es2015": "^6.24.0", | ||
@@ -43,9 +43,9 @@ "babel-preset-stage-2": "^6.22.0", | ||
"cz-conventional-changelog": "^2.0.0", | ||
"eslint": "^3.15.0", | ||
"eslint-config-airbnb": "14.1.0", | ||
"eslint-plugin-import": "2.2.0", | ||
"eslint-plugin-jsx-a11y": "4.0.0", | ||
"eslint-plugin-react": "^6.10.2", | ||
"husky": "^0.13.3", | ||
"jest": "^19.0.0", | ||
"eslint": "^3.19.0", | ||
"eslint-config-airbnb": "^15.0.1", | ||
"eslint-plugin-import": "^2.6.1", | ||
"eslint-plugin-jsx-a11y": "^5.0.1", | ||
"eslint-plugin-react": "^7.0.0", | ||
"husky": "^0.14.1", | ||
"jest": "^20.0.0", | ||
"semantic-release": "^6.3.2" | ||
@@ -52,0 +52,0 @@ }, |
@@ -228,3 +228,3 @@ <p align="center"> | ||
```javascript | ||
// The following route does NOT match the URL. | ||
// The following route matches the URL. | ||
DeepLinking.addRoute('profile/:id/posts/:postId', ({ scheme, path, id, postId }) => { | ||
@@ -231,0 +231,0 @@ console.log(scheme); // `facebook://` |
@@ -103,2 +103,6 @@ const schemes = []; | ||
const resetSchemes = () => { | ||
schemes.splice(0, schemes.length); | ||
}; | ||
const DeepLinking = { | ||
@@ -109,6 +113,8 @@ addRoute, | ||
removeRoute, | ||
resetSchemes, | ||
resetRoutes, | ||
routes, | ||
schemes, | ||
}; | ||
export default DeepLinking; |
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
12706
98