Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alicloud/mns

Package Overview
Dependencies
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alicloud/mns - npm Package Compare versions

Comparing version 1.0.0-beta8 to 1.0.0

2

es5/client.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc