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

@commercelayer/cli-plugin-resources

Package Overview
Dependencies
Maintainers
2
Versions
267
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercelayer/cli-plugin-resources - npm Package Compare versions

Comparing version 6.0.5 to 6.0.6

4

lib/lang/request.d.ts

@@ -7,4 +7,4 @@ import { type CommerceLayerClient } from '@commercelayer/sdk';

method: string;
headers: any;
params?: any;
headers?: any;
params?: URLSearchParams;
data?: any;

@@ -11,0 +11,0 @@ };

@@ -45,5 +45,7 @@ "use strict";

let fullUrl = `${request.baseUrl}${request.path}`;
if (request.params && (Object.keys(request.params).length > 0)) {
const qs = Object.entries(request.params).map(([k, v]) => `${k}=${v}`).join('&');
fullUrl += `?${qs}`;
const params = request.params;
if (params && (params.size > 0)) {
const qs = [];
params.forEach((v, k) => { qs.push(`${k}=${v}`); });
fullUrl += `?${qs.join('&')}`;
}

@@ -50,0 +52,0 @@ return fullUrl;

{
"name": "@commercelayer/cli-plugin-resources",
"description": "Commerce Layer CLI Resources plugin",
"version": "6.0.5",
"version": "6.0.6",
"author": "Pierluigi Viti <pierluigi@commercelayer.io>",

@@ -76,5 +76,5 @@ "homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-resources",

"nyc": "^15.1.0",
"oclif": "^4.10.11",
"oclif": "^4.10.15",
"semantic-release": "^23.1.1",
"tsx": "^4.10.4",
"tsx": "^4.10.5",
"typescript": "^5.4.5"

@@ -84,3 +84,3 @@ },

"@commercelayer/cli-core": "^5.0.2",
"@commercelayer/sdk": "^6.1.0",
"@commercelayer/sdk": "^6.2.0",
"@oclif/core": "^3.26.6",

@@ -87,0 +87,0 @@ "inquirer": "^8.2.6",

Sorry, the diff of this file is too big to display

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