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

@alicloud/pop-core

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alicloud/pop-core - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

6

lib/core.js

@@ -84,3 +84,4 @@ 'use strict';

var httpModule = this.endpoint.startsWith('https://') ? require('https') : require('http');
var httpModule = this.endpoint.startsWith('https://')
? require('https') : require('http');
this.keepAliveAgent = new httpModule.Agent({

@@ -133,3 +134,4 @@ keepAlive: true,

var json = JSON.parse(buffer);
if (json.Code && json.Code !== '200') {
if (json.Code && json.Code !== '200'
&& json.Code !== 'OK') {
var err = new Error(json.Message);

@@ -136,0 +138,0 @@ err.name = json.Code + 'Error';

{
"name": "@alicloud/pop-core",
"version": "1.3.1",
"version": "1.3.2",
"description": "AliCloud POP SDK core",

@@ -5,0 +5,0 @@ "main": "index.js",

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