From cfe1e899288b99462e123157d05c94108b1d283a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 12 Sep 2024 10:03:13 +0200
Subject: [PATCH 1/9] chore(deps): update dependency @cap-js/cds-typer to
v0.26.0 (#1247)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@cap-js/cds-typer](https://cap.cloud.sap/)
([source](https://redirect.github.com/cap-js/cds-typer)) | [`0.25.0` ->
`0.26.0`](https://renovatebot.com/diffs/npm/@cap-js%2fcds-typer/0.25.0/0.26.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@cap-js%2fcds-typer/0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@cap-js%2fcds-typer/0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@cap-js%2fcds-typer/0.25.0/0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@cap-js%2fcds-typer/0.25.0/0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
cap-js/cds-typer (@cap-js/cds-typer)
###
[`v0.26.0`](https://redirect.github.com/cap-js/cds-typer/blob/HEAD/CHANGELOG.md#Version-0260---2024-09-11)
[Compare
Source](https://redirect.github.com/cap-js/cds-typer/compare/v0.25.0...v0.26.0)
##### Added
- Added a CLI option `--useEntitiesProxy`. When set to `true`, all
entities are wrapped into `Proxy` objects during runtime, allowing top
level imports of entity types.
- Added a static `.kind` property for entities and types, which contains
`'entity'` or `'type'` respectively
- Apps need to provide `@sap/cds` version `8.2` or higher.
- Apps need to provide `@cap-js/cds-types` version `0.6.4` or higher.
- Typed methods are now generated for calls of unbound actions. Named
and positional call styles are supported, e.g. `service.action({one,
two})` and `service.action(one, two)`.
- Action parameters can be optional in the named call style
(`service.action({one:1, ...})`).
- Actions for ABAP RFC modules cannot be called with positional
parameters, but only with named ones. They have 'parameter categories'
(import/export/changing/tables) that cannot be called in a flat order.
- Services now have their own export (named like the service itself).
The current default export is not usable in some scenarios from CommonJS
modules.
- Enums and operation parameters can have doc comments
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/cap-js/docs).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package-lock.json | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 7b5b4bee7..5c41ddba3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -404,16 +404,17 @@
}
},
"node_modules/@cap-js/cds-typer": {
- "version": "0.25.0",
- "resolved": "https://registry.npmjs.org/@cap-js/cds-typer/-/cds-typer-0.25.0.tgz",
- "integrity": "sha512-lZbmeq3mIAQdUmGRQsZN4M7IvVWXncmpOC4OKxM3HBXS0vss4pacFlpKZF2jHaYKAkQv/g3gMB11ScJ1Fgg6XA==",
+ "version": "0.26.0",
+ "resolved": "https://registry.npmjs.org/@cap-js/cds-typer/-/cds-typer-0.26.0.tgz",
+ "integrity": "sha512-FLSZ1DJ5kxVQq/KTkN2tT4mPAmTw7Z3uvnWutDu/hdmSTssT/Mj0IlsFNJDY1pb/TqDWRwI2FdxQOsFkbR2Ipw==",
"dev": true,
"license": "SEE LICENSE IN LICENSE",
- "dependencies": {
- "@sap/cds": ">=7.7"
- },
"bin": {
"cds-typer": "lib/cli.js"
+ },
+ "peerDependencies": {
+ "@cap-js/cds-types": ">=0.6.4",
+ "@sap/cds": ">=8"
}
},
"node_modules/@cap-js/cds-types": {
From 02964d94974d97b32ad76e33af0e3008a80e51b0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 12 Sep 2024 10:03:36 +0200
Subject: [PATCH 2/9] chore(deps): update dependency
@shikijs/vitepress-twoslash to v1.17.0 (#1246)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@shikijs/vitepress-twoslash](https://redirect.github.com/shikijs/shiki)
([source](https://redirect.github.com/shikijs/shiki/tree/HEAD/packages/vitepress-twoslash))
| [`1.16.3` ->
`1.17.0`](https://renovatebot.com/diffs/npm/@shikijs%2fvitepress-twoslash/1.16.3/1.17.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@shikijs%2fvitepress-twoslash/1.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@shikijs%2fvitepress-twoslash/1.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@shikijs%2fvitepress-twoslash/1.16.3/1.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@shikijs%2fvitepress-twoslash/1.16.3/1.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
shikijs/shiki (@shikijs/vitepress-twoslash)
###
[`v1.17.0`](https://redirect.github.com/shikijs/shiki/releases/tag/v1.17.0)
[Compare
Source](https://redirect.github.com/shikijs/shiki/compare/v1.16.3...v1.17.0)
*No significant changes*
##### [View changes on
GitHub](https://redirect.github.com/shikijs/shiki/compare/v1.16.3...v1.17.0)
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/cap-js/docs).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package-lock.json | 192 +++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 174 insertions(+), 18 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 5c41ddba3..8b66c6918 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1966,6 +1966,29 @@
"@types/hast": "^3.0.4"
}
},
+ "node_modules/@shikijs/engine-javascript": {
+ "version": "1.17.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-1.17.0.tgz",
+ "integrity": "sha512-EiBVlxmzJZdC2ypzn8k+vxLngbBNgHLS4RilwrFOABGRc72kUZubbD/6Chrq2RcVtD3yq1GtiiIdFMGd9BTX3Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/types": "1.17.0",
+ "oniguruma-to-js": "0.3.3",
+ "regex": "4.3.2"
+ }
+ },
+ "node_modules/@shikijs/engine-oniguruma": {
+ "version": "1.17.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-1.17.0.tgz",
+ "integrity": "sha512-nsXzJGLQ0fhKmA4Gwt1cF7vC8VuZ1HSDrTRuj48h/qDeX/TzmOlTDXQ3uPtyuhyg/2rbZRzNhN8UFU4fSnQfXg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/types": "1.17.0",
+ "@shikijs/vscode-textmate": "^9.2.2"
+ }
+ },
"node_modules/@shikijs/transformers": {
"version": "1.16.2",
"resolved": "https://registry.npmjs.org/@shikijs/transformers/-/transformers-1.16.2.tgz",
@@ -1987,10 +2010,21 @@
"twoslash": "^0.2.10"
}
},
+ "node_modules/@shikijs/types": {
+ "version": "1.17.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-1.17.0.tgz",
+ "integrity": "sha512-Tvu2pA69lbpXB+MmgIaROP1tio8y0uYvKb5Foh3q0TJBTAJuaoa5eDEtS/0LquyveacsiVrYF4uEZILju+7Ybg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/vscode-textmate": "^9.2.2",
+ "@types/hast": "^3.0.4"
+ }
+ },
"node_modules/@shikijs/vitepress-twoslash": {
- "version": "1.16.3",
- "resolved": "https://registry.npmjs.org/@shikijs/vitepress-twoslash/-/vitepress-twoslash-1.16.3.tgz",
- "integrity": "sha512-BXkcVioFDS9RtPEuqB4WkvlilxjUGgXYsem9eqVU7CeeLEpKlofR5I9yjegloh8nP4y5ItqUAm/BYOPwleZiMA==",
+ "version": "1.17.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/vitepress-twoslash/-/vitepress-twoslash-1.17.0.tgz",
+ "integrity": "sha512-FcdZUtF1jL51fZfkITd1qEnmnVe/w8lnOGhEWptMqMNvMYzB8vxDv5y+E1zvE+rw0NbBuWtOmZea3WOah1nr6g==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1999,41 +2033,44 @@
"mdast-util-from-markdown": "^2.0.1",
"mdast-util-gfm": "^3.0.0",
"mdast-util-to-hast": "^13.2.0",
- "shiki": "1.16.3",
+ "shiki": "1.17.0",
"twoslash": "^0.2.11",
"twoslash-vue": "^0.2.11",
"vue": "^3.5.3"
}
},
"node_modules/@shikijs/vitepress-twoslash/node_modules/@shikijs/core": {
- "version": "1.16.3",
- "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.16.3.tgz",
- "integrity": "sha512-yETIvrETCeC39gSPIiSADmjri9FwKmxz0QvONMtTIUYlKZe90CJkvcjPksayC2VQOtzOJonEiULUa8v8crUQvA==",
+ "version": "1.17.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.17.0.tgz",
+ "integrity": "sha512-Mkk4Mp4bNnW1kytU8I7S5PK5teNSe0iKlfqxPss4sdwnlcU8a2N62Z3te2gVmZfU9t1HF6L3wyWuM43IvEeEsg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@shikijs/vscode-textmate": "^9.2.0",
+ "@shikijs/engine-javascript": "1.17.0",
+ "@shikijs/engine-oniguruma": "1.17.0",
+ "@shikijs/types": "1.17.0",
+ "@shikijs/vscode-textmate": "^9.2.2",
"@types/hast": "^3.0.4",
- "oniguruma-to-js": "0.3.3",
- "regex": "4.3.2"
+ "hast-util-to-html": "^9.0.2"
}
},
"node_modules/@shikijs/vitepress-twoslash/node_modules/shiki": {
- "version": "1.16.3",
- "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.16.3.tgz",
- "integrity": "sha512-GypUE+fEd06FqDs63LSAVlmq7WsahhPQU62cgZxGF+TJT5LjD2k7HTxXj4/CKOVuMM3+wWQ1t4Y5oooeJFRRBQ==",
+ "version": "1.17.0",
+ "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.17.0.tgz",
+ "integrity": "sha512-VZf8cPShRwfzPcaswv81+YP7qJEoFwRT+Ehy6bizim7M0zG9bk8Egug550C+xS9g7rKIOPhzAlp2uEyuCxbk/A==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@shikijs/core": "1.16.3",
- "@shikijs/vscode-textmate": "^9.2.0",
+ "@shikijs/core": "1.17.0",
+ "@shikijs/types": "1.17.0",
+ "@shikijs/vscode-textmate": "^9.2.2",
"@types/hast": "^3.0.4"
}
},
"node_modules/@shikijs/vscode-textmate": {
- "version": "9.2.0",
- "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-9.2.0.tgz",
- "integrity": "sha512-5FinaOp6Vdh/dl4/yaOTh0ZeKch+rYS8DUb38V3GMKYVkdqzxw53lViRKUYkVILRiVQT7dcPC7VvAKOR73zVtQ==",
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-9.2.2.tgz",
+ "integrity": "sha512-TMp15K+GGYrWlZM8+Lnj9EaHEFmOen0WJBrfa17hF7taDOYthuPPV0GWzfd/9iMij0akS/8Yw2ikquH7uVi/fg==",
"dev": true,
"license": "MIT"
},
@@ -3191,6 +3228,28 @@
"url": "https://github.com/sponsors/wooorm"
}
},
+ "node_modules/character-entities-html4": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz",
+ "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/character-entities-legacy": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz",
+ "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/chokidar": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
@@ -3266,6 +3325,17 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/comma-separated-tokens": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",
+ "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/commander": {
"version": "12.1.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",
@@ -4864,6 +4934,44 @@
"node": ">= 0.4"
}
},
+ "node_modules/hast-util-to-html": {
+ "version": "9.0.2",
+ "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.2.tgz",
+ "integrity": "sha512-RP5wNpj5nm1Z8cloDv4Sl4RS8jH5HYa0v93YB6Wb4poEzgMo/dAAL0KcT4974dCjcNG5pkLqTImeFHHCwwfY3g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "ccount": "^2.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "hast-util-whitespace": "^3.0.0",
+ "html-void-elements": "^3.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "property-information": "^6.0.0",
+ "space-separated-tokens": "^2.0.0",
+ "stringify-entities": "^4.0.0",
+ "zwitch": "^2.0.4"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-whitespace": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz",
+ "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
"node_modules/he": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
@@ -4881,6 +4989,17 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/html-void-elements": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz",
+ "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/http-errors": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
@@ -6653,6 +6772,17 @@
"node": ">= 0.8.0"
}
},
+ "node_modules/property-information": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.5.0.tgz",
+ "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/proxy-addr": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
@@ -7221,6 +7351,17 @@
"node": ">=0.10.0"
}
},
+ "node_modules/space-separated-tokens": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",
+ "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/speakingurl": {
"version": "14.0.1",
"resolved": "https://registry.npmjs.org/speakingurl/-/speakingurl-14.0.1.tgz",
@@ -7313,6 +7454,21 @@
"node": ">=8"
}
},
+ "node_modules/stringify-entities": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz",
+ "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "character-entities-html4": "^2.0.0",
+ "character-entities-legacy": "^3.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/strip-ansi": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
From 1e34a67029762465d708bf5138d0a124acaf7b6a Mon Sep 17 00:00:00 2001
From: Christian Georgi
Date: Thu, 12 Sep 2024 14:58:54 +0200
Subject: [PATCH 3/9] Fix typer call on Windows
---
.vitepress/lib/md-typed-models.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.vitepress/lib/md-typed-models.ts b/.vitepress/lib/md-typed-models.ts
index 5c9a372ae..052806c80 100644
--- a/.vitepress/lib/md-typed-models.ts
+++ b/.vitepress/lib/md-typed-models.ts
@@ -46,6 +46,6 @@ function runTyper(srcDir:string, out:string) {
const label = '✓ running cds-typer in ' + relative(process.cwd(), srcDir)
console.time(label)
- execSync(`npm exec --prefix ${srcDir} -- cds-typer '*' --outputDirectory ${out}`, {cwd: srcDir})
+ execSync(`npm exec --prefix ${srcDir} -- cds-typer * --outputDirectory ${out}`, {cwd: srcDir})
console.timeEnd(label)
}
From 64d96e7cbf3b6f85411fd1fd00765a5bfab88b1f Mon Sep 17 00:00:00 2001
From: Christian Georgi
Date: Fri, 13 Sep 2024 10:48:53 +0200
Subject: [PATCH 4/9] Make import paths work in Windows
---
.vitepress/lib/md-typed-models.ts | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/.vitepress/lib/md-typed-models.ts b/.vitepress/lib/md-typed-models.ts
index 052806c80..5df9fcbbe 100644
--- a/.vitepress/lib/md-typed-models.ts
+++ b/.vitepress/lib/md-typed-models.ts
@@ -3,7 +3,7 @@ import { execSync } from 'node:child_process'
import { dirname, join, relative, resolve } from 'node:path'
import { existsSync } from 'node:fs'
-type mdItEnv = { frontmatter: Record, path: string, realPath: string }
+type mdItEnv = { frontmatter: Record, path: string, realPath?: string }
const modelOut = '@cds-models'
/**
@@ -30,8 +30,9 @@ export function install(md: MarkdownRenderer) {
runTyper(srcDir, modelOut)
- const resolvedPath = resolve(mdDir, modelPath, modelOut, '*')
- tokens[idx].content = tokens[idx].content.replaceAll(`%typedModels:${modelKey}:resolved%`, resolvedPath)
+ const resPath = resolvedImportPath(srcDir, modelOut)
+ // console.log(`📚 ${modelPath} -> ${resPath}`)
+ tokens[idx].content = tokens[idx].content.replaceAll(`%typedModels:${modelKey}:resolved%`, resPath)
}
}
@@ -39,6 +40,14 @@ export function install(md: MarkdownRenderer) {
}
}
+function resolvedImportPath(srcDir: string, modelOut: string) {
+ // make resolved path relative - tsc seems to have problems with absolute Windows paths (C:\...)
+ let resolvedPath = relative(process.cwd(), srcDir)
+ // also make it a local import path, starting with ./ and replacing Windows \
+ resolvedPath = join(resolvedPath, modelOut, '*').replace(/\\/g, '/')
+ return resolvedPath.startsWith('.') ? resolvedPath : './'+resolvedPath
+}
+
function runTyper(srcDir:string, out:string) {
const outPath = resolve(srcDir, out)
// If target dir exists, stop here. Delta compilation is done through cds-typer ion VS Code.
From 0f80e6f5c974127618267c71d2dbe07750ecc904 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 13 Sep 2024 10:54:27 +0200
Subject: [PATCH 5/9] chore(deps): update dependency
@shikijs/vitepress-twoslash to v1.17.5 (#1250)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@shikijs/vitepress-twoslash](https://redirect.github.com/shikijs/shiki)
([source](https://redirect.github.com/shikijs/shiki/tree/HEAD/packages/vitepress-twoslash))
| [`1.17.0` ->
`1.17.5`](https://renovatebot.com/diffs/npm/@shikijs%2fvitepress-twoslash/1.17.0/1.17.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@shikijs%2fvitepress-twoslash/1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@shikijs%2fvitepress-twoslash/1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@shikijs%2fvitepress-twoslash/1.17.0/1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@shikijs%2fvitepress-twoslash/1.17.0/1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
shikijs/shiki (@shikijs/vitepress-twoslash)
###
[`v1.17.5`](https://redirect.github.com/shikijs/shiki/releases/tag/v1.17.5)
[Compare
Source](https://redirect.github.com/shikijs/shiki/compare/v1.17.4...v1.17.5)
##### 🚀 Features
- Update grammars - by
[@antfu](https://redirect.github.com/antfu)
[(b61e4)](https://redirect.github.com/shikijs/shiki/commit/b61e4e31)
- **engine-js**:
- Supports contiguous anchor simulation - by
[@antfu](https://redirect.github.com/antfu)
[(43ecc)](https://redirect.github.com/shikijs/shiki/commit/43ecce79)
- Introduce `simulation` option - by
[@antfu](https://redirect.github.com/antfu)
[(adf99)](https://redirect.github.com/shikijs/shiki/commit/adf99f2f)
##### [View changes on
GitHub](https://redirect.github.com/shikijs/shiki/compare/v1.17.4...v1.17.5)
###
[`v1.17.4`](https://redirect.github.com/shikijs/shiki/releases/tag/v1.17.4)
[Compare
Source](https://redirect.github.com/shikijs/shiki/compare/v1.17.0...v1.17.4)
*No significant changes*
##### [View changes on
GitHub](https://redirect.github.com/shikijs/shiki/compare/v1.17.3...v1.17.4)
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/cap-js/docs).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package-lock.json | 174 ++++++++++++++++++++++++----------------------
1 file changed, 89 insertions(+), 85 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 8b66c6918..c8a052d19 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1967,25 +1967,24 @@
}
},
"node_modules/@shikijs/engine-javascript": {
- "version": "1.17.0",
- "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-1.17.0.tgz",
- "integrity": "sha512-EiBVlxmzJZdC2ypzn8k+vxLngbBNgHLS4RilwrFOABGRc72kUZubbD/6Chrq2RcVtD3yq1GtiiIdFMGd9BTX3Q==",
+ "version": "1.17.5",
+ "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-1.17.5.tgz",
+ "integrity": "sha512-129knB7yGxq51i5f9ci1lsrC/9rJwo7yzOmHVjQIRk+e1C0caaSwzm4mhLJ506ui0vEmQZ9LzY6a/crW1UsReA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@shikijs/types": "1.17.0",
- "oniguruma-to-js": "0.3.3",
- "regex": "4.3.2"
+ "@shikijs/types": "1.17.5",
+ "oniguruma-to-js": "0.4.0"
}
},
"node_modules/@shikijs/engine-oniguruma": {
- "version": "1.17.0",
- "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-1.17.0.tgz",
- "integrity": "sha512-nsXzJGLQ0fhKmA4Gwt1cF7vC8VuZ1HSDrTRuj48h/qDeX/TzmOlTDXQ3uPtyuhyg/2rbZRzNhN8UFU4fSnQfXg==",
+ "version": "1.17.5",
+ "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-1.17.5.tgz",
+ "integrity": "sha512-GcuDWdUcs06sCoRS/JwbcO8M55MOvirTs3wIR7E6pMoePJWgAxhIYDQHURvSrgKgyUrTl3EKwujHljivS5BJVA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@shikijs/types": "1.17.0",
+ "@shikijs/types": "1.17.5",
"@shikijs/vscode-textmate": "^9.2.2"
}
},
@@ -2011,9 +2010,9 @@
}
},
"node_modules/@shikijs/types": {
- "version": "1.17.0",
- "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-1.17.0.tgz",
- "integrity": "sha512-Tvu2pA69lbpXB+MmgIaROP1tio8y0uYvKb5Foh3q0TJBTAJuaoa5eDEtS/0LquyveacsiVrYF4uEZILju+7Ybg==",
+ "version": "1.17.5",
+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-1.17.5.tgz",
+ "integrity": "sha512-xDIczjZ7QB6opNrCObX/6/78Jb/BFglRPo7E7f9swd1TCabhumOLsv23103pNUOMZrJYARUkHJpEx7ryFLM3FA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2022,9 +2021,9 @@
}
},
"node_modules/@shikijs/vitepress-twoslash": {
- "version": "1.17.0",
- "resolved": "https://registry.npmjs.org/@shikijs/vitepress-twoslash/-/vitepress-twoslash-1.17.0.tgz",
- "integrity": "sha512-FcdZUtF1jL51fZfkITd1qEnmnVe/w8lnOGhEWptMqMNvMYzB8vxDv5y+E1zvE+rw0NbBuWtOmZea3WOah1nr6g==",
+ "version": "1.17.5",
+ "resolved": "https://registry.npmjs.org/@shikijs/vitepress-twoslash/-/vitepress-twoslash-1.17.5.tgz",
+ "integrity": "sha512-mpPw3aCFWNl2X6fku4GJDiyEP8ogeIMiIP6FS+VI8BT2N4hdxFCkK1M3lolzGKgTpQzTy+81DpP2SQCjY7fxXQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2033,36 +2032,38 @@
"mdast-util-from-markdown": "^2.0.1",
"mdast-util-gfm": "^3.0.0",
"mdast-util-to-hast": "^13.2.0",
- "shiki": "1.17.0",
+ "shiki": "1.17.5",
"twoslash": "^0.2.11",
"twoslash-vue": "^0.2.11",
- "vue": "^3.5.3"
+ "vue": "^3.5.4"
}
},
"node_modules/@shikijs/vitepress-twoslash/node_modules/@shikijs/core": {
- "version": "1.17.0",
- "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.17.0.tgz",
- "integrity": "sha512-Mkk4Mp4bNnW1kytU8I7S5PK5teNSe0iKlfqxPss4sdwnlcU8a2N62Z3te2gVmZfU9t1HF6L3wyWuM43IvEeEsg==",
+ "version": "1.17.5",
+ "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.17.5.tgz",
+ "integrity": "sha512-JDgFZbJvfZ1g0lRVHtPTv6n2MwWnbTSGwncL/Qmlg7BZBzHCcDY2CxYGkNUm7k+lljOrFzXFGh38s8CRRZH+TQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@shikijs/engine-javascript": "1.17.0",
- "@shikijs/engine-oniguruma": "1.17.0",
- "@shikijs/types": "1.17.0",
+ "@shikijs/engine-javascript": "1.17.5",
+ "@shikijs/engine-oniguruma": "1.17.5",
+ "@shikijs/types": "1.17.5",
"@shikijs/vscode-textmate": "^9.2.2",
"@types/hast": "^3.0.4",
"hast-util-to-html": "^9.0.2"
}
},
"node_modules/@shikijs/vitepress-twoslash/node_modules/shiki": {
- "version": "1.17.0",
- "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.17.0.tgz",
- "integrity": "sha512-VZf8cPShRwfzPcaswv81+YP7qJEoFwRT+Ehy6bizim7M0zG9bk8Egug550C+xS9g7rKIOPhzAlp2uEyuCxbk/A==",
+ "version": "1.17.5",
+ "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.17.5.tgz",
+ "integrity": "sha512-8i4+fbTlnJPUYkgBEZ92QKmK3Gr23n2YVwqwyz0e+VmXqKpJZuV6P/CY00gSGHDXXjXT5l0BLwsMfO2Pe52TLQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@shikijs/core": "1.17.0",
- "@shikijs/types": "1.17.0",
+ "@shikijs/core": "1.17.5",
+ "@shikijs/engine-javascript": "1.17.5",
+ "@shikijs/engine-oniguruma": "1.17.5",
+ "@shikijs/types": "1.17.5",
"@shikijs/vscode-textmate": "^9.2.2",
"@types/hast": "^3.0.4"
}
@@ -2435,42 +2436,42 @@
"license": "MIT"
},
"node_modules/@vue/compiler-core": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.3.tgz",
- "integrity": "sha512-adAfy9boPkP233NTyvLbGEqVuIfK/R0ZsBsIOW4BZNfb4BRpRW41Do1u+ozJpsb+mdoy80O20IzAsHaihRb5qA==",
+ "version": "3.5.4",
+ "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.4.tgz",
+ "integrity": "sha512-oNwn+BAt3n9dK9uAYvI+XGlutwuTq/wfj4xCBaZCqwwVIGtD7D6ViihEbyYZrDHIHTDE3Q6oL3/hqmAyFEy9DQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.25.3",
- "@vue/shared": "3.5.3",
+ "@vue/shared": "3.5.4",
"entities": "^4.5.0",
"estree-walker": "^2.0.2",
"source-map-js": "^1.2.0"
}
},
"node_modules/@vue/compiler-dom": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.3.tgz",
- "integrity": "sha512-wnzFArg9zpvk/811CDOZOadJRugf1Bgl/TQ3RfV4nKfSPok4hi0w10ziYUQR6LnnBAUlEXYLUfZ71Oj9ds/+QA==",
+ "version": "3.5.4",
+ "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.4.tgz",
+ "integrity": "sha512-yP9RRs4BDLOLfldn6ah+AGCNovGjMbL9uHvhDHf5wan4dAHLnFGOkqtfE7PPe4HTXIqE7l/NILdYw53bo1C8jw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vue/compiler-core": "3.5.3",
- "@vue/shared": "3.5.3"
+ "@vue/compiler-core": "3.5.4",
+ "@vue/shared": "3.5.4"
}
},
"node_modules/@vue/compiler-sfc": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.3.tgz",
- "integrity": "sha512-P3uATLny2tfyvMB04OQFe7Sczteno7SLFxwrOA/dw01pBWQHB5HL15a8PosoNX2aG/EAMGqnXTu+1LnmzFhpTQ==",
+ "version": "3.5.4",
+ "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.4.tgz",
+ "integrity": "sha512-P+yiPhL+NYH7m0ZgCq7AQR2q7OIE+mpAEgtkqEeH9oHSdIRvUO+4X6MPvblJIWcoe4YC5a2Gdf/RsoyP8FFiPQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.25.3",
- "@vue/compiler-core": "3.5.3",
- "@vue/compiler-dom": "3.5.3",
- "@vue/compiler-ssr": "3.5.3",
- "@vue/shared": "3.5.3",
+ "@vue/compiler-core": "3.5.4",
+ "@vue/compiler-dom": "3.5.4",
+ "@vue/compiler-ssr": "3.5.4",
+ "@vue/shared": "3.5.4",
"estree-walker": "^2.0.2",
"magic-string": "^0.30.11",
"postcss": "^8.4.44",
@@ -2478,14 +2479,14 @@
}
},
"node_modules/@vue/compiler-ssr": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.3.tgz",
- "integrity": "sha512-F/5f+r2WzL/2YAPl7UlKcJWHrvoZN8XwEBLnT7S4BXwncH25iDOabhO2M2DWioyTguJAGavDOawejkFXj8EM1w==",
+ "version": "3.5.4",
+ "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.4.tgz",
+ "integrity": "sha512-acESdTXsxPnYr2C4Blv0ggx5zIFMgOzZmYU2UgvIff9POdRGbRNBHRyzHAnizcItvpgerSKQbllUc9USp3V7eg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vue/compiler-dom": "3.5.3",
- "@vue/shared": "3.5.3"
+ "@vue/compiler-dom": "3.5.4",
+ "@vue/shared": "3.5.4"
}
},
"node_modules/@vue/compiler-vue2": {
@@ -2561,57 +2562,57 @@
}
},
"node_modules/@vue/reactivity": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.3.tgz",
- "integrity": "sha512-2w61UnRWTP7+rj1H/j6FH706gRBHdFVpIqEkSDAyIpafBXYH8xt4gttstbbCWdU3OlcSWO8/3mbKl/93/HSMpw==",
+ "version": "3.5.4",
+ "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.4.tgz",
+ "integrity": "sha512-HKKbEuP7tYSGCq4e4nK6ZW6l5hyG66OUetefBp4budUyjvAYsnQDf+bgFzg2RAgnH0CInyqXwD9y47jwJEHrQw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vue/shared": "3.5.3"
+ "@vue/shared": "3.5.4"
}
},
"node_modules/@vue/runtime-core": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.3.tgz",
- "integrity": "sha512-5b2AQw5OZlmCzSsSBWYoZOsy75N4UdMWenTfDdI5bAzXnuVR7iR8Q4AOzQm2OGoA41xjk53VQKrqQhOz2ktWaw==",
+ "version": "3.5.4",
+ "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.4.tgz",
+ "integrity": "sha512-f3ek2sTA0AFu0n+w+kCtz567Euqqa3eHewvo4klwS7mWfSj/A+UmYTwsnUFo35KeyAFY60JgrCGvEBsu1n/3LA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vue/reactivity": "3.5.3",
- "@vue/shared": "3.5.3"
+ "@vue/reactivity": "3.5.4",
+ "@vue/shared": "3.5.4"
}
},
"node_modules/@vue/runtime-dom": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.3.tgz",
- "integrity": "sha512-wPR1DEGc3XnQ7yHbmkTt3GoY0cEnVGQnARRdAkDzZ8MbUKEs26gogCQo6AOvvgahfjIcnvWJzkZArQ1fmWjcSg==",
+ "version": "3.5.4",
+ "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.4.tgz",
+ "integrity": "sha512-ofyc0w6rbD5KtjhP1i9hGOKdxGpvmuB1jprP7Djlj0X7R5J/oLwuNuE98GJ8WW31Hu2VxQHtk/LYTAlW8xrJdw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vue/reactivity": "3.5.3",
- "@vue/runtime-core": "3.5.3",
- "@vue/shared": "3.5.3",
+ "@vue/reactivity": "3.5.4",
+ "@vue/runtime-core": "3.5.4",
+ "@vue/shared": "3.5.4",
"csstype": "^3.1.3"
}
},
"node_modules/@vue/server-renderer": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.3.tgz",
- "integrity": "sha512-28volmaZVG2PGO3V3+gBPKoSHvLlE8FGfG/GKXKkjjfxLuj/50B/0OQGakM/g6ehQeqCrZYM4eHC4Ks48eig1Q==",
+ "version": "3.5.4",
+ "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.4.tgz",
+ "integrity": "sha512-FbjV6DJLgKRetMYFBA1UXCroCiED/Ckr53/ba9wivyd7D/Xw9fpo0T6zXzCnxQwyvkyrL7y6plgYhWhNjGxY5g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vue/compiler-ssr": "3.5.3",
- "@vue/shared": "3.5.3"
+ "@vue/compiler-ssr": "3.5.4",
+ "@vue/shared": "3.5.4"
},
"peerDependencies": {
- "vue": "3.5.3"
+ "vue": "3.5.4"
}
},
"node_modules/@vue/shared": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.3.tgz",
- "integrity": "sha512-Jp2v8nylKBT+PlOUjun2Wp/f++TfJVFjshLzNtJDdmFJabJa7noGMncqXRM1vXGX+Yo2V7WykQFNxusSim8SCA==",
+ "version": "3.5.4",
+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.4.tgz",
+ "integrity": "sha512-L2MCDD8l7yC62Te5UUyPVpmexhL9ipVnYRw9CsWfm/BGRL5FwDX4a25bcJ/OJSD3+Hx+k/a8LDKcG2AFdJV3BA==",
"dev": true,
"license": "MIT"
},
@@ -6519,11 +6520,14 @@
}
},
"node_modules/oniguruma-to-js": {
- "version": "0.3.3",
- "resolved": "https://registry.npmjs.org/oniguruma-to-js/-/oniguruma-to-js-0.3.3.tgz",
- "integrity": "sha512-m90/WEhgs8g4BxG37+Nu3YrMfJDs2YXtYtIllhsEPR+wP3+K4EZk6dDUvy2v2K4MNFDDOYKL4/yqYPXDqyozTQ==",
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/oniguruma-to-js/-/oniguruma-to-js-0.4.0.tgz",
+ "integrity": "sha512-GwNFPQygkpDjO9MOr54Rqi01dGS+h9VAS//Qxz9lTN5B09CxqiIc7rydvdV+Ex2Z8Vk+zqfHH7hU6ePn8uf+Mg==",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "regex": "^4.3.2"
+ },
"funding": {
"url": "https://github.com/sponsors/antfu"
}
@@ -8007,17 +8011,17 @@
"license": "MIT"
},
"node_modules/vue": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.3.tgz",
- "integrity": "sha512-xvRbd0HpuLovYbOHXRHlSBsSvmUJbo0pzbkKTApWnQGf3/cu5Z39mQeA5cZdLRVIoNf3zI6MSoOgHUT5i2jO+Q==",
+ "version": "3.5.4",
+ "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.4.tgz",
+ "integrity": "sha512-3yAj2gkmiY+i7+22A1PWM+kjOVXjU74UPINcTiN7grIVPyFFI0lpGwHlV/4xydDmobaBn7/xmi+YG8HeSlCTcg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vue/compiler-dom": "3.5.3",
- "@vue/compiler-sfc": "3.5.3",
- "@vue/runtime-dom": "3.5.3",
- "@vue/server-renderer": "3.5.3",
- "@vue/shared": "3.5.3"
+ "@vue/compiler-dom": "3.5.4",
+ "@vue/compiler-sfc": "3.5.4",
+ "@vue/runtime-dom": "3.5.4",
+ "@vue/server-renderer": "3.5.4",
+ "@vue/shared": "3.5.4"
},
"peerDependencies": {
"typescript": "*"
From e6c1bcdcd0df4c896ebe52e426d4a8793f99ccb1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 13 Sep 2024 13:53:30 +0200
Subject: [PATCH 6/9] chore(deps): update eslint (major) (#1248)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@typescript-eslint/parser](https://typescript-eslint.io/packages/parser)
([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser))
| [`^6` ->
`^8.0.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/6.21.0/8.5.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/6.21.0/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/6.21.0/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [eslint](https://eslint.org)
([source](https://redirect.github.com/eslint/eslint)) | [`^8.39.0` ->
`^9.0.0`](https://renovatebot.com/diffs/npm/eslint/8.57.0/9.10.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/9.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/9.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.57.0/9.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.57.0/9.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
typescript-eslint/typescript-eslint
(@typescript-eslint/parser)
###
[`v8.5.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#850-2024-09-09)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.4.0...v8.5.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v8.4.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#840-2024-09-02)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.3.0...v8.4.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v8.3.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#830-2024-08-26)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.2.0...v8.3.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v8.2.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#820-2024-08-19)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.1.0...v8.2.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v8.1.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#810-2024-08-12)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.0.1...v8.1.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v8.0.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#801-2024-08-05)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.0.0...v8.0.1)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v8.0.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#800-2024-07-31)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.18.0...v8.0.0)
##### 🚀 Features
- **parser:** always enable comment, loc, range, tokens
- **typescript-estree:** stabilize EXPERIMENTAL_useProjectService as
projectService
##### ❤️ Thank You
- Abraham Guo
- Alfred Ringstad
- auvred
- Brad Zacher
- Christopher Aubut
- Collin Bachman
- James Henry
- Josh Goldberg
- Josh Goldberg ✨
- Kirk Waiblinger
- StyleShit
- Victor Lin
- Yukihiro Hasegawa
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.18.0 (2024-07-29)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.17.0 (2024-07-22)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.16.1 (2024-07-15)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.16.0 (2024-07-08)
##### 🩹 Fixes
- **deps:** update dependency
[@eslint-community/regexpp](https://redirect.github.com/eslint-community/regexpp)
to v4.11.0
- **website:** react key error on internal pages of website
##### ❤️ Thank You
- Abraham Guo
- auvred
- Josh Goldberg ✨
- Juan Sanchez
- Vinccool96
- YeonJuan
- Yukihiro Hasegawa
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.15.0 (2024-07-01)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.14.1 (2024-06-24)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.14.0 (2024-06-24)
##### 🚀 Features
- support TypeScript 5.5
##### ❤️ Thank You
- Brad Zacher
- cm-ayf
- Jake Bailey
- James Zhan
- Joshua Chen
- yoshi2no
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.13.1 (2024-06-17)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.13.0 (2024-06-10)
##### 🚀 Features
- **parser, typescript-estree:** export withoutProjectParserOptions
utility
##### ❤️ Thank You
- Fotis Papadogeorgopoulos
- Joshua Chen
- Kirk Waiblinger
- Tobiloba Adedeji
- Vinccool96
- YeonJuan
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.12.0 (2024-06-03)
##### 🩹 Fixes
- **types:** correct typing ParserOptions
##### ❤️ Thank You
- Abraham Guo
- Han Yeong-woo
- Joshua Chen
- Kim Sang Du
- Kirk Waiblinger
- YeonJuan
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.11.0 (2024-05-27)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.10.0 (2024-05-20)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.9.0 (2024-05-13)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.8.0 (2024-04-29)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.7.1 (2024-04-22)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.7.0 (2024-04-15)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.6.0 (2024-04-08)
##### 🚀 Features
- bump npm dependency ranges
##### ❤️ Thank You
- Abraham Guo
- auvred
- Brad Zacher
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.5.0 (2024-04-01)
##### 🩹 Fixes
- **parser:** disallow `errorOnTypeScriptSyntacticAndSemanticIssues`
##### ❤️ Thank You
- Brad Zacher
- Kim Sang Du
- Mark de Dios
- Naru
- YeonJuan
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.4.0 (2024-03-25)
##### 🚀 Features
- **eslint-plugin:** \[consistent-type-imports] ignore files with
decorators, experimentalDecorators, and emitDecoratorMetadata
##### ❤️ Thank You
- Abraham Guo
- Brad Zacher
- Josh Goldberg ✨
- Kim Sang Du
- Kirk Waiblinger
- Marco Pasqualetti
- YeonJuan
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.3.1 (2024-03-18)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.3.0 (2024-03-18)
##### 🩹 Fixes
- correct `engines.node` constraints in `package.json`
##### ❤️ Thank You
- Abraham Guo
- Alexu
- Arka Pratim Chaudhuri
- auvred
- Derrick Isaacson
- fnx
- Josh Goldberg ✨
- Kirk Waiblinger
- Marta Cardoso
- Michaël De Boey
- Tristan Rasmussen
- YeonJuan
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.2.0 (2024-03-11)
##### 🚀 Features
- support TS 5.4
##### ❤️ Thank You
- Arka Pratim Chaudhuri
- auvred
- Chris Plummer
- Fotis Papadogeorgopoulos
- Josh Goldberg ✨
- Kirk Waiblinger
- Wayne Zhang
- YeonJuan
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.1.1 (2024-03-04)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.1.0 (2024-02-26)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.0.2 (2024-02-19)
##### 🩹 Fixes
- fix tsconfig-less check errors, fix `@types/eslint` incompatibilities,
add tests
##### ❤️ Thank You
- Brad Zacher
- Gareth Jones
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 7.0.1 (2024-02-12)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.18.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7180-2024-07-29)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.17.0...v7.18.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.17.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7170-2024-07-22)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.16.1...v7.17.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.16.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7161-2024-07-15)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.16.0...v7.16.1)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.16.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7160-2024-07-08)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.15.0...v7.16.0)
##### 🩹 Fixes
- **deps:** update dependency
[@eslint-community/regexpp](https://redirect.github.com/eslint-community/regexpp)
to v4.11.0
- **website:** react key error on internal pages of website
##### ❤️ Thank You
- Abraham Guo
- auvred
- Josh Goldberg ✨
- Juan Sanchez
- Vinccool96
- YeonJuan
- Yukihiro Hasegawa
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.15.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7150-2024-07-01)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.14.1...v7.15.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.14.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7141-2024-06-24)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.14.0...v7.14.1)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.14.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7140-2024-06-24)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.13.1...v7.14.0)
##### 🚀 Features
- support TypeScript 5.5
##### ❤️ Thank You
- Brad Zacher
- cm-ayf
- Jake Bailey
- James Zhan
- Joshua Chen
- yoshi2no
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.13.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7131-2024-06-17)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.13.0...v7.13.1)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.13.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7130-2024-06-10)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.12.0...v7.13.0)
##### 🚀 Features
- **parser, typescript-estree:** export withoutProjectParserOptions
utility
##### ❤️ Thank You
- Fotis Papadogeorgopoulos
- Joshua Chen
- Kirk Waiblinger
- Tobiloba Adedeji
- Vinccool96
- YeonJuan
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.12.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7120-2024-06-03)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.11.0...v7.12.0)
##### 🩹 Fixes
- **types:** correct typing ParserOptions
##### ❤️ Thank You
- Abraham Guo
- Han Yeong-woo
- Joshua Chen
- Kim Sang Du
- Kirk Waiblinger
- YeonJuan
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.11.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7110-2024-05-27)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.10.0...v7.11.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.10.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7100-2024-05-20)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.9.0...v7.10.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.9.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#790-2024-05-13)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.8.0...v7.9.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.8.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#780-2024-04-29)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.7.1...v7.8.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.7.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#771-2024-04-22)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.7.0...v7.7.1)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.7.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#770-2024-04-15)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.6.0...v7.7.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.6.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#760-2024-04-08)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.5.0...v7.6.0)
##### 🚀 Features
- bump npm dependency ranges
##### ❤️ Thank You
- Abraham Guo
- auvred
- Brad Zacher
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.5.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#750-2024-04-01)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.4.0...v7.5.0)
##### 🩹 Fixes
- **parser:** disallow `errorOnTypeScriptSyntacticAndSemanticIssues`
##### ❤️ Thank You
- Brad Zacher
- Kim Sang Du
- Mark de Dios
- Naru
- YeonJuan
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.4.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.3.1...5d2469142262672e381db3b4a4e2bffa80984810)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.3.1...v7.4.0)
###
[`v7.3.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#731-2024-03-18)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.3.0...v7.3.1)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.3.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#730-2024-03-18)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.2.0...v7.3.0)
##### 🩹 Fixes
- correct `engines.node` constraints in `package.json`
##### ❤️ Thank You
- Abraham Guo
- Alexu
- Arka Pratim Chaudhuri
- auvred
- Derrick Isaacson
- fnx
- Josh Goldberg ✨
- Kirk Waiblinger
- Marta Cardoso
- Michaël De Boey
- Tristan Rasmussen
- YeonJuan
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.2.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#720-2024-03-11)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.1.1...v7.2.0)
##### 🚀 Features
- support TS 5.4
##### ❤️ Thank You
- Arka Pratim Chaudhuri
- auvred
- Chris Plummer
- Fotis Papadogeorgopoulos
- Josh Goldberg ✨
- Kirk Waiblinger
- Wayne Zhang
- YeonJuan
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.1.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#711-2024-03-04)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.1.0...v7.1.1)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.1.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#710-2024-02-26)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.0.2...v7.1.0)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.0.2`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#702-2024-02-19)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.0.1...v7.0.2)
##### 🩹 Fixes
- fix tsconfig-less check errors, fix `@types/eslint` incompatibilities,
add tests
##### ❤️ Thank You
- Brad Zacher
- Gareth Jones
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.0.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#701-2024-02-12)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v7.0.0...v7.0.1)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
###
[`v7.0.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#700-2024-02-12)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v6.21.0...v7.0.0)
##### 🚀 Features
- ⚠️ bump ESLint, NodeJS, and TS minimum version requirements
- add support for flat configs
##### ⚠️ Breaking Changes
- ⚠️ bump ESLint, NodeJS, and TS minimum version requirements
##### ❤️ Thank You
- Brad Zacher
- Kirk Waiblinger
- StyleShit
- YeonJuan
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 6.21.0 (2024-02-05)
##### 🚀 Features
- allow `parserOptions.project: false`
##### ❤️ Thank You
- auvred
- Brad Zacher
- Kirk Waiblinger
- Pete Gonzalez
- YeonJuan
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 6.20.0 (2024-01-29)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 6.19.1 (2024-01-22)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 6.19.0 (2024-01-15)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 6.18.1 (2024-01-08)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
#### 6.18.0 (2024-01-06)
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.
eslint/eslint (eslint)
###
[`v9.10.0`](https://redirect.github.com/eslint/eslint/compare/v9.9.1...6448f3280f85137b429c1c320da6fb4b48169bd5)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.9.1...v9.10.0)
###
[`v9.9.1`](https://redirect.github.com/eslint/eslint/compare/v9.9.0...8781e6f063e56438dc22346504ff637df3f84daf)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.9.0...v9.9.1)
###
[`v9.9.0`](https://redirect.github.com/eslint/eslint/releases/tag/v9.9.0)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.8.0...v9.9.0)
#### Features
-
[`41d0206`](https://redirect.github.com/eslint/eslint/commit/41d02066935b987d2e3b13a08680cc74d7067986)
feat: Add support for TS config files
([#18134](https://redirect.github.com/eslint/eslint/issues/18134))
(Arya Emami)
-
[`3a4eaf9`](https://redirect.github.com/eslint/eslint/commit/3a4eaf921543b1cd5d1df4ea9dec02fab396af2a)
feat: add suggestion to `require-await` to remove `async` keyword
([#18716](https://redirect.github.com/eslint/eslint/issues/18716))
(Dave)
#### Documentation
-
[`9fe068c`](https://redirect.github.com/eslint/eslint/commit/9fe068c60db466277a785434496a8f90a9090bed)
docs: how to author plugins with configs that extend other configs
([#18753](https://redirect.github.com/eslint/eslint/issues/18753))
(Alec Gibson)
-
[`48117b2`](https://redirect.github.com/eslint/eslint/commit/48117b27e98639ffe7e78a230bfad9a93039fb7f)
docs: add version support page in the side navbar
([#18738](https://redirect.github.com/eslint/eslint/issues/18738))
(Amaresh S M)
-
[`fec2951`](https://redirect.github.com/eslint/eslint/commit/fec2951d58c704c57bea7e89ffde119e4dc621e3)
docs: add version support page to the dropdown
([#18730](https://redirect.github.com/eslint/eslint/issues/18730))
(Amaresh S M)
-
[`38a0661`](https://redirect.github.com/eslint/eslint/commit/38a0661872dd6f1db2f53501895c58e8cf4e8064)
docs: Fix typo
([#18735](https://redirect.github.com/eslint/eslint/issues/18735))
(Zaina Al Habash)
-
[`3c32a9e`](https://redirect.github.com/eslint/eslint/commit/3c32a9e23c270d83bd8b2649e78aabb76992928e)
docs: Update yarn command for creating ESLint config
([#18739](https://redirect.github.com/eslint/eslint/issues/18739))
(Temitope Ogunleye)
-
[`f9ac978`](https://redirect.github.com/eslint/eslint/commit/f9ac978de629c9a702febcf478a743c5ab11fcf6)
docs: Update README (GitHub Actions Bot)
#### Chores
-
[`461b2c3`](https://redirect.github.com/eslint/eslint/commit/461b2c35786dc5fd5e146f370bdcafd32938386f)
chore: upgrade to `@eslint/js@9.9.0`
([#18765](https://redirect.github.com/eslint/eslint/issues/18765))
(Francesco Trotta)
-
[`59dba1b`](https://redirect.github.com/eslint/eslint/commit/59dba1b3404391f5d968be578f0205569d5d41b2)
chore: package.json update for
[@eslint/js](https://redirect.github.com/eslint/js) release
(Jenkins)
-
[`fea8563`](https://redirect.github.com/eslint/eslint/commit/fea8563d3372a663aa7a1a676290c34cfb8452ba)
chore: update dependency
[@eslint/core](https://redirect.github.com/eslint/core) to ^0.3.0
([#18724](https://redirect.github.com/eslint/eslint/issues/18724))
(renovate\[bot])
-
[`aac191e`](https://redirect.github.com/eslint/eslint/commit/aac191e6701495666c264f71fc440207ea19251f)
chore: update dependency
[@eslint/json](https://redirect.github.com/eslint/json) to ^0.3.0
([#18760](https://redirect.github.com/eslint/eslint/issues/18760))
(renovate\[bot])
-
[`b97fa05`](https://redirect.github.com/eslint/eslint/commit/b97fa051375d1a4592faf251c783691d0b0b9ab9)
chore: update wdio dependencies for more stable tests
([#18759](https://redirect.github.com/eslint/eslint/issues/18759))
(Christian Bromann)
###
[`v9.8.0`](https://redirect.github.com/eslint/eslint/compare/v9.7.0...63881dc11299aba1d0960747c199a4cf48d6b9c8)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.7.0...v9.8.0)
###
[`v9.7.0`](https://redirect.github.com/eslint/eslint/releases/tag/v9.7.0)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.6.0...v9.7.0)
#### Features
-
[`7bd9839`](https://redirect.github.com/eslint/eslint/commit/7bd98398f112da020eddcda2c26cf4cc563af004)
feat: add support for es2025 duplicate named capturing groups
([#18630](https://redirect.github.com/eslint/eslint/issues/18630))
(Yosuke Ota)
-
[`1381394`](https://redirect.github.com/eslint/eslint/commit/1381394a75b5902ce588455765a3919e2f138a7a)
feat: add `regex` option in `no-restricted-imports`
([#18622](https://redirect.github.com/eslint/eslint/issues/18622))
(Nitin Kumar)
#### Bug Fixes
-
[`14e9f81`](https://redirect.github.com/eslint/eslint/commit/14e9f81ccdb51d2b915b68f442d48ced0a691646)
fix: destructuring in catch clause in `no-unused-vars`
([#18636](https://redirect.github.com/eslint/eslint/issues/18636))
(Francesco Trotta)
#### Documentation
-
[`9f416db`](https://redirect.github.com/eslint/eslint/commit/9f416db680ad01716a769296085bf3eb93f76424)
docs: Add Powered by Algolia label to the search.
([#18633](https://redirect.github.com/eslint/eslint/issues/18633))
(Amaresh S M)
-
[`c8d26cb`](https://redirect.github.com/eslint/eslint/commit/c8d26cb4a2f9d89bfc1914167d3e9f1d3314ffe7)
docs: Open JS Foundation -> OpenJS Foundation
([#18649](https://redirect.github.com/eslint/eslint/issues/18649))
(Milos Djermanovic)
-
[`6e79ac7`](https://redirect.github.com/eslint/eslint/commit/6e79ac76f44b34c24a3e92c20713fbafe1dcbae2)
docs: `loadESLint` does not support option `cwd`
([#18641](https://redirect.github.com/eslint/eslint/issues/18641))
(Francesco Trotta)
#### Chores
-
[`793b718`](https://redirect.github.com/eslint/eslint/commit/793b7180119e7e440d685defb2ee01597574ef1e)
chore: upgrade
[@eslint/js](https://redirect.github.com/eslint/js)[@9](https://redirect.github.com/9).7.0
([#18680](https://redirect.github.com/eslint/eslint/issues/18680))
(Francesco Trotta)
-
[`7ed6f9a`](https://redirect.github.com/eslint/eslint/commit/7ed6f9a4db702bbad941422f456451a8dba7a450)
chore: package.json update for
[@eslint/js](https://redirect.github.com/eslint/js) release
(Jenkins)
-
[`7bcda76`](https://redirect.github.com/eslint/eslint/commit/7bcda760369c44d0f1131fccaaf1ccfed5af85f1)
refactor: Add type references
([#18652](https://redirect.github.com/eslint/eslint/issues/18652))
(Nicholas C. Zakas)
-
[`51bf57c`](https://redirect.github.com/eslint/eslint/commit/51bf57c493a65baeee3a935f2d0e52e27271fb48)
chore: add tech sponsors through actions
([#18624](https://redirect.github.com/eslint/eslint/issues/18624))
(Strek)
-
[`6320732`](https://redirect.github.com/eslint/eslint/commit/6320732c3e2a52a220552e348108c53c60f9ef7a)
refactor: don't use `parent` property in `NodeEventGenerator`
([#18653](https://redirect.github.com/eslint/eslint/issues/18653))
(Milos Djermanovic)
-
[`9e6d640`](https://redirect.github.com/eslint/eslint/commit/9e6d6405c3ee774c2e716a3453ede9696ced1be7)
refactor: move "Parsing error" prefix adding to Linter
([#18650](https://redirect.github.com/eslint/eslint/issues/18650))
(Milos Djermanovic)
###
[`v9.6.0`](https://redirect.github.com/eslint/eslint/compare/v9.5.0...473d1bb7c3dfcf629ac048ca811f4b5eef04a692)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.5.0...v9.6.0)
###
[`v9.5.0`](https://redirect.github.com/eslint/eslint/compare/v9.4.0...535235701fb029db6f656bd4e58acdfdeb8c02de)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.4.0...v9.5.0)
###
[`v9.4.0`](https://redirect.github.com/eslint/eslint/compare/v9.3.0...a5f7e589eca05a8a30bd2532380c304759cc8225)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.3.0...v9.4.0)
###
[`v9.3.0`](https://redirect.github.com/eslint/eslint/compare/v9.2.0...41a871cf43874e2f27ad08554c7900daf0e94b06)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.2.0...v9.3.0)
###
[`v9.2.0`](https://redirect.github.com/eslint/eslint/compare/v9.1.1...271e7ab1adc45a7b2f66cfea55a54e6048d9749a)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.1.1...v9.2.0)
###
[`v9.1.1`](https://redirect.github.com/eslint/eslint/compare/v9.1.0...b4d2512809a1b28466ad1ce5af9d01c181b9bf9e)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.1.0...v9.1.1)
###
[`v9.1.0`](https://redirect.github.com/eslint/eslint/compare/v9.0.0...b78d831e244171c939279b03be519b5c13836fce)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v9.0.0...v9.1.0)
###
[`v9.0.0`](https://redirect.github.com/eslint/eslint/compare/v8.57.0...e0cbc50179adac1670f4e0bd9093387a51f4f42a)
[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v8.57.0...v9.0.0)
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/cap-js/docs).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian Georgi
---
.eslintrc | 22 -
.github/workflows/PR-SAP.yml | 2 +
.github/workflows/PR.yml | 1 +
.github/workflows/main.yml | 1 +
.vitepress/menu.js | 8 +-
.vitepress/theme/components/NotFound.vue | 2 +-
.vitepress/theme/components/NotebookHint.vue | 10 +-
.../components/implvariants/ImplVariants.vue | 6 +-
assets/concepts/_snippets/cds.cds | 63 --
assets/concepts/_snippets/http.groovy | 13 -
assets/concepts/_snippets/javascript.js | 37 --
eslint.config.mjs | 26 +
guides/assets/actions-functions/requests.http | 23 -
guides/assets/actions-functions/services.cds | 12 -
guides/assets/actions-functions/services.js | 37 --
package-lock.json | 583 ++++++++----------
package.json | 4 +-
tools/cds-lint/components/PlaygroundBadge.vue | 2 +-
tools/cds-lint/components/RulesRefTable.vue | 2 +-
19 files changed, 311 insertions(+), 543 deletions(-)
delete mode 100644 .eslintrc
delete mode 100644 assets/concepts/_snippets/cds.cds
delete mode 100644 assets/concepts/_snippets/http.groovy
delete mode 100644 assets/concepts/_snippets/javascript.js
create mode 100644 eslint.config.mjs
delete mode 100644 guides/assets/actions-functions/requests.http
delete mode 100644 guides/assets/actions-functions/services.cds
delete mode 100644 guides/assets/actions-functions/services.js
diff --git a/.eslintrc b/.eslintrc
deleted file mode 100644
index 155a10fd5..000000000
--- a/.eslintrc
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "ignorePatterns": ["**/webapp/**", "assets/**"],
- "extends": ["eslint:recommended", "plugin:vue/vue3-recommended"],
- "parser": "@typescript-eslint/parser",
- "env": {
- "es2022": true,
- "node": true,
- "jest": true,
- "mocha": true
- },
- "globals": {
- "SELECT": true,
- "INSERT": true,
- "UPDATE": true,
- "DELETE": true,
- "CREATE": true,
- "DROP": true,
- "CDL": true,
- "CQL": true,
- "CXL": true
- }
-}
diff --git a/.github/workflows/PR-SAP.yml b/.github/workflows/PR-SAP.yml
index 461d83af5..f6d1a8db8 100644
--- a/.github/workflows/PR-SAP.yml
+++ b/.github/workflows/PR-SAP.yml
@@ -37,6 +37,8 @@ jobs:
working-directory: docs
- run: npm test
working-directory: docs
+ - run: npm run lint
+ working-directory: docs
- run: npm run docs:build
working-directory: docs
env:
diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml
index fcbfc7d15..ebee41b82 100644
--- a/.github/workflows/PR.yml
+++ b/.github/workflows/PR.yml
@@ -31,3 +31,4 @@ jobs:
- run: npm ci
- run: npm test
- run: npm run docs:build
+ - run: npm run lint
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6a64d9681..744120097 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -35,6 +35,7 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm test
+ - run: npm run lint
- run: npm run docs:build
env:
GH_BASE: /
diff --git a/.vitepress/menu.js b/.vitepress/menu.js
index 60d273fb1..88f730d5d 100644
--- a/.vitepress/menu.js
+++ b/.vitepress/menu.js
@@ -1,4 +1,3 @@
-import path from 'node:path'
import fs from 'node:fs'
import rulesSidebar from '../tools/cds-lint/sidebar.js'
@@ -13,7 +12,7 @@ const dynamicItems = (item) => {
/**
* Construct sidebar from markdown
*/
-export function sidebar (file = 'menu.md', filter=(_)=>true) {
+export function sidebar (file = 'menu.md', filter=()=>true) {
const source = file
const markdown = fs.readFileSync(source,'utf8')
const sidebar = []
@@ -26,13 +25,13 @@ export function sidebar (file = 'menu.md', filter=(_)=>true) {
let [, text, link ] = /^-\s*\[(.*)\]\((.*)\)/.exec(line) || /^-\s*(.*)/.exec(line) || []
if (text && filter(link)) section.items.push (item = _item({ link, text }))
else {
- let [, text, link ] = /^ -\s*\[(.*)\]\((.*)\)/.exec(line) || /^ -\s*(.*)/.exec(line) || []
+ let [, text, link ] = /^ {2}-\s*\[(.*)\]\((.*)\)/.exec(line) || /^ {2}-\s*(.*)/.exec(line) || []
if (text && filter(link)) {
(item.items ??= []).push (subitem = _item({ link, text }))
item.collapsed = true
}
else {
- let [, text, link ] = /^ -\s*\[(.*)\]\((.*)\)/.exec(line) || /^ -\s*(.*)/.exec(line) || []
+ let [, text, link ] = /^ {4}-\s*\[(.*)\]\((.*)\)/.exec(line) || /^ {4}-\s*(.*)/.exec(line) || []
if (text && filter(link)) {
(subitem.items ??= []).push (_item({ link, text }))
subitem.collapsed = true
@@ -63,5 +62,6 @@ export function nav4(sidebar) {
if (process.argv[1] === import.meta.url.slice(7)) {
let {inspect} = await import ('node:util')
+ // eslint-disable-next-line no-console
console.log(inspect(sidebar('menu.md'),{depth:11,colors:true}))
}
diff --git a/.vitepress/theme/components/NotFound.vue b/.vitepress/theme/components/NotFound.vue
index 52498b6f2..6decf4a51 100644
--- a/.vitepress/theme/components/NotFound.vue
+++ b/.vitepress/theme/components/NotFound.vue
@@ -23,7 +23,7 @@
import { useRoute, useData, withBase } from 'vitepress'
import { onMounted, ref } from 'vue'
-const { frontmatter, site } = useData()
+const { site } = useData()
const route = useRoute()
const base = site.value.base
diff --git a/.vitepress/theme/components/NotebookHint.vue b/.vitepress/theme/components/NotebookHint.vue
index de88fb669..c0e4a0686 100644
--- a/.vitepress/theme/components/NotebookHint.vue
+++ b/.vitepress/theme/components/NotebookHint.vue
@@ -17,21 +17,19 @@