Socket
Socket
Sign inDemoInstall

@segment/analytics-node

Package Overview
Dependencies
4
Maintainers
226
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1-beta.2 to 0.0.1-beta.3

6

dist/cjs/package.json
{
"name": "@segment/analytics-node",
"version": "0.0.1-beta.2",
"version": "0.0.1-beta.3",
"main": "./dist/cjs/src/index.js",

@@ -37,4 +37,4 @@ "module": "./dist/esm/src/index.js",

"@segment/analytics-core": "1.1.2",
"tslib": "^2.4.0",
"undici": "^5.12.0"
"node-fetch": "^2.6.7",
"tslib": "^2.4.0"
},

@@ -41,0 +41,0 @@ "devDependencies": {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fetch = void 0;
const undici_1 = require("undici");
exports.fetch = globalThis.fetch || undici_1.fetch;
const tslib_1 = require("tslib");
const node_fetch_1 = tslib_1.__importDefault(require("node-fetch"));
exports.fetch = globalThis.fetch || node_fetch_1.default;
//# sourceMappingURL=fetch.js.map
{
"name": "@segment/analytics-node",
"version": "0.0.1-beta.2",
"version": "0.0.1-beta.3",
"main": "./dist/cjs/src/index.js",

@@ -37,4 +37,4 @@ "module": "./dist/esm/src/index.js",

"@segment/analytics-core": "1.1.2",
"tslib": "^2.4.0",
"undici": "^5.12.0"
"node-fetch": "^2.6.7",
"tslib": "^2.4.0"
},

@@ -41,0 +41,0 @@ "devDependencies": {

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

import { fetch as _fetch } from 'undici';
import { default as _fetch } from 'node-fetch';
export const fetch = globalThis.fetch || _fetch;
//# sourceMappingURL=fetch.js.map
{
"name": "@segment/analytics-node",
"version": "0.0.1-beta.2",
"version": "0.0.1-beta.3",
"main": "./dist/cjs/src/index.js",

@@ -37,4 +37,4 @@ "module": "./dist/esm/src/index.js",

"@segment/analytics-core": "1.1.2",
"tslib": "^2.4.0",
"undici": "^5.12.0"
"node-fetch": "^2.6.7",
"tslib": "^2.4.0"
},

@@ -41,0 +41,0 @@ "devDependencies": {

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

import { fetch as _fetch } from 'undici'
import { default as _fetch } from 'node-fetch'
export const fetch = globalThis.fetch || _fetch

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc