Socket
Socket
Sign inDemoInstall

@sap-ux/axios-extension

Package Overview
Dependencies
Maintainers
3
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-ux/axios-extension - npm Package Compare versions

Comparing version 1.12.6 to 1.13.0

dist/base/patchTls.d.ts

8

dist/abap/catalog/v2-catalog-service.js

@@ -102,3 +102,4 @@ "use strict";

};
const response = yield this.get(`/${this.entitySet}`, { params });
const requestPath = this.entitySet ? `/${this.entitySet}` : '/ServiceCollection';
const response = yield this.get(requestPath, { params });
const services = response.odata();

@@ -130,5 +131,2 @@ if (services.length > 1) {

return __awaiter(this, void 0, void 0, function* () {
if (!this.entitySet) {
yield this.determineEntitySet();
}
if (!id) {

@@ -141,3 +139,3 @@ const ServiceConfig = yield this.findService({ title, path });

if (id) {
const response = yield this.get(`/${this.entitySet}('${encodeURIComponent(id)}')/Annotations`, {
const response = yield this.get(`/ServiceCollection('${encodeURIComponent(id)}')/Annotations`, {
params: { $format: 'json' }

@@ -144,0 +142,0 @@ });

@@ -34,2 +34,3 @@ "use strict";

const util_1 = require("util");
const patchTls_1 = require("./base/patchTls");
/**

@@ -76,2 +77,5 @@ * Create a new instance of given type and set default configuration merged with the given config.

}
if (patchTls_1.TlsPatch.isPatchRequired(config.baseURL)) {
patchTls_1.TlsPatch.apply();
}
return instance;

@@ -78,0 +82,0 @@ }

{
"name": "@sap-ux/axios-extension",
"version": "1.12.6",
"version": "1.13.0",
"description": "Extension of the Axios module adding convenience methods to interact with SAP systems especially with OData services.",

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

"supertest": "6.3.3",
"@sap-ux/project-access": "1.20.1"
"@sap-ux/project-access": "1.21.0"
},

@@ -35,0 +35,0 @@ "files": [

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