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

@sap-ux/fe-fpm-writer

Package Overview
Dependencies
Maintainers
3
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-ux/fe-fpm-writer - npm Package Compare versions

Comparing version 0.24.14 to 0.24.15

7

dist/common/validate.js

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

function validateBasePath(basePath, fs) {
var _a, _b, _c;
var _a, _b;
if (!fs) {

@@ -41,4 +41,5 @@ fs = (0, mem_fs_editor_1.create)((0, mem_fs_1.create)());

const manifest = fs.readJSON(manifestPath);
if ((((_c = (_b = (_a = manifest['sap.ui5']) === null || _a === void 0 ? void 0 : _a.dependencies) === null || _b === void 0 ? void 0 : _b.libs) === null || _c === void 0 ? void 0 : _c['sap.fe.templates']) !== undefined) === false) {
throw new Error('Dependency sap.fe.templates is missing in the manifest.json. Fiori elements FPM requires the SAP FE libraries.');
const ui5Dependencies = (_b = (_a = manifest['sap.ui5']) === null || _a === void 0 ? void 0 : _a.dependencies) === null || _b === void 0 ? void 0 : _b.libs;
if (!(ui5Dependencies && (ui5Dependencies['sap.fe.core'] || ui5Dependencies['sap.fe.templates']))) {
throw new Error('Dependencies sap.fe.core or sap.fe.templates are missing in the manifest.json. Fiori elements FPM requires the SAP FE libraries.');
}

@@ -45,0 +46,0 @@ }

{
"name": "@sap-ux/fe-fpm-writer",
"description": "SAP Fiori elements flexible programming model writer",
"version": "0.24.14",
"version": "0.24.15",
"repository": {

@@ -36,3 +36,3 @@ "type": "git",

"@types/semver": "7.5.2",
"@sap-ux/project-access": "1.20.3"
"@sap-ux/project-access": "1.21.2"
},

@@ -39,0 +39,0 @@ "engines": {

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