Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gosolivs committed Feb 6, 2020
1 parent 3cee8c5 commit b8093a2
Show file tree
Hide file tree
Showing 3 changed files with 2,940 additions and 3,018 deletions.
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ function createRouter (routes) {
event.target.tagName === 'A' &&
event.target.href.indexOf(loc.origin) === 0 &&
event.target.target !== '_blank' &&
event.target.dataset['ignoreRouter'] == null &&
event.target.dataset.ignoreRouter == null &&
event.button === 0 &&
event.which === 1 &&
!event.metaKey &&
!event.ctrlKey &&
!event.shiftKey &&
Expand Down Expand Up @@ -121,7 +120,7 @@ function parse (path, routes) {

if (checkPath.indexOf('*') >= 0) {
var prepareRe = checkPath
.replace(/[[\]{}()+!<=:?.\\^$|#\s,]/g, '\\$&')
.replace(/[\s!#$()+,.:<=?[\\\]^{|}]/g, '\\$&')
.replace(/\*/g, '([^/]*)')
var re = RegExp('^' + prepareRe + '$', 'i')
var match = normalized.match(re)
Expand Down
41 changes: 22 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,31 @@
"watch:react": "parcel serve example-react/index.html --no-cache --no-source-maps"
},
"devDependencies": {
"@logux/eslint-config": "^30.0.2",
"@size-limit/preset-small-lib": "^2.1.1",
"documentation": "^12.1.1",
"eslint": "^6.1.0",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-es5": "^1.4.1",
"eslint-plugin-import": "^2.18.2",
"@logux/eslint-config": "^35.0.4",
"@size-limit/preset-small-lib": "^4.0.1",
"documentation": "^12.1.4",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-es5": "^1.5.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-import-helpers": "^1.0.2",
"eslint-plugin-jest": "^22.15.1",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-jest": "^23.6.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prefer-let": "^1.0.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-standard": "^4.0.0",
"husky": "^3.0.4",
"jest": "^24.9.0",
"lint-staged": "^9.2.3",
"parcel-bundler": "^1.12.3",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"rimraf": "^3.0.0",
"storeon": "^0.9.4",
"yaspeller": "^6.0.0"
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-unicorn": "^16.0.0",
"husky": "^4.2.1",
"jest": "^25.1.0",
"lint-staged": "^10.0.7",
"parcel-bundler": "^1.12.4",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"rimraf": "^3.0.1",
"size-limit": "^4.0.1",
"storeon": "^0.9.8",
"yaspeller": "^6.0.2"
},
"size-limit": [
{
Expand Down Expand Up @@ -73,6 +75,7 @@
"eslintConfig": {
"extends": "@logux/eslint-config/browser",
"rules": {
"jest/no-truthy-falsy": "off",
"node/no-unpublished-require": "off",
"es5/no-es6-static-methods": "off",
"node/no-missing-require": "off",
Expand Down
Loading

0 comments on commit b8093a2

Please sign in to comment.