Socket
Socket
Sign inDemoInstall

@segment/analytics-node

Package Overview
Dependencies
Maintainers
287
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.1.1 to 1.1.2

2

dist/cjs/generated/version.js

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

// This file is generated.
exports.version = '1.1.1';
exports.version = '1.1.2';
//# sourceMappingURL=version.js.map
// This file is generated.
export const version = '1.1.1';
export const version = '1.1.2';
//# sourceMappingURL=version.js.map

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

export declare const version = "1.1.1";
export declare const version = "1.1.2";
//# sourceMappingURL=version.d.ts.map
{
"name": "@segment/analytics-node",
"version": "1.1.1",
"version": "1.1.2",
"main": "./dist/cjs/index.js",

@@ -39,3 +39,3 @@ "module": "./dist/esm/index.js",

"@lukeed/uuid": "^2.0.0",
"@segment/analytics-core": "1.3.1",
"@segment/analytics-core": "1.3.2",
"buffer": "^6.0.3",

@@ -42,0 +42,0 @@ "node-fetch": "^2.6.7",

@@ -59,3 +59,3 @@ # @segment/analytics-node

## Settings & Configuration
## Settings & Configuration
See the documentation: https://segment.com/docs/connections/sources/catalog/libraries/server/node/#configuration

@@ -71,3 +71,4 @@

## Usage in AWS Lambda
## Usage in non-node runtimes
### Usage in AWS Lambda
- [AWS lambda execution environment](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtime-environment.html) is challenging for typically non-response-blocking async activites like tracking or logging, since the runtime terminates / freezes after a response is emitted.

@@ -102,3 +103,3 @@

## Usage in Vercel Edge Functions
### Usage in Vercel Edge Functions
```ts

@@ -109,3 +110,3 @@ import { Analytics } from '@segment/analytics-node';

export const analytics = new Analytics({
writeKey: 'DjTUVRhleGaZX31JQpj6XIAaprCIb25W',
writeKey: '<MY_WRITE_KEY>',
maxEventsInBatch: 1,

@@ -127,3 +128,3 @@ })

## Usage in Cloudflare Workers
### Usage in Cloudflare Workers
```ts

@@ -146,3 +147,3 @@ import { Analytics, Context } from '@segment/analytics-node';

);
...

@@ -149,0 +150,0 @@ return new Response(...)

// This file is generated.
export const version = '1.1.1'
export const version = '1.1.2'
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