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

@sap-ux/fe-mockserver-core

Package Overview
Dependencies
Maintainers
3
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-ux/fe-mockserver-core - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

dist/api.d.ts

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

contextBasedIsolation?: boolean;
generateMockData?: boolean;
fileLoader?: string;

@@ -89,2 +90,3 @@ /** Name of the package to use for the metadata provider **/

contextBasedIsolation?: boolean;
generateMockData?: boolean;
watch?: boolean;

@@ -91,0 +93,0 @@ strictKeyMode?: boolean;

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

this.fileLoader = fileLoader;
if (this.generateMockData && this.debug) {
this.log.info('Missing mockdata will be generated');
}
this.initializeMockData();

@@ -36,0 +39,0 @@ }

11

dist/index.js

@@ -18,5 +18,2 @@ "use strict";

});
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
var __importStar = (this && this.__importStar) || function (mod) {

@@ -29,2 +26,5 @@ if (mod && mod.__esModule) return mod;

};
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -36,2 +36,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

const middleware_1 = require("./middleware");
const path = __importStar(require("path"));
__exportStar(require("./api"), exports);

@@ -46,5 +47,5 @@ class FEMockserver {

var _a, _b;
const FileLoaderClass = (await Promise.resolve().then(() => __importStar(require(this.configuration.fileLoader || './plugins/fileSystemLoader')))).default;
const FileLoaderClass = this.configuration.fileLoader || (await Promise.resolve().then(() => __importStar(require('./plugins/fileSystemLoader')))).default;
this.fileLoader = new FileLoaderClass();
const MetadataProviderClass = (await Promise.resolve().then(() => __importStar(require(((_a = this.configuration.metadataProcessor) === null || _a === void 0 ? void 0 : _a.name) || './plugins/metadataProvider')))).default;
const MetadataProviderClass = (await this.fileLoader.loadJS(((_a = this.configuration.metadataProcessor) === null || _a === void 0 ? void 0 : _a.name) || path.resolve(__dirname, './plugins/metadataProvider'))).default;
this.metadataProvider = new MetadataProviderClass(this.fileLoader, (_b = this.configuration.metadataProcessor) === null || _b === void 0 ? void 0 : _b.options);

@@ -51,0 +52,0 @@ await (0, middleware_1.createMockMiddleware)(this.configuration, this.mainRouter, this.fileLoader, this.metadataProvider);

{
"name": "@sap-ux/fe-mockserver-core",
"version": "1.1.1",
"version": "1.1.2",
"description": "SAP Fiori OData - Fiori elements mock server core",

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

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