Socket
Socket
Sign inDemoInstall

@sap/cds-dk

Package Overview
Dependencies
418
Maintainers
1
Versions
132
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.5.0 to 6.5.1

11

bin/deploy/index.js

@@ -113,6 +113,7 @@ module.exports = Object.assign(deploy, {

const { readFile, writeFile } = fs.promises
const package_json = path.resolve ('package.json'), exists = isfile (package_json)
const package_json = path.resolve (cds.root, 'package.json'), exists = isfile (package_json)
const conf = exists ? JSON.parse (await readFile (package_json)) : {}
const requires = conf.cds?.requires
const { schema_evolution } = requires?.db ?? {}
conf.cds?.requires || (conf.cds = {requires: {}})
const requires = conf.cds.requires
const { schema_evolution } = requires.db ?? {}
requires.db = cds.env.requires.db = { kind, model }

@@ -122,6 +123,6 @@ if (database) requires.db.credentials = { database }

if (schema_evolution) requires.db.schema_evolution = schema_evolution
await writeFile (package_json, JSON.stringify(conf,null,' '))
console.log (`/> ${ exists ? 'updated' : 'created' } ./package.json`)
await writeFile (package_json, JSON.stringify(conf,null,2))
console.log (`/> ${ exists ? 'updated' : 'created' } .${path.sep}package_json`)
}
/* eslint no-console: off */

@@ -10,2 +10,12 @@

## Version 6.5.1 - 2023-02-06
### Changed
- `cds init` uses latest Maven Java archetype version 1.31.0 for creating Java projects.
### Fixed
- `cds deploy` no longer fails to write to a `package.json` file that has no `cds` section
## Version 6.5.0 - 2023-01-27

@@ -12,0 +22,0 @@

const os = require('os');
const MAVEN_ARCHETYPE_VERSION = '1.30.1';
const MAVEN_ARCHETYPE_VERSION = '1.31.0';

@@ -5,0 +5,0 @@ const constants = {

{
"name": "@sap/cds-dk",
"version": "6.5.0",
"version": "6.5.1",
"description": "Command line client and development toolkit for the SAP Cloud Application Programming Model",

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

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc