Socket
Socket
Sign inDemoInstall

@appsignal/javascript

Package Overview
Dependencies
Maintainers
8
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appsignal/javascript - npm Package Compare versions

Comparing version 1.3.27-rc.2 to 1.3.27

16

CHANGELOG.md
# AppSignal for JavaScript changelog
## 1.3.27-rc.2
## 1.3.27
### Fixed
- [9bd47d6](https://github.com/appsignal/appsignal-javascript/commit/9bd47d685e3919167fb8b5bbd39d8c35093f38b3) patch - Emit a warning if NodeTransport is used but the HTTPS module is not available
- [96f46fc](https://github.com/appsignal/appsignal-javascript/commit/96f46fc19edf03e521fa2ab9aebc53977c0526da) patch - Attempt to import the `http` and `https` module dynamically. This fixes
an issue with Electron, which does not expose the `https` module.
Emit a warning if `NodeTransport` is used but the `https` module fails to be imported.
This allows Electron users to use the AppSignal integration alongside
with the `electron-fetch` library.
## 1.3.27-rc.1
### Fixed
- [b9be691](https://github.com/appsignal/appsignal-javascript/commit/b9be69158507c88007fa5da33007464ba652eaa4) patch - Fix attempt to use HTTPS in Electron
## 1.3.26

@@ -16,0 +16,0 @@

import { Transport } from "../interfaces/transport";
export declare class NodeTransport implements Transport {
url: string;
private https;
constructor(url: string);

@@ -5,0 +6,0 @@ send(data: string): Promise<any>;

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

this.url = url;
this.https = Promise.resolve().then(function () { return __importStar(require("https")); });
}

@@ -42,3 +43,4 @@ NodeTransport.prototype.send = function (data) {

return new Promise(function (resolve, reject) {
Promise.resolve().then(function () { return __importStar(require("https")); }).then(function (https) {
_this.https
.then(function (https) {
var req = https

@@ -45,0 +47,0 @@ .request(_this.url, options, function () { })

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

export declare const VERSION = "1.3.27-rc.1";
export declare const VERSION = "1.3.26";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSION = void 0;
exports.VERSION = "1.3.27-rc.1";
exports.VERSION = "1.3.26";
//# sourceMappingURL=version.js.map
import { Transport } from "../interfaces/transport";
export declare class NodeTransport implements Transport {
url: string;
private https;
constructor(url: string);

@@ -5,0 +6,0 @@ send(data: string): Promise<any>;

var NodeTransport = (function () {
function NodeTransport(url) {
this.url = url;
this.https = import("https");
}

@@ -15,3 +16,3 @@ NodeTransport.prototype.send = function (data) {

return new Promise(function (resolve, reject) {
import("https")
_this.https
.then(function (https) {

@@ -18,0 +19,0 @@ var req = https

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

export declare const VERSION = "1.3.27-rc.1";
export declare const VERSION = "1.3.26";
//# sourceMappingURL=version.d.ts.map

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

export var VERSION = "1.3.27-rc.1";
export var VERSION = "1.3.26";
//# sourceMappingURL=version.js.map
{
"name": "@appsignal/javascript",
"version": "1.3.27-rc.2",
"version": "1.3.27",
"main": "dist/cjs/index.js",

@@ -5,0 +5,0 @@ "module": "dist/esm/index.js",

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