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

@wildberries/service-cdn-uploader

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wildberries/service-cdn-uploader - npm Package Compare versions

Comparing version 3.0.2-beta.1 to 3.0.2-beta.2

9

index.js

@@ -69,6 +69,7 @@ /* eslint-disable import/no-unresolved */

tryNumber,
fileFolder,
}) => {
try {
console.log(
`File ${filePath} start uploading: try ${tryNumber}, Request_Id: ${requestId}, timestamp: ${new Date().toISOString()}`
`File ${filePath} start uploading: fileFolder ${fileFolder} try ${tryNumber}, Request_Id: ${requestId}, timestamp: ${new Date().toISOString()}`
.yellow,

@@ -81,3 +82,3 @@ );

const uploadResponse = await fetch(`${renderGoUrl}/${newStaticPath}`, {
const uploadResponse = await fetch(`${renderGoUrl}/${fileFolder}`, {
method: 'POST',

@@ -163,2 +164,5 @@ body: formData,

const fileName = file.split('/').pop();
const fileFolder = staticPath.replace(`/${fileName}`, '');
await fetchRetryer({

@@ -171,2 +175,3 @@ request: fetchFile,

requestId,
fileFolder,
},

@@ -173,0 +178,0 @@ });

{
"name": "@wildberries/service-cdn-uploader",
"version": "3.0.2-beta.1",
"version": "3.0.2-beta.2",
"main": "./index.js",

@@ -5,0 +5,0 @@ "scripts": {

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