@wildberries/service-cdn-uploader
Advanced tools
Comparing version 2.0.6-beta.3 to 2.0.6-beta.4
23
index.js
@@ -69,3 +69,2 @@ /* eslint-disable import/no-unresolved */ | ||
filePath, | ||
fileName, | ||
requestId, | ||
@@ -77,8 +76,6 @@ tryNumber, | ||
console.log( | ||
`File ${fileName} start uploading to ${filePath} - try ${tryNumber}` | ||
.yellow, | ||
`File ${filePath} start uploading: try ${tryNumber}, Request_Id: ${ | ||
params.requestId | ||
}, timestamp: ${new Date().toISOString()}`.yellow, | ||
); | ||
console.log( | ||
`Request_Id: ${params.requestId} ${new Date().toISOString()}`.yellow, | ||
); | ||
@@ -108,7 +105,6 @@ const formData = new FormData(); | ||
console.log( | ||
`File ${fileName} start test downloading - try ${tryNumber}`.yellow, | ||
`File ${filePath} start downloading: try ${tryNumber}, Request_Id: ${ | ||
params.requestId | ||
}, timestamp: ${new Date().toISOString()}`.yellow, | ||
); | ||
console.log( | ||
`Request_Id: ${params.requestId} ${new Date().toISOString()}`.yellow, | ||
); | ||
@@ -124,7 +120,6 @@ await sleep(5000); | ||
console.log( | ||
`File ${fileName} uploaded to ${filePath} - try ${tryNumber}`.green, | ||
`File ${filePath} uploaded - try ${tryNumber}, Request_Id: ${ | ||
params.requestId | ||
}, timestamp: ${new Date().toISOString()}`.green, | ||
); | ||
console.log( | ||
`Request_Id: ${params.requestId} ${new Date().toISOString()}`.green, | ||
); | ||
} catch (error) { | ||
@@ -131,0 +126,0 @@ console.error(error); |
{ | ||
"name": "@wildberries/service-cdn-uploader", | ||
"version": "2.0.6-beta.3", | ||
"version": "2.0.6-beta.4", | ||
"main": "./index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
7967
162