Socket
Socket
Sign inDemoInstall

@segment/analytics-core

Package Overview
Dependencies
Maintainers
299
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@segment/analytics-core - npm Package Compare versions

Comparing version 1.3.2 to 1.4.0

1

dist/cjs/index.js

@@ -5,3 +5,2 @@ "use strict";

var tslib_1 = require("tslib");
tslib_1.__exportStar(require("./emitter"), exports);
tslib_1.__exportStar(require("./emitter/interface"), exports);

@@ -8,0 +7,0 @@ tslib_1.__exportStar(require("./plugins"), exports);

4

dist/cjs/priority-queue/index.js

@@ -5,3 +5,3 @@ "use strict";

var tslib_1 = require("tslib");
var emitter_1 = require("../emitter");
var analytics_generic_utils_1 = require("@segment/analytics-generic-utils");
var backoff_1 = require("./backoff");

@@ -91,4 +91,4 @@ /**

return PriorityQueue;
}(emitter_1.Emitter));
}(analytics_generic_utils_1.Emitter));
exports.PriorityQueue = PriorityQueue;
//# sourceMappingURL=index.js.map

@@ -8,3 +8,3 @@ "use strict";

var context_1 = require("../context");
var emitter_1 = require("../emitter");
var analytics_generic_utils_1 = require("@segment/analytics-generic-utils");
var task_group_1 = require("../task/task-group");

@@ -337,4 +337,4 @@ var delivery_1 = require("./delivery");

return CoreEventQueue;
}(emitter_1.Emitter));
}(analytics_generic_utils_1.Emitter));
exports.CoreEventQueue = CoreEventQueue;
//# sourceMappingURL=event-queue.js.map

@@ -1,2 +0,1 @@

export * from './emitter';
export * from './emitter/interface';

@@ -3,0 +2,0 @@ export * from './plugins';

import { __extends } from "tslib";
import { Emitter } from '../emitter';
import { Emitter } from '@segment/analytics-generic-utils';
import { backoff } from './backoff';

@@ -4,0 +4,0 @@ /**

@@ -5,3 +5,3 @@ import { __awaiter, __extends, __generator } from "tslib";

import { CoreContext, ContextCancelation } from '../context';
import { Emitter } from '../emitter';
import { Emitter } from '@segment/analytics-generic-utils';
import { createTaskGroup } from '../task/task-group';

@@ -8,0 +8,0 @@ import { attempt, ensure } from './delivery';

import { CoreContext } from '../context';
import { Callback } from '../events/interfaces';
import { CoreEventQueue } from '../queue/event-queue';
import { Emitter } from '../emitter';
import { Emitter } from '@segment/analytics-generic-utils';
export type DispatchOptions<Ctx extends CoreContext = CoreContext> = {

@@ -6,0 +6,0 @@ timeout?: number;

@@ -1,2 +0,1 @@

export * from './emitter';
export * from './emitter/interface';

@@ -3,0 +2,0 @@ export * from './plugins';

@@ -1,2 +0,2 @@

import { Emitter } from '../emitter';
import { Emitter } from '@segment/analytics-generic-utils';
/**

@@ -3,0 +3,0 @@ * @internal

import { CoreAnalytics } from '../analytics';
import { PriorityQueue } from '../priority-queue';
import { CoreContext, ContextCancelation } from '../context';
import { Emitter } from '../emitter';
import { Emitter } from '@segment/analytics-generic-utils';
import { CorePlugin } from '../plugins';

@@ -6,0 +6,0 @@ import { TaskGroup } from '../task/task-group';

{
"name": "@segment/analytics-core",
"version": "1.3.2",
"version": "1.4.0",
"repository": {

@@ -37,2 +37,3 @@ "type": "git",

"@lukeed/uuid": "^2.0.0",
"@segment/analytics-generic-utils": "1.1.0",
"dset": "^3.1.2",

@@ -39,0 +40,0 @@ "tslib": "^2.4.1"

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

# Analytics Core
# @segment/analytics-core
This package represents core 'shared' functionality that is shared by analytics packages. This is not designed to be used directly, but internal to analytics-node and analytics-browser.
This package represents core 'shared' functionality that is shared by analytics packages. This is not designed to be used directly, but internal to analytics-node and analytics-browser.

@@ -5,3 +5,3 @@ import { CoreContext } from '../context'

import { invokeCallback } from '../callback'
import { Emitter } from '../emitter'
import { Emitter } from '@segment/analytics-generic-utils'

@@ -8,0 +8,0 @@ export type DispatchOptions<Ctx extends CoreContext = CoreContext> = {

@@ -1,2 +0,1 @@

export * from './emitter'
export * from './emitter/interface'

@@ -3,0 +2,0 @@ export * from './plugins'

@@ -1,2 +0,2 @@

import { Emitter } from '../emitter'
import { Emitter } from '@segment/analytics-generic-utils'
import { backoff } from './backoff'

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

@@ -6,3 +6,3 @@ import { CoreAnalytics } from '../analytics'

import { CoreContext, ContextCancelation } from '../context'
import { Emitter } from '../emitter'
import { Emitter } from '@segment/analytics-generic-utils'
import { Integrations, JSONObject } from '../events/interfaces'

@@ -9,0 +9,0 @@ import { CorePlugin } from '../plugins'

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

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