@atlaskit/editor-plugin-extension 19.1.5 → 19.1.7

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,46 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 19.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0927c3666c010`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0927c3666c010) -
8
+ Upgrade `uuid` from `3.x` to `11.1.1` to remediate GHSA-w5hq-g745-h8pq / SNYK-JS-UUID-16133035.
9
+
10
+ `uuid@11` removed the deep subpath exports (`uuid/v4`, `uuid/v1`, `uuid/v5`) and the default
11
+ export, so all internal call sites were migrated to named imports:
12
+
13
+ ```diff
14
+ -import uuid from 'uuid/v4';
15
+ +import { v4 as uuid } from 'uuid';
16
+
17
+ -import uuid from 'uuid';
18
+ +import { v4 as uuid } from 'uuid';
19
+ ```
20
+
21
+ With the exception of `@atlassian/integrations` (below), this is an internal implementation change
22
+ only - no public API, export, or entrypoint changed. UUID generation behaviour is unchanged
23
+ (`uuid@3`'s default export was already `v4`).
24
+
25
+ `@atlassian/integrations` declares `uuid` as a peer dependency, so its declared range moved from
26
+ `^3.1.0` to `^11.1.1`. That is a peer dependency declaration change, hence `minor` rather than
27
+ `patch` for that package.
28
+
29
+ The following `platform/packages/ai-mate` packages were also touched, but are all `private: true`
30
+ and so are intentionally not listed in the frontmatter above:
31
+ - `@atlassian/csm-assistance-service` - bumped its explicit `uuid` dependency from `npm:^9.0.0` to
32
+ `npm:^11.1.1` (`9.0.1` is also within the advisory's affected range).
33
+ - `@atlassian/csm-guidance-config` - example helper only, migrated to the named `uuid` import.
34
+ - `@atlassian/csm-ui-components` - example helper only, migrated to the named `uuid` import.
35
+
36
+ - Updated dependencies
37
+
38
+ ## 19.1.6
39
+
40
+ ### Patch Changes
41
+
42
+ - Updated dependencies
43
+
3
44
  ## 19.1.5
4
45
 
5
46
  ### Patch Changes
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.extensionPlugin = void 0;
8
- var _v = _interopRequireDefault(require("uuid/v4"));
8
+ var _uuid = require("uuid");
9
9
  var _extension = require("@atlaskit/adf-schema/extension");
10
10
  var _multiBodiedExtension = require("@atlaskit/adf-schema/multi-bodied-extension");
11
11
  var _inlineExtension = require("@atlaskit/adf-schema/inline-extension");
@@ -35,7 +35,7 @@ var extensionPlugin = exports.extensionPlugin = function extensionPlugin(_ref) {
35
35
  options = _ref$config === void 0 ? {} : _ref$config,
36
36
  _api = _ref.api;
37
37
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
38
- var configPanelId = "".concat(_constants.CONFIG_PANEL_ID, "-").concat((0, _v.default)());
38
+ var configPanelId = "".concat(_constants.CONFIG_PANEL_ID, "-").concat((0, _uuid.v4)());
39
39
  var featureFlags = (_api === null || _api === void 0 || (_api$featureFlags = _api.featureFlags) === null || _api$featureFlags === void 0 ? void 0 : _api$featureFlags.sharedState.currentState()) || {};
40
40
  //Note: This is a hack to get the editor view reference in the plugin. Copied from table plugin.
41
41
  //This is needed to get the current selection in the editor
@@ -1,5 +1,5 @@
1
1
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
2
- import uuid from 'uuid/v4';
2
+ import { v4 as uuid } from 'uuid';
3
3
  import { extension } from '@atlaskit/adf-schema/extension';
4
4
  import { extensionFrame, multiBodiedExtension } from '@atlaskit/adf-schema/multi-bodied-extension';
5
5
  import { inlineExtension } from '@atlaskit/adf-schema/inline-extension';
@@ -1,5 +1,5 @@
1
1
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
2
- import uuid from 'uuid/v4';
2
+ import { v4 as uuid } from 'uuid';
3
3
  import { extension } from '@atlaskit/adf-schema/extension';
4
4
  import { extensionFrame, multiBodiedExtension } from '@atlaskit/adf-schema/multi-bodied-extension';
5
5
  import { inlineExtension } from '@atlaskit/adf-schema/inline-extension';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "19.1.5",
3
+ "version": "19.1.7",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -21,8 +21,8 @@
21
21
  ],
22
22
  "atlaskit:src": "src/index.ts",
23
23
  "dependencies": {
24
- "@atlaskit/adf-schema": "^57.2.0",
25
- "@atlaskit/adf-utils": "^20.8.0",
24
+ "@atlaskit/adf-schema": "^57.3.0",
25
+ "@atlaskit/adf-utils": "^20.9.0",
26
26
  "@atlaskit/analytics-next": "^12.5.0",
27
27
  "@atlaskit/avatar": "^28.0.0",
28
28
  "@atlaskit/browser-apis": "^1.2.0",
@@ -59,12 +59,12 @@
59
59
  "@atlaskit/react-select": "^4.9.0",
60
60
  "@atlaskit/section-message": "^10.2.0",
61
61
  "@atlaskit/select": "^22.11.0",
62
- "@atlaskit/smart-user-picker": "^11.6.0",
62
+ "@atlaskit/smart-user-picker": "^11.7.0",
63
63
  "@atlaskit/spinner": "^20.4.0",
64
64
  "@atlaskit/tabs": "^21.2.0",
65
65
  "@atlaskit/textarea": "^10.2.0",
66
66
  "@atlaskit/textfield": "^10.2.0",
67
- "@atlaskit/tmp-editor-statsig": "^173.0.0",
67
+ "@atlaskit/tmp-editor-statsig": "^174.0.0",
68
68
  "@atlaskit/toggle": "^17.3.0",
69
69
  "@atlaskit/tokens": "^16.11.0",
70
70
  "@atlaskit/tooltip": "^24.3.0",
@@ -75,10 +75,10 @@
75
75
  "lodash": "^4.17.21",
76
76
  "memoize-one": "^6.0.0",
77
77
  "react-loadable": "^5.1.0",
78
- "uuid": "^3.1.0"
78
+ "uuid": "^11.1.1"
79
79
  },
80
80
  "peerDependencies": {
81
- "@atlaskit/editor-common": "^120.11.0",
81
+ "@atlaskit/editor-common": "^120.13.0",
82
82
  "react": "^18.2.0 || ^19.2.0",
83
83
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
84
84
  },