Commit 5981bab
fix: in interop-csn, remove all unknown properties from meta section (#387)
* fix: in interop-csn, remove all unknown properties
According to csn-interop spec, only certain properties are allowed in section "meta". With this change, we remove all properties that are not allowed.
For example, with version 6.8.0 cds-compiler adds new attribute "compilerCsnFlavor" to the meta section of CSN. This is not specified in interopCsn and thus is removed.
* Update lib/interopCsn.js
Co-authored-by: hyperspace-insights[bot] <209611008+hyperspace-insights[bot]@users.noreply.github.com>
---------
Co-authored-by: hyperspace-insights[bot] <209611008+hyperspace-insights[bot]@users.noreply.github.com>1 parent 999298c commit 5981bab
File tree
3 files changed
+24
-3
lines changed- __tests__/unit
- __snapshots__
- lib
3 files changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
136 | 146 | | |
137 | | - | |
138 | | - | |
139 | 147 | | |
140 | 148 | | |
141 | 149 | | |
| |||
0 commit comments