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

@sap/bas-sdk

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap/bas-sdk - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

19

api.d.ts

@@ -363,2 +363,21 @@ import { URL } from "url";

export function didBASGeneratorsFinishInstallation(): Promise<boolean>;
export enum DevSpaceStatus {
RUNNING = "RUNNING",
STARTING = "STARTING",
STOPPED = "STOPPED",
STOPPING = "STOPPING",
ERROR = "ERROR",
SAFE_MODE = "SAFE_MODE",
}
export enum PackName {
FIORI = "SAP Fiori",
CAP = "SAP Cloud Business Application",
HANA = "SAP Hana",
SME = "SAP SME Business Application",
MOBILE = "SAP Mobile Services",
BASIC = "Basic",
LCAP = "LCAP",
}
}

@@ -365,0 +384,0 @@

5

dist/src/index.js

@@ -38,6 +38,7 @@ "use strict";

exports.destinations = Object.assign(Object.assign({}, getDestinations), createDestination);
exports.devspace = Object.assign({ getDevspaceInfo: get_devspace_1.getDevspaceInfo,
exports.devspace = Object.assign(Object.assign({ getDevspaceInfo: get_devspace_1.getDevspaceInfo,
getDevSpaces: get_devspace_1.getDevSpaces,
deleteDevSpace: get_devspace_1.deleteDevSpace,
updateDevSpace: get_devspace_1.updateDevSpace }, didBASGeneratorsFinishInstallation);
updateDevSpace: get_devspace_1.updateDevSpace }, didBASGeneratorsFinishInstallation), { DevSpaceStatus: devspace_utils_1.DevSpaceStatus,
PackName: devspace_utils_1.PackName });
exports.hrtt = Object.assign({}, hanaHrttHelper);

