🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@revolut/web-cli

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@revolut/web-cli - npm Package Compare versions

Comparing version

to
1.5.1

bin/templates/infrastructure/charts/project-name/templates/ingress-branch.yaml

2

bin/package.json
{
"name": "@revolut/web-cli",
"version": "1.5.0",
"version": "1.5.1",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "description": "Interactive CLI tool for web projects to provide automation for various tasks",

@@ -50,5 +50,3 @@ "use strict";

[TemplatePlaceholder.AppName]: appName,
[TemplatePlaceholder.SentryReportUri]: sentryReportUri
? `report-uri ${sentryReportUri};`
: '',
[TemplatePlaceholder.SentryReportUri]: sentryReportUri,
};

@@ -64,3 +62,3 @@ }

function applyPlaceholders(text, values) {
return Object.entries(values).reduce((result, [key, value]) => replaceAll(result, key, value), text);
return Object.entries(values).reduce((result, [key, value]) => replaceAll(result, key, value !== null && value !== void 0 ? value : ''), text);
}

@@ -67,0 +65,0 @@ function copyTemplate(appPath, { appDomain, appName, sentryReportUri }) {

{
"name": "@revolut/web-cli",
"version": "1.5.0",
"version": "1.5.1",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "description": "Interactive CLI tool for web projects to provide automation for various tasks",

@@ -71,5 +71,3 @@ import { Command } from 'commander'

[TemplatePlaceholder.AppName]: appName,
[TemplatePlaceholder.SentryReportUri]: sentryReportUri
? `report-uri ${sentryReportUri};`
: '',
[TemplatePlaceholder.SentryReportUri]: sentryReportUri,
}

@@ -92,3 +90,3 @@ }

return Object.entries(values).reduce(
(result, [key, value]) => replaceAll(result, key, value),
(result, [key, value]) => replaceAll(result, key, value ?? ''),
text,

@@ -95,0 +93,0 @@ )

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