diff --git a/flake.lock b/flake.lock index 333e23c34..4ef7d21fe 100644 Binary files a/flake.lock and b/flake.lock differ diff --git a/hashes.json b/hashes.json index 712d3fa52..bd884548a 100644 --- a/hashes.json +++ b/hashes.json @@ -1,3 +1,3 @@ { - "npmDepsHash": "sha256-DwhgKzPxYEU5SHO6Si6KBZD62UVNAMJeRpN731UGvjs=" + "npmDepsHash": "sha256-DE6tv4oZgLSWMmKvS7BbrBB2kIJNzDViVbTDQukkyaQ=" } diff --git a/package-lock.json b/package-lock.json index caf3689e7..25799e898 100644 Binary files a/package-lock.json and b/package-lock.json differ diff --git a/patches/body-parser+2.2.0.patch b/patches/body-parser+2.2.1.patch similarity index 72% rename from patches/body-parser+2.2.0.patch rename to patches/body-parser+2.2.1.patch index a3399011d..d61629e0f 100644 --- a/patches/body-parser+2.2.0.patch +++ b/patches/body-parser+2.2.1.patch @@ -1,16 +1,16 @@ diff --git a/node_modules/body-parser/lib/types/json.js b/node_modules/body-parser/lib/types/json.js -index 078ce71..af121b3 100644 +index 15c54bb..90f8507 100644 --- a/node_modules/body-parser/lib/types/json.js +++ b/node_modules/body-parser/lib/types/json.js -@@ -17,6 +17,7 @@ var debug = require('debug')('body-parser:json') - var isFinished = require('on-finished').isFinished +@@ -15,6 +15,7 @@ + var debug = require('debug')('body-parser:json') var read = require('../read') - var typeis = require('type-is') + var { normalizeOptions } = require('../utils') +var JSONbig = require("json-bigint"); - var { getCharset, normalizeOptions } = require('../utils') /** -@@ -74,7 +75,7 @@ function json (options) { + * Module exports. +@@ -71,7 +72,7 @@ function json (options) { try { debug('parse json') @@ -19,7 +19,7 @@ index 078ce71..af121b3 100644 } catch (e) { throw normalizeJsonSyntaxError(e, { message: e.message, -@@ -153,7 +154,7 @@ function createStrictSyntaxError (str, char) { +@@ -113,7 +114,7 @@ function createStrictSyntaxError (str, char) { } try { @@ -28,7 +28,7 @@ index 078ce71..af121b3 100644 } catch (e) { return normalizeJsonSyntaxError(e, { message: e.message.replace(JSON_SYNTAX_REGEXP, function (placeholder) { -@@ -199,7 +200,7 @@ function normalizeJsonSyntaxError (error, obj) { +@@ -159,7 +160,7 @@ function normalizeJsonSyntaxError (error, obj) { } // replace stack before message for Node.js 0.10 and below diff --git a/patches/express+5.1.0.patch b/patches/express+5.2.1.patch similarity index 86% rename from patches/express+5.1.0.patch rename to patches/express+5.2.1.patch index 70d9947e5..b1d827409 100644 --- a/patches/express+5.1.0.patch +++ b/patches/express+5.2.1.patch @@ -1,8 +1,8 @@ diff --git a/node_modules/express/lib/response.js b/node_modules/express/lib/response.js -index 9362d0e..0f3ed6d 100644 +index 7a2f0ec..a78e09b 100644 --- a/node_modules/express/lib/response.js +++ b/node_modules/express/lib/response.js -@@ -25,7 +25,6 @@ var statuses = require('statuses') +@@ -26,7 +26,6 @@ var statuses = require('statuses') var sign = require('cookie-signature').sign; var normalizeType = require('./utils').normalizeType; var normalizeTypes = require('./utils').normalizeTypes; @@ -10,7 +10,7 @@ index 9362d0e..0f3ed6d 100644 var cookie = require('cookie'); var send = require('send'); var extname = path.extname; -@@ -151,17 +150,6 @@ res.send = function send(body) { +@@ -153,17 +152,6 @@ res.send = function send(body) { break; } @@ -28,7 +28,7 @@ index 9362d0e..0f3ed6d 100644 // determine if ETag should be generated var etagFn = app.get('etag fn') var generateETag = !this.get('ETag') && typeof etagFn === 'function' -@@ -673,14 +661,6 @@ res.header = function header(field, val) { +@@ -675,14 +663,6 @@ res.header = function header(field, val) { ? val.map(String) : String(val);