@@ -44,0 +45,0 @@ exports.remotessh = {

2

dist/src/utils/core-utils.js

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

url.protocol = `https`;
url.pathname = `ext-login.html`;
url.pathname = `remote-login.html`;
url.search = `cb=${Math.floor(Math.random() * 100000)}`;

@@ -114,0 +114,0 @@ return url.toString();

import { AxiosResponse } from "axios";
export declare enum DevSpaceStatus {
RUNNING = "RUNNING",
STARTING = "STARTING",
STOPPED = "STOPPED",
STOPPING = "STOPPING",
ERROR = "ERROR",
SAFE_MODE = "SAFE_MODE"
}
export declare enum PackName {
FIORI = "SAP Fiori",
CAP = "SAP Cloud Business Application",
HANA = "SAP Hana",
SME = "SAP SME Business Application",
MOBILE = "SAP Mobile Services",
BASIC = "Basic",
LCAP = "LCAP"
}
interface DevspaceRuntime {

@@ -3,0 +20,0 @@ status: string;

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.readExtensionsInstallationCompletionFile = exports.getKey = exports.updateDevSpace = exports.createDevSpace = exports.getExtensionPacks = exports.getDevSpacesSpec = exports.deleteDevSpace = exports.getDevSpaces = exports.getDevSpace = exports.flattenDevspaceInfo = void 0;
exports.readExtensionsInstallationCompletionFile = exports.getKey = exports.updateDevSpace = exports.createDevSpace = exports.getExtensionPacks = exports.getDevSpacesSpec = exports.deleteDevSpace = exports.getDevSpaces = exports.getDevSpace = exports.flattenDevspaceInfo = exports.PackName = exports.DevSpaceStatus = void 0;
const axios_1 = __importDefault(require("axios"));
const lodash_1 = require("lodash");
const fs_extra_1 = require("fs-extra");
var DevSpaceStatus;
(function (DevSpaceStatus) {
DevSpaceStatus["RUNNING"] = "RUNNING";
DevSpaceStatus["STARTING"] = "STARTING";
DevSpaceStatus["STOPPED"] = "STOPPED";
DevSpaceStatus["STOPPING"] = "STOPPING";
DevSpaceStatus["ERROR"] = "ERROR";
DevSpaceStatus["SAFE_MODE"] = "SAFE_MODE";
})(DevSpaceStatus = exports.DevSpaceStatus || (exports.DevSpaceStatus = {}));
var PackName;
(function (PackName) {
PackName["FIORI"] = "SAP Fiori";
PackName["CAP"] = "SAP Cloud Business Application";
PackName["HANA"] = "SAP Hana";
PackName["SME"] = "SAP SME Business Application";
PackName["MOBILE"] = "SAP Mobile Services";
PackName["BASIC"] = "Basic";
PackName["LCAP"] = "LCAP";
})(PackName = exports.PackName || (exports.PackName = {}));
/**

@@ -12,0 +31,0 @@ * Create flat structure of exposed workspace information from given api call results.

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

optionalExtensions: "[]",
pack: "Basic",
pack: devspaceUtils.PackName.BASIC,
packTagline: "Basic Tag Line",

@@ -68,3 +68,3 @@ technicalExtensions: "['one/one','two/two','and-three/and-three']",

runtime: {
status: "RUNNING",
status: devspaceUtils.DevSpaceStatus.RUNNING,
baseUrl: "https://any.host/",

@@ -107,3 +107,3 @@ statusLastUpdateTime: "2022-09-02T17:33:01Z",

devspaceOrigin: "dev_space_origin_label",
pack: "Basic",
pack: devspaceUtils.PackName.BASIC,
packDisplayName: "Basic Tag Line",

@@ -115,3 +115,3 @@ id: "ws-anyw",

sshEnabled: false,
status: "RUNNING",
status: devspaceUtils.DevSpaceStatus.RUNNING,
});

@@ -136,3 +136,3 @@ });

devspaceOrigin: "LCAP",
pack: "Basic",
pack: devspaceUtils.PackName.BASIC,
packDisplayName: "Basic Tag Line",

@@ -144,3 +144,3 @@ id: "ws-anyw",

sshEnabled: false,
status: "RUNNING",
status: devspaceUtils.DevSpaceStatus.RUNNING,
});

@@ -253,3 +253,3 @@ });

devspaceOrigin: "dev_space_origin_label",
pack: "Basic",
pack: devspaceUtils.PackName.BASIC,
packDisplayName: "Basic Tag Line",

@@ -261,3 +261,3 @@ id: "ws-anyw",

sshEnabled: false,
status: "RUNNING",
status: devspaceUtils.DevSpaceStatus.RUNNING,
});

@@ -287,3 +287,3 @@ });

optionalExtensions: "[]",
pack: "Basic",
pack: devspaceUtils.PackName.BASIC,
packTagline: "Basic Tag Line",

@@ -301,3 +301,3 @@ technicalExtensions: "['one/one','two/two','and-three/and-three']",

runtime: {
status: "RUNNING",
status: devspaceUtils.DevSpaceStatus.RUNNING,
baseUrl: "https://any.host/",

@@ -337,3 +337,3 @@ statusLastUpdateTime: "2022-09-02T17:33:01Z",

optionalExtensions: "[]",
pack: "Basic",
pack: devspaceUtils.PackName.BASIC,
packTagline: "Basic Tag Line2",

@@ -351,3 +351,3 @@ technicalExtensions: "['one/one','two/two','and-three/and-three']",

runtime: {
status: "RUNNING",
status: devspaceUtils.DevSpaceStatus.RUNNING,
baseUrl: "https://any.host/",

@@ -392,3 +392,3 @@ statusLastUpdateTime: "2022-09-02T17:33:01Z",

devspaceOrigin: "dev_space_origin_label",
pack: "Basic",
pack: devspaceUtils.PackName.BASIC,
packDisplayName: "Basic Tag Line",

@@ -400,3 +400,3 @@ id: "ws-anyw",

sshEnabled: false,
status: "RUNNING",
status: devspaceUtils.DevSpaceStatus.RUNNING,
});

@@ -597,3 +597,3 @@ });

annotations: {
pack: "LCAP",
pack: devspaceUtils.PackName.LCAP,
packTagline: "LCAP",

@@ -600,0 +600,0 @@ optionalExtensions: "",

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

const landscapeUrl = "https://landscape.com";
chai_1.expect(core_utils_1.getExtLoginPath(landscapeUrl)).to.contain("https://landscape.com/ext-login.html?cb=");
chai_1.expect(core_utils_1.getExtLoginPath(landscapeUrl)).to.contain("https://landscape.com/remote-login.html?cb=");
});

@@ -56,0 +56,0 @@ it("should throw exception while composing 'external login' when landscape is empty", () => {

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

runtime: {
status: "RUNNING",
status: devspaceUtils.DevSpaceStatus.RUNNING,
baseUrl: "https://any.host/",

@@ -72,3 +72,3 @@ statusLastUpdateTime: "2022-09-02T17:33:01Z",

sshEnabled: false,
status: "RUNNING",
status: devspaceUtils.DevSpaceStatus.RUNNING,
technicalExtensions: "['one/one','two/two','and-three/and-three']",

@@ -184,3 +184,3 @@ url: "https://any.host/",

optionalExtensions: "[]",
pack: "Basic",
pack: devspaceUtils.PackName.BASIC,
packTagline: "Basic Tag Line",

@@ -198,3 +198,3 @@ technicalExtensions: "['one/one','two/two','and-three/and-three']",

runtime: {
status: "RUNNING",
status: devspaceUtils.DevSpaceStatus.RUNNING,
baseUrl: "https://any.host/",

@@ -201,0 +201,0 @@ statusLastUpdateTime: "2022-09-02T17:33:01Z",

{
"name": "@sap/bas-sdk",
"version": "3.3.0",
"version": "3.3.1",
"description": "SDK for SAP Business Application Studio",

@@ -31,3 +31,3 @@ "license": "SAP",

"devDependencies": {
"@sap/bas-sdk-sinon-helper": "^3.3.0",
"@sap/bas-sdk-sinon-helper": "^3.3.1",
"@types/cross-spawn": "^6.0.2",

@@ -34,0 +34,0 @@ "@types/fs-extra": "^11.0.1",

@@ -18,3 +18,3 @@ import * as isAppStudio from "./apis/is-app-studio";

import * as publicApi from "../api";
import { getKey } from "./utils/devspace-utils";
import { getKey, DevSpaceStatus, PackName } from "./utils/devspace-utils";

@@ -42,2 +42,4 @@ export const core: typeof publicApi.core = {

...didBASGeneratorsFinishInstallation,
DevSpaceStatus,
PackName,
};

@@ -44,0 +46,0 @@ export const hrtt: typeof publicApi.hrtt = { ...hanaHrttHelper };

@@ -124,5 +124,5 @@ import { spawn } from "cross-spawn";

url.protocol = `https`;
url.pathname = `ext-login.html`;
url.pathname = `remote-login.html`;
url.search = `cb=${Math.floor(Math.random() * 100000)}`;
return url.toString();
}

@@ -5,2 +5,21 @@ import axios, { AxiosResponse, RawAxiosRequestHeaders } from "axios";

export enum DevSpaceStatus {
RUNNING = "RUNNING",
STARTING = "STARTING",
STOPPED = "STOPPED",
STOPPING = "STOPPING",
ERROR = "ERROR",
SAFE_MODE = "SAFE_MODE",
}
export enum PackName {
FIORI = "SAP Fiori",
CAP = "SAP Cloud Business Application",
HANA = "SAP Hana",
SME = "SAP SME Business Application",
MOBILE = "SAP Mobile Services",
BASIC = "Basic",
LCAP = "LCAP",
}
interface DevspaceRuntime {

@@ -7,0 +26,0 @@ status: string;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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