Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@sp-api-sdk/uploads-api-2020-11-01

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sp-api-sdk/uploads-api-2020-11-01 - npm Package Compare versions

Comparing version
3.1.19
to
3.1.20
+1
-1
dist/cjs/api-model/api/uploads-api.js

@@ -48,3 +48,3 @@ "use strict";

const localVarPath = `/uploads/2020-11-01/uploadDestinations/{resource}`
.replace(`{${"resource"}}`, encodeURIComponent(String(resource)));
.replace('{resource}', encodeURIComponent(String(resource)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.

@@ -51,0 +51,0 @@ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);

@@ -94,6 +94,6 @@ "use strict";

isJsonMime(mime) {
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
return mime !== null && jsonMime.test(mime);
}
}
exports.Configuration = Configuration;

@@ -42,3 +42,3 @@ /* tslint:disable */

const localVarPath = `/uploads/2020-11-01/uploadDestinations/{resource}`
.replace(`{${"resource"}}`, encodeURIComponent(String(resource)));
.replace('{resource}', encodeURIComponent(String(resource)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.

@@ -45,0 +45,0 @@ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);

@@ -91,5 +91,5 @@ /* tslint:disable */

isJsonMime(mime) {
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
return mime !== null && jsonMime.test(mime);
}
}

@@ -5,3 +5,3 @@ {

"description": "The Uploads API lets you upload files that you can programmatically access using other Selling Partner APIs, such as the A+ Content API and the Messaging API.",
"version": "3.1.19",
"version": "3.1.20",
"main": "dist/cjs/index.js",

@@ -22,4 +22,4 @@ "module": "dist/es/index.js",

"dependencies": {
"@sp-api-sdk/common": "2.1.30",
"axios": "^1.13.6"
"@sp-api-sdk/common": "2.1.31",
"axios": "^1.15.2"
},

@@ -45,3 +45,3 @@ "repository": {

],
"gitHead": "ed62de76baf24107227aacb576cd494b2ecbf0b5"
"gitHead": "cc3ed7e58346bf7a4110ed8f1353aae840f294e2"
}