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

@amplitude/analytics-client-common

Package Overview
Dependencies
Maintainers
21
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplitude/analytics-client-common - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2-featureremoteconfig.0

10

lib/cjs/transports/fetch.js

@@ -34,4 +34,10 @@ Object.defineProperty(exports, "__esModule", { value: true });

responseText = _a.sent();
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
return [2 /*return*/, this.buildResponse(responseText ? JSON.parse(responseText) : { code: response.status })];
try {
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
return [2 /*return*/, this.buildResponse(JSON.parse(responseText))];
}
catch (_b) {
return [2 /*return*/, this.buildResponse({ code: response.status })];
}
return [2 /*return*/];
}

@@ -38,0 +44,0 @@ });

@@ -32,4 +32,10 @@ import { __awaiter, __extends, __generator } from "tslib";

responseText = _a.sent();
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
return [2 /*return*/, this.buildResponse(responseText ? JSON.parse(responseText) : { code: response.status })];
try {
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
return [2 /*return*/, this.buildResponse(JSON.parse(responseText))];
}
catch (_b) {
return [2 /*return*/, this.buildResponse({ code: response.status })];
}
return [2 /*return*/];
}

@@ -36,0 +42,0 @@ });

8

package.json
{
"name": "@amplitude/analytics-client-common",
"version": "2.2.1",
"version": "2.2.2-featureremoteconfig.0",
"description": "",

@@ -39,4 +39,4 @@ "author": "Amplitude Inc",

"@amplitude/analytics-connector": "^1.4.8",
"@amplitude/analytics-core": "^2.2.8",
"@amplitude/analytics-types": "^2.5.1",
"@amplitude/analytics-core": "^2.3.0-featureremoteconfig.0",
"@amplitude/analytics-types": "^2.6.0-featureremoteconfig.0",
"tslib": "^2.4.1"

@@ -47,3 +47,3 @@ },

],
"gitHead": "6100045c41af91694fbe03565e9620df2f556463"
"gitHead": "bce512c9ed7e4c675335e394a08bc4c1aeca9292"
}

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