Socket
Socket
Sign inDemoInstall

@sap/cds-mtxs

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap/cds-mtxs - npm Package Compare versions

Comparing version 1.6.2 to 1.6.3

6

bin/cds-mtx.js

@@ -31,6 +31,6 @@ #!/usr/bin/env node

const _local = file => isfile(file) || isfile (path.join(cds.env.folders.srv,file))
let cli_js = process.env.CDS_TYPESCRIPT && _local('cli.ts') || _local('cli.js')
const cli_js = process.env.CDS_TYPESCRIPT && _local('cli.ts') || _local('cli.js')
if (cli_js) {
console.log ('[cds] - loading server from', { file: local(cli_js) })
let fn = await _import(cli_js)
await _import(cli_js)
}

@@ -70,2 +70,2 @@ }

const [,,cmd,tenant] = process.argv
cds_mtx(cmd, tenant).catch(console.error)
cds_mtx(cmd, tenant)
{
"name": "@sap/cds-mtxs",
"version": "1.6.2",
"version": "1.6.3",
"description": "SAP Cloud Application Programming Model - Multitenancy library",

@@ -5,0 +5,0 @@ "homepage": "https://cap.cloud.sap/",

@@ -196,3 +196,3 @@ const cds = require('@sap/cds/lib')

const originalRequest = cds.context?.http?.req
const { isSync, isCustomCallback, saasCallbackUrlPath, callbackUrl } = parseHeaders(originalRequest.headers)
const { isSync, isCustomCallback, saasCallbackUrlPath, callbackUrl } = parseHeaders(originalRequest?.headers)
if (!isSync && callbackUrl) {

@@ -199,0 +199,0 @@ /// TODO evaluate params for new rest adapter

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