{"_id":"react-router-config","_rev":"2834798","name":"react-router-config","description":"Static route config matching for React Router","dist-tags":{"latest":"5.1.1"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"time":{"modified":"2022-09-06T15:31:08.000Z","created":"2017-03-11T03:00:50.627Z","5.1.1":"2019-09-27T23:06:35.973Z","5.1.0":"2019-09-24T16:50:12.798Z","5.0.1":"2019-06-04T22:55:59.460Z","5.0.0":"2019-03-18T16:12:50.612Z","4.4.0-beta.8":"2019-03-15T23:09:12.558Z","4.4.0-beta.7":"2019-03-02T01:15:35.255Z","4.4.0-beta.6":"2018-11-01T16:31:19.339Z","4.4.0-beta.5":"2018-10-30T22:30:51.969Z","4.4.0-beta.4":"2018-10-17T01:09:12.643Z","4.4.0-beta.3":"2018-10-15T18:54:22.442Z","4.4.0-beta.2":"2018-10-14T03:37:41.470Z","4.4.0-beta.1":"2018-09-30T07:20:41.594Z","4.4.0-beta.0":"2018-09-29T07:13:19.861Z","1.0.0-beta.4":"2017-08-24T01:20:48.917Z","1.0.0-beta.3":"2017-04-12T19:30:00.891Z","1.0.0-beta.2":"2017-04-11T18:52:28.183Z","1.0.0-beta.1":"2017-03-11T03:00:50.627Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"versions":{"5.1.1":{"name":"react-router-config","version":"5.1.1","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"main":"index.js","module":"esm/react-router-config.js","sideEffects":false,"scripts":{"build":"rollup -c","lint":"eslint modules","test":"jest"},"peerDependencies":{"react":">=15","react-router":">=5"},"dependencies":{"@babel/runtime":"^7.1.2"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"gitHead":"fbb6358dd7f47eedd55d0b63e0725ac335d28bde","bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@5.1.1","_nodeVersion":"12.11.0","_npmVersion":"lerna/3.16.4/node@v12.11.0+x64 (linux)","dist":{"shasum":"0f4263d1a80c6b2dc7b9c1902c9526478194a988","size":9482,"noattachment":false,"key":"/react-router-config/-/react-router-config-5.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-5.1.1.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config_5.1.1_1569625595864_0.47888110311159227"},"_hasShrinkwrap":false,"publish_time":1569625595973,"_cnpm_publish_time":1569625595973,"_cnpmcore_publish_time":"2021-12-16T13:58:19.015Z"},"5.1.0":{"name":"react-router-config","version":"5.1.0","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"main":"index.js","module":"esm/react-router-config.js","sideEffects":false,"scripts":{"build":"rollup -c","lint":"eslint modules","prepublishOnly":"yarn build","test":"jest"},"peerDependencies":{"react":">=15","react-router":">=5"},"dependencies":{"@babel/runtime":"^7.1.2"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"gitHead":"0c058adc5b56c6d9b409af5e4d8330c645fac00c","bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@5.1.0","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"shasum":"8eb1c41ccda5017f69940e30c9bae98f39ba1ee6","size":9503,"noattachment":false,"key":"/react-router-config/-/react-router-config-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-5.1.0.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config_5.1.0_1569343812681_0.23584106552993211"},"_hasShrinkwrap":false,"publish_time":1569343812798,"_cnpm_publish_time":1569343812798,"_cnpmcore_publish_time":"2021-12-16T13:58:19.188Z"},"5.0.1":{"name":"react-router-config","version":"5.0.1","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"main":"index.js","module":"esm/react-router-config.js","sideEffects":false,"scripts":{"build":"rollup -c","lint":"eslint modules","prepublishOnly":"npm run build","test":"jest"},"peerDependencies":{"react":">=15","react-router":">=5"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-transform-runtime":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-eslint":"^10.0.1","babel-jest":"^24.8.0","babel-plugin-dev-expression":"^0.2.1","eslint":"^5.16.0","eslint-plugin-import":"^2.17.0","eslint-plugin-react":"^7.9.1","history":"^4.7.2","jest":"^24.8.0","jest-circus":"^24.8.0","prop-types":"^15.6.2","raf":"^3.4.1","react":"^16.5.2","react-dom":"^16.5.2","react-router":"5.0.1","rollup":"^0.66.6","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^9.3.4","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-replace":"^2.2.0","rollup-plugin-size-snapshot":"0.7.0","rollup-plugin-uglify":"^6.0.2"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"dependencies":{"@babel/runtime":"^7.1.2"},"gitHead":"0c9a10d9807b879912f2dff2fbebffe0aa7048ed","bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@5.0.1","_nodeVersion":"12.4.0","_npmVersion":"lerna/3.13.4/node@v12.4.0+x64 (linux)","dist":{"shasum":"e6663010f42aa5e39c2f21412d8f958f6866e48a","size":6744,"noattachment":false,"key":"/react-router-config/-/react-router-config-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-5.0.1.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config_5.0.1_1559688959290_0.582158553864814"},"_hasShrinkwrap":false,"publish_time":1559688959460,"_cnpm_publish_time":1559688959460,"_cnpmcore_publish_time":"2021-12-16T13:58:19.629Z"},"5.0.0":{"name":"react-router-config","version":"5.0.0","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"main":"index.js","module":"esm/react-router-config.js","sideEffects":false,"scripts":{"build":"rollup -c","lint":"eslint modules","prepublishOnly":"npm run build","test":"jest"},"peerDependencies":{"react":">=15","react-router":">=5"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-transform-runtime":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","babel-plugin-dev-expression":"^0.2.1","eslint":"^5.7.0","eslint-plugin-import":"^2.12.0","eslint-plugin-react":"^7.9.1","history":"^4.7.2","jest":"^23.6.0","jest-circus":"^23.6.0","prop-types":"^15.6.2","raf":"^3.4.0","react":"^16.5.2","react-dom":"^16.5.2","react-router":"5.0.0","rollup":"^0.66.6","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-size-snapshot":"^0.7.0","rollup-plugin-uglify":"^6.0.0"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"dependencies":{"@babel/runtime":"^7.1.2"},"gitHead":"ea8eba843bf899daf8a51c2617d05c179b38369d","bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@5.0.0","_nodeVersion":"11.12.0","_npmVersion":"lerna/3.13.0/node@v11.12.0+x64 (linux)","dist":{"shasum":"3d7e298dc64479bf9e1cc77080b8778e9a8d966c","size":6757,"noattachment":false,"key":"/react-router-config/-/react-router-config-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-5.0.0.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config_5.0.0_1552925570515_0.8963191034670408"},"_hasShrinkwrap":false,"publish_time":1552925570612,"_cnpm_publish_time":1552925570612,"_cnpmcore_publish_time":"2021-12-16T13:58:19.867Z"},"4.4.0-beta.8":{"name":"react-router-config","version":"4.4.0-beta.8","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"main":"index.js","module":"esm/react-router-config.js","sideEffects":false,"scripts":{"build":"rollup -c","lint":"eslint modules","prepublishOnly":"npm run build","test":"jest"},"peerDependencies":{"react":">=15","react-router":"4.4.0-beta.1"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-transform-runtime":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","babel-plugin-dev-expression":"^0.2.1","eslint":"^5.7.0","eslint-plugin-import":"^2.12.0","eslint-plugin-react":"^7.9.1","history":"^4.7.2","jest":"^23.6.0","jest-circus":"^23.6.0","prop-types":"^15.6.2","raf":"^3.4.0","react":"^16.5.2","react-dom":"^16.5.2","react-router":"^4.4.0-beta.8","rollup":"^0.66.6","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-size-snapshot":"^0.7.0","rollup-plugin-uglify":"^6.0.0"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"dependencies":{"@babel/runtime":"^7.1.2"},"gitHead":"fa98bc76b363c22a1deb3b4d3a3481987b90cd41","readmeFilename":"README.md","bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@4.4.0-beta.8","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.13.0/node@v10.15.0+x64 (darwin)","dist":{"shasum":"164fff4e91afad2c83a0b97544d2981628613801","size":6760,"noattachment":false,"key":"/react-router-config/-/react-router-config-4.4.0-beta.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-4.4.0-beta.8.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config_4.4.0-beta.8_1552691352441_0.9919351487523491"},"_hasShrinkwrap":false,"publish_time":1552691352558,"_cnpm_publish_time":1552691352558,"_cnpmcore_publish_time":"2021-12-16T13:58:20.087Z"},"4.4.0-beta.7":{"name":"react-router-config","version":"4.4.0-beta.7","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"main":"index.js","module":"esm/react-router-config.js","sideEffects":false,"scripts":{"build":"rollup -c","lint":"eslint modules","prepublishOnly":"npm run build","test":"jest"},"peerDependencies":{"react":">=15","react-router":"4.4.0-beta.1"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-transform-runtime":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","babel-plugin-dev-expression":"^0.2.1","eslint":"^5.7.0","eslint-plugin-import":"^2.12.0","eslint-plugin-react":"^7.9.1","history":"^4.7.2","jest":"^23.6.0","jest-circus":"^23.6.0","prop-types":"^15.6.2","raf":"^3.4.0","react":"^16.5.2","react-dom":"^16.5.2","react-router":"^4.4.0-beta.7","rollup":"^0.66.6","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-size-snapshot":"^0.7.0","rollup-plugin-uglify":"^6.0.0"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"dependencies":{"@babel/runtime":"^7.1.2"},"gitHead":"065950c5737b533686f30a0f60f038c157d91a51","readmeFilename":"README.md","bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@4.4.0-beta.7","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.13.0/node@v10.15.0+x64 (darwin)","dist":{"shasum":"cd90d3074131a306d88eafa837a60ded7f0433d4","size":6759,"noattachment":false,"key":"/react-router-config/-/react-router-config-4.4.0-beta.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-4.4.0-beta.7.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config_4.4.0-beta.7_1551489335130_0.8887829239327687"},"_hasShrinkwrap":false,"publish_time":1551489335255,"_cnpm_publish_time":1551489335255,"_cnpmcore_publish_time":"2021-12-16T13:58:20.310Z"},"4.4.0-beta.6":{"name":"react-router-config","version":"4.4.0-beta.6","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"main":"index.js","module":"esm/react-router-config.js","sideEffects":false,"scripts":{"build":"del cjs esm umd && rollup -c","prepublishOnly":"del cjs esm umd && rollup -c","lint":"eslint modules","test":"jest"},"peerDependencies":{"react":">=15","react-router":"4.4.0-beta.1"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-transform-runtime":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","babel-plugin-dev-expression":"^0.2.1","del-cli":"^1.1.0","eslint":"^5.7.0","eslint-plugin-import":"^2.12.0","eslint-plugin-react":"^7.9.1","history":"^4.7.2","jest":"^23.6.0","jest-circus":"^23.6.0","prop-types":"^15.6.2","raf":"^3.4.0","react":"^16.5.2","react-dom":"^16.5.2","react-router":"^4.4.0-beta.6","rollup":"^0.66.6","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-size-snapshot":"^0.7.0","rollup-plugin-uglify":"^6.0.0"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"dependencies":{"@babel/runtime":"^7.1.2"},"gitHead":"5ccb241cd59eae7a15de31c7babff6619378be39","_resolved":"","_integrity":"","_from":"file:react-router-config-4.4.0-beta.6.tgz","bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@4.4.0-beta.6","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"dist":{"shasum":"bb2a29acb22b6458ed044cc48c5d69db71ab0cfd","size":6776,"noattachment":false,"key":"/react-router-config/-/react-router-config-4.4.0-beta.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-4.4.0-beta.6.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config_4.4.0-beta.6_1541089879122_0.1830407935295364"},"_hasShrinkwrap":false,"publish_time":1541089879339,"_cnpm_publish_time":1541089879339,"_cnpmcore_publish_time":"2021-12-16T13:58:20.852Z"},"4.4.0-beta.5":{"name":"react-router-config","version":"4.4.0-beta.5","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"main":"index.js","module":"esm/react-router-config.js","sideEffects":false,"scripts":{"build":"del cjs esm umd && rollup -c","prepublishOnly":"del cjs esm umd && rollup -c","lint":"eslint modules","test":"jest"},"peerDependencies":{"react":">=15","react-router":"4.4.0-beta.1"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-transform-runtime":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","babel-plugin-dev-expression":"^0.2.1","del-cli":"^1.1.0","eslint":"^5.7.0","eslint-plugin-import":"^2.12.0","eslint-plugin-react":"^7.9.1","history":"^4.7.2","jest":"^23.6.0","jest-circus":"^23.6.0","prop-types":"^15.6.2","raf":"^3.4.0","react":"^16.5.2","react-dom":"^16.5.2","react-router":"^4.4.0-beta.5","rollup":"^0.66.6","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-size-snapshot":"^0.7.0","rollup-plugin-uglify":"^6.0.0"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"dependencies":{"@babel/runtime":"^7.1.2"},"gitHead":"2686600f91e6b3231117ee4d4e2fdcddd30465c8","_resolved":"","_integrity":"","_from":"file:react-router-config-4.4.0-beta.5.tgz","bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@4.4.0-beta.5","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"dist":{"shasum":"f62163e6fa2d3ab9d59564379bd15f90ca0822dc","size":6778,"noattachment":false,"key":"/react-router-config/-/react-router-config-4.4.0-beta.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-4.4.0-beta.5.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config_4.4.0-beta.5_1540938651859_0.19653855046953783"},"_hasShrinkwrap":false,"publish_time":1540938651969,"_cnpm_publish_time":1540938651969,"_cnpmcore_publish_time":"2021-12-16T13:58:21.083Z"},"4.4.0-beta.4":{"name":"react-router-config","version":"4.4.0-beta.4","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"main":"index.js","module":"esm/react-router-config.js","sideEffects":false,"scripts":{"build":"del cjs esm umd && rollup -c","watch":"babel ./modules -d . --ignore __tests__ --watch","prepublishOnly":"del cjs esm umd && rollup -c","lint":"eslint modules","test":"jest"},"peerDependencies":{"react":">=15","react-router":"4.4.0-beta.1"},"devDependencies":{"babel-eslint":"^8.2.3","babel-jest":"^23.0.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-export-extensions":"^6.22.0","babel-plugin-transform-imports":"^1.5.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.7.0","babel-preset-react":"^6.5.0","del-cli":"^1.1.0","eslint":"^4.19.1","eslint-plugin-import":"^2.12.0","eslint-plugin-react":"^7.9.1","gzip-size":"^4.1.0","history":"^4.7.2","jest":"^23.1.0","pretty-bytes":"^5.0.0","prop-types":"^15.6.2","raf":"^3.4.0","react":"^16.5.2","react-dom":"^16.5.2","react-router":"^4.4.0-beta.4","rollup":"^0.66.6","rollup-plugin-babel":"^3.0.4","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-size-snapshot":"^0.7.0","rollup-plugin-uglify":"^6.0.0"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"readmeFilename":"README.md","bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@4.4.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"dist":{"shasum":"90ee5aeebb9931e337a84878447ff6f4a9071627","size":5985,"noattachment":false,"key":"/react-router-config/-/react-router-config-4.4.0-beta.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-4.4.0-beta.4.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config_4.4.0-beta.4_1539738552529_0.1012313367094293"},"_hasShrinkwrap":false,"publish_time":1539738552643,"_cnpm_publish_time":1539738552643,"_cnpmcore_publish_time":"2021-12-16T13:58:21.312Z"},"4.4.0-beta.3":{"name":"react-router-config","version":"4.4.0-beta.3","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"main":"index.js","module":"esm/react-router-config.js","sideEffects":false,"scripts":{"build":"node ./scripts/build.js","watch":"babel ./modules -d . --ignore __tests__ --watch","prepublishOnly":"node ./scripts/build.js","lint":"eslint modules","test":"jest"},"peerDependencies":{"react":">=15","react-router":"4.4.0-beta.1"},"devDependencies":{"babel-eslint":"^8.2.3","babel-jest":"^23.0.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-export-extensions":"^6.22.0","babel-plugin-transform-imports":"^1.5.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.7.0","babel-preset-react":"^6.5.0","eslint":"^4.19.1","eslint-plugin-import":"^2.12.0","eslint-plugin-react":"^7.9.1","gzip-size":"^4.1.0","history":"^4.7.2","jest":"^23.1.0","pretty-bytes":"^5.0.0","prop-types":"^15.6.2","raf":"^3.4.0","react":"^16.5.2","react-dom":"^16.5.2","react-router":"^4.4.0-beta.3","rollup":"^0.60.0","rollup-plugin-babel":"^3.0.4","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"readmeFilename":"README.md","bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@4.4.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"dist":{"shasum":"68128a5090c24712c82e40f93672bcae73a38c19","size":6222,"noattachment":false,"key":"/react-router-config/-/react-router-config-4.4.0-beta.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-4.4.0-beta.3.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config_4.4.0-beta.3_1539629662337_0.507216118113911"},"_hasShrinkwrap":false,"publish_time":1539629662442,"_cnpm_publish_time":1539629662442,"_cnpmcore_publish_time":"2021-12-16T13:58:21.591Z"},"4.4.0-beta.2":{"name":"react-router-config","version":"4.4.0-beta.2","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"main":"index.js","module":"esm/index.js","sideEffects":false,"scripts":{"build":"node ./scripts/build.js","watch":"babel ./modules -d . --ignore __tests__ --watch","prepublishOnly":"node ./scripts/build.js","lint":"eslint modules","test":"jest"},"peerDependencies":{"react":">=15","react-router":"4.4.0-beta.1"},"devDependencies":{"babel-eslint":"^8.2.3","babel-jest":"^23.0.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-export-extensions":"^6.22.0","babel-plugin-transform-imports":"^1.5.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.7.0","babel-preset-react":"^6.5.0","eslint":"^4.19.1","eslint-plugin-import":"^2.12.0","eslint-plugin-react":"^7.9.1","gzip-size":"^4.1.0","history":"^4.7.2","jest":"^23.1.0","pretty-bytes":"^5.0.0","prop-types":"^15.6.2","raf":"^3.4.0","react":"^16.5.2","react-dom":"^16.5.2","react-router":"^4.4.0-beta.2","rollup":"^0.60.0","rollup-plugin-babel":"^3.0.4","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"readmeFilename":"README.md","bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@4.4.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"dist":{"shasum":"97c69ec7526dd99258b93d87affdc55782666446","size":6227,"noattachment":false,"key":"/react-router-config/-/react-router-config-4.4.0-beta.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-4.4.0-beta.2.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config_4.4.0-beta.2_1539488261309_0.6517625455883689"},"_hasShrinkwrap":false,"publish_time":1539488261470,"_cnpm_publish_time":1539488261470,"_cnpmcore_publish_time":"2021-12-16T13:58:21.795Z"},"4.4.0-beta.1":{"name":"react-router-config","version":"4.4.0-beta.1","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"main":"index.js","module":"es/index.js","sideEffects":false,"scripts":{"build":"node ./scripts/build.js","watch":"babel ./modules -d . --ignore __tests__ --watch","prepublishOnly":"node ./scripts/build.js","clean":"git clean -fdX .","lint":"eslint modules","test":"jest"},"peerDependencies":{"react":">=15","react-router":"4.4.0-beta.1"},"devDependencies":{"babel-cli":"^6.26.0","babel-eslint":"^8.2.3","babel-jest":"^23.0.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-export-default":"^7.0.0-alpha.20","babel-plugin-transform-imports":"^1.5.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.7.0","babel-preset-react":"^6.5.0","eslint":"^4.19.1","eslint-plugin-import":"^2.12.0","eslint-plugin-react":"^7.9.1","gzip-size":"^4.1.0","history":"^4.7.2","jest":"^23.1.0","pretty-bytes":"^5.0.0","raf":"^3.4.0","react":"^16.4.0","react-dom":"^16.4.0","rollup":"^0.60.0","rollup-plugin-babel":"^3.0.4","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"browserify":{"transform":["loose-envify"]},"jest":{"globals":{"__DEV__":true},"setupFiles":["raf/polyfill"],"testURL":"http://localhost/"},"keywords":["react","router","route","routing","static routes","route config","react router"],"bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@4.4.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"8.11.1","_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"dist":{"shasum":"be8e8deb508b64f3e257444e432a47e84fe2531e","size":5714,"noattachment":false,"key":"/react-router-config/-/react-router-config-4.4.0-beta.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-4.4.0-beta.1.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config_4.4.0-beta.1_1538292041400_0.14885770780899277"},"_hasShrinkwrap":false,"publish_time":1538292041594,"_cnpm_publish_time":1538292041594,"_cnpmcore_publish_time":"2021-12-16T13:58:22.039Z"},"4.4.0-beta.0":{"name":"react-router-config","version":"4.4.0-beta.0","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"main":"index.js","module":"es/index.js","sideEffects":false,"scripts":{"build":"node ./scripts/build.js","watch":"babel ./modules -d . --ignore __tests__ --watch","prepublishOnly":"node ./scripts/build.js","clean":"git clean -fdX .","lint":"eslint modules","test":"jest"},"peerDependencies":{"react":">=15","react-router":"^4.3.1"},"devDependencies":{"babel-cli":"^6.26.0","babel-eslint":"^8.2.3","babel-jest":"^23.0.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-export-default":"^7.0.0-alpha.20","babel-plugin-transform-imports":"^1.5.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.7.0","babel-preset-react":"^6.5.0","eslint":"^4.19.1","eslint-plugin-import":"^2.12.0","eslint-plugin-react":"^7.9.1","gzip-size":"^4.1.0","history":"^4.7.2","jest":"^23.1.0","pretty-bytes":"^5.0.0","raf":"^3.4.0","react":"^16.4.0","react-addons-test-utils":"^15.6.2","react-dom":"^16.4.0","react-router":"^4.3.1","rollup":"^0.60.0","rollup-plugin-babel":"^3.0.4","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"browserify":{"transform":["loose-envify"]},"jest":{"globals":{"__DEV__":true},"setupFiles":["raf/polyfill"],"testURL":"http://localhost/"},"keywords":["react","router","route","routing","static routes","route config","react router"],"bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@4.4.0-beta.0","_npmVersion":"6.4.1","_nodeVersion":"8.11.1","_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"dist":{"shasum":"df725bef431c3b7c42d97587376e02641d4f189a","size":24582,"noattachment":false,"key":"/react-router-config/-/react-router-config-4.4.0-beta.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-4.4.0-beta.0.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config_4.4.0-beta.0_1538205199662_0.08200926331968206"},"_hasShrinkwrap":false,"publish_time":1538205199861,"_cnpm_publish_time":1538205199861,"_cnpmcore_publish_time":"2021-12-16T13:58:22.399Z"},"1.0.0-beta.4":{"name":"react-router-config","version":"1.0.0-beta.4","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/ReactTraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"files":["es","index.js","matchRoutes.js","renderRoutes.js","umd"],"main":"index.js","module":"es/index.js","scripts":{"build":"node ./tools/build.js","watch":"babel ./modules -d . --ignore __tests__ --watch","prepublishOnly":"node ./tools/build.js","clean":"git clean -fdX .","lint":"eslint modules","test":"jest"},"peerDependencies":{"react":">=15","react-router":"^4.2.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-eslint":"^7.0.4","babel-plugin-dev-expression":"^0.2.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-react-remove-prop-types":"^0.4.8","babel-preset-es2015":"^6.14.0","babel-preset-react":"^6.5.0","babel-preset-stage-1":"^6.5.0","eslint":"^4.5.0","eslint-plugin-import":"^2.2.0","eslint-plugin-react":"^7.3.0","gzip-size":"^3.0.0","history":"^4.6.3","jest":"^20.0.4","pretty-bytes":"^4.0.2","react":"^15.4.2","react-addons-test-utils":"^15.4.2","react-dom":"^15.3.0","react-router":"^4.2.0","rollup":"^0.48.2","rollup-plugin-babel":"^3.0.2","rollup-plugin-commonjs":"^8.2.0","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-replace":"^1.1.1","rollup-plugin-uglify":"^2.0.1"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"homepage":"https://github.com/ReactTraining/react-router#readme","_id":"react-router-config@1.0.0-beta.4","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"timdorr","email":"timdorr@timdorr.com"},"dist":{"shasum":"d202496dd0eabdf06cf24eb0793031f6891eef01","size":5434,"noattachment":false,"key":"/react-router-config/-/react-router-config-1.0.0-beta.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-1.0.0-beta.4.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-config-1.0.0-beta.4.tgz_1503537647848_0.2665562150068581"},"directories":{},"publish_time":1503537648917,"_hasShrinkwrap":false,"_cnpm_publish_time":1503537648917,"_cnpmcore_publish_time":"2021-12-16T13:58:22.603Z"},"1.0.0-beta.3":{"name":"react-router-config","version":"1.0.0-beta.3","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/reacttraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"files":["matchRoutes.js","renderRoutes.js"],"main":"index.js","module":"es/index.js","scripts":{"build":"node ./tools/build.js","watch":"babel ./modules -d . --ignore __tests__ --watch","prepublish":"node ./tools/build.js","clean":"git clean -fdX .","lint":"eslint modules","test":"karma start --single-run"},"peerDependencies":{"react":"^15","react-router":"^4.1.1"},"devDependencies":{"babel-cli":"^6.18.0","babel-eslint":"^6.0.4","babel-loader":"^6.2.10","babel-plugin-dev-expression":"^0.2.1","babel-plugin-transform-react-remove-prop-types":"^0.2.11","babel-preset-es2015":"^6.14.0","babel-preset-react":"^6.5.0","babel-preset-stage-1":"^6.5.0","eslint":"^2.13.1","eslint-plugin-import":"^1.15.0","eslint-plugin-react":"^5.2.2","expect":"^1.20.1","gzip-size":"^3.0.0","in-publish":"^2.0.0","karma":"^0.13.22","karma-browserstack-launcher":"^1.0.1","karma-chrome-launcher":"^1.0.1","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.4","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.5.3","pretty-bytes":"^3.0.1","react":"^15.4.2","react-addons-test-utils":"^15.4.2","react-dom":"^15.3.0","react-router":"^4.1.1","webpack":"^1.13.1","webpack-dev-server":"^1.14.1"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"bugs":{"url":"https://github.com/reacttraining/react-router/issues"},"homepage":"https://github.com/reacttraining/react-router#readme","_id":"react-router-config@1.0.0-beta.3","_shasum":"b16d38d6f210960434d929c78cc358f684a6c11e","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"timdorr","email":"timdorr@timdorr.com"},"dist":{"shasum":"b16d38d6f210960434d929c78cc358f684a6c11e","size":4158,"noattachment":false,"key":"/react-router-config/-/react-router-config-1.0.0-beta.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-1.0.0-beta.3.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-router-config-1.0.0-beta.3.tgz_1492025399056_0.6096406218130141"},"directories":{},"publish_time":1492025400891,"_hasShrinkwrap":false,"_cnpm_publish_time":1492025400891,"_cnpmcore_publish_time":"2021-12-16T13:58:22.803Z"},"1.0.0-beta.2":{"name":"react-router-config","version":"1.0.0-beta.2","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/reacttraining/react-router.git"},"license":"MIT","authors":["Ryan Florence"],"files":["matchRoutes.js","renderRoutes.js"],"main":"index.js","module":"es/index.js","scripts":{"build":"node ./tools/build.js","watch":"babel ./modules -d . --ignore __tests__ --watch","prepublish":"node ./tools/build.js","clean":"git clean -fdX .","lint":"eslint modules","test":"karma start --single-run"},"peerDependencies":{"react":"^15","react-router":"^4.1.0"},"devDependencies":{"react-router":"^4.1.0","babel-cli":"^6.18.0","babel-eslint":"^6.0.4","babel-loader":"^6.2.10","babel-plugin-dev-expression":"^0.2.1","babel-plugin-transform-react-remove-prop-types":"^0.2.11","babel-preset-es2015":"^6.14.0","babel-preset-react":"^6.5.0","babel-preset-stage-1":"^6.5.0","eslint":"^2.13.1","eslint-plugin-import":"^1.15.0","eslint-plugin-react":"^5.2.2","expect":"^1.20.1","gzip-size":"^3.0.0","in-publish":"^2.0.0","karma":"^0.13.22","karma-browserstack-launcher":"^1.0.1","karma-chrome-launcher":"^1.0.1","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.4","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.5.3","pretty-bytes":"^3.0.1","react":"^15.4.2","react-addons-test-utils":"^15.4.2","react-dom":"^15.3.0","webpack":"^1.13.1","webpack-dev-server":"^1.14.1"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"bugs":{"url":"https://github.com/reacttraining/react-router/issues"},"homepage":"https://github.com/reacttraining/react-router#readme","_id":"react-router-config@1.0.0-beta.2","_shasum":"0377463eea5769277f9e6a2be8934a821bd1cfaf","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"0377463eea5769277f9e6a2be8934a821bd1cfaf","size":4155,"noattachment":false,"key":"/react-router-config/-/react-router-config-1.0.0-beta.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-1.0.0-beta.2.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-router-config-1.0.0-beta.2.tgz_1491936747941_0.749343024333939"},"directories":{},"publish_time":1491936748183,"_hasShrinkwrap":false,"_cnpm_publish_time":1491936748183,"_cnpmcore_publish_time":"2021-12-16T13:58:22.992Z"},"1.0.0-beta.1":{"name":"react-router-config","version":"1.0.0-beta.1","description":"Static route config matching for React Router","repository":{"type":"git","url":"git+https://github.com/reacttraining/react-router-config.git"},"license":"MIT","authors":["Ryan Florence"],"files":["matchRoutes.js","renderRoutes.js"],"main":"index.js","module":"es/index.js","scripts":{"build":"node ./tools/build.js","watch":"babel ./modules -d . --ignore __tests__ --watch","prepublish":"node ./tools/build.js","clean":"git clean -e '!node_modules' -fdX .","lint":"eslint modules","test":"karma start --single-run"},"peerDependencies":{"react":"^15","react-router":"^4"},"devDependencies":{"react-router":"^4.0.0","babel-cli":"^6.18.0","babel-eslint":"^6.0.4","babel-loader":"^6.2.10","babel-plugin-dev-expression":"^0.2.1","babel-plugin-transform-react-remove-prop-types":"^0.2.11","babel-preset-es2015":"^6.14.0","babel-preset-react":"^6.5.0","babel-preset-stage-1":"^6.5.0","eslint":"^2.13.1","eslint-plugin-import":"^1.15.0","eslint-plugin-react":"^5.2.2","expect":"^1.20.1","gzip-size":"^3.0.0","in-publish":"^2.0.0","karma":"^0.13.22","karma-browserstack-launcher":"^1.0.1","karma-chrome-launcher":"^1.0.1","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.4","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.5.3","pretty-bytes":"^3.0.1","react":"^15.4.2","react-addons-test-utils":"^15.4.2","react-dom":"^15.3.0","readline-sync":"^1.4.4","webpack":"^1.13.1","webpack-dev-server":"^1.14.1"},"browserify":{"transform":["loose-envify"]},"keywords":["react","router","route","routing","static routes","route config","react router"],"bugs":{"url":"https://github.com/reacttraining/react-router-config/issues"},"homepage":"https://github.com/reacttraining/react-router-config#readme","_id":"react-router-config@1.0.0-beta.1","_shasum":"e83158d6b1179b99d8077d0248e529c1049222e4","_from":".","_npmVersion":"4.0.5","_nodeVersion":"6.6.0","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"e83158d6b1179b99d8077d0248e529c1049222e4","size":4244,"noattachment":false,"key":"/react-router-config/-/react-router-config-1.0.0-beta.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-config/download/react-router-config-1.0.0-beta.1.tgz"},"maintainers":[{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"timdorr","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-router-config-1.0.0-beta.1.tgz_1489201250379_0.047096684109419584"},"directories":{},"publish_time":1489201250627,"_hasShrinkwrap":false,"_cnpm_publish_time":1489201250627,"_cnpmcore_publish_time":"2021-12-16T13:58:23.182Z"}},"readme":"# React Router Config\n\nStatic route configuration helpers for React Router.\n\nThis is alpha software, it needs:\n\n1. Realistic server rendering example with data preloading\n2. Pending navigation example\n\n## Installation\n\nUsing [npm](https://www.npmjs.com/):\n\n    $ npm install --save react-router-config\n\nThen with a module bundler like [webpack](https://webpack.github.io/), use as you would anything else:\n\n```js\n// using an ES6 transpiler, like babel\nimport { matchRoutes, renderRoutes } from \"react-router-config\";\n\n// not using an ES6 transpiler\nvar matchRoutes = require(\"react-router-config\").matchRoutes;\n```\n\nThe UMD build is also available on [unpkg](https://unpkg.com):\n\n```html\n<script src=\"https://unpkg.com/react-router-config/umd/react-router-config.min.js\"></script>\n```\n\nYou can find the library on `window.ReactRouterConfig`\n\n## Motivation\n\nWith the introduction of React Router v4, there is no longer a centralized route configuration. There are some use-cases where it is valuable to know about all the app's potential routes such as:\n\n- Loading data on the server or in the lifecycle before rendering the next screen\n- Linking to routes by name\n- Static analysis\n\nThis project seeks to define a shared format for others to build patterns on top of.\n\n## Route Configuration Shape\n\nRoutes are objects with the same properties as a `<Route>` with a couple differences:\n\n- the only render prop it accepts is `component` (no `render` or `children`)\n- introduces the `routes` key for sub routes\n- Consumers are free to add any additional props they'd like to a route, you can access `props.route` inside the `component`, this object is a reference to the object used to render and match.\n- accepts `key` prop to prevent remounting component when transition was made from route with the same component and same `key` prop\n\n```js\nconst routes = [\n  {\n    component: Root,\n    routes: [\n      {\n        path: \"/\",\n        exact: true,\n        component: Home\n      },\n      {\n        path: \"/child/:id\",\n        component: Child,\n        routes: [\n          {\n            path: \"/child/:id/grand-child\",\n            component: GrandChild\n          }\n        ]\n      }\n    ]\n  }\n];\n```\n\n**Note**: Just like `<Route>`, relative paths are not (yet) supported. When it is supported there, it will be supported here.\n\n## API\n\n### `matchRoutes(routes, pathname)`\n\nReturns an array of matched routes.\n\n#### Parameters\n\n- routes - the route configuration\n- pathname - the [pathname](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/pathname) component of the url. This must be a decoded string representing the path.\n\n```js\nimport { matchRoutes } from \"react-router-config\";\nconst branch = matchRoutes(routes, \"/child/23\");\n// using the routes shown earlier, this returns\n// [\n//   routes[0],\n//   routes[0].routes[1]\n// ]\n```\n\nEach item in the array contains two properties: `routes` and `match`.\n\n- `routes`: A reference to the routes array used to match\n- `match`: The match object that also gets passed to `<Route>` render methods.\n\n```js\nbranch[0].match.url;\nbranch[0].match.isExact;\n// etc.\n```\n\nYou can use this branch of routes to figure out what is going to be rendered before it actually is rendered. You could do something like this on the server before rendering, or in a lifecycle hook of a component that wraps your entire app\n\n```js\nconst loadBranchData = (location) => {\n  const branch = matchRoutes(routes, location.pathname)\n\n  const promises = branch.map(({ route, match }) => {\n    return route.loadData\n      ? route.loadData(match)\n      : Promise.resolve(null)\n  })\n\n  return Promise.all(promises)\n}\n\n// useful on the server for preloading data\nloadBranchData(req.url).then(data => {\n  putTheDataSomewhereTheClientCanFindIt(data)\n})\n\n// also useful on the client for \"pending navigation\" where you\n// load up all the data before rendering the next page when\n// the url changes\n\n// THIS IS JUST SOME THEORETICAL PSEUDO CODE :)\nclass PendingNavDataLoader extends Component {\n  state = {\n    previousLocation: null,\n    currentLocation: this.props.location\n  }\n\n  static getDerivedStateFromProps(props, state) {\n    const currentLocation = props.location\n    const previousLocation = state.currentLocation\n\n    const navigated = currentLocation !== previousLocation\n    if (navigated) {\n      // save the location so we can render the old screen\n      return {\n        previousLocation,\n        currentLocation\n      }\n    }\n\n    return null\n  }\n\n  componentDidUpdate(prevProps) {\n    const navigated = prevProps.location !== this.props.location\n\n    if (navigated) {\n      // load data while the old screen remains\n      loadNextData(routes, this.props.location).then(data => {\n        putTheDataSomewhereRoutesCanFindIt(data)\n        // clear previousLocation so the next screen renders\n        this.setState({\n          previousLocation: null\n        })\n      })\n    }\n  }\n\n  render() {\n    const { children, location } = this.props\n    const { previousLocation } = this.state\n\n    // use a controlled <Route> to trick all descendants into\n    // rendering the old location\n    return (\n      <Route\n        location={previousLocation || location}\n        render={() => children}\n      />\n    )\n  }\n}\n\n// wrap in withRouter\nexport default withRouter(PendingNavDataLoader)\n\n/////////////\n// somewhere at the top of your app\nimport routes from './routes'\n\n<BrowserRouter>\n  <PendingNavDataLoader routes={routes}>\n    {renderRoutes(routes)}\n  </PendingNavDataLoader>\n</BrowserRouter>\n```\n\nAgain, that's all pseudo-code. There are a lot of ways to do server rendering with data and pending navigation and we haven't settled on one. The point here is that `matchRoutes` gives you a chance to match statically outside of the render lifecycle. We'd like to make a demo app of this approach eventually.\n\n### `renderRoutes(routes, extraProps = {}, switchProps = {})`\n\nIn order to ensure that matching outside of render with `matchRoutes` and inside of render result in the same branch, you must use `renderRoutes` instead of `<Route>` inside your components. You can render a `<Route>` still, but know that it will not be accounted for in `matchRoutes` outside of render.\n\n```js\nimport { renderRoutes } from \"react-router-config\";\n\nconst routes = [\n  {\n    component: Root,\n    routes: [\n      {\n        path: \"/\",\n        exact: true,\n        component: Home\n      },\n      {\n        path: \"/child/:id\",\n        component: Child,\n        routes: [\n          {\n            path: \"/child/:id/grand-child\",\n            component: GrandChild\n          }\n        ]\n      }\n    ]\n  }\n];\n\nconst Root = ({ route }) => (\n  <div>\n    <h1>Root</h1>\n    {/* child routes won't render without this */}\n    {renderRoutes(route.routes)}\n  </div>\n);\n\nconst Home = ({ route }) => (\n  <div>\n    <h2>Home</h2>\n  </div>\n);\n\nconst Child = ({ route }) => (\n  <div>\n    <h2>Child</h2>\n    {/* child routes won't render without this */}\n    {renderRoutes(route.routes, { someProp: \"these extra props are optional\" })}\n  </div>\n);\n\nconst GrandChild = ({ someProp }) => (\n  <div>\n    <h3>Grand Child</h3>\n    <div>{someProp}</div>\n  </div>\n);\n\nReactDOM.render(\n  <BrowserRouter>\n    {/* kick it all off with the root route */}\n    {renderRoutes(routes)}\n  </BrowserRouter>,\n  document.getElementById(\"root\")\n);\n```\n","_attachments":{},"homepage":"https://github.com/ReactTraining/react-router#readme","bugs":{"url":"https://github.com/ReactTraining/react-router/issues"},"license":"MIT"}