File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11unreleased
2- =================
2+ ==================
33
4+ * Remove ` Object.setPrototypeOf ` polyfill
45* Use ` Array.flat ` instead of ` array-flatten ` package
56
672.0.0 / 2024-09-09
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ const methods = require('methods')
1818const mixin = require ( 'utils-merge' )
1919const parseUrl = require ( 'parseurl' )
2020const Route = require ( './lib/route' )
21- const setPrototypeOf = require ( 'setprototypeof' )
2221
2322/**
2423 * Module variables.
@@ -60,7 +59,7 @@ function Router (options) {
6059 }
6160
6261 // inherit from the correct prototype
63- setPrototypeOf ( router , this )
62+ Object . setPrototypeOf ( router , this )
6463
6564 router . caseSensitive = opts . caseSensitive
6665 router . mergeParams = opts . mergeParams
Original file line number Diff line number Diff line change 1313 "methods" : " ~1.1.2" ,
1414 "parseurl" : " ~1.3.3" ,
1515 "path-to-regexp" : " ^8.0.0" ,
16- "setprototypeof" : " 1.2.0" ,
1716 "utils-merge" : " 1.0.1"
1817 },
1918 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments