From ab154bccb31d230902451bf93a7224469ad53d25 Mon Sep 17 00:00:00 2001 From: cherry530 <707078654@qq.com> Date: Fri, 27 Oct 2023 17:30:34 +0800 Subject: [PATCH] Adapted nodejs-bytes version Signed-off-by: cherry530 <707078654@qq.com> --- nodejs-raw-body.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nodejs-raw-body.spec b/nodejs-raw-body.spec index 41e14cd..30decb4 100644 --- a/nodejs-raw-body.spec +++ b/nodejs-raw-body.spec @@ -4,7 +4,7 @@ Name: nodejs-raw-body Version: 2.2.0 -Release: 2 +Release: 3 Summary: Get and validate the raw body of a readable stream License: MIT URL: https://github.com/stream-utils/raw-body @@ -42,7 +42,7 @@ sed -i '102a\ assert.strictEqual(err.length, length)' ./test/index.js sed -i '103a\ assert.strictEqual(err.limit, length - 1)' ./test/index.js sed -i "104a\ assert.strictEqual(err.type, 'entity.too.large')" ./test/index.js sed -i "105a\ assert.strictEqual(err.message, 'request entity too large')" ./test/index.js -%nodejs_fixdep bytes --caret +%nodejs_fixdep bytes '<=3.1.2' %nodejs_fixdep iconv-lite '<0.5.0' %nodejs_fixdep unpipe --caret @@ -75,6 +75,9 @@ istanbul-js cover mocha --report lcovonly -- --trace-deprecation --reporter spec %{nodejs_sitelib}/raw-body %changelog +* Fri Oct 27 2023 xu_ping <707078654@qq.com> - 2.2.0-3 +- adapted nodejs-bytes version + * Wed Dec 30 2020 Ge Wang - 2.2.0-2 - fix compile failure due to nodejs update to 10.21.0