Skip to content

Commit

Permalink
Generates new dist
Browse files Browse the repository at this point in the history
  • Loading branch information
favorit committed Mar 16, 2018
1 parent 42b07a3 commit aa18ff3
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 29 deletions.
7 changes: 0 additions & 7 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,13 +281,6 @@ var Route = function () {
(0, _createClass3.default)(Route, [{
key: 'match',
value: function match(path) {
if (path.substring(1, this.locale.length + 1) === this.locale) {
path = path.substring(this.locale.length + 1);

if (!path) {
return {};
}
}
var values = this.regex.exec(path);
if (values) {
return this.valuesToParams(values.slice(1));
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-eslint": "^8.2.2",
"babel-jest": "^22.4.1",
"babel-jest": "^23.0.0-alpha.0",
"babel-preset-env": "^1.6.1",
"concurrently": "^3.5.1",
"coveralls": "^3.0.0",
Expand All @@ -47,7 +47,7 @@
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"standard": "^11.0.0"
"standard": "^11.0.1"
},
"author": "fridays",
"license": "MIT",
Expand Down
54 changes: 34 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,13 @@ babel-jest@^22.4.1:
babel-plugin-istanbul "^4.1.5"
babel-preset-jest "^22.4.1"

babel-jest@^23.0.0-alpha.0:
version "23.0.0-alpha.0"
resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-23.0.0-alpha.0.tgz#a19c6bff78d7012a2e01e698ae56a8bd3e8cb2f6"
dependencies:
babel-plugin-istanbul "^4.1.5"
babel-preset-jest "^23.0.0-alpha.0"

[email protected]:
version "7.1.2"
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-7.1.2.tgz#f6cbe122710f1aa2af4d881c6d5b54358ca24126"
Expand Down Expand Up @@ -661,6 +668,10 @@ babel-plugin-jest-hoist@^22.4.1:
version "22.4.1"
resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-22.4.1.tgz#d712fe5da8b6965f3191dacddbefdbdf4fb66d63"

babel-plugin-jest-hoist@^23.0.0-alpha.0:
version "23.0.0-alpha.0"
resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-23.0.0-alpha.0.tgz#9d3e334679db15795de6b7df46b04bdb2d191869"

[email protected]:
version "2.7.1"
resolved "https://registry.yarnpkg.com/babel-plugin-module-resolver/-/babel-plugin-module-resolver-2.7.1.tgz#18be3c42ddf59f7a456c9e0512cd91394f6e4be1"
Expand Down Expand Up @@ -1056,6 +1067,13 @@ babel-preset-jest@^22.4.1:
babel-plugin-jest-hoist "^22.4.1"
babel-plugin-syntax-object-rest-spread "^6.13.0"

babel-preset-jest@^23.0.0-alpha.0:
version "23.0.0-alpha.0"
resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-23.0.0-alpha.0.tgz#bb7c274b82ae75303ea368c34c97eb34490417d3"
dependencies:
babel-plugin-jest-hoist "^23.0.0-alpha.0"
babel-plugin-syntax-object-rest-spread "^6.13.0"

[email protected]:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-preset-react/-/babel-preset-react-6.24.1.tgz#ba69dfaea45fc3ec639b6a4ecea6e17702c91380"
Expand Down Expand Up @@ -2353,9 +2371,9 @@ eslint-module-utils@^2.1.1:
debug "^2.6.8"
pkg-dir "^1.0.0"

eslint-plugin-import@~2.8.0:
version "2.8.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.8.0.tgz#fa1b6ef31fcb3c501c09859c1b86f1fc5b986894"
eslint-plugin-import@~2.9.0:
version "2.9.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.9.0.tgz#26002efbfca5989b7288ac047508bd24f217b169"
dependencies:
builtin-modules "^1.1.1"
contains-path "^0.1.0"
Expand All @@ -2364,7 +2382,7 @@ eslint-plugin-import@~2.8.0:
eslint-import-resolver-node "^0.3.1"
eslint-module-utils "^2.1.1"
has "^1.0.1"
lodash.cond "^4.3.0"
lodash "^4.17.4"
minimatch "^3.0.3"
read-pkg-up "^2.0.0"

Expand All @@ -2377,13 +2395,13 @@ eslint-plugin-node@~6.0.0:
resolve "^1.3.3"
semver "^5.4.1"

eslint-plugin-promise@~3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-3.6.0.tgz#54b7658c8f454813dc2a870aff8152ec4969ba75"
eslint-plugin-promise@~3.7.0:
version "3.7.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-3.7.0.tgz#f4bde5c2c77cdd69557a8f69a24d1ad3cfc9e67e"

eslint-plugin-react@~7.6.1:
version "7.6.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.6.1.tgz#5d0e908be599f0c02fbf4eef0c7ed6f29dff7633"
eslint-plugin-react@~7.7.0:
version "7.7.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.7.0.tgz#f606c719dbd8a1a2b3d25c16299813878cca0160"
dependencies:
doctrine "^2.0.2"
has "^1.0.1"
Expand Down Expand Up @@ -4412,10 +4430,6 @@ lodash.assign@^3.0.0:
lodash._createassigner "^3.0.0"
lodash.keys "^3.0.0"

lodash.cond@^4.3.0:
version "4.5.2"
resolved "https://registry.yarnpkg.com/lodash.cond/-/lodash.cond-4.5.2.tgz#f471a1da486be60f6ab955d17115523dd1d255d5"

lodash.isarguments@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a"
Expand Down Expand Up @@ -6399,17 +6413,17 @@ standard-engine@~8.0.0:
minimist "^1.1.0"
pkg-conf "^2.0.0"

standard@^11.0.0:
version "11.0.0"
resolved "https://registry.yarnpkg.com/standard/-/standard-11.0.0.tgz#0ba18c753f68883fbfffedf3e38534a6b9d26dca"
standard@^11.0.1:
version "11.0.1"
resolved "https://registry.yarnpkg.com/standard/-/standard-11.0.1.tgz#49be40c76f1d564964b22bbf7309929ad0335e29"
dependencies:
eslint "~4.18.0"
eslint-config-standard "11.0.0"
eslint-config-standard-jsx "5.0.0"
eslint-plugin-import "~2.8.0"
eslint-plugin-import "~2.9.0"
eslint-plugin-node "~6.0.0"
eslint-plugin-promise "~3.6.0"
eslint-plugin-react "~7.6.1"
eslint-plugin-promise "~3.7.0"
eslint-plugin-react "~7.7.0"
eslint-plugin-standard "~3.0.1"
standard-engine "~8.0.0"

Expand Down

0 comments on commit aa18ff3

Please sign in to comment.