@atlaskit/analytics-next
Advanced tools
Comparing version 7.0.2 to 7.0.3
# @atlaskit/analytics-next | ||
## 7.0.3 | ||
### Patch Changes | ||
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0 | ||
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade | ||
to prevent duplicates of tslib being bundled. | ||
- Updated dependencies | ||
## 7.0.2 | ||
@@ -4,0 +15,0 @@ |
@@ -5,2 +5,3 @@ import React from 'react'; | ||
import UIAnalyticsEvent from './UIAnalyticsEvent'; | ||
import { AnalyticsEventPayload } from './AnalyticsEvent'; | ||
export interface AnalyticsContextConsumerProps<Props> { | ||
@@ -36,5 +37,5 @@ children: (props: { | ||
mapCreateEventsToProps: (changedPropNames: string[], props: Props) => {}; | ||
createAnalyticsEvent: (payload: Record<string, any>) => UIAnalyticsEvent; | ||
createAnalyticsEvent: (payload: AnalyticsEventPayload) => UIAnalyticsEvent; | ||
render(): React.ReactNode; | ||
} | ||
export default AnalyticsContextConsumer; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BaseAnalyticsErrorBoundary = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -4,0 +5,0 @@ var react_1 = tslib_1.__importStar(require("react")); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.instrumentedComponents = exports.analyticsPackages = exports.analyticsEventMap = void 0; | ||
exports.analyticsEventMap = [ | ||
@@ -4,0 +5,0 @@ { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var analytics_next_stable_react_context_1 = require("@atlaskit/analytics-next-stable-react-context"); | ||
exports.AnalyticsReactContext = analytics_next_stable_react_context_1.default; | ||
Object.defineProperty(exports, "AnalyticsReactContext", { enumerable: true, get: function () { return analytics_next_stable_react_context_1.default; } }); | ||
//# sourceMappingURL=AnalyticsReactContext.js.map |
@@ -0,3 +1,4 @@ | ||
import { AnalyticsEventPayload } from './AnalyticsEvent'; | ||
import { CreateUIAnalyticsEvent } from './types'; | ||
declare const _default: (channel?: string | undefined) => (payload: Record<string, any>) => (createAnalyticsEvent: CreateUIAnalyticsEvent) => import("./UIAnalyticsEvent").default; | ||
declare const _default: (channel?: string | undefined) => (payload: AnalyticsEventPayload) => (createAnalyticsEvent: CreateUIAnalyticsEvent) => import("./UIAnalyticsEvent").default; | ||
export default _default; |
@@ -5,32 +5,32 @@ "use strict"; | ||
var AnalyticsEvent_1 = require("./AnalyticsEvent"); | ||
exports.AnalyticsEvent = AnalyticsEvent_1.default; | ||
Object.defineProperty(exports, "AnalyticsEvent", { enumerable: true, get: function () { return AnalyticsEvent_1.default; } }); | ||
var UIAnalyticsEvent_1 = require("./UIAnalyticsEvent"); | ||
exports.UIAnalyticsEvent = UIAnalyticsEvent_1.default; | ||
Object.defineProperty(exports, "UIAnalyticsEvent", { enumerable: true, get: function () { return UIAnalyticsEvent_1.default; } }); | ||
// AnalyticsListener component | ||
var AnalyticsListener_1 = require("./AnalyticsListener"); | ||
exports.AnalyticsListener = AnalyticsListener_1.default; | ||
Object.defineProperty(exports, "AnalyticsListener", { enumerable: true, get: function () { return AnalyticsListener_1.default; } }); | ||
// AnalyticsContext component and HOC | ||
var AnalyticsContext_1 = require("./AnalyticsContext"); | ||
exports.AnalyticsContext = AnalyticsContext_1.default; | ||
Object.defineProperty(exports, "AnalyticsContext", { enumerable: true, get: function () { return AnalyticsContext_1.default; } }); | ||
var withAnalyticsContext_1 = require("./withAnalyticsContext"); | ||
exports.withAnalyticsContext = withAnalyticsContext_1.default; | ||
Object.defineProperty(exports, "withAnalyticsContext", { enumerable: true, get: function () { return withAnalyticsContext_1.default; } }); | ||
// AnalyticsErrorBoundary component | ||
var AnalyticsErrorBoundary_1 = require("./AnalyticsErrorBoundary"); | ||
exports.AnalyticsErrorBoundary = AnalyticsErrorBoundary_1.default; | ||
Object.defineProperty(exports, "AnalyticsErrorBoundary", { enumerable: true, get: function () { return AnalyticsErrorBoundary_1.default; } }); | ||
// createAnalyticsEvent HOC | ||
var withAnalyticsEvents_1 = require("./withAnalyticsEvents"); | ||
exports.withAnalyticsEvents = withAnalyticsEvents_1.default; | ||
Object.defineProperty(exports, "withAnalyticsEvents", { enumerable: true, get: function () { return withAnalyticsEvents_1.default; } }); | ||
// React context | ||
var AnalyticsReactContext_1 = require("./AnalyticsReactContext"); | ||
exports.AnalyticsReactContext = AnalyticsReactContext_1.AnalyticsReactContext; | ||
Object.defineProperty(exports, "AnalyticsReactContext", { enumerable: true, get: function () { return AnalyticsReactContext_1.AnalyticsReactContext; } }); | ||
// Hook for creating and firing analytics events | ||
var useAnalyticsEvents_1 = require("./useAnalyticsEvents"); | ||
exports.useAnalyticsEvents = useAnalyticsEvents_1.useAnalyticsEvents; | ||
Object.defineProperty(exports, "useAnalyticsEvents", { enumerable: true, get: function () { return useAnalyticsEvents_1.useAnalyticsEvents; } }); | ||
var useCallbackWithAnalytics_1 = require("./useCallbackWithAnalytics"); | ||
exports.useCallbackWithAnalytics = useCallbackWithAnalytics_1.useCallbackWithAnalytics; | ||
Object.defineProperty(exports, "useCallbackWithAnalytics", { enumerable: true, get: function () { return useCallbackWithAnalytics_1.useCallbackWithAnalytics; } }); | ||
// Helper functions | ||
var createAndFireEvent_1 = require("./createAndFireEvent"); | ||
exports.createAndFireEvent = createAndFireEvent_1.default; | ||
Object.defineProperty(exports, "createAndFireEvent", { enumerable: true, get: function () { return createAndFireEvent_1.default; } }); | ||
var cleanProps_1 = require("./cleanProps"); | ||
exports.cleanProps = cleanProps_1.default; | ||
Object.defineProperty(exports, "cleanProps", { enumerable: true, get: function () { return cleanProps_1.default; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.useAnalyticsEvents = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -4,0 +5,0 @@ var react_1 = require("react"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.useCallbackWithAnalytics = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -4,0 +5,0 @@ var react_1 = require("react"); |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.usePatchedProps = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -9,0 +10,0 @@ var react_1 = require("react"); |
{ | ||
"name": "@atlaskit/analytics-next", | ||
"version": "7.0.2", | ||
"version": "7.0.3", | ||
"sideEffects": false | ||
} |
@@ -5,2 +5,3 @@ import React from 'react'; | ||
import UIAnalyticsEvent from './UIAnalyticsEvent'; | ||
import { AnalyticsEventPayload } from './AnalyticsEvent'; | ||
export interface AnalyticsContextConsumerProps<Props> { | ||
@@ -36,5 +37,5 @@ children: (props: { | ||
mapCreateEventsToProps: (changedPropNames: string[], props: Props) => {}; | ||
createAnalyticsEvent: (payload: Record<string, any>) => UIAnalyticsEvent; | ||
createAnalyticsEvent: (payload: AnalyticsEventPayload) => UIAnalyticsEvent; | ||
render(): React.ReactNode; | ||
} | ||
export default AnalyticsContextConsumer; |
@@ -0,3 +1,4 @@ | ||
import { AnalyticsEventPayload } from './AnalyticsEvent'; | ||
import { CreateUIAnalyticsEvent } from './types'; | ||
declare const _default: (channel?: string | undefined) => (payload: Record<string, any>) => (createAnalyticsEvent: CreateUIAnalyticsEvent) => import("./UIAnalyticsEvent").default; | ||
declare const _default: (channel?: string | undefined) => (payload: AnalyticsEventPayload) => (createAnalyticsEvent: CreateUIAnalyticsEvent) => import("./UIAnalyticsEvent").default; | ||
export default _default; |
{ | ||
"name": "@atlaskit/analytics-next", | ||
"version": "7.0.2", | ||
"version": "7.0.3", | ||
"sideEffects": false | ||
} |
@@ -5,2 +5,3 @@ import React from 'react'; | ||
import UIAnalyticsEvent from './UIAnalyticsEvent'; | ||
import { AnalyticsEventPayload } from './AnalyticsEvent'; | ||
export interface AnalyticsContextConsumerProps<Props> { | ||
@@ -36,5 +37,5 @@ children: (props: { | ||
mapCreateEventsToProps: (changedPropNames: string[], props: Props) => {}; | ||
createAnalyticsEvent: (payload: Record<string, any>) => UIAnalyticsEvent; | ||
createAnalyticsEvent: (payload: AnalyticsEventPayload) => UIAnalyticsEvent; | ||
render(): React.ReactNode; | ||
} | ||
export default AnalyticsContextConsumer; |
@@ -0,3 +1,4 @@ | ||
import { AnalyticsEventPayload } from './AnalyticsEvent'; | ||
import { CreateUIAnalyticsEvent } from './types'; | ||
declare const _default: (channel?: string | undefined) => (payload: Record<string, any>) => (createAnalyticsEvent: CreateUIAnalyticsEvent) => import("./UIAnalyticsEvent").default; | ||
declare const _default: (channel?: string | undefined) => (payload: AnalyticsEventPayload) => (createAnalyticsEvent: CreateUIAnalyticsEvent) => import("./UIAnalyticsEvent").default; | ||
export default _default; |
{ | ||
"name": "@atlaskit/analytics-next", | ||
"version": "7.0.2", | ||
"version": "7.0.3", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/analytics-next", | ||
"version": "7.0.2", | ||
"version": "7.0.3", | ||
"description": "The 🆕 Atlaskit component analytics framework", | ||
@@ -19,12 +19,12 @@ "publishConfig": { | ||
"team": "AFP: App Infrastructure", | ||
"deprecatedAutoEntryPoints": true, | ||
"releaseModel": "scheduled", | ||
"website": { | ||
"name": "Analytics next" | ||
}, | ||
"deprecatedAutoEntryPoints": true | ||
} | ||
}, | ||
"dependencies": { | ||
"@atlaskit/analytics-next-stable-react-context": "1.0.0", | ||
"@atlaskit/analytics-next-stable-react-context": "1.0.1", | ||
"prop-types": "^15.5.10", | ||
"tslib": "^1.9.3", | ||
"tslib": "^2.0.0", | ||
"use-memo-one": "^1.1.1" | ||
@@ -31,0 +31,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
312624
4802
0
+ Added@atlaskit/analytics-next-stable-react-context@1.0.1(transitive)
+ Addedtslib@2.7.0(transitive)
- Removed@atlaskit/analytics-next-stable-react-context@1.0.0(transitive)
- Removedtslib@1.14.1(transitive)
Updatedtslib@^2.0.0