@atlaskit/editor-plugin-paste 9.1.10 → 9.1.12

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,19 @@
1
1
  # @atlaskit/editor-plugin-paste
2
2
 
3
+ ## 9.1.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [`7b7c52dff5d7d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7b7c52dff5d7d) -
8
+ Fix eslint violations for type import syntax
9
+ - Updated dependencies
10
+
11
+ ## 9.1.11
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 9.1.10
4
18
 
5
19
  ### Patch Changes
@@ -10,7 +10,7 @@ function safelyGetVSCodeLanguage(editorData) {
10
10
  try {
11
11
  var vscodeData = editorData ? JSON.parse(editorData) : undefined;
12
12
  return vscodeData === null || vscodeData === void 0 ? void 0 : vscodeData.mode;
13
- } catch (_e) {}
13
+ } catch (_unused) {}
14
14
  }
15
15
  function handleVSCodeBlock(_ref) {
16
16
  var _event$clipboardData;
@@ -4,7 +4,7 @@ function safelyGetVSCodeLanguage(editorData) {
4
4
  try {
5
5
  const vscodeData = editorData ? JSON.parse(editorData) : undefined;
6
6
  return vscodeData === null || vscodeData === void 0 ? void 0 : vscodeData.mode;
7
- } catch (_e) {}
7
+ } catch {}
8
8
  }
9
9
  export function handleVSCodeBlock({
10
10
  state,
@@ -4,7 +4,7 @@ function safelyGetVSCodeLanguage(editorData) {
4
4
  try {
5
5
  var vscodeData = editorData ? JSON.parse(editorData) : undefined;
6
6
  return vscodeData === null || vscodeData === void 0 ? void 0 : vscodeData.mode;
7
- } catch (_e) {}
7
+ } catch (_unused) {}
8
8
  }
9
9
  export function handleVSCodeBlock(_ref) {
10
10
  var _event$clipboardData;
@@ -1,4 +1,4 @@
1
- import { type Slice } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Slice } from '@atlaskit/editor-prosemirror/model';
2
2
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
3
3
  interface VSCodeBlockParams {
4
4
  event: ClipboardEvent;
@@ -1,4 +1,4 @@
1
- import { type Slice } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Slice } from '@atlaskit/editor-prosemirror/model';
2
2
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
3
3
  interface VSCodeBlockParams {
4
4
  event: ClipboardEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-paste",
3
- "version": "9.1.10",
3
+ "version": "9.1.12",
4
4
  "description": "Paste plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -48,7 +48,7 @@
48
48
  "@atlaskit/media-common": "^13.0.0",
49
49
  "@atlaskit/platform-feature-flags": "^1.1.0",
50
50
  "@atlaskit/prosemirror-history": "^0.2.0",
51
- "@atlaskit/tmp-editor-statsig": "^57.0.0",
51
+ "@atlaskit/tmp-editor-statsig": "^58.0.0",
52
52
  "@atlaskit/tokens": "^12.0.0",
53
53
  "@babel/runtime": "^7.0.0",
54
54
  "lodash": "^4.17.21",