Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arms/rum-browser

Package Overview
Dependencies
Maintainers
5
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arms/rum-browser - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

2

lib/collector/action/click.js

@@ -1,3 +0,3 @@

"use strict";exports.__esModule=!0,exports["default"]=void 0;var _rumCore=require("@arms/rum-core"),_base=require("../../utils/base"),_dom=require("../../utils/dom"),_global=require("../../utils/global"),ClickCollector=exports["default"]=/*#__PURE__*/function(){function a(){this.name="click-collector",this.DELAY_TIME=300}var b=a.prototype;return b.setup=function setup(a,b){var c=a.getConfig(),d=c.collectors,e=void 0===d?{}:d;!1===e.click||_global.document.addEventListener("click",function(a){var c=(0,_base.getCurrentTime)(a.timeStamp),d=(0,_base.formatNumber)(performance.now()-a.timeStamp),e=a.target;if(e instanceof HTMLElement){// 根据元素过滤,仅当被关注的元素所嵌套时才会采集数据(默认为 button、a 和表单元素)
"use strict";exports.__esModule=!0,exports["default"]=void 0;var _rumCore=require("@arms/rum-core"),_base=require("../../utils/base"),_dom=require("../../utils/dom"),_global=require("../../utils/global"),ClickCollector=exports["default"]=/*#__PURE__*/function(){function a(){this.name="click-collector",this.DELAY_TIME=300}var b=a.prototype;return b.setup=function setup(a,b){var c=a.getConfig(),d=c.collectors,e=void 0===d?{}:d;!1===e.action||_global.document.addEventListener("click",function(a){var c=(0,_base.getCurrentTime)(a.timeStamp),d=(0,_base.formatNumber)(performance.now()-a.timeStamp),e=a.target;if(e instanceof HTMLElement){// 根据元素过滤,仅当被关注的元素所嵌套时才会采集数据(默认为 button、a 和表单元素)
var f=(0,_dom.getClosestTargetAncestorElement)(e,["button","a","input","select","option","textarea"]);if(f){// 获取语义化的描述
var g=f.localName,h=f.nodeName,i=f.innerText,j=(g||h).toLowerCase(),k=f.getAttribute("type"),l=i&&": "+(20<i.length?i.slice(0,20)+"...":i),m="click on "+((k?k+"-":"")+j)+l,n={event_type:_rumCore.RumEventType.ACTION,type:"click",name:m,target_name:(0,_dom.getElementXpath)(e),duration:d,times:1,timestamp:c};b(n)}}},!0)},a}();

@@ -8,3 +8,4 @@ import { ICollector, IContext, IViewData, RumEvent, ITracingHeaders } from '@arms/rum-core';

message: string;
trace_id: string;
trace_id?: string;
trace_data?: string;
}

@@ -11,0 +12,0 @@ declare global {

@@ -1,3 +0,3 @@

"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");exports.__esModule=!0,exports["default"]=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator")),_extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")),_rumCore=require("@arms/rum-core"),_performance=require("../../utils/performance"),_url=require("../../utils/url"),_view=require("../../utils/view"),_base=require("../../utils/base"),_global=require("../../utils/global"),_uuid=require("../../utils/uuid"),ApiCollector=exports["default"]=/*#__PURE__*/function(){function a(){this.name="api-collector",this.entryTypes=["xmlhttprequest","fetch"],this.cachedEntries=[],this.cachedApiAttrs=[],this.ctx=void 0,this.sendEvent=void 0}var b=a.prototype;return b.setup=function setup(a,b){var c=a.getConfig(),d=c.collectors,e=void 0===d?{}:d;!1===e.api||(this.sendEvent=b,this.ctx=a,this.perfObserver(),this.hackXhr(),this.hackFetch())},b.perfObserver=function perfObserver(){var a=this,b=new PerformanceObserver(function(b){var c=b.getEntries().filter(function(b){return a.entryTypes.includes(b.initiatorType)});c&&c.length&&c.forEach(function(b){a.mergeDataAndSend({entry:b})})});b.observe({type:"resource",buffered:!0})},b.injectTracing=function injectTracing(a,b){var c=this.ctx.getConfig(),d=c.tracing,e=c.pid,f=(0,_rumCore.parseTracingOptions)(d),g=f.enable,h=f.allowedUrls,i=f.sample,j=f.baggage;if(g){// Browser 情况下一直允许同域请求的trace
var k=(0,_rumCore.generateTraceId)(),l=(0,_rumCore.generateSpanId)(),m=(0,_rumCore.performDraw)(i);h.push({match:function match(a){return /^https?:\/\/*/.test(a)||(0,_rumCore.startsWith)(a,_global.location.origin)},propagatorTypes:["tracecontext"]});var n=(0,_rumCore.find)(h,function(b){return(0,_rumCore.matchList)([b.match],a.url)});if(n){var o=(0,_rumCore.makeTracingHeaders)(k,l,m,n.propagatorTypes,void 0===j||j?{appType:"browser",pid:e,sid:(0,_uuid.getSessionID)()}:void 0);m&&(a.trace_id=k),b(o)}}},b.hackXhr=function hackXhr(){var a=XMLHttpRequest.prototype,b=this;(0,_rumCore.interceptFunction)(a,"open",function(a,c){var d=this,e=c+"";(0,_rumCore.urlMatch)(e)||(// 异步过程 保证 view_id view_name 正确
this.apiAttr={},this.apiAttr.url=(0,_url.fixRelativeUrl)(e),this.apiAttr.method=a.toUpperCase(),this.apiAttr.view=(0,_view.getCurView)(b.ctx),b.injectTracing(this.apiAttr,function(a){Object.keys(a).forEach(function(b){d.setRequestHeader(b,a[b])})}))}),(0,_rumCore.interceptFunction)(a,"send",function(){var a=this;this.addEventListener("loadend",function(){if(a.apiAttr){var c=a.status,d=a.statusText,e=a.response;a.apiAttr.status_code=c,a.apiAttr.message=d,b.mergeDataAndSend({attr:a.apiAttr})}})})},b.hackFetch=function hackFetch(){var a=this;(0,_base.hackFunction)(global,"fetch",function(b){return function(c,d){var e,f;void 0===d&&(d={});var g=c instanceof Request?c.url:(0,_rumCore.isString)(c)?c:c.toString();if((0,_rumCore.urlMatch)(g))return b.call(global,c,d);var h={};return h.url=(0,_url.fixRelativeUrl)(g),h.method=(null===(e=d)||void 0===e||null===(f=e.method)||void 0===f?void 0:f.toUpperCase())||"GET",h.view=(0,_view.getCurView)(a.ctx),a.injectTracing(h,function(a){d.headers=d.headers||{},Object.keys(a).forEach(function(b){d.headers[b]=a[b]})}),b.call(global,c,d).then(/*#__PURE__*/function(){var a=(0,_asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function b(a){var c,d,e;return _regenerator["default"].wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return c=a.clone(),d=c.status,e=c.statusText,h.status_code=d,h.message=e,b.abrupt("return",a);case 5:case"end":return b.stop()}},b)}));return function(){return a.apply(this,arguments)}}(),function(a){throw h.message=a+"",a})["finally"](function(){a.mergeDataAndSend({attr:h})})}})},b.mergeDataAndSend=function mergeDataAndSend(a){var b=this;try{var c=function(a,c){var d=a.method,e=a.url,f=a.status_code,g=a.message,h=a.view,i=(0,_performance.getResourceStatusByCode)(f);b.sendEvent((0,_extends2["default"])({event_type:_rumCore.RumEventType.RESOURCE,url:e,name:(0,_url.getPathByURL)(e),type:c.initiatorType||c.entryType,method:d,status_code:f,message:g,success:i},(0,_performance.calcResourceTimingData)(c),{view:h}))},d=a.attr,e=a.entry,f=this.cachedApiAttrs,g=this.cachedEntries;if(d){var h=g.find(function(a){return a.name===d.url});if(!h)return void f.push(d);g=g.filter(function(a){return a.name!==h.name}),c(d,h)}if(e){var i=f.find(function(a){return a.url===e.name});if(!i)return void g.push(e);f=f.filter(function(a){return a.url!==i.url}),c(i,e)}}catch(a){}},a}();
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");exports.__esModule=!0,exports["default"]=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator")),_extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")),_rumCore=require("@arms/rum-core"),_performance=require("../../utils/performance"),_url=require("../../utils/url"),_view=require("../../utils/view"),_base=require("../../utils/base"),_global=require("../../utils/global"),_uuid=require("../../utils/uuid"),ApiCollector=exports["default"]=/*#__PURE__*/function(){function a(){this.name="api-collector",this.entryTypes=["xmlhttprequest","fetch"],this.cachedEntries=[],this.cachedApiAttrs=[],this.ctx=void 0,this.sendEvent=void 0}var b=a.prototype;return b.setup=function setup(a,b){var c=a.getConfig(),d=c.collectors,e=void 0===d?{}:d;!1===e.api||(this.sendEvent=b,this.ctx=a,this.perfObserver(),this.hackXhr(),this.hackFetch())},b.perfObserver=function perfObserver(){var a=this,b=new PerformanceObserver(function(b){var c=b.getEntries().filter(function(b){return a.entryTypes.includes(b.initiatorType)});c&&c.length&&c.forEach(function(b){a.mergeDataAndSend({entry:b})})});b.observe({type:"resource",buffered:!0})},b.injectTracing=function injectTracing(a,b){var c=this.ctx.getConfig(),d=c.tracing,e=c.pid,f=(0,_rumCore.parseTracingOptions)(d),g=f.enable,h=f.allowedUrls,i=f.sample,j=f.tracestate,k=f.baggage;if(g){// Browser 情况下一直允许同域请求的trace
var l=(0,_rumCore.generateTraceId)(),m=(0,_rumCore.generateSpanId)(),n=(0,_rumCore.performDraw)(i),o=(0,_uuid.getSessionID)(),p=void 0===j||j?"rum=v2&browser&"+e+"&"+o:void 0,q=void 0!==k&&k?"rum=v2,appType=browser,pid="+e+",sid="+o:void 0;h.push({match:function match(a){return /^https?:\/\/*/.test(a)||(0,_rumCore.startsWith)(a,_global.location.origin)},propagatorTypes:["tracecontext"]});var r=(0,_rumCore.find)(h,function(b){return(0,_rumCore.matchList)([b.match],a.url)});if(r){var s=(0,_rumCore.makeTracingHeaders)(l,m,n,r.propagatorTypes,p,q);n&&(a.trace_id=l,a.trace_data=JSON.stringify({spanId:m,sampled:n,headers:s})),b(s)}}},b.hackXhr=function hackXhr(){var a=XMLHttpRequest.prototype,b=this;(0,_rumCore.interceptFunction)(a,"open",function(a,c){var d=this,e=c+"";(0,_rumCore.urlMatch)(e)||(// 异步过程 保证 view_id view_name 正确
this.apiAttr={},this.apiAttr.url=(0,_url.fixRelativeUrl)(e),this.apiAttr.method=a.toUpperCase(),this.apiAttr.view=(0,_view.getCurView)(b.ctx),b.injectTracing(this.apiAttr,function(a){Object.keys(a).forEach(function(b){d.setRequestHeader(b,a[b])})}))}),(0,_rumCore.interceptFunction)(a,"send",function(){var a=this;this.addEventListener("loadend",function(){if(a.apiAttr){var c=a.status,d=a.statusText,e=a.response;a.apiAttr.status_code=c,a.apiAttr.message=d,b.mergeDataAndSend({attr:a.apiAttr})}})})},b.hackFetch=function hackFetch(){var a=this;(0,_base.hackFunction)(global,"fetch",function(b){return function(c,d){var e,f;void 0===d&&(d={});var g=c instanceof Request?c.url:(0,_rumCore.isString)(c)?c:c.toString();if((0,_rumCore.urlMatch)(g))return b.call(global,c,d);var h={};return h.url=(0,_url.fixRelativeUrl)(g),h.method=(null===(e=d)||void 0===e||null===(f=e.method)||void 0===f?void 0:f.toUpperCase())||"GET",h.view=(0,_view.getCurView)(a.ctx),a.injectTracing(h,function(a){d.headers=d.headers||{},Object.keys(a).forEach(function(b){d.headers[b]=a[b]})}),b.call(global,c,d).then(/*#__PURE__*/function(){var a=(0,_asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function b(a){var c,d,e;return _regenerator["default"].wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return c=a.clone(),d=c.status,e=c.statusText,h.status_code=d,h.message=e,b.abrupt("return",a);case 5:case"end":return b.stop()}},b)}));return function(){return a.apply(this,arguments)}}(),function(a){throw h.message=a+"",a})["finally"](function(){a.mergeDataAndSend({attr:h})})}})},b.mergeDataAndSend=function mergeDataAndSend(a){var b=this;try{var c=function(a,c){var d=b.ctx.getConfig(),e=d.parseResourceName,f=a.method,g=a.url,h=a.status_code,i=a.message,j=a.view,k=(0,_performance.getResourceStatusByCode)(h);b.sendEvent((0,_extends2["default"])({event_type:_rumCore.RumEventType.RESOURCE,url:g,name:(0,_url.getResourceName)(g,e),type:c.initiatorType||c.entryType,method:f,status_code:h,message:i,success:k},(0,_performance.calcResourceTimingData)(c),{view:j}))},d=a.attr,e=a.entry,f=this.cachedApiAttrs,g=this.cachedEntries;if(d){var h=g.find(function(a){return a.name===d.url});if(!h)return void f.push(d);g=g.filter(function(a){return a.name!==h.name}),c(d,h)}if(e){var i=f.find(function(a){return a.url===e.name});if(!i)return void g.push(e);f=f.filter(function(a){return a.url!==i.url}),c(i,e)}}catch(a){}},a}();

