@atlaskit/analytics-next 9.2.1 → 9.2.3
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/AnalyticsContext/package.json +1 -1
- package/AnalyticsErrorBoundary/package.json +1 -1
- package/AnalyticsEvent/package.json +1 -1
- package/AnalyticsListener/package.json +1 -1
- package/CHANGELOG.md +12 -0
- package/UIAnalyticsEvent/package.json +1 -1
- package/createAndFireEvents/package.json +1 -1
- package/dist/cjs/hooks/useTrackedRef.js +1 -3
- package/dist/es2019/hooks/useTrackedRef.js +2 -4
- package/dist/esm/hooks/useTrackedRef.js +2 -4
- package/package.json +3 -3
- package/types/package.json +1 -1
- package/useAnalyticsEvents/package.json +1 -1
- package/useCallbackWithAnalytics/package.json +1 -1
- package/usePatchedProps/package.json +1 -1
- package/usePlatformLeafEventHandler/package.json +1 -1
- package/withAnalyticsContext/package.json +1 -1
- package/withAnalyticsEvents/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/analytics-next
|
|
2
2
|
|
|
3
|
+
## 9.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#87314](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87314) [`36ccb66917fb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/36ccb66917fb) - Fix a bug in ModernAnalyticsContext when it's bit late to update data in new React context when mounting a component
|
|
8
|
+
|
|
9
|
+
## 9.2.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
14
|
+
|
|
3
15
|
## 9.2.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -7,8 +7,6 @@ exports.useTrackedRef = void 0;
|
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var useTrackedRef = exports.useTrackedRef = function useTrackedRef(value) {
|
|
9
9
|
var ref = (0, _react.useRef)(value);
|
|
10
|
-
|
|
11
|
-
ref.current = value;
|
|
12
|
-
}, [value]);
|
|
10
|
+
ref.current = value;
|
|
13
11
|
return ref;
|
|
14
12
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useRef } from 'react';
|
|
2
2
|
export var useTrackedRef = function useTrackedRef(value) {
|
|
3
3
|
var ref = useRef(value);
|
|
4
|
-
|
|
5
|
-
ref.current = value;
|
|
6
|
-
}, [value]);
|
|
4
|
+
ref.current = value;
|
|
7
5
|
return ref;
|
|
8
6
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/analytics-next",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.3",
|
|
4
4
|
"description": "React components, HOCs and hooks to assist with tracking user activity with React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"react-dom": "^16.8.0",
|
|
69
69
|
"redux": "^3.7.2",
|
|
70
70
|
"storybook-addon-performance": "^0.16.0",
|
|
71
|
-
"typescript": "~4.
|
|
71
|
+
"typescript": "~5.4.2"
|
|
72
72
|
},
|
|
73
73
|
"techstack": {
|
|
74
74
|
"@atlassian/frontend": {
|
|
@@ -98,4 +98,4 @@
|
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
101
|
-
}
|
|
101
|
+
}
|
package/types/package.json
CHANGED