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

@alicloud/pop-core

Package Overview
Dependencies
Maintainers
5
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.7.11 to 1.7.12

7

lib/roa.js

@@ -126,3 +126,6 @@ 'use strict';

this.securityToken = config.securityToken;
this.host = url.parse(this.endpoint).hostname;
const parsed = url.parse(this.endpoint);
this.host = parsed.hostname;
this.protocol = parsed.protocol;
this.port = parsed.port;
this.opts = config.opts;

@@ -174,3 +177,3 @@ var httpModule = this.endpoint.startsWith('https://') ? require('https') : require('http');

var url = `${this.endpoint}${uriPattern}`;
let url = `${this.protocol}//${this.aclIp ? this.aclIp : this.host}${this.port ? ':' + this.port : ''}${uriPattern}`;
if (Object.keys(query).length) {

@@ -177,0 +180,0 @@ url += `?${querystring.stringify(query)}`;

{
"name": "@alicloud/pop-core",
"version": "1.7.11",
"version": "1.7.12",
"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