@atlaskit/link-datasource 6.10.1 → 6.11.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,51 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 6.11.1
|
|
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
|
+
## 6.11.0
|
|
39
|
+
|
|
40
|
+
### Minor Changes
|
|
41
|
+
|
|
42
|
+
- [`0a39ae0f69a25`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0a39ae0f69a25) -
|
|
43
|
+
Update i18n NPM package versions for linking-platform,smart-experiences (Group 15)
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- Updated dependencies
|
|
48
|
+
|
|
3
49
|
## 6.10.1
|
|
4
50
|
|
|
5
51
|
### Patch Changes
|
|
@@ -9,7 +9,7 @@ exports.useDatasourceTableFlag = void 0;
|
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _reactIntl = require("react-intl");
|
|
12
|
-
var _uuid =
|
|
12
|
+
var _uuid = require("uuid");
|
|
13
13
|
var _useFlags2 = require("@atlaskit/flag/use-flags");
|
|
14
14
|
var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/cross-circle"));
|
|
15
15
|
var _analytics = require("../analytics");
|
|
@@ -61,7 +61,7 @@ var useDatasourceTableFlag = exports.useDatasourceTableFlag = function useDataso
|
|
|
61
61
|
color: "var(--ds-icon-danger, #C9372C)"
|
|
62
62
|
}),
|
|
63
63
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
64
|
-
id: (0, _uuid.
|
|
64
|
+
id: (0, _uuid.v4)(),
|
|
65
65
|
isAutoDismiss: true
|
|
66
66
|
}, options !== null && options !== void 0 && options.isFetchAction ? getFetchActionErrorMessage(args === null || args === void 0 ? void 0 : args.status) : getExecuteActionErrorMessage(args === null || args === void 0 ? void 0 : args.status)), args));
|
|
67
67
|
fireEvent('ui.error.shown.inlineEdit', {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useCallback } from 'react';
|
|
2
2
|
import { FormattedMessage } from 'react-intl';
|
|
3
3
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
4
|
-
import uuid from 'uuid';
|
|
4
|
+
import { v4 as uuid } from 'uuid';
|
|
5
5
|
import { useFlags } from '@atlaskit/flag/use-flags';
|
|
6
6
|
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
7
7
|
import { useDatasourceAnalyticsEvents } from '../analytics';
|
|
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import React, { useCallback } from 'react';
|
|
5
5
|
import { FormattedMessage } from 'react-intl';
|
|
6
6
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
7
|
-
import uuid from 'uuid';
|
|
7
|
+
import { v4 as uuid } from 'uuid';
|
|
8
8
|
import { useFlags } from '@atlaskit/flag/use-flags';
|
|
9
9
|
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
10
10
|
import { useDatasourceAnalyticsEvents } from '../analytics';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.11.1",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.{svg,png}"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@atlaskit/adf-schema": "^57.
|
|
39
|
-
"@atlaskit/afm-i18n-platform-linking-platform-link-datasource": "2.
|
|
38
|
+
"@atlaskit/adf-schema": "^57.3.0",
|
|
39
|
+
"@atlaskit/afm-i18n-platform-linking-platform-link-datasource": "2.237.0",
|
|
40
40
|
"@atlaskit/analytics-cross-product": "^2.1.0",
|
|
41
41
|
"@atlaskit/analytics-next": "^12.5.0",
|
|
42
42
|
"@atlaskit/atlassian-context": "^1.1.0",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
83
83
|
"@atlaskit/react-select": "^4.9.0",
|
|
84
84
|
"@atlaskit/select": "^22.11.0",
|
|
85
|
-
"@atlaskit/smart-card": "^45.
|
|
86
|
-
"@atlaskit/smart-user-picker": "^11.
|
|
85
|
+
"@atlaskit/smart-card": "^45.20.0",
|
|
86
|
+
"@atlaskit/smart-user-picker": "^11.7.0",
|
|
87
87
|
"@atlaskit/spinner": "^20.4.0",
|
|
88
88
|
"@atlaskit/tag": "^15.8.0",
|
|
89
89
|
"@atlaskit/textfield": "^10.2.0",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"tiny-invariant": "^1.2.0",
|
|
106
106
|
"use-callback-ref": "^1.2.3",
|
|
107
107
|
"use-debounce": "^3.4.0",
|
|
108
|
-
"uuid": "^
|
|
108
|
+
"uuid": "^11.1.1"
|
|
109
109
|
},
|
|
110
110
|
"peerDependencies": {
|
|
111
111
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|