New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@drieam/appsignal-plugin-window-events

Package Overview
Dependencies
Maintainers
5
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drieam/appsignal-plugin-window-events - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

dist/cjs/index.d.ts
import type { JSClient } from "@appsignal/types";
declare type WindowEventOptions = {
type WindowEventOptions = {
onerror: boolean;

@@ -4,0 +4,0 @@ onunhandledrejection: boolean;

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

if (error) {
if (shouldBeIgnored_1.default(error, opts.ignoreErrors)) {
if ((0, shouldBeIgnored_1.default)(error, opts.ignoreErrors)) {
return;

@@ -50,3 +50,3 @@ }

message: typeof event === "string" ? event : 'An HTML onerror="" handler failed to execute',
stack: "at " + source + ":" + lineno + (colno ? ":" + colno : ""),
stack: "at ".concat(source, ":").concat(lineno).concat(colno ? ":".concat(colno) : ""),
});

@@ -90,3 +90,3 @@ }

if (i !== -1) {
return "[cyclic value: " + (seenKey[i] || "root object") + "]";
return "[cyclic value: ".concat(seenKey[i] || "root object", "]");
}

@@ -93,0 +93,0 @@ seenValue.push(value);

@@ -6,6 +6,6 @@ "use strict";

if (ignoreErrors === void 0) { ignoreErrors = []; }
var stacktrace = error_1.getStacktrace(error);
var stacktrace = (0, error_1.getStacktrace)(error);
if (ignoreErrors.length !== 0 && stacktrace) {
if (error instanceof Error && ignoreErrors.some(function (el) { return el.test(stacktrace); })) {
console.warn("[APPSIGNAL]: Ignored an error: " + stacktrace);
console.warn("[APPSIGNAL]: Ignored an error: ".concat(stacktrace));
return true;

@@ -12,0 +12,0 @@ }

import type { JSClient } from "@appsignal/types";
declare type WindowEventOptions = {
type WindowEventOptions = {
onerror: boolean;

@@ -4,0 +4,0 @@ onunhandledrejection: boolean;

@@ -43,3 +43,3 @@ var __assign = (this && this.__assign) || function () {

message: typeof event === "string" ? event : 'An HTML onerror="" handler failed to execute',
stack: "at " + source + ":" + lineno + (colno ? ":" + colno : ""),
stack: "at ".concat(source, ":").concat(lineno).concat(colno ? ":".concat(colno) : ""),
});

@@ -83,3 +83,3 @@ }

if (i !== -1) {
return "[cyclic value: " + (seenKey[i] || "root object") + "]";
return "[cyclic value: ".concat(seenKey[i] || "root object", "]");
}

@@ -86,0 +86,0 @@ seenValue.push(value);

@@ -7,3 +7,3 @@ import { getStacktrace } from "./error";

if (error instanceof Error && ignoreErrors.some(function (el) { return el.test(stacktrace); })) {
console.warn("[APPSIGNAL]: Ignored an error: " + stacktrace);
console.warn("[APPSIGNAL]: Ignored an error: ".concat(stacktrace));
return true;

@@ -10,0 +10,0 @@ }

{
"name": "@drieam/appsignal-plugin-window-events",
"version": "2.0.1",
"version": "2.0.2",
"main": "dist/cjs/index.js",

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

"dependencies": {
"@appsignal/types": "=3.0.0"
"@appsignal/types": "=3.0.1"
},

@@ -33,3 +33,3 @@ "publishConfig": {

},
"gitHead": "3a4c294b8824b62e04894a4946ceff760132c65a"
"gitHead": "4e88a4f4c9933dab9a832a1a9373f738225ba379"
}

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