Socket
Socket
Sign inDemoInstall

@atlaskit/analytics-next

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/analytics-next - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

dist/cjs/createAndFireEvent.js

3

CHANGELOG.md
# @atlaskit/analytics-next
## 1.1.0
- [minor] adds createAndFireEvent utility method and updates docs [24a93fc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24a93fc)
## 1.0.3

@@ -4,0 +7,0 @@ - [patch] fixes flow type problem with wrapping stateless functional components in withAnalyticsEvents [8344ffb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8344ffb)

'use strict';
import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
Object.defineProperty(exports, "__esModule", {

@@ -31,2 +33,20 @@ value: true

var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
var _react = require('react');

@@ -33,0 +53,0 @@

'use strict';
import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
Object.defineProperty(exports, "__esModule", {

@@ -23,2 +25,20 @@ value: true

var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
var _cloneDeep = require('clone-deep');

@@ -25,0 +45,0 @@

'use strict';
import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
Object.defineProperty(exports, "__esModule", {

@@ -31,2 +33,20 @@ value: true

var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
var _react = require('react');

@@ -33,0 +53,0 @@

'use strict';
import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
Object.defineProperty(exports, "__esModule", {

@@ -7,2 +9,20 @@ value: true

var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
var _AnalyticsEvent = require('./AnalyticsEvent');

@@ -83,2 +103,11 @@

var _createAndFireEvent = require('./createAndFireEvent');
Object.defineProperty(exports, 'createAndFireEvent', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_createAndFireEvent).default;
}
});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
'use strict';
import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
var _AnalyticsEvent = require('./AnalyticsEvent');

@@ -4,0 +25,0 @@

'use strict';
import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
Object.defineProperty(exports, "__esModule", {

@@ -35,2 +37,20 @@ value: true

var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
var _cloneDeep = require('clone-deep');

@@ -37,0 +57,0 @@

'use strict';
import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
Object.defineProperty(exports, "__esModule", {

@@ -35,2 +37,20 @@ value: true

var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
exports.default = withAnalyticsContext;

@@ -37,0 +57,0 @@

'use strict';
import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
Object.defineProperty(exports, "__esModule", {

@@ -43,2 +45,20 @@ value: true

var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
exports.default = withAnalyticsEvents;

@@ -45,0 +65,0 @@

@@ -0,1 +1,3 @@

import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
import _toConsumableArray from 'babel-runtime/helpers/toConsumableArray';

@@ -7,2 +9,21 @@ import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';

import _inherits from 'babel-runtime/helpers/inherits';
var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
import { Children, Component } from 'react';

@@ -9,0 +30,0 @@ import PropTypes from 'prop-types';

@@ -0,1 +1,3 @@

import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
import _extends from 'babel-runtime/helpers/extends';

@@ -5,2 +7,21 @@ import _typeof from 'babel-runtime/helpers/typeof';

import _createClass from 'babel-runtime/helpers/createClass';
var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
import cloneDeep from 'clone-deep';

@@ -7,0 +28,0 @@

@@ -0,1 +1,3 @@

import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
import _toConsumableArray from 'babel-runtime/helpers/toConsumableArray';

@@ -7,2 +9,21 @@ import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';

import _inherits from 'babel-runtime/helpers/inherits';
var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
import { Children, Component } from 'react';

@@ -9,0 +30,0 @@ import PropTypes from 'prop-types';

@@ -0,3 +1,22 @@

import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
// Analytics event classes

@@ -16,2 +35,5 @@ export { default as AnalyticsEvent } from './AnalyticsEvent';

// createAnalyticsEvent HOC
export { default as withAnalyticsEvents, WithAnalyticsEventsProps } from './withAnalyticsEvents';
export { default as withAnalyticsEvents, WithAnalyticsEventsProps } from './withAnalyticsEvents';
// create and fire helper
export { default as createAndFireEvent } from './createAndFireEvent';

@@ -0,1 +1,22 @@

import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
import AnalyticsEvent from './AnalyticsEvent';

@@ -2,0 +23,0 @@ import UIAnalyticsEvent from './UIAnalyticsEvent';

@@ -0,1 +1,3 @@

import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
import _toConsumableArray from 'babel-runtime/helpers/toConsumableArray';

@@ -8,2 +10,21 @@ import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';

import _inherits from 'babel-runtime/helpers/inherits';
var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
import cloneDeep from 'clone-deep';

@@ -10,0 +31,0 @@

@@ -0,1 +1,3 @@

import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
import _extends from 'babel-runtime/helpers/extends';

@@ -8,2 +10,21 @@ import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';

import _inherits from 'babel-runtime/helpers/inherits';
var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
import React, { Component } from 'react';

@@ -10,0 +31,0 @@

@@ -0,1 +1,3 @@

import _Array$from from 'babel-runtime/core-js/array/from';
import _String$raw from 'babel-runtime/core-js/string/raw';
import _defineProperty from 'babel-runtime/helpers/defineProperty';

@@ -10,2 +12,21 @@ import _extends from 'babel-runtime/helpers/extends';

import _inherits from 'babel-runtime/helpers/inherits';
var _stringRaw = _String$raw || function () {
for (var _len = arguments.length, substitutions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
substitutions[_key - 1] = arguments[_key];
}
var callSite = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var template = _Array$from(callSite.raw);
return template.map(function (chunk, i) {
if (callSite.raw.length <= i) {
return chunk;
}
return substitutions[i - 1] ? substitutions[i - 1] + chunk : chunk;
}).join('');
};
import React, { Component } from 'react';

@@ -12,0 +33,0 @@ import PropTypes from 'prop-types';

2

dist/package.json
{
"name": "@atlaskit/analytics-next",
"version": "1.0.2"
"version": "1.0.3"
}
{
"name": "@atlaskit/analytics-next",
"version": "1.0.3",
"version": "1.1.0",
"description": "The 🆕 Atlaskit component analytics framework",

@@ -32,7 +32,10 @@ "license": "Apache-2.0",

"devDependencies": {
"@atlaskit/button": "^6.5.0",
"@atlaskit/docs": "^2.4.3",
"@atlaskit/field-text": "^4.1.8",
"@atlaskit/theme": "^2.3.4",
"enzyme": "^3.3.0",
"lodash.isequal": "^4.5.0",
"redux": "^3.7.2"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc