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.2 to 1.3.3

15

lib/core.js

@@ -45,2 +45,10 @@ 'use strict';

function repeatList(list, key, repeat) {
for (var i = 0; i < repeat.length; i++) {
var item = repeat[i];
var prefix = `${key}.${i + 1}`;
list.push([encode(prefix), encode(item)]);
}
}
function normalize(params) {

@@ -51,3 +59,8 @@ var list = [];

var key = keys[i];
list.push([encode(key), encode(params[key])]); //push []
var value = params[key];
if (Array.isArray(value)) {
repeatList(list, key, value);
} else {
list.push([encode(key), encode(value)]); //push []
}
}

@@ -54,0 +67,0 @@

2

package.json
{
"name": "@alicloud/pop-core",
"version": "1.3.2",
"version": "1.3.3",
"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