Adapted nodejs-bytes version
Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
parent
d4abadd979
commit
ab154bccb3
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user