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

@segment/analytics-node

Package Overview
Dependencies
Maintainers
254
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@segment/analytics-node - npm Package Compare versions

Comparing version 1.0.0-beta.23 to 1.0.0-beta.24

2

dist/cjs/generated/version.js

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

// This file is generated.
exports.version = '1.0.0-beta.23';
exports.version = '1.0.0-beta.24';
//# sourceMappingURL=version.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.uuid = void 0;
var uuid_1 = require("uuid");
var uuid_1 = require("@lukeed/uuid");
Object.defineProperty(exports, "uuid", { enumerable: true, get: function () { return uuid_1.v4; } });
//# sourceMappingURL=uuid.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContextBatch = void 0;
const uuid_1 = require("@lukeed/uuid");
const uuid_1 = require("../../lib/uuid");
const MAX_EVENT_SIZE_IN_KB = 32;

@@ -9,3 +9,3 @@ const MAX_BATCH_SIZE_IN_KB = 480; // (500 KB is the limit, leaving some padding)

constructor(maxEventCount) {
this.id = (0, uuid_1.v4)();
this.id = (0, uuid_1.uuid)();
this.items = [];

@@ -12,0 +12,0 @@ this.sizeInBytes = 0;

// This file is generated.
export const version = '1.0.0-beta.23';
export const version = '1.0.0-beta.24';
//# sourceMappingURL=version.js.map

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

export { v4 as uuid } from 'uuid';
export { v4 as uuid } from '@lukeed/uuid';
//# sourceMappingURL=uuid.js.map

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

import { v4 as uuid } from '@lukeed/uuid';
import { uuid } from '../../lib/uuid';
const MAX_EVENT_SIZE_IN_KB = 32;

@@ -3,0 +3,0 @@ const MAX_BATCH_SIZE_IN_KB = 480; // (500 KB is the limit, leaving some padding)

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

export declare const version = "1.0.0-beta.23";
export declare const version = "1.0.0-beta.24";
//# sourceMappingURL=version.d.ts.map

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

export { v4 as uuid } from 'uuid';
export { v4 as uuid } from '@lukeed/uuid';
//# sourceMappingURL=uuid.d.ts.map
{
"name": "@segment/analytics-node",
"version": "1.0.0-beta.23",
"version": "1.0.0-beta.24",
"main": "./dist/cjs/index.js",

@@ -32,14 +32,13 @@ "module": "./dist/esm/index.js",

"dependencies": {
"@segment/analytics-core": "1.2.2",
"@lukeed/uuid": "^2.0.0",
"@segment/analytics-core": "1.2.3",
"buffer": "^6.0.3",
"node-fetch": "^2.6.7",
"tslib": "^2.4.1",
"uuid": "^9.0.0"
"tslib": "^2.4.1"
},
"devDependencies": {
"@internal/config": "0.0.0",
"@types/node": "^14",
"@types/uuid": "^9"
"@types/node": "^16"
},
"packageManager": "yarn@3.2.1",
"packageManager": "yarn@3.4.1",
"license": "MIT",

@@ -46,0 +45,0 @@ "repository": {

@@ -6,4 +6,8 @@ # @segment/analytics-node

## Requirements
## Runtime Support
- Node.js >= 14
- AWS Lambda
- Cloudflare Workers
- Vercel Edge Functions (and other Edge Worker environments)
- Web Workers (experimental)

@@ -10,0 +14,0 @@ ## Quick Start

// This file is generated.
export const version = '1.0.0-beta.23'
export const version = '1.0.0-beta.24'

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

export { v4 as uuid } from 'uuid'
export { v4 as uuid } from '@lukeed/uuid'

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

import { v4 as uuid } from '@lukeed/uuid'
import { uuid } from '../../lib/uuid'
import type { Context } from '../../app/context'

@@ -3,0 +3,0 @@ import { SegmentEvent } from '../../app/types'

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