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

@sap-ux/axios-extension

Package Overview
Dependencies
Maintainers
3
Versions
113
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.7.0 to 1.7.1

5

dist/abap/ui5-abap-repository-service.d.ts

@@ -76,2 +76,3 @@ /// <reference types="node" />

private readonly publicUrl;
private readonly isDest;
/**

@@ -170,8 +171,6 @@ * Extension of the base constructor to set preferred response format if not provided by caller.

* @param e.host hostname
* @param e.isDest
*/
protected logError({ error, host, isDest }: {
protected logError({ error, host }: {
error: Error;
host?: string;
isDest?: boolean;
}): void;

@@ -178,0 +177,0 @@ /**

18

dist/abap/ui5-abap-repository-service.js

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

this.publicUrl = config.publicUrl || this.defaults.baseURL;
this.isDest = /\.dest\//.test(this.defaults.baseURL);
}

@@ -125,3 +126,2 @@ /**

const frontendUrl = this.getAbapFrontendUrl();
const isDest = /\.dest\//.test(config.baseURL);
try {

@@ -135,3 +135,3 @@ const response = yield this.updateRepoRequest(!!info, bsp.name, payload, config);

host: frontendUrl,
isDest
isDest: this.isDest
});

@@ -153,3 +153,3 @@ }

host: frontendUrl,
isDest
isDest: this.isDest
}, false);

@@ -160,3 +160,3 @@ }

catch (error) {
this.logError({ error, host: frontendUrl, isDest });
this.logError({ error, host: frontendUrl });
throw error;

@@ -180,3 +180,2 @@ }

const info = yield this.getInfo(bsp.name);
const isDest = /\.dest\//.test(config.baseURL);
try {

@@ -190,3 +189,3 @@ if (info) {

host,
isDest
isDest: this.isDest
});

@@ -202,3 +201,3 @@ }

catch (error) {
this.logError({ error, host, isDest });
this.logError({ error, host });
throw error;

@@ -377,5 +376,4 @@ }

* @param e.host hostname
* @param e.isDest
*/
logError({ error, host, isDest }) {
logError({ error, host }) {
var _a, _b;

@@ -386,3 +384,3 @@ this.log.error(error.message);

if (errorMessage) {
(0, message_1.prettyPrintError)({ error: errorMessage, host, log: this.log, isDest });
(0, message_1.prettyPrintError)({ error: errorMessage, host, log: this.log, isDest: this.isDest });
}

@@ -389,0 +387,0 @@ else {

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

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

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