@@ -1,5 +0,5 @@

"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");exports.__esModule=!0,exports["default"]=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_rumCore=require("@arms/rum-core"),_performance=require("../../utils/performance"),_url=require("../../utils/url"),_view=require("../../utils/view"),_global=require("../../utils/global");function _createForOfIteratorHelperLoose(a,b){var c="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(c)return(c=c.call(a)).next.bind(c);if(Array.isArray(a)||(c=_unsupportedIterableToArray(a))||b&&a&&"number"==typeof a.length){c&&(a=c);var d=0;return function(){return d>=a.length?{done:!0}:{done:!1,value:a[d++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(a,b){if(a){if("string"==typeof a)return _arrayLikeToArray(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);return"Object"===c&&a.constructor&&(c=a.constructor.name),"Map"===c||"Set"===c?Array.from(a):"Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?_arrayLikeToArray(a,b):void 0}}function _arrayLikeToArray(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=Array(b);c<b;c++)d[c]=a[c];return d}var StaticResourceCollector=exports["default"]=/*#__PURE__*/function(){function a(){this.name="static-resource-collector",this.entryTypes=["audio","video","track","script","css","img","image","link","other"],this.cachedErrors=[],this.WAIT_FOR_ERROR_TIME=1e3}var b=a.prototype;return b.setup=function setup(a,b){var c=this,d=a.getConfig(),e=d.collectors,f=void 0===e?{}:e;if(!1!==f.staticResource){_global.document.addEventListener("error",function(a){c.cachedErrors.push(a)},!0),new PerformanceObserver(function(b){var d=b.getEntries().filter(function(a){return c.entryTypes.includes(a.initiatorType)});if(d&&d.length){var e=(0,_view.getCurView)(a);d.forEach(function(a){setTimeout(function(){g(a,e)},c.WAIT_FOR_ERROR_TIME)})}}).observe({type:"resource",buffered:!0});var g=function(a,d){// responseStatus 若为 0,则先设成 200
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");exports.__esModule=!0,exports["default"]=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_rumCore=require("@arms/rum-core"),_performance=require("../../utils/performance"),_url=require("../../utils/url"),_view=require("../../utils/view"),_global=require("../../utils/global");function _createForOfIteratorHelperLoose(a,b){var c="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(c)return(c=c.call(a)).next.bind(c);if(Array.isArray(a)||(c=_unsupportedIterableToArray(a))||b&&a&&"number"==typeof a.length){c&&(a=c);var d=0;return function(){return d>=a.length?{done:!0}:{done:!1,value:a[d++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(a,b){if(a){if("string"==typeof a)return _arrayLikeToArray(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);return"Object"===c&&a.constructor&&(c=a.constructor.name),"Map"===c||"Set"===c?Array.from(a):"Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?_arrayLikeToArray(a,b):void 0}}function _arrayLikeToArray(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=Array(b);c<b;c++)d[c]=a[c];return d}var StaticResourceCollector=exports["default"]=/*#__PURE__*/function(){function a(){this.name="static-resource-collector",this.entryTypes=["audio","video","track","script","css","img","image","link","other"],this.cachedErrors=[],this.WAIT_FOR_ERROR_TIME=1e3}var b=a.prototype;return b.setup=function setup(a,b){var c=this,d=a.getConfig(),e=d.collectors,f=void 0===e?{}:e;if(!1!==f.staticResource){_global.document.addEventListener("error",function(a){c.cachedErrors.push(a)},!0),new PerformanceObserver(function(b){var d=b.getEntries().filter(function(a){return c.entryTypes.includes(a.initiatorType)});if(d&&d.length){var e=(0,_view.getCurView)(a);d.forEach(function(a){setTimeout(function(){g(a,e)},c.WAIT_FOR_ERROR_TIME)})}}).observe({type:"resource",buffered:!0});var g=function(d,e){// responseStatus 若为 0,则先设成 200
// @ts-ignore
for(var e,f=a.responseStatus||200,g=a.name,h=a.initiatorType||a.entryType,i=(0,_performance.getResourceStatusByCode)(f),j=(0,_extends2["default"])({event_type:_rumCore.RumEventType.RESOURCE,url:g,name:(0,_url.getPathByURL)(g),type:h,method:"GET",status_code:f,success:i},(0,_performance.calcResourceTimingData)(a),{// 异步任务,保证 view_id view_name 正确
view:d}),k=_createForOfIteratorHelperLoose(c.cachedErrors);!(e=k()).done;){var l,m,n=e.value;(g===(null===(l=n.target)||void 0===l?void 0:l.src)||g===(null===(m=n.target)||void 0===m?void 0:m.href))&&(j.success=_performance.ResourceStatus.Failed,delete j.status_code)}// @ts-ignore
c.cachedErrors=c.cachedErrors.filter(function(a){var b,c;return g!==(null===(b=a.target)||void 0===b?void 0:b.src)&&g!==(null===(c=a.target)||void 0===c?void 0:c.href)}),(0,_rumCore.urlMatch)(j.url)||b(j)}}},a}();
for(var f,g=a.getConfig(),h=g.parseResourceName,i=d.responseStatus||200,j=d.name,k=d.initiatorType||d.entryType,l=(0,_performance.getResourceStatusByCode)(i),m=(0,_extends2["default"])({event_type:_rumCore.RumEventType.RESOURCE,url:j,name:(0,_url.getResourceName)(j,h),type:k,method:"GET",status_code:i,success:l},(0,_performance.calcResourceTimingData)(d),{// 异步任务,保证 view_id view_name 正确
view:e}),n=_createForOfIteratorHelperLoose(c.cachedErrors);!(f=n()).done;){var o,p,q=f.value;(j===(null===(o=q.target)||void 0===o?void 0:o.src)||j===(null===(p=q.target)||void 0===p?void 0:p.href))&&(m.success=_performance.ResourceStatus.Failed,delete m.status_code)}// @ts-ignore
c.cachedErrors=c.cachedErrors.filter(function(a){var b,c;return j!==(null===(b=a.target)||void 0===b?void 0:b.src)&&j!==(null===(c=a.target)||void 0===c?void 0:c.href)}),(0,_rumCore.urlMatch)(m.url)||b(m)}}},a}();

@@ -1,4 +0,8 @@

import { IConfiguration } from "@arms/rum-core";
import { IConfiguration, ITracingOption } from "@arms/rum-core";
export interface IBrowserConfig extends IConfiguration {
/**
* 单页应用模式
**/
spaMode?: false | 'hash' | 'history';
/**
* view.name 解析

@@ -8,5 +12,9 @@ */

/**
* 单页应用模式
**/
spaMode?: false | 'hash' | 'history';
* resource.name 解析
*/
parseResourceName?(url: string): string;
/**
* tracing 配置 'tracecontext' | 'b3' | 'b3multi' | 'jaeger';
*/
tracing?: boolean | ITracingOption;
}

@@ -18,1 +18,2 @@ /**

export declare function fixRelativeUrl(url: string, protocol?: any, host?: any): string;
export declare function getResourceName(url: string, parseFunction: (url: string) => string): string;

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

"use strict";var _global=require("./global");exports.__esModule=!0,exports.fixRelativeUrl=fixRelativeUrl,exports.getCurrentURL=getCurrentURL,exports.getPathByURL=getPathByURL;/**
"use strict";exports.__esModule=!0,exports.fixRelativeUrl=fixRelativeUrl,exports.getCurrentURL=getCurrentURL,exports.getPathByURL=getPathByURL,exports.getResourceName=getResourceName;var _rumCore=require("@arms/rum-core"),_global=require("./global");/**
* 获取目前的 URL

@@ -12,6 +12,2 @@ */function getCurrentURL(){return _global.location?_global.location.href:""}/**

* @param host 主机名
*/function fixRelativeUrl(a,b,c){void 0===b&&(b=_global.location.protocol),void 0===c&&(c=_global.location.host);var d=/^https?:\/\//i.test(a);if(d)return a;var e=/^\/\//i.test(a);if(e)return""+b+a;var f=/^\//i.test(a);return b+"//"+c+(f?"":"/")+a}// export function get(url: string) {
// const urlObj = new URL(url);
// const params = new URLSearchParams(urlObj.search);
// return params;
// }
*/function fixRelativeUrl(a,b,c){void 0===b&&(b=_global.location.protocol),void 0===c&&(c=_global.location.host);var d=/^https?:\/\//i.test(a);if(d)return a;var e=/^\/\//i.test(a);if(e)return""+b+a;var f=/^\//i.test(a);return b+"//"+c+(f?"":"/")+a}function getResourceName(a,b){var c=a;return(0,_rumCore.isFunction)(b)&&(c=b(a)),c&&(0,_rumCore.isString)(c)||(c=getPathByURL(a)),c}
{
"name": "@arms/rum-browser",
"version": "0.0.7",
"version": "0.0.8",
"description": "arms rum javascript sdk for browser",

@@ -25,3 +25,3 @@ "author": "guangli.fj <guangli.fj@alibaba-inc.com>",

"dependencies": {
"@arms/rum-core": "^0.0.7",
"@arms/rum-core": "^0.0.8",
"web-vitals": "^3.4.0"

@@ -28,0 +28,0 @@ },

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