@alicloud/pop-core
Advanced tools
Comparing version 1.7.9 to 1.7.10
@@ -169,7 +169,5 @@ 'use strict'; | ||
var mixHeaders = Object.assign(this.buildHeaders(), keyLowerify(headers)); | ||
if (body) { | ||
postBody = Buffer.from(body, 'utf8'); | ||
mixHeaders['content-md5'] = kitx.md5(postBody, 'base64'); | ||
mixHeaders['content-length'] = postBody.length; | ||
} | ||
postBody = Buffer.from(body, 'utf8'); | ||
mixHeaders['content-md5'] = kitx.md5(postBody, 'base64'); | ||
mixHeaders['content-length'] = postBody.length; | ||
@@ -176,0 +174,0 @@ var url = `${this.endpoint}${uriPattern}`; |
@@ -146,3 +146,5 @@ 'use strict'; | ||
'x-sdk-client': helper.DEFAULT_CLIENT, | ||
'user-agent': helper.DEFAULT_UA | ||
'user-agent': helper.DEFAULT_UA, | ||
'x-acs-action': action, | ||
'x-acs-version': this.apiVersion | ||
} | ||
@@ -149,0 +151,0 @@ }, this.opts, opts); |
{ | ||
"name": "@alicloud/pop-core", | ||
"version": "1.7.9", | ||
"version": "1.7.10", | ||
"description": "AliCloud POP SDK core", | ||
@@ -27,3 +27,3 @@ "main": "index.js", | ||
"httpx": "^2.1.2", | ||
"json-bigint": "^0.2.3", | ||
"json-bigint": "^1.0.0", | ||
"kitx": "^1.2.1", | ||
@@ -30,0 +30,0 @@ "xml2js": "^0.4.17" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21498
7
+ Addedbignumber.js@9.1.2(transitive)
+ Addedjson-bigint@1.0.0(transitive)
- Removedbignumber.js@4.1.0(transitive)
- Removedjson-bigint@0.2.3(transitive)
Updatedjson-bigint@^1.0.0