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

@alicloud/mns

Package Overview
Dependencies
Maintainers
3
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-beta5 to 1.0.0-beta6

es5/client.js

12

index.js
'use strict';
module.exports = require('./lib/client');
function supportAsyncFunctions() {
try {
new Function('(async function () {})()');
return true;
} catch (ex) {
return false;
}
}
module.exports = supportAsyncFunctions() ?
require('./lib/client.js') : require('./es5/client.js');
{
"name": "@alicloud/mns",
"version": "1.0.0-beta5",
"version": "1.0.0-beta6",
"description": "> 该 SDK 并未完全实现所有文档所提及的功能,如果您想使用的功能并未实现,请提[issue](https://github.com/aliyun/aliyun-mns-nodejs-sdk/issues/new)以增加优先级。",

@@ -10,4 +10,9 @@ "main": "index.js",

"scripts": {
"test": "make test"
"test": "make test",
"build-es5": "babel lib/ -d es5/"
},
"git-pre-hooks": {
"pre-release": "npm run build-es5",
"post-release": "npm publish --access public"
},
"author": "Jackson Tian",

@@ -23,5 +28,11 @@ "license": "MIT",

"lib",
"es5",
"index.js"
],
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.4.0",
"babel-register": "^6.24.1",
"git-pre-hooks": "^1.2.0",
"coveralls": "^2.13.1",

@@ -28,0 +39,0 @@ "eslint": "^3.19.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