Skip to content

Commit

Permalink
Fixed issue that will crash CLI app that states Trouter is not a co…
Browse files Browse the repository at this point in the history
…nstructor (#40)

* Fixed issue that will crash CLI app that states `Trouter` is not a constructor
* Bump Trouter to latest version
  • Loading branch information
lvcabral authored Jan 4, 2025
1 parent 152f483 commit f2e293f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/router/sequential.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const Trouter = require('trouter')
const { Trouter } = require('trouter')
const next = require('./../next')
const { LRUCache: LRU } = require('lru-cache')
const { parse } = require('regexparam')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"dependencies": {
"lru-cache": "^10.2.0",
"regexparam": "^3.0.0",
"trouter": "^3.2.1"
"trouter": "^4.0.0"
},
"types": "./index.d.ts"
}

0 comments on commit f2e293f

Please sign in to comment.