Socket
Socket
Sign inDemoInstall

@atlaskit/analytics-next

Package Overview
Dependencies
5
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.2.2 to 9.2.3

6

CHANGELOG.md
# @atlaskit/analytics-next
## 9.2.3
### Patch Changes
- [#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
## 9.2.2

@@ -4,0 +10,0 @@

4

dist/cjs/hooks/useTrackedRef.js

@@ -10,6 +10,4 @@ "use strict";

var ref = (0, _react.useRef)(value);
(0, _react.useEffect)(function () {
ref.current = value;
}, [value]);
ref.current = value;
return ref;
};

@@ -1,8 +0,6 @@

import { useEffect, useRef } from 'react';
import { useRef } from 'react';
export const useTrackedRef = value => {
const ref = useRef(value);
useEffect(() => {
ref.current = value;
}, [value]);
ref.current = value;
return ref;
};

@@ -1,8 +0,6 @@

import { useEffect, useRef } from 'react';
import { useRef } from 'react';
export var useTrackedRef = function useTrackedRef(value) {
var ref = useRef(value);
useEffect(function () {
ref.current = value;
}, [value]);
ref.current = value;
return ref;
};
{
"name": "@atlaskit/analytics-next",
"version": "9.2.2",
"version": "9.2.3",
"description": "React components, HOCs and hooks to assist with tracking user activity with React components",

@@ -5,0 +5,0 @@ "publishConfig": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc