@atlaskit/emoji 72.2.5 → 72.2.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 +41 -0
- package/dist/cjs/components/typeahead/EmojiTypeAheadComponent.js +3 -3
- package/dist/cjs/util/analytics/createEvent.js +1 -1
- package/dist/es2019/components/typeahead/EmojiTypeAheadComponent.js +1 -1
- package/dist/es2019/util/analytics/createEvent.js +1 -1
- package/dist/esm/components/typeahead/EmojiTypeAheadComponent.js +1 -1
- package/dist/esm/util/analytics/createEvent.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# @atlaskit/emoji
|
|
2
2
|
|
|
3
|
+
## 72.2.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
|
+
## 72.2.6
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- Updated dependencies
|
|
43
|
+
|
|
3
44
|
## 72.2.5
|
|
4
45
|
|
|
5
46
|
### Patch Changes
|
|
@@ -14,7 +14,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
14
14
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
15
15
|
var _react = _interopRequireWildcard(require("react"));
|
|
16
16
|
var _reactDom = require("react-dom");
|
|
17
|
-
var _uuid =
|
|
17
|
+
var _uuid = require("uuid");
|
|
18
18
|
var _EmojiCommonProvider = require("../../context/EmojiCommonProvider");
|
|
19
19
|
var _types = require("../../types");
|
|
20
20
|
var _typeaheadCancelledEvent = require("../../util/analytics/typeaheadCancelledEvent");
|
|
@@ -153,7 +153,7 @@ var EmojiTypeAheadComponent = exports.default = /*#__PURE__*/function (_PureComp
|
|
|
153
153
|
_this.selectedTone = props.emojiProvider.getSelectedTone();
|
|
154
154
|
_this.pressed = false;
|
|
155
155
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
156
|
-
_this.sessionId = (0, _uuid.
|
|
156
|
+
_this.sessionId = (0, _uuid.v4)();
|
|
157
157
|
_this.selected = false;
|
|
158
158
|
return _this;
|
|
159
159
|
}
|
|
@@ -191,7 +191,7 @@ var EmojiTypeAheadComponent = exports.default = /*#__PURE__*/function (_PureComp
|
|
|
191
191
|
}
|
|
192
192
|
});
|
|
193
193
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
194
|
-
this.sessionId = (0, _uuid.
|
|
194
|
+
this.sessionId = (0, _uuid.v4)();
|
|
195
195
|
this.selected = false;
|
|
196
196
|
}
|
|
197
197
|
}, {
|
|
@@ -19,7 +19,7 @@ var createEvent = exports.createEvent = function createEvent(eventType, action,
|
|
|
19
19
|
actionSubjectId: actionSubjectId,
|
|
20
20
|
attributes: _objectSpread({
|
|
21
21
|
packageName: "@atlaskit/emoji",
|
|
22
|
-
packageVersion: "72.2.
|
|
22
|
+
packageVersion: "72.2.6"
|
|
23
23
|
}, attributes)
|
|
24
24
|
};
|
|
25
25
|
};
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { PureComponent } from 'react';
|
|
4
4
|
import { flushSync } from 'react-dom';
|
|
5
5
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
6
|
-
import uuid from 'uuid';
|
|
6
|
+
import { v4 as uuid } from 'uuid';
|
|
7
7
|
import { EmojiCommonProvider } from '../../context/EmojiCommonProvider';
|
|
8
8
|
import { SearchSort, SearchSourceTypes } from '../../types';
|
|
9
9
|
import { typeaheadCancelledEvent } from '../../util/analytics/typeaheadCancelledEvent';
|
|
@@ -13,7 +13,7 @@ import React from 'react';
|
|
|
13
13
|
import { PureComponent } from 'react';
|
|
14
14
|
import { flushSync } from 'react-dom';
|
|
15
15
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
16
|
-
import uuid from 'uuid';
|
|
16
|
+
import { v4 as uuid } from 'uuid';
|
|
17
17
|
import { EmojiCommonProvider } from '../../context/EmojiCommonProvider';
|
|
18
18
|
import { SearchSort, SearchSourceTypes } from '../../types';
|
|
19
19
|
import { typeaheadCancelledEvent } from '../../util/analytics/typeaheadCancelledEvent';
|
|
@@ -12,7 +12,7 @@ export var createEvent = function createEvent(eventType, action, actionSubject,
|
|
|
12
12
|
actionSubjectId: actionSubjectId,
|
|
13
13
|
attributes: _objectSpread({
|
|
14
14
|
packageName: "@atlaskit/emoji",
|
|
15
|
-
packageVersion: "72.2.
|
|
15
|
+
packageVersion: "72.2.6"
|
|
16
16
|
}, attributes)
|
|
17
17
|
};
|
|
18
18
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/emoji",
|
|
3
|
-
"version": "72.2.
|
|
3
|
+
"version": "72.2.7",
|
|
4
4
|
"description": "Fabric emoji React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"@atlaskit/form": "^17.2.0",
|
|
39
39
|
"@atlaskit/heading": "^7.2.0",
|
|
40
40
|
"@atlaskit/icon": "^37.6.0",
|
|
41
|
-
"@atlaskit/icon-lab": "^7.
|
|
41
|
+
"@atlaskit/icon-lab": "^7.8.0",
|
|
42
42
|
"@atlaskit/image": "^5.2.0",
|
|
43
43
|
"@atlaskit/logo": "^21.6.0",
|
|
44
|
-
"@atlaskit/media-client": "^37.
|
|
44
|
+
"@atlaskit/media-client": "^37.7.0",
|
|
45
45
|
"@atlaskit/media-client-react": "^6.4.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
47
47
|
"@atlaskit/pragmatic-drag-and-drop": "^3.1.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/spinner": "^20.4.0",
|
|
51
51
|
"@atlaskit/textfield": "^10.2.0",
|
|
52
52
|
"@atlaskit/theme": "^28.2.0",
|
|
53
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
53
|
+
"@atlaskit/tmp-editor-statsig": "^174.0.0",
|
|
54
54
|
"@atlaskit/tokens": "^16.11.0",
|
|
55
55
|
"@atlaskit/tooltip": "^24.3.0",
|
|
56
56
|
"@atlaskit/ufo": "^1.2.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"react-intersection-observer": "^9.16.0",
|
|
66
66
|
"react-loadable": "^5.1.0",
|
|
67
67
|
"use-debounce": "^3.4.0",
|
|
68
|
-
"uuid": "^
|
|
68
|
+
"uuid": "^11.1.1"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"react": "^18.2.0",
|