@atlaskit/mention 27.19.6 → 27.19.8

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/mention
2
2
 
3
+ ## 27.19.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5a0128690a065`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5a0128690a065) -
8
+ Add mention avatars to Rovo editor and renderer surfaces behind
9
+ platform_editor_rovo_editor_mention_node_avatar
10
+
11
+ ## 27.19.7
12
+
13
+ ### Patch Changes
14
+
15
+ - [`0927c3666c010`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0927c3666c010) -
16
+ Upgrade `uuid` from `3.x` to `11.1.1` to remediate GHSA-w5hq-g745-h8pq / SNYK-JS-UUID-16133035.
17
+
18
+ `uuid@11` removed the deep subpath exports (`uuid/v4`, `uuid/v1`, `uuid/v5`) and the default
19
+ export, so all internal call sites were migrated to named imports:
20
+
21
+ ```diff
22
+ -import uuid from 'uuid/v4';
23
+ +import { v4 as uuid } from 'uuid';
24
+
25
+ -import uuid from 'uuid';
26
+ +import { v4 as uuid } from 'uuid';
27
+ ```
28
+
29
+ With the exception of `@atlassian/integrations` (below), this is an internal implementation change
30
+ only - no public API, export, or entrypoint changed. UUID generation behaviour is unchanged
31
+ (`uuid@3`'s default export was already `v4`).
32
+
33
+ `@atlassian/integrations` declares `uuid` as a peer dependency, so its declared range moved from
34
+ `^3.1.0` to `^11.1.1`. That is a peer dependency declaration change, hence `minor` rather than
35
+ `patch` for that package.
36
+
37
+ The following `platform/packages/ai-mate` packages were also touched, but are all `private: true`
38
+ and so are intentionally not listed in the frontmatter above:
39
+ - `@atlassian/csm-assistance-service` - bumped its explicit `uuid` dependency from `npm:^9.0.0` to
40
+ `npm:^11.1.1` (`9.0.1` is also within the advisory's affected range).
41
+ - `@atlassian/csm-guidance-config` - example helper only, migrated to the named `uuid` import.
42
+ - `@atlassian/csm-ui-components` - example helper only, migrated to the named `uuid` import.
43
+
3
44
  ## 27.19.6
4
45
 
5
46
  ### Patch Changes
@@ -1,14 +1,13 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
7
6
  exports.default = void 0;
8
- var _uuid = _interopRequireDefault(require("uuid"));
7
+ var _uuid = require("uuid");
9
8
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
10
9
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
11
10
  var _default = exports.default = function _default() {
12
11
  var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
13
- return "".concat(prefix, "_").concat((0, _uuid.default)());
12
+ return "".concat(prefix, "_").concat((0, _uuid.v4)());
14
13
  };
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.packageVersion = void 0;
7
- var packageVersion = exports.packageVersion = "27.19.5";
7
+ var packageVersion = exports.packageVersion = "27.19.7";
@@ -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';
2
+ import { v4 as uuid } from 'uuid';
3
3
 
4
4
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
5
5
  export default ((prefix = '') => `${prefix}_${uuid()}`);
@@ -1 +1 @@
1
- export const packageVersion = "27.19.5";
1
+ export const packageVersion = "27.19.7";
@@ -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';
2
+ import { v4 as uuid } from 'uuid';
3
3
 
4
4
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
5
5
  export default (function () {
@@ -1 +1 @@
1
- export var packageVersion = "27.19.5";
1
+ export var packageVersion = "27.19.7";
package/package.json CHANGED
@@ -52,7 +52,7 @@
52
52
  "@emotion/react": "^11.7.1",
53
53
  "@emotion/styled": "^11.0.0",
54
54
  "lodash": "^4.17.21",
55
- "uuid": "^3.1.0"
55
+ "uuid": "^11.1.1"
56
56
  },
57
57
  "description": "A React component used to display user profiles in a list for 'Mention' functionality",
58
58
  "devDependencies": {
@@ -119,5 +119,5 @@
119
119
  "*.compiled.css"
120
120
  ],
121
121
  "types": "dist/types/index.d.ts",
122
- "version": "27.19.6"
122
+ "version": "27.19.8"
123
123
  }