@atlaskit/adf-utils 19.5.0 → 19.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/adf-utils
|
|
2
2
|
|
|
3
|
+
## 19.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#124209](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124209)
|
|
8
|
+
[`8aa1792f12ed3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8aa1792f12ed3) -
|
|
9
|
+
bump @atlaskit/editor-prosemirror to 5.0.0, bump @atlaskit/adf-schema to 40.1.0
|
|
10
|
+
|
|
3
11
|
## 19.5.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.post-office.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__adf-utils/app",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"rootDir": "../"
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": []
|
|
20
|
+
}
|
|
@@ -171,8 +171,6 @@ function validateAttrs(spec, value) {
|
|
|
171
171
|
}
|
|
172
172
|
// extension_node parameters has no type
|
|
173
173
|
if (!(0, _utils.isDefined)(spec.type)) {
|
|
174
|
-
// @ts-expect-error - property 'optional' does not exist on type 'never'
|
|
175
|
-
// This error was introduced after upgrading to TypeScript 5
|
|
176
174
|
return !!spec.optional;
|
|
177
175
|
}
|
|
178
176
|
switch (spec.type) {
|
|
@@ -140,8 +140,6 @@ export function validateAttrs(spec, value) {
|
|
|
140
140
|
}
|
|
141
141
|
// extension_node parameters has no type
|
|
142
142
|
if (!isDefined(spec.type)) {
|
|
143
|
-
// @ts-expect-error - property 'optional' does not exist on type 'never'
|
|
144
|
-
// This error was introduced after upgrading to TypeScript 5
|
|
145
143
|
return !!spec.optional;
|
|
146
144
|
}
|
|
147
145
|
switch (spec.type) {
|
|
@@ -160,8 +160,6 @@ export function validateAttrs(spec, value) {
|
|
|
160
160
|
}
|
|
161
161
|
// extension_node parameters has no type
|
|
162
162
|
if (!isDefined(spec.type)) {
|
|
163
|
-
// @ts-expect-error - property 'optional' does not exist on type 'never'
|
|
164
|
-
// This error was introduced after upgrading to TypeScript 5
|
|
165
163
|
return !!spec.optional;
|
|
166
164
|
}
|
|
167
165
|
switch (spec.type) {
|