@drieam/appsignal-react
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -28,2 +28,27 @@ "use strict"; | ||
}; | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { | ||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -38,3 +63,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
function ErrorBoundary() { | ||
var _this = _super !== null && _super.apply(this, arguments) || this; | ||
var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this; | ||
_this.state = { error: undefined }; | ||
@@ -41,0 +66,0 @@ return _this; |
@@ -28,2 +28,27 @@ "use strict"; | ||
}; | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { | ||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -38,3 +63,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
function LegacyBoundary() { | ||
var _this = _super !== null && _super.apply(this, arguments) || this; | ||
var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this; | ||
_this.state = { error: undefined }; | ||
@@ -41,0 +66,0 @@ return _this; |
/// <reference types="react" /> | ||
import type { JSClient } from "@appsignal/types"; | ||
export declare type Props = { | ||
export type Props = { | ||
instance: JSClient; | ||
@@ -12,5 +12,5 @@ action?: string; | ||
}; | ||
export declare type State = { | ||
export type State = { | ||
error?: Error; | ||
}; | ||
//# sourceMappingURL=component.d.ts.map |
@@ -27,2 +27,27 @@ var __extends = (this && this.__extends) || (function () { | ||
}; | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { | ||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
}; | ||
import React from "react"; | ||
@@ -32,3 +57,3 @@ var ErrorBoundary = (function (_super) { | ||
function ErrorBoundary() { | ||
var _this = _super !== null && _super.apply(this, arguments) || this; | ||
var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this; | ||
_this.state = { error: undefined }; | ||
@@ -35,0 +60,0 @@ return _this; |
@@ -27,2 +27,27 @@ var __extends = (this && this.__extends) || (function () { | ||
}; | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { | ||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
}; | ||
import React from "react"; | ||
@@ -32,3 +57,3 @@ var LegacyBoundary = (function (_super) { | ||
function LegacyBoundary() { | ||
var _this = _super !== null && _super.apply(this, arguments) || this; | ||
var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this; | ||
_this.state = { error: undefined }; | ||
@@ -35,0 +60,0 @@ return _this; |
/// <reference types="react" /> | ||
import type { JSClient } from "@appsignal/types"; | ||
export declare type Props = { | ||
export type Props = { | ||
instance: JSClient; | ||
@@ -12,5 +12,5 @@ action?: string; | ||
}; | ||
export declare type State = { | ||
export type State = { | ||
error?: Error; | ||
}; | ||
//# sourceMappingURL=component.d.ts.map |
{ | ||
"name": "@drieam/appsignal-react", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"main": "dist/cjs/index.js", | ||
@@ -22,4 +22,4 @@ "module": "dist/esm/index.js", | ||
"dependencies": { | ||
"@appsignal/core": "=1.1.19", | ||
"@appsignal/types": "=3.0.0" | ||
"@appsignal/core": "=1.1.22", | ||
"@appsignal/types": "=3.0.1" | ||
}, | ||
@@ -33,8 +33,12 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "3a4c294b8824b62e04894a4946ceff760132c65a", | ||
"gitHead": "4e88a4f4c9933dab9a832a1a9373f738225ba379", | ||
"devDependencies": { | ||
"@testing-library/dom": "^10.1.0", | ||
"@testing-library/react": "^15.0.5", | ||
"@types/node": "^18", | ||
"@types/react": "^18.0.26", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"vitest": "^1.0.2" | ||
} | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33314
462
7
Updated@appsignal/core@=1.1.22
Updated@appsignal/types@=3.0.1