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

@commercelayer/cli-plugin-exports

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.0.0-oclif3.5 to 3.0.0-oclif3.6

10

lib/commands/exports/all.js

@@ -44,4 +44,4 @@ "use strict";

const generateGroupUID = () => {
const firstPart = Math.trunc(Math.random() * 46656);
const secondPart = Math.trunc(Math.random() * 46656);
const firstPart = Math.trunc(Math.random() * 46_656);
const secondPart = Math.trunc(Math.random() * 46_656);
const firstPartStr = ('000' + firstPart.toString(36)).slice(-3);

@@ -113,3 +113,4 @@ const secondPartStr = ('000' + secondPart.toString(36)).slice(-3);

const resSdk = this.cl[resType];
const totRecords = await resSdk.count({ filters: wheres, pageSize: 1, pageNumber: 1 });
const filter = { filters: wheres, pageSize: 1, pageNumber: 1 };
const totRecords = await resSdk.count(filter);
exportJob.totalRecords = totRecords;

@@ -244,3 +245,4 @@ const totExports = Math.ceil(totRecords / MAX_EXPORT_SIZE);

expPage += curExpPages;
const curExpLastPage = await resSdk.list({ filters: expJob.filter, pageSize, pageNumber: expPage, sort: { id: 'asc' } });
const filter = { filters: expJob.filter, pageSize, pageNumber: expPage, sort: { id: 'asc' } };
const curExpLastPage = await resSdk.list(filter);
stopId = curExpLastPage.last()?.id;

@@ -247,0 +249,0 @@ if (startId)

2

oclif.manifest.json

@@ -881,3 +881,3 @@ {

},
"version": "3.0.0-oclif3.5"
"version": "3.0.0-oclif3.6"
}
{
"name": "@commercelayer/cli-plugin-exports",
"description": "Commerce Layer CLI Exports plugin",
"version": "3.0.0-oclif3.5",
"version": "3.0.0-oclif3.6",
"author": "Pierluigi Viti <pierluigi@commercelayer.io>",

@@ -10,3 +10,3 @@ "homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-exports",

"engines": {
"node": ">=20.10.0"
"node": ">=20"
},

@@ -58,26 +58,26 @@ "files": [

"@commercelayer/cli-dev": "beta",
"@commercelayer/eslint-config-ts": "^1.3.0",
"@oclif/plugin-help": "^6.0.14",
"@oclif/test": "^3.2.0",
"@commercelayer/eslint-config-ts": "^1.4.5",
"@oclif/plugin-help": "^6.0.20",
"@oclif/test": "^3.2.9",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/chai": "^4.3.12",
"@types/chai": "^4.3.14",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.20",
"@types/node": "^20.12.7",
"@types/node-notifier": "^8.0.5",
"chai": "^4.4.1",
"eslint": "^8.56.0",
"mocha": "^10.3.0",
"eslint": "^8.57.0",
"mocha": "^10.4.0",
"nyc": "^15.1.0",
"oclif": "^4.4.17",
"semantic-release": "^23.0.2",
"oclif": "^4.8.0",
"semantic-release": "^23.0.8",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
"typescript": "^5.4.5"
},
"dependencies": {
"@commercelayer/cli-core": "beta",
"@commercelayer/sdk": "^5.32.0",
"@oclif/core": "^3.19.5",
"axios": "^1.6.7",
"cli-table3": "^0.6.3",
"@commercelayer/sdk": "sdk6",
"@oclif/core": "^3.26.2",
"axios": "^1.6.8",
"cli-table3": "^0.6.4",
"node-notifier": "^10.0.1",

@@ -84,0 +84,0 @@ "open": "^8.4.2",

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