New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sap-ux/axios-extension

Package Overview
Dependencies
Maintainers
3
Versions
124
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.18.1 to 1.18.2

29

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

@@ -277,16 +277,21 @@ "use strict";

if (tryCount === 2) {
this.log.warn('Warning: The application was deployed despite a time out response from the backend. Increasing the value of the HTML5.Timeout property for the destination may solve the issue');
this.log.warn('Warning: The BSP application deployment timed out while waiting for a response from the backend. This may indicate the deployment was not finished. To resolve this, consider increasing the value of the HTML5.Timeout property for the destination.');
}
// If its already deployed, then dont try to create it again
if (tryCount !== 1 && !isExisting && (await this.getInfo(appName)) !== undefined) {
// We've nothing to return as we dont want to show the exception to the user!
return Promise.resolve(undefined);
let hasBeenUpdated = isExisting; // Default for first request
if (tryCount !== 1) {
/**
* On the second try (tryCount = 2), the `getInfo` method may
* retrieve partial information because some data may now exist in the
* app after an initial timeout during the first attempt.
*
* We then attempt to update repository and return a response.
* If this attempt also fails, then on the third try (tryCount = 3),
* the user will receive an error.
*/
hasBeenUpdated = (await this.getInfo(appName)) !== undefined;
}
else {
this.log.info(`${appName} found on target system: ${isExisting}`);
const response = isExisting
? await this.put(`/Repositories('${encodeURIComponent(appName)}')`, payload, config)
: await this.post('/Repositories', payload, config);
return response;
}
this.log.info(`${appName} found on target system: ${hasBeenUpdated}`);
return hasBeenUpdated
? await this.put(`/Repositories('${encodeURIComponent(appName)}')`, payload, config)
: await this.post('/Repositories', payload, config);
}

@@ -293,0 +298,0 @@ catch (error) {

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

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

"@types/proxy-from-env": "1.0.1",
"@sap-ux/project-access": "1.28.10"
"@sap-ux/project-access": "1.29.2"
},

@@ -40,0 +40,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