@alicloud/mns
Advanced tools
Comparing version 1.0.0-beta8 to 1.0.0
@@ -99,3 +99,3 @@ 'use strict'; | ||
if (!(responseBody && contentType.startsWith('text/xml'))) { | ||
if (!(responseBody && (contentType.startsWith('text/xml') || contentType.startsWith('application/xml')))) { | ||
_context.next = 31; | ||
@@ -102,0 +102,0 @@ break; |
@@ -61,3 +61,3 @@ 'use strict'; | ||
var body; | ||
if (responseBody && contentType.startsWith('text/xml')) { | ||
if (responseBody && (contentType.startsWith('text/xml') || contentType.startsWith('application/xml'))) { | ||
const responseData = await parseXML(responseBody); | ||
@@ -64,0 +64,0 @@ |
{ | ||
"name": "@alicloud/mns", | ||
"version": "1.0.0-beta8", | ||
"version": "1.0.0", | ||
"description": "> 该 SDK 并未完全实现所有文档所提及的功能,如果您想使用的功能并未实现,请提[issue](https://github.com/aliyun/aliyun-mns-nodejs-sdk/issues/new)以增加优先级。", | ||
@@ -10,3 +10,4 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "make test", | ||
"test": "mocha -t 20000 -R spec test/*.test.js", | ||
"lint": "eslint --fix lib index.js test", | ||
"build-es5": "babel lib/ -d es5/" | ||
@@ -37,4 +38,4 @@ }, | ||
"git-pre-hooks": "^1.2.0", | ||
"coveralls": "^2.13.1", | ||
"eslint": "^3.19.0", | ||
"coveralls": "^3.0.2", | ||
"eslint": "^5.8.0", | ||
"expect.js": "^0.3.1", | ||
@@ -41,0 +42,0 @@ "mocha": "^3.3.0", |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
40596
0