diff --git a/lib/router/sequential.js b/lib/router/sequential.js index 538e53b..5427611 100644 --- a/lib/router/sequential.js +++ b/lib/router/sequential.js @@ -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') diff --git a/package.json b/package.json index 4e8e562..15ebdc2 100644 --- a/package.json +++ b/package.json @@ -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" }