@atlaskit/editor-plugin-code-block-advanced 9.0.0 → 10.0.1

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,30 @@
1
1
  # @atlaskit/editor-plugin-code-block-advanced
2
2
 
3
+ ## 10.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 10.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - [`901c87a57486e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/901c87a57486e) -
14
+ Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
15
+
16
+ What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
17
+ removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
18
+ to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
19
+
20
+ How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
21
+ `^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
22
+ can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies
27
+
3
28
  ## 9.0.0
4
29
 
5
30
  ### Patch Changes
package/README.md CHANGED
@@ -40,7 +40,7 @@ This plugin requires the following peer dependencies:
40
40
 
41
41
  - `@atlaskit/editor-common`
42
42
  - `react` (^18.2.0)
43
- - `react-intl-next`
43
+ - `react-intl`
44
44
 
45
45
  It also depends on the `@atlaskit/editor-plugin-code-block` plugin.
46
46
 
@@ -1,6 +1,6 @@
1
1
  import type { Extension } from '@codemirror/state';
2
2
  import type { ViewUpdate } from '@codemirror/view';
3
- import type { IntlShape } from 'react-intl-next';
3
+ import type { IntlShape } from 'react-intl';
4
4
  import type { getPosHandler, getPosHandlerNode, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
6
6
  import type { Decoration, DecorationSource, EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
@@ -1,5 +1,5 @@
1
1
  import type { Extension } from '@codemirror/state';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { CodeBlockAdvancedPlugin } from '../codeBlockAdvancedPluginType';
@@ -1,5 +1,5 @@
1
1
  import type { Extension } from '@codemirror/state';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { CodeBlockAdvancedPlugin } from '../codeBlockAdvancedPluginType';
@@ -1,6 +1,6 @@
1
1
  import type { Extension } from '@codemirror/state';
2
2
  import type { ViewUpdate } from '@codemirror/view';
3
- import type { IntlShape } from 'react-intl-next';
3
+ import type { IntlShape } from 'react-intl';
4
4
  import type { getPosHandler, getPosHandlerNode, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
6
6
  import type { Decoration, DecorationSource, EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
@@ -1,5 +1,5 @@
1
1
  import type { Extension } from '@codemirror/state';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { CodeBlockAdvancedPlugin } from '../codeBlockAdvancedPluginType';
@@ -1,5 +1,5 @@
1
1
  import type { Extension } from '@codemirror/state';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { CodeBlockAdvancedPlugin } from '../codeBlockAdvancedPluginType';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-code-block-advanced",
3
- "version": "9.0.0",
3
+ "version": "10.0.1",
4
4
  "description": "CodeBlockAdvanced plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -30,15 +30,15 @@
30
30
  "dependencies": {
31
31
  "@atlaskit/adf-schema": "^52.5.0",
32
32
  "@atlaskit/code": "^17.4.0",
33
- "@atlaskit/editor-plugin-code-block": "^11.0.0",
34
- "@atlaskit/editor-plugin-editor-disabled": "^9.0.0",
35
- "@atlaskit/editor-plugin-find-replace": "^9.0.0",
36
- "@atlaskit/editor-plugin-selection": "^9.0.0",
37
- "@atlaskit/editor-plugin-selection-marker": "^9.0.0",
33
+ "@atlaskit/editor-plugin-code-block": "^12.0.0",
34
+ "@atlaskit/editor-plugin-editor-disabled": "^10.0.0",
35
+ "@atlaskit/editor-plugin-find-replace": "^10.0.0",
36
+ "@atlaskit/editor-plugin-selection": "^10.0.0",
37
+ "@atlaskit/editor-plugin-selection-marker": "^10.0.0",
38
38
  "@atlaskit/editor-prosemirror": "^7.3.0",
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
40
  "@atlaskit/prosemirror-history": "^0.2.0",
41
- "@atlaskit/tmp-editor-statsig": "^62.4.0",
41
+ "@atlaskit/tmp-editor-statsig": "^63.0.0",
42
42
  "@atlaskit/tokens": "^13.0.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@codemirror/autocomplete": "6.18.4",
@@ -55,9 +55,9 @@
55
55
  "codemirror-lang-elixir": "4.0.0"
56
56
  },
57
57
  "peerDependencies": {
58
- "@atlaskit/editor-common": "^113.0.0",
58
+ "@atlaskit/editor-common": "^114.2.0",
59
59
  "react": "^18.2.0",
60
- "react-intl-next": "npm:react-intl@^5.18.1"
60
+ "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
61
61
  },
62
62
  "techstack": {
63
63
  "@atlassian/frontend": {
@@ -105,5 +105,8 @@
105
105
  "platform_editor_content_mode_button_mvp": {
106
106
  "type": "boolean"
107
107
  }
108
+ },
109
+ "devDependencies": {
110
+ "react-intl": "^6.6.2"
108
111
  }
109
112
  }
@@ -4,7 +4,7 @@ import { Compartment, Facet, EditorState as CodeMirrorState } from '@codemirror/
4
4
  import type { Extension, StateEffect } from '@codemirror/state';
5
5
  import { EditorView as CodeMirror, lineNumbers, gutters } from '@codemirror/view';
6
6
  import type { ViewUpdate } from '@codemirror/view';
7
- import type { IntlShape } from 'react-intl-next';
7
+ import type { IntlShape } from 'react-intl';
8
8
 
9
9
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
10
10
  import { isCodeBlockWordWrapEnabled } from '@atlaskit/editor-common/code-block';
@@ -1,5 +1,5 @@
1
1
  import type { Extension } from '@codemirror/state';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
 
4
4
  import { withLazyLoading } from '@atlaskit/editor-common/lazy-node-view';
5
5
  import type { NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view';
@@ -1,5 +1,5 @@
1
1
  import type { Extension } from '@codemirror/state';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
 
4
4
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
5
5
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';