File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
unreleased
2
- =================
2
+ ==================
3
3
4
+ * Remove ` Object.setPrototypeOf ` polyfill
4
5
* Use ` Array.flat ` instead of ` array-flatten ` package
5
6
6
7
2.0.0 / 2024-09-09
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ const methods = require('methods')
18
18
const mixin = require ( 'utils-merge' )
19
19
const parseUrl = require ( 'parseurl' )
20
20
const Route = require ( './lib/route' )
21
- const setPrototypeOf = require ( 'setprototypeof' )
22
21
23
22
/**
24
23
* Module variables.
@@ -60,7 +59,7 @@ function Router (options) {
60
59
}
61
60
62
61
// inherit from the correct prototype
63
- setPrototypeOf ( router , this )
62
+ Object . setPrototypeOf ( router , this )
64
63
65
64
router . caseSensitive = opts . caseSensitive
66
65
router . mergeParams = opts . mergeParams
Original file line number Diff line number Diff line change 13
13
"methods" : " ~1.1.2" ,
14
14
"parseurl" : " ~1.3.3" ,
15
15
"path-to-regexp" : " ^8.0.0" ,
16
- "setprototypeof" : " 1.2.0" ,
17
16
"utils-merge" : " 1.0.1"
18
17
},
19
18
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments