You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@micro-sentry/core

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@micro-sentry/core - npm Package Compare versions

Comparing version

to
3.0.0-beta.3

2

bundles/micro-sentry-core.umd.js

@@ -475,3 +475,3 @@ (function (global, factory) {

sdk: {
name: 'micro-sentry.javascript.browser',
name: 'micro-sentry.javascript.core',
version: '0.0.0',

@@ -478,0 +478,0 @@ },

@@ -15,3 +15,3 @@ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("@micro-sentry/core",["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self)["micro-sentry"]=e["micro-sentry"]||{},e["micro-sentry"].core={}))}(this,(function(e){"use strict";var t=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,n=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,r=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,o="?",i="X-Sentry-Auth",s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function a(e){return(e&&e.message||"No error message").split("\n").filter((function(e){return!!e}))[0]}function c(e){try{var i=function(e){if(!e.stack)return null;for(var i,s,c=[],l=e.stack.split("\n"),u=0;u<l.length;++u){if(i=t.exec(l[u]))s={filename:i[2]&&0===i[2].indexOf("address at ")?i[2].substr("address at ".length):i[2],function:i[1]||o,lineno:i[3]?+i[3]:null,colno:i[4]?+i[4]:null};else if(i=r.exec(l[u]))s={filename:i[2],function:i[1]||o,lineno:+i[3],colno:i[4]?+i[4]:null};else{if(!(i=n.exec(l[u])))continue;0!==u||i[5]||void 0===e.columnNumber||(c[0].column=e.columnNumber+1),s={filename:i[3],function:i[1]||o,lineno:i[4]?+i[4]:null,colno:i[5]?+i[5]:null}}!s.function&&s.lineno&&(s.function=o),c.push(s)}return c.length?{value:a(e),type:e.name,stacktrace:{frames:c.reverse()}}:null}(e);if(i)return i}catch(e){}return{value:a(e),type:e&&e.name,stacktrace:{frames:[]}}}

PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.create;Object.create;var u=function(){function e(e){if(e.dsn){var t=s.exec(e.dsn),n=t?t.slice(1):[],r=n[5].split("/"),o=r.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(o?"/"+o:"")+"/api/"+r.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e.environment}return e.prototype.prepare=function(e){return l(this.getRequestBlank(),{exception:{values:[c(e)]}})},e.prototype.report=function(e){this.send(this.prepare(e))},e.prototype.send=function(e){this.apiUrl&&e&&this.createRequest(e)},e.prototype.createRequest=function(e){var t=new XMLHttpRequest;t.open("POST",this.apiUrl,!0),t.setRequestHeader("Content-type","application/json"),t.setRequestHeader(i,this.authHeader||""),t.send(JSON.stringify(e))},e.prototype.getRequestBlank=function(){return{platform:"javascript",sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}},e}();e.AUTH_HEADER=i,e.CHROME_REGEXP=t,e.DSN_REGEXP=s,e.GECKO_REGEXP=n,e.MicroSentryClient=u,e.UNKNOWN_FUNCTION=o,e.WINJS_REGEXP=r,Object.defineProperty(e,"__esModule",{value:!0})}));
***************************************************************************** */var l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.create;Object.create;var u=function(){function e(e){if(e.dsn){var t=s.exec(e.dsn),n=t?t.slice(1):[],r=n[5].split("/"),o=r.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(o?"/"+o:"")+"/api/"+r.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e.environment}return e.prototype.prepare=function(e){return l(this.getRequestBlank(),{exception:{values:[c(e)]}})},e.prototype.report=function(e){this.send(this.prepare(e))},e.prototype.send=function(e){this.apiUrl&&e&&this.createRequest(e)},e.prototype.createRequest=function(e){var t=new XMLHttpRequest;t.open("POST",this.apiUrl,!0),t.setRequestHeader("Content-type","application/json"),t.setRequestHeader(i,this.authHeader||""),t.send(JSON.stringify(e))},e.prototype.getRequestBlank=function(){return{platform:"javascript",sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}},e}();e.AUTH_HEADER=i,e.CHROME_REGEXP=t,e.DSN_REGEXP=s,e.GECKO_REGEXP=n,e.MicroSentryClient=u,e.UNKNOWN_FUNCTION=o,e.WINJS_REGEXP=r,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=micro-sentry-core.umd.min.js.map

@@ -52,3 +52,3 @@ import { AUTH_HEADER, DSN_REGEXP } from '../consts/consts';

sdk: {
name: 'micro-sentry.javascript.browser',
name: 'micro-sentry.javascript.core',
version: '0.0.0',

@@ -55,0 +55,0 @@ },

@@ -153,3 +153,3 @@ import { __assign } from 'tslib';

sdk: {
name: 'micro-sentry.javascript.browser',
name: 'micro-sentry.javascript.core',
version: '0.0.0',

@@ -156,0 +156,0 @@ },

@@ -37,3 +37,3 @@ import { Severity } from './severity';

sdk: {
name: 'micro-sentry.javascript.browser';
name: string;
version: string;

@@ -40,0 +40,0 @@ };

{
"name": "@micro-sentry/core",
"version": "3.0.0-beta.2",
"version": "3.0.0-beta.3",
"dependencies": {

@@ -5,0 +5,0 @@ "tslib": "^2.0.0"

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