From e90e81e3a90d93f54f236e76097cd745a387c425 Mon Sep 17 00:00:00 2001 From: TrackJS Date: Wed, 1 Nov 2023 17:12:42 +0000 Subject: [PATCH] canary release of 3.10.2-canary.360 --- CHANGELOG.md | 5 +++++ bower.json | 2 +- index.d.ts | 2 +- index.esm.js | 16 ++++++++-------- index.umd.js | 16 ++++++++-------- package.json | 4 ++-- t.js | 16 ++++++++-------- 7 files changed, 33 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6c54ca..33b19a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ JavaScript Browser Agent Changelog ================================== +## [Version 3.10.2](https://cdn.trackjs.com/agent/3.10.2/t.js) (2023-10-23) + +Features: + - Verified with Node 18 LTS + ## [Version 3.10.1](https://cdn.trackjs.com/agent/3.10.1/t.js) (2021-08-05) Bugfixes: diff --git a/bower.json b/bower.json index 2caae49..f5a01aa 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "trackjs", - "version": "3.10.1", + "version": "3.10.2", "authors": ["TrackJS LLC"], "description": "TrackJS JavaScript error monitoring agent.", "license": "UNLICENSED", diff --git a/index.d.ts b/index.d.ts index bce8e5e..76e23fd 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for TrackJS 3.10.1 +// Type definitions for TrackJS 3.10.2 // Project: https://github.com/TrackJS/trackjs-package interface TrackJSStatic { diff --git a/index.esm.js b/index.esm.js index 2247263..71de69c 100644 --- a/index.esm.js +++ b/index.esm.js @@ -1,5 +1,5 @@ //! TrackJS JavaScript error monitoring agent. -//! COPYRIGHT (c) 2022 ALL RIGHTS RESERVED +//! COPYRIGHT (c) 2023 ALL RIGHTS RESERVED //! See License at https://trackjs.com/terms/ var TrackJS = (function(g,l,n){"use awesome";var u=function(a,b){this.config=a;this.onError=b;a.enabled&&this.watch()};u.prototype={watch:function(){c.forEach(["EventTarget","Node","XMLHttpRequest"],function(a){c.has(g,a+".prototype.addEventListener")&&c.hasOwn(g[a].prototype,"addEventListener")&&this.wrapEventTarget(g[a].prototype)},this);this.wrapTimer("setTimeout");this.wrapTimer("setInterval")},wrap:function(a){function b(){try{return a.apply(this,arguments)}catch(b){throw d.onError("catch",b,{bindTime:e,bindStack:f}), c.wrapError(b);}}var d=this;try{if(!c.isFunction(a)||c.hasOwn(a,"__trackjs__"))return a;if(c.hasOwn(a,"__trackjs_state__"))return a.__trackjs_state__}catch(p){return a}var e,f;if(d.config.bindStack)try{throw Error();}catch(p){f=p.stack,e=c.isoNow()}for(var h in a)c.hasOwn(a,h)&&(b[h]=a[h]);b.prototype=a.prototype;b.__trackjs__=!0;return a.__trackjs_state__=b},wrapEventTarget:function(a){var b=this;c.has(a,"addEventListener.call")&&c.has(a,"removeEventListener.call")&&(c.patch(a,"addEventListener", @@ -13,8 +13,8 @@ c,e[c]):e.hasOwnProperty(c)&&(console.warn(d+"."+c+": property cannot be set aft {wrapConsoleObject:function(a,b){a=a||{};var d=a.log||function(){},e=this,f;for(f=0;fthis.maxLength&&(this.appender= this.appender.slice(Math.max(this.appender.length-this.maxLength,0)))},add:function(a,b){var d=this.util.uuid();this.appender.push({key:d,category:a,value:b});this.truncate();return d},get:function(a,b){var d,e;for(e=0;e=b){if(this.throttleStats.lastAttempt=b,10this.maxLength&&(this.appender= this.appender.slice(Math.max(this.appender.length-this.maxLength,0)))},add:function(a,b){var d=this.util.uuid();this.appender.push({key:d,category:a,value:b});this.truncate();return d},get:function(a,b){var d,e;for(e=0;e=b){if(this.throttleStats.lastAttempt=b,10this.maxLength&&(this.appender= this.appender.slice(Math.max(this.appender.length-this.maxLength,0)))},add:function(a,b){var d=this.util.uuid();this.appender.push({key:d,category:a,value:b});this.truncate();return d},get:function(a,b){var d,e;for(e=0;e=b){if(this.throttleStats.lastAttempt=b,10