-
-
Notifications
You must be signed in to change notification settings - Fork 17.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
85 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
unreleased | ||
========================= | ||
* remove: | ||
- `path-is-absolute` dependency - use `path.isAbsolute` instead | ||
* breaking: | ||
* `res.status()` accepts only integers, and input must be greater than 99 and less than 1000 | ||
* will throw a `RangeError: Invalid status code: ${code}. Status code must be greater than 99 and less than 1000.` for inputs outside this range | ||
* will throw a `TypeError: Invalid status code: ${code}. Status code must be an integer.` for non integer inputs | ||
* deps: [email protected] | ||
* change: | ||
- `res.clearCookie` will ignore user provided `maxAge` and `expires` options | ||
* deps: cookie-signature@^1.2.1 | ||
* deps: [email protected] | ||
* deps: merge-descriptors@^2.0.0 | ||
* deps: serve-static@^2.0.0 | ||
* deps: [email protected] | ||
* deps: accepts@^2.0.0 | ||
* deps: mime-types@^3.0.0 | ||
- `application/javascript` => `text/javascript` | ||
* deps: type-is@^2.0.0 | ||
* deps: content-disposition@^1.0.0 | ||
* deps: finalhandler@^2.0.0 | ||
* deps: fresh@^2.0.0 | ||
|
||
5.0.0-beta.3 / 2024-03-25 | ||
========================= | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
{ | ||
"name": "express", | ||
"description": "Fast, unopinionated, minimalist web framework", | ||
<<<<<<< HEAD | ||
"version": "5.0.0-beta.3", | ||
======= | ||
"version": "4.20.0", | ||
>>>>>>> master | ||
"author": "TJ Holowaychuk <[email protected]>", | ||
"contributors": [ | ||
"Aaron Heckmann <[email protected]>", | ||
|
@@ -32,37 +28,36 @@ | |
"api" | ||
], | ||
"dependencies": { | ||
"accepts": "~1.3.8", | ||
"accepts": "^2.0.0", | ||
"body-parser": "2.0.0-beta.2", | ||
"content-disposition": "0.5.4", | ||
"content-disposition": "^1.0.0", | ||
"content-type": "~1.0.4", | ||
"cookie": "0.6.0", | ||
"cookie-signature": "1.0.6", | ||
"debug": "3.1.0", | ||
"cookie-signature": "^1.2.1", | ||
"debug": "4.3.6", | ||
"depd": "2.0.0", | ||
"encodeurl": "~2.0.0", | ||
"escape-html": "~1.0.3", | ||
"etag": "~1.8.1", | ||
"finalhandler": "1.2.0", | ||
"fresh": "0.5.2", | ||
"finalhandler": "^2.0.0", | ||
"fresh": "2.0.0", | ||
"http-errors": "2.0.0", | ||
"merge-descriptors": "1.0.3", | ||
"merge-descriptors": "^2.0.0", | ||
"methods": "~1.1.2", | ||
"mime-types": "~2.1.34", | ||
"mime-types": "^3.0.0", | ||
"on-finished": "2.4.1", | ||
"once": "1.4.0", | ||
"parseurl": "~1.3.3", | ||
"path-is-absolute": "1.0.1", | ||
"proxy-addr": "~2.0.7", | ||
"qs": "6.11.0", | ||
"qs": "6.13.0", | ||
"range-parser": "~1.2.1", | ||
"router": "2.0.0-beta.2", | ||
"router": "^2.0.0", | ||
"safe-buffer": "5.2.1", | ||
"send": "1.0.0-beta.2", | ||
"serve-static": "2.0.0-beta.2", | ||
"send": "^1.0.0", | ||
"serve-static": "^2.0.0", | ||
"setprototypeof": "1.2.0", | ||
"statuses": "2.0.1", | ||
"type-is": "~1.6.18", | ||
"type-is": "^2.0.0", | ||
"utils-merge": "1.0.1", | ||
"vary": "~1.1.2" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters