Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/analytics

Package Overview
Dependencies
Maintainers
0
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/analytics - npm Package Compare versions

Comparing version 8.1.6 to 8.2.0

8

CHANGELOG.md
# @atlaskit/analytics
## 8.2.0
### Minor Changes
- [#176214](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/176214)
[`c0c1a54579ce7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c0c1a54579ce7) -
Set @atlaskit/analytics deprecated and move functions to @atlaskit/analytics-next
## 8.1.6

@@ -4,0 +12,0 @@

4

dist/cjs/AnalyticsDecorator.js

@@ -37,2 +37,6 @@ "use strict";

}
/**
* @deprecated Please use @atlaskit/analytics-next instead
*/
var AnalyticsDecorator = /*#__PURE__*/function (_Component) {

@@ -39,0 +43,0 @@ (0, _inherits2.default)(AnalyticsDecorator, _Component);

@@ -36,2 +36,6 @@ "use strict";

}
/**
* @deprecated Please use @atlaskit/analytics-next instead
*/
var AnalyticsDelegate = /*#__PURE__*/function (_Component) {

@@ -38,0 +42,0 @@ (0, _inherits2.default)(AnalyticsDelegate, _Component);

@@ -36,2 +36,6 @@ "use strict";

}
/**
* @deprecated Please use @atlaskit/analytics-next instead
*/
var AnalyticsListener = /*#__PURE__*/function (_Component) {

@@ -38,0 +42,0 @@ (0, _inherits2.default)(AnalyticsListener, _Component);

@@ -18,2 +18,6 @@ "use strict";

}
/**
* @deprecated Please use @atlaskit/analytics-next instead
*/
function cleanProps(props) {

@@ -20,0 +24,0 @@ /* eslint-disable no-unused-vars */

32

dist/cjs/withAnalytics.js

@@ -32,14 +32,22 @@ "use strict";

/*
The withAnalytics HOC wraps a component and provides the `fireAnalyticsEvent`
and `firePrivateAnalyticsEvent` methods to it as props. It contains the logic
for how to fire events, including handling the analyticsId and analyticsData
props. The `map` argument may be an object or a function that returns an object.
The properties of the `map` object/result can be strings (the name of the event
that will be fired) or functions (which are responsible for firing the event).
You can specify a default `analyticsId` and `analyticsData` with the `defaultProps`
param. Please be aware that specifying a default `analyticsId` will cause public
events to always fire for your component unless it has been set to a falsy by
the component consumer.
*/
/**
* @deprecated Please use @atlaskit/analytics-next instead
*
* The withAnalytics HOC wraps a component and provides the `fireAnalyticsEvent`
* and `firePrivateAnalyticsEvent` methods to it as props. It contains the logic
* for how to fire events, including handling the analyticsId and analyticsData
* props. The `map` argument may be an object or a function that returns an object.
* The properties of the `map` object/result can be strings (the name of the event
* that will be fired) or functions (which are responsible for firing the event).
* You can specify a default `analyticsId` and `analyticsData` with the `defaultProps`
* param. Please be aware that specifying a default `analyticsId` will cause public
* events to always fire for your component unless it has been set to a falsy by
* the component consumer.
*
* @param WrappedComponent
* @param map
* @param defaultProps
* @param withDelegation
* @return {{contextTypes: {getParentAnalyticsData: Requireable<(...args: any[]) => any>, onAnalyticsEvent: Requireable<(...args: any[]) => any>}, displayName: string, defaultProps: {analyticsData: *, analyticsId: *}, evaluatedMap: *|{}, contextType?: React.Context<any> | undefined, new<P, S>(props: (Readonly<P> | P)): WithAnalytics, new<P, S>(props: P, context: any): WithAnalytics, prototype: WithAnalytics}}
*/
var withAnalytics = function withAnalytics(WrappedComponent) {

@@ -46,0 +54,0 @@ var _class;

@@ -29,2 +29,6 @@ import _typeof from "@babel/runtime/helpers/typeof";

}
/**
* @deprecated Please use @atlaskit/analytics-next instead
*/
var AnalyticsDecorator = /*#__PURE__*/function (_Component) {

@@ -31,0 +35,0 @@ _inherits(AnalyticsDecorator, _Component);

@@ -28,2 +28,6 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";

}
/**
* @deprecated Please use @atlaskit/analytics-next instead
*/
var AnalyticsDelegate = /*#__PURE__*/function (_Component) {

@@ -30,0 +34,0 @@ _inherits(AnalyticsDelegate, _Component);

@@ -28,2 +28,6 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";

}
/**
* @deprecated Please use @atlaskit/analytics-next instead
*/
var AnalyticsListener = /*#__PURE__*/function (_Component) {

@@ -30,0 +34,0 @@ _inherits(AnalyticsListener, _Component);

@@ -11,2 +11,6 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";

}
/**
* @deprecated Please use @atlaskit/analytics-next instead
*/
function cleanProps(props) {

@@ -13,0 +17,0 @@ /* eslint-disable no-unused-vars */

@@ -23,14 +23,22 @@ import _extends from "@babel/runtime/helpers/extends";

/*
The withAnalytics HOC wraps a component and provides the `fireAnalyticsEvent`
and `firePrivateAnalyticsEvent` methods to it as props. It contains the logic
for how to fire events, including handling the analyticsId and analyticsData
props. The `map` argument may be an object or a function that returns an object.
The properties of the `map` object/result can be strings (the name of the event
that will be fired) or functions (which are responsible for firing the event).
You can specify a default `analyticsId` and `analyticsData` with the `defaultProps`
param. Please be aware that specifying a default `analyticsId` will cause public
events to always fire for your component unless it has been set to a falsy by
the component consumer.
*/
/**
* @deprecated Please use @atlaskit/analytics-next instead
*
* The withAnalytics HOC wraps a component and provides the `fireAnalyticsEvent`
* and `firePrivateAnalyticsEvent` methods to it as props. It contains the logic
* for how to fire events, including handling the analyticsId and analyticsData
* props. The `map` argument may be an object or a function that returns an object.
* The properties of the `map` object/result can be strings (the name of the event
* that will be fired) or functions (which are responsible for firing the event).
* You can specify a default `analyticsId` and `analyticsData` with the `defaultProps`
* param. Please be aware that specifying a default `analyticsId` will cause public
* events to always fire for your component unless it has been set to a falsy by
* the component consumer.
*
* @param WrappedComponent
* @param map
* @param defaultProps
* @param withDelegation
* @return {{contextTypes: {getParentAnalyticsData: Requireable<(...args: any[]) => any>, onAnalyticsEvent: Requireable<(...args: any[]) => any>}, displayName: string, defaultProps: {analyticsData: *, analyticsId: *}, evaluatedMap: *|{}, contextType?: React.Context<any> | undefined, new<P, S>(props: (Readonly<P> | P)): WithAnalytics, new<P, S>(props: P, context: any): WithAnalytics, prototype: WithAnalytics}}
*/
var withAnalytics = function withAnalytics(WrappedComponent) {

@@ -37,0 +45,0 @@ var _class;

{
"name": "@atlaskit/analytics",
"version": "8.1.6",
"version": "8.2.0",
"description": "The Atlaskit Component Analytics Framework",

@@ -20,3 +20,4 @@ "publishConfig": {

"deprecated": "Please use the @atlaskit/analytics-next package instead."
}
},
"runReact18": true
},

@@ -23,0 +24,0 @@ "dependencies": {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc