Skip to content

Commit 09f6052

Browse files
committed
Update major dependencies
1 parent 9e58e96 commit 09f6052

File tree

8 files changed

+946
-1679
lines changed

8 files changed

+946
-1679
lines changed

CHANGELOG.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
[
2+
{
3+
"date": "2023-11-16",
4+
"version": "3.202311.1",
5+
"Changed": [
6+
"[CAP version 7.4.0](https://cap.cloud.sap/docs/releases/sep23)",
7+
"Major upgrade to Marked for conversion from Markdown in the documentation commands",
8+
"Update to SAPUI5 1.120.1"
9+
]
10+
},
211
{
312
"date": "2023-09-06",
413
"version": "3.202309.1",

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/).
66

7+
## [3.202311.1] - 2023-11-16
8+
9+
**Changed**
10+
11+
- [CAP version 7.4.0](https://cap.cloud.sap/docs/releases/sep23)
12+
- Major upgrade to Marked for conversion from Markdown in the documentation commands
13+
714
## [3.202309.1] - 2023-09-06
815

916
**Changed**

app/resources/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
99
<title>hana-cli LaunchPad</title>
10-
<script src="https://ui5.sap.com/1.117.1/test-resources/sap/ushell/bootstrap/sandbox.js"></script>
11-
<script src="https://ui5.sap.com/1.117.1/resources/sap-ui-core.js"
10+
<script src="https://ui5.sap.com/1.120.1/test-resources/sap/ushell/bootstrap/sandbox.js"></script>
11+
<script src="https://ui5.sap.com/1.120.1/resources/sap-ui-core.js"
1212
data-sap-ui-libs="sap.m, sap.ushell, sap.collaboration, sap.ui.layout, sap.ui.rta, sap.dfa.help,sap.uxap"
1313
data-sap-ui-compatVersion="edge" data-sap-ui-theme="sap_horizon" data-sap-ui-async="true"
1414
data-sap-ui-frameOptions="trusted" data-sap-ui-bindingSyntax="complex" data-sap-ui-xx-bindingSyntax="complex"

bin/cds.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ async function cdsServerSetup(prompts, cdsSource) {
354354
Object.defineProperty(cds.compile.to, 'openapi', { configurable: true, get: () => base.require('@sap/cds-dk/lib/compile/openapi') })
355355
try {
356356
// @ts-ignore
357-
let metadata = await cds.compile.to.openapi(cds.parse(cdsSource), {
357+
/* let metadata = await cds.compile.to.openapi(cds.parse(cdsSource), {
358358
service: 'HanaCli',
359359
servicePath: '/odata/v4/opensap.hana.CatalogService/',
360360
'openapi:url': '/odata/v4/opensap.hana.CatalogService/',
@@ -366,7 +366,7 @@ async function cdsServerSetup(prompts, cdsSource) {
366366
}
367367
const swaggerUi = await import('swagger-ui-express')
368368
app.use('/api/api-docs', swaggerUi.serve, swaggerUi.setup(metadata, serveOptions))
369-
369+
*/
370370
app.get('/', (_, res) => res.send(getIndex(odataURL, entity)))
371371
app.get('/fiori.html', (_, res) => {
372372
const manifest = _manifest(odataURL, entity, prompts.table)

bin/matrix.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ export const builder = base.getBuilder({}, false, false)
77
export async function handler() {
88
const tools = await import('terminaltools')
99
try {
10-
await tools.fun.matrix(`0123456789日ハミヒーウシナモニサワツオリアホテマケメエカキムユラセネスタヌヘçリク`)
10+
await tools.default.fun.Matrix.start([0,1,2,3,4,5,6,7,8,9,'日','ハ','ミ','ヒ','ー','ウ','シ','ナ','モ','ニ','サ',
11+
'ワ','ツ','オ','リ','ア','ホ','テ','マ','ケ','メ','エ','カ','キ','ム','ユ','ラ','セ','ネ','ス','タ','ヌ','ヘ','ç','リ','ク'])
1112
} catch (err) {
1213
return console.error(err)
1314
}

bin/readMe.js

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,19 @@ export const builder = base.getBuilder({}, false)
88

99
export const handler = async function () {
1010

11-
const [{ marked }, { default: fs }, { default: path }, { fileURLToPath }, { URL }] = await Promise.all([
11+
const [{ marked }, { default: fs }, { default: path }, { fileURLToPath }, { URL }, { markedTerminal }] = await Promise.all([
1212
import('marked'),
1313
import('fs'),
1414
import('path'),
1515
import('url'),
16-
import('url')
16+
import('url'),
17+
import('marked-terminal')
1718
])
18-
const TerminalRenderer = base.require('marked-terminal')
1919
const __dirname = fileURLToPath(new URL('.', import.meta.url))
2020

21-
marked.setOptions({
22-
// Define custom renderer
23-
renderer: new TerminalRenderer({
24-
showSectionPrefix: false,
25-
})
26-
})
21+
marked.use(markedTerminal({
22+
showSectionPrefix: false,
23+
}))
2724

2825
try {
2926
const data = fs.readFileSync(path.join(__dirname, '..', '/README.md'), 'utf8')

0 commit comments

Comments
 (0)