@atlaskit/editor-plugin-track-changes 7.0.30 → 7.0.32

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,21 @@
1
1
  # @atlaskit/editor-plugin-track-changes
2
2
 
3
+ ## 7.0.32
4
+
5
+ ### Patch Changes
6
+
7
+ - [`38f6b2fea945a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/38f6b2fea945a) -
8
+ Remove dragAndDropEnabled from test fixtures and audit false usages - prop is being deprecated
9
+ - Updated dependencies
10
+
11
+ ## 7.0.31
12
+
13
+ ### Patch Changes
14
+
15
+ - [`7b7c52dff5d7d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7b7c52dff5d7d) -
16
+ Fix eslint violations for type import syntax
17
+ - Updated dependencies
18
+
3
19
  ## 7.0.30
4
20
 
5
21
  ### Patch Changes
@@ -42,7 +42,7 @@ var getBaselineFromSteps = exports.getBaselineFromSteps = function getBaselineFr
42
42
  _iterator.f();
43
43
  }
44
44
  return doc;
45
- } catch (e) {
45
+ } catch (_unused) {
46
46
  // Temporary - we need to understand how this happens - but we want to unblock issues where this crashes the editor
47
47
  return undefined;
48
48
  }
@@ -17,7 +17,7 @@ export const getBaselineFromSteps = (doc, steps) => {
17
17
  }
18
18
  }
19
19
  return doc;
20
- } catch (e) {
20
+ } catch {
21
21
  // Temporary - we need to understand how this happens - but we want to unblock issues where this crashes the editor
22
22
  return undefined;
23
23
  }
@@ -35,7 +35,7 @@ export var getBaselineFromSteps = function getBaselineFromSteps(doc, steps) {
35
35
  _iterator.f();
36
36
  }
37
37
  return doc;
38
- } catch (e) {
38
+ } catch (_unused) {
39
39
  // Temporary - we need to understand how this happens - but we want to unblock issues where this crashes the editor
40
40
  return undefined;
41
41
  }
@@ -1,4 +1,4 @@
1
- import { type Step } from '@atlaskit/editor-prosemirror/transform';
1
+ import type { Step } from '@atlaskit/editor-prosemirror/transform';
2
2
  export declare class InvertableStep {
3
3
  readonly step: Step;
4
4
  readonly inverted: Step;
@@ -1,5 +1,5 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { type ExtractInjectionAPI } from '@atlaskit/editor-common/types';
2
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
4
4
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
5
5
  import type { TrackChangesPlugin } from '../trackChangesPluginType';
@@ -1,6 +1,6 @@
1
1
  import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
2
  import type { HistoryPlugin } from '@atlaskit/editor-plugin-history';
3
- import { type PrimaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
3
+ import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
4
4
  import type { ShowDiffPlugin } from '@atlaskit/editor-plugin-show-diff';
5
5
  import type { ToolbarPlugin } from '@atlaskit/editor-plugin-toolbar';
6
6
  export interface TrackChangesPluginOptions {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { type ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
- import { type TrackChangesPlugin } from '../trackChangesPluginType';
2
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
+ import type { TrackChangesPlugin } from '../trackChangesPluginType';
4
4
  type TrackChangesToolbarButtonProps = {
5
5
  api: ExtractInjectionAPI<TrackChangesPlugin> | undefined;
6
6
  wrapper?: React.ComponentType<{
@@ -1,4 +1,4 @@
1
- import { type Step } from '@atlaskit/editor-prosemirror/transform';
1
+ import type { Step } from '@atlaskit/editor-prosemirror/transform';
2
2
  export declare class InvertableStep {
3
3
  readonly step: Step;
4
4
  readonly inverted: Step;
@@ -1,5 +1,5 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { type ExtractInjectionAPI } from '@atlaskit/editor-common/types';
2
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
4
4
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
5
5
  import type { TrackChangesPlugin } from '../trackChangesPluginType';
@@ -1,6 +1,6 @@
1
1
  import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
2
  import type { HistoryPlugin } from '@atlaskit/editor-plugin-history';
3
- import { type PrimaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
3
+ import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
4
4
  import type { ShowDiffPlugin } from '@atlaskit/editor-plugin-show-diff';
5
5
  import type { ToolbarPlugin } from '@atlaskit/editor-plugin-toolbar';
6
6
  export interface TrackChangesPluginOptions {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { type ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
- import { type TrackChangesPlugin } from '../trackChangesPluginType';
2
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
+ import type { TrackChangesPlugin } from '../trackChangesPluginType';
4
4
  type TrackChangesToolbarButtonProps = {
5
5
  api: ExtractInjectionAPI<TrackChangesPlugin> | undefined;
6
6
  wrapper?: React.ComponentType<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-track-changes",
3
- "version": "7.0.30",
3
+ "version": "7.0.32",
4
4
  "description": "ShowDiff plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,7 +31,7 @@
31
31
  "@atlaskit/button": "^23.11.0",
32
32
  "@atlaskit/editor-plugin-history": "8.0.1",
33
33
  "@atlaskit/editor-plugin-primary-toolbar": "^9.0.0",
34
- "@atlaskit/editor-plugin-show-diff": "6.2.15",
34
+ "@atlaskit/editor-plugin-show-diff": "6.2.17",
35
35
  "@atlaskit/editor-plugin-toolbar": "^5.1.0",
36
36
  "@atlaskit/editor-prosemirror": "^7.3.0",
37
37
  "@atlaskit/editor-toolbar": "^0.20.0",