!6 adapted nodejs-bytes version

From: @cherry530 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2023-10-27 10:11:14 +00:00 committed by Gitee
commit 8af3f4a84e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <wangge20@huawei.com> - 2.2.0-2
- fix compile failure due to nodejs update to 10.21.0