@commercelayer/cli-plugin-exports
Advanced tools
Comparing version 2.1.9 to 2.1.10
@@ -218,6 +218,7 @@ "use strict"; | ||
// 25000 --> 1: 10000, 2: 10000, 3: 5000, 4: x | ||
const pageSize = 1; // clConfig.api.page_max_size | ||
const curExpRecords = Math.min(MAX_EXPORT_SIZE, expJob.totalRecords - (MAX_EXPORT_SIZE * curExp)); | ||
const curExpPages = Math.ceil(curExpRecords / cli_core_1.clConfig.api.page_max_size); | ||
const curExpPages = Math.ceil(curExpRecords / pageSize); | ||
expPage += curExpPages; | ||
const curExpLastPage = await resSdk.list({ filters: expJob.filter, pageSize: cli_core_1.clConfig.api.page_max_size, pageNumber: expPage, sort: { id: 'asc' } }); | ||
const curExpLastPage = await resSdk.list({ filters: expJob.filter, pageSize, pageNumber: expPage, sort: { id: 'asc' } }); | ||
stopId = curExpLastPage.last()?.id; | ||
@@ -224,0 +225,0 @@ if (startId) |
{ | ||
"version": "2.1.9", | ||
"version": "2.1.10", | ||
"commands": { | ||
@@ -4,0 +4,0 @@ "exports:all": { |
{ | ||
"name": "@commercelayer/cli-plugin-exports", | ||
"description": "Commerce Layer CLI Exports plugin", | ||
"version": "2.1.9", | ||
"version": "2.1.10", | ||
"author": "Pierluigi Viti <pierluigi@commercelayer.io>", | ||
@@ -50,8 +50,8 @@ "bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-exports/issues", | ||
"@oclif/test": "^2.5.6", | ||
"@types/chai": "^4.3.7", | ||
"@types/mocha": "^10.0.2", | ||
"@types/node": "^20.8.4", | ||
"@types/node-notifier": "^8.0.3", | ||
"@types/chai": "^4.3.9", | ||
"@types/mocha": "^10.0.3", | ||
"@types/node": "^20.8.8", | ||
"@types/node-notifier": "^8.0.4", | ||
"chai": "^4.3.10", | ||
"eslint": "^8.51.0", | ||
"eslint": "^8.52.0", | ||
"mocha": "^10.2.0", | ||
@@ -63,4 +63,4 @@ "nyc": "^15.1.0", | ||
"dependencies": { | ||
"@commercelayer/cli-core": "^3.12.1", | ||
"@commercelayer/sdk": "^5.16.0", | ||
"@commercelayer/cli-core": "^4.1.2", | ||
"@commercelayer/sdk": "^5.19.0", | ||
"@oclif/core": "^2.15.0", | ||
@@ -67,0 +67,0 @@ "axios": "^1.5.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92875
2031
+ Added@commercelayer/cli-core@4.12.1(transitive)
+ Added@commercelayer/js-auth@5.2.1(transitive)
+ Addedaxios@1.6.8(transitive)
+ Addedjsonwebtoken@9.0.2(transitive)
- Removed@commercelayer/cli-core@3.12.1(transitive)
- Removed@commercelayer/js-auth@2.3.0(transitive)
- Removed@servie/events@1.0.0(transitive)
- Removed@types/tough-cookie@4.0.5(transitive)
- Removedaxios@1.4.0(transitive)
- Removedbyte-length@1.0.2(transitive)
- Removedclient-oauth2@4.3.3(transitive)
- Removedjsonwebtoken@8.5.1(transitive)
- Removedmake-error-cause@2.3.0(transitive)
- Removedpopsicle@12.1.2(transitive)
- Removedpopsicle-content-encoding@1.0.0(transitive)
- Removedpopsicle-cookie-jar@1.0.1(transitive)
- Removedpopsicle-redirects@1.1.1(transitive)
- Removedpopsicle-transport-http@1.2.1(transitive)
- Removedpopsicle-transport-xhr@2.0.0(transitive)
- Removedpopsicle-user-agent@1.0.0(transitive)
- Removedpsl@1.15.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedquerystringify@2.2.0(transitive)
- Removedrequires-port@1.0.0(transitive)
- Removedsemver@5.7.2(transitive)
- Removedservie@4.3.3(transitive)
- Removedthrowback@4.1.0(transitive)
- Removedtough-cookie@4.1.4(transitive)
- Removedts-expect@1.3.0(transitive)
- Removeduniversalify@0.2.0(transitive)
- Removedurl-parse@1.5.10(transitive)
Updated@commercelayer/sdk@^5.19.0