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

node-r3trans

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-r3trans - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

4

dist/R3transLogParser.d.ts

@@ -20,6 +20,6 @@ import { Structure } from "./Structure";

getReleaseLog(): Promise<ReleaseLogStep[]>;
static parseExitCode(exitCode: 0 | 4 | 8 | 12 | 16): {
type: 'SUCCESS' | 'ERROR' | 'WARNING';
static parseExitCode(exitCode?: number): {
type: 'SUCCESS' | 'ERROR' | 'WARNING' | 'UNKNOWN';
value: string;
};
}

@@ -316,24 +316,30 @@ "use strict";

var sExitCode = `Return code not set by R3trans itself but point to errors, such as segmentation faults.`;
switch (exitCode) {
case 0:
sExitCode = 'No errors or problems have occurred.';
sType = 'SUCCESS';
break;
case 4:
sExitCode = 'Warnings have occurred but they can be ignored.';
sType = 'WARNING';
break;
case 8:
sExitCode = 'Transport could not be completed. Problems occurred with certain objects.';
sType = 'ERROR';
break;
case 12:
sExitCode = 'Fatal errors have occurred, such as errors while reading or writing a file or unexpected errors within the database interface, in particular database problems.';
sType = 'ERROR';
break;
case 16:
sExitCode = 'Situations have occurred that are normally not allowed.';
sType = 'ERROR';
break;
if (!exitCode) {
sType = `UNKNOWN`;
sExitCode = `Unknown exit code.`;
}
else {
switch (exitCode) {
case 0:
sExitCode = 'No errors or problems have occurred.';
sType = 'SUCCESS';
break;
case 4:
sExitCode = 'Warnings have occurred but they can be ignored.';
sType = 'WARNING';
break;
case 8:
sExitCode = 'Transport could not be completed. Problems occurred with certain objects.';
sType = 'ERROR';
break;
case 12:
sExitCode = 'Fatal errors have occurred, such as errors while reading or writing a file or unexpected errors within the database interface, in particular database problems.';
sType = 'ERROR';
break;
case 16:
sExitCode = 'Situations have occurred that are normally not allowed.';
sType = 'ERROR';
break;
}
}
return {

@@ -340,0 +346,0 @@ type: sType,

{
"name": "node-r3trans",
"version": "1.0.8",
"version": "1.0.9",
"description": "NodeJs wrapper for SAP R3trans program",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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