@arms/rum-browser
Advanced tools
Comparing version 0.0.27-beta.2 to 0.0.27-beta.3
import { ICollector, IContext, RumEvent } from '@arms/rum-core'; | ||
import { WhiteScreenRule, CheckMoment } from '../../utils/blank/index'; | ||
import { WhiteScreenRule, CheckMoment, ConfigOptions, BlankTester } from '../../utils/blank/index'; | ||
export default class WhiteScreenCollector implements ICollector { | ||
@@ -11,3 +11,4 @@ name: string; | ||
blankHandler: ({ target, tester, delay, configOptions, ignoreUrlList }: WhiteScreenRule, when: CheckMoment) => Promise<void>; | ||
blankChecker: (tester: BlankTester, targetNode: HTMLElement, configOptions: ConfigOptions, when: CheckMoment) => Promise<void>; | ||
destroy(): void; | ||
} |
@@ -1,3 +0,3 @@ | ||
import _extends from"@babel/runtime/helpers/extends";import _asyncToGenerator from"@babel/runtime/helpers/asyncToGenerator";import _regeneratorRuntime from"@babel/runtime/regenerator";import{RumEventType,interceptFunction}from"@arms/rum-core";import{blankCheck,testerValidator}from"../../utils/blank/index";import{global,document,location}from"../../utils/global";var cancelList=[],eventRegistrationMap={LEAVE:function LEAVE(a){// TODO: 可能会替换为pagehide | ||
return document.addEventListener("beforeunload",a),function(){return document.removeEventListener("beforeunload",a)}},ROUTE_CHANGE:function ROUTE_CHANGE(a,b){return"hash"===b?(global.addEventListener("hashchange",a),function(){return global.removeEventListener("hashchange",a)}):(interceptFunction(global.history,"pushState",a),interceptFunction(global.history,"replaceState",a),global.addEventListener("popstate",a),function(){global.removeEventListener("popstate",a)})},ERROR:function ERROR(a){return global.addEventListener("error",a),function(){return global.removeEventListener("error",a)}},LOAD:function LOAD(a){return"complete"===document.readyState?(setTimeout(a,0),function(){}):(global.addEventListener("load",a),function(){return global.removeEventListener("load",a)})}},WhiteScreenCollector=/*#__PURE__*/function(){function a(){var a=this;this.name="white-screen-collector",this.observers=[],this.ctx=void 0,this.sendEvent=void 0,this.abort=function(){a.observers.forEach(function(a){return a()}),a.observers=[]},this.blankHandler=/*#__PURE__*/function(){var b=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function d(b,c){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;return _regeneratorRuntime.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(e=b.target,f=b.tester,g=b.delay,h=void 0===g?0:g,i=b.configOptions,j=void 0===i?{}:i,k=b.ignoreUrlList,l=void 0===k?[]:k,!(l.includes(location.pathname)||l.includes(location.hash))){d.next=3;break}return d.abrupt("return");case 3:if("LEAVE"===c||"ERROR"===c){d.next=6;break}return d.next=6,new Promise(function(a){return setTimeout(a,h)});case 6:if(m=document.querySelector(e),m&&f){d.next=9;break}return d.abrupt("return");case 9:if(testerValidator(f)){d.next=12;break}return console.warn("[RUM] Invalid tester type. Expected either a function or a string."),d.abrupt("return");case 12:return d.next=14,blankCheck(f,m,j);case 14:if(n=d.sent,o=n.hasContent,p=n.message,q=void 0===p?"":p,r=n.snapshot,!o){d.next=21;break}return d.abrupt("return");case 21:s=a.ctx.session.getBaseEvent(),t=_extends({},s,{event_type:RumEventType.EXCEPTION,name:"A white screen occurs at "+c,type:"blank",message:q,snapshots:JSON.stringify(_extends({},r,{when:c}))}),a.sendEvent(t),a.abort();case 25:case"end":return d.stop()}},d)}));return function(){return b.apply(this,arguments)}}()}var b=a.prototype;return b.setup=function setup(a,b){var c=this;this.ctx=a,this.sendEvent=b;var d=a.getConfig(),e=d.whiteScreen,f=d.spaMode;if(e){// 开启白屏监控 | ||
var g=e.detectionRules;Array.isArray(g)&&g.length&&g.forEach(function(a){a.test_when.forEach(function(b){var d=function handler(){cancelList.forEach(function(a){return clearTimeout(a)}),cancelList=[];var d=setTimeout(function(){try{c.blankHandler(a,b)}catch(a){console.warn("[RUM] Failed to inject blank handler: ",a)}},a.delay);cancelList.push(d)},e=eventRegistrationMap[b];if(e){var g=e(d,f);c.observers.push(g)}})})}},b.destroy=function destroy(){this.abort()},a}();export{WhiteScreenCollector as default}; | ||
import _extends from"@babel/runtime/helpers/extends";import _asyncToGenerator from"@babel/runtime/helpers/asyncToGenerator";import _regeneratorRuntime from"@babel/runtime/regenerator";import{RumEventType,interceptFunction}from"@arms/rum-core";import{blankCheck,testerValidator}from"../../utils/blank/index";import{global,document,location}from"../../utils/global";var timer=null,eventRegistrationMap={LEAVE:function LEAVE(a){// TODO: 可能会替换为pagehide | ||
return document.addEventListener("beforeunload",a),function(){return document.removeEventListener("beforeunload",a)}},ROUTE_CHANGE:function ROUTE_CHANGE(a,b){return"hash"===b?(global.addEventListener("hashchange",a),function(){return global.removeEventListener("hashchange",a)}):(interceptFunction(global.history,"pushState",a),interceptFunction(global.history,"replaceState",a),global.addEventListener("popstate",a),function(){global.removeEventListener("popstate",a)})},ERROR:function ERROR(a){return global.addEventListener("error",a),function(){return global.removeEventListener("error",a)}},LOAD:function LOAD(a){return"complete"===document.readyState?(setTimeout(a,0),function(){}):(global.addEventListener("load",a),function(){return global.removeEventListener("load",a)})}},WhiteScreenCollector=/*#__PURE__*/function(){function a(){var a=this;this.name="white-screen-collector",this.observers=[],this.ctx=void 0,this.sendEvent=void 0,this.abort=function(){a.observers.forEach(function(a){return a()}),a.observers=[]},this.blankHandler=/*#__PURE__*/function(){var b=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function d(b,c){var e,f,g,h,i,j,k,l,m;return _regeneratorRuntime.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(e=b.target,f=b.tester,g=b.delay,h=void 0===g?0:g,i=b.configOptions,j=void 0===i?{}:i,k=b.ignoreUrlList,l=void 0===k?[]:k,!(l.includes(location.pathname)||l.includes(location.hash))){d.next=3;break}return d.abrupt("return");case 3:if(m=document.querySelector(e),m&&f){d.next=6;break}return d.abrupt("return");case 6:if(testerValidator(f)){d.next=9;break}return console.warn("[RUM] Invalid tester type. Expected either a function or a string."),d.abrupt("return");case 9:timer&&(clearTimeout(timer),timer=null),timer="LEAVE"!==c&&"ERROR"!==c?setTimeout(function(){a.blankChecker(f,m,j,c)},h):setTimeout(function(){a.blankChecker(f,m,j,c)},0);case 11:case"end":return d.stop()}},d)}));return function(){return b.apply(this,arguments)}}(),this.blankChecker=/*#__PURE__*/function(){var b=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function f(b,c,d,e){var g,h,i,j,k,l,m;return _regeneratorRuntime.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,blankCheck(b,c,d);case 2:if(g=f.sent,h=g.hasContent,i=g.message,j=void 0===i?"":i,k=g.snapshot,!h){f.next=9;break}return f.abrupt("return");case 9:l=a.ctx.session.getBaseEvent(),m=_extends({},l,{event_type:RumEventType.EXCEPTION,name:"A white screen occurs at "+e,type:"blank",message:j,snapshots:JSON.stringify(_extends({},k,{when:e}))}),a.sendEvent(m),a.abort();case 13:case"end":return f.stop()}},f)}));return function(){return b.apply(this,arguments)}}()}var b=a.prototype;return b.setup=function setup(a,b){var c=this;this.ctx=a,this.sendEvent=b;var d=a.getConfig(),e=d.whiteScreen,f=d.spaMode;if(e){// 开启白屏监控 | ||
var g=e.detectionRules;Array.isArray(g)&&g.length&&g.forEach(function(a){a.test_when.forEach(function(b){var d=function(){try{c.blankHandler(a,b)}catch(a){console.warn("[RUM] Failed to inject blank handler: ",a)}},e=eventRegistrationMap[b];if(e){var g=e(d,f);c.observers.push(g)}})})}},b.destroy=function destroy(){this.abort()},a}();export{WhiteScreenCollector as default}; |
@@ -1,1 +0,1 @@ | ||
import{isNumber,isObject,isString}from"@arms/rum-core";export var ApiType={XHR:"xmlhttprequest",FETCH:"fetch"};export function reviseApiAttr(a){if(a&&isObject(a)){var b={};return isString(a.name)&&(b.name=a.name.substring(0,1e3)),isString(a.message)&&(b.message=a.message.substring(0,1e3)),isNumber(a.success)&&-1<=a.success&&1>=a.success&&(b.success=a.success),isNumber(a.duration)&&0<=a.duration&&(b.duration=a.duration),isString(a.status_code)&&(b.status_code=a.status_code.substring(0,100)),isNumber(a.status_code)&&(b.status_code=a.status_code),isString(a.snapshots)&&(b.snapshots=a.snapshots.substring(0,5e3)),b}} | ||
import{isNumber,isObject,isString}from"@arms/rum-core";export var ApiType={XHR:"xmlhttprequest",FETCH:"fetch"};export function reviseApiAttr(a){if(isObject(a)){var b={};return isString(a.name)&&(b.name=a.name.substring(0,1e3)),isString(a.message)&&(b.message=a.message.substring(0,1e3)),isNumber(a.success)&&-1<=a.success&&1>=a.success&&(b.success=a.success),isNumber(a.duration)&&0<=a.duration&&(b.duration=a.duration),isString(a.status_code)&&(b.status_code=a.status_code.substring(0,100)),isNumber(a.status_code)&&(b.status_code=a.status_code),isString(a.snapshots)&&(b.snapshots=a.snapshots.substring(0,5e3)),b}} |
@@ -5,3 +5,3 @@ import { ScreenshotDetectionOptions } from "./screenshotCheck"; | ||
export type CheckMoment = 'LEAVE' | 'ROUTE_CHANGE' | 'ERROR' | 'LOAD'; | ||
type ConfigOptions = ScreenshotDetectionOptions & SamplingDetectionOptions; | ||
export type ConfigOptions = ScreenshotDetectionOptions & SamplingDetectionOptions; | ||
export type SnapshotData = { | ||
@@ -51,3 +51,3 @@ /** | ||
}; | ||
type BlankTester = ((node: HTMLElement) => CustomTesterResult | Promise<CustomTesterResult>) | ContentCheckMethod; | ||
export type BlankTester = ((node: HTMLElement) => CustomTesterResult | Promise<CustomTesterResult>) | ContentCheckMethod; | ||
export type WhiteScreenRule = { | ||
@@ -54,0 +54,0 @@ /** |
@@ -1,1 +0,1 @@ | ||
export var global=window;export var document=window.document;export var location=window.location;export var history=window.history;export var VERSION='0.0.27-beta.2'; | ||
export var global=window;export var document=window.document;export var location=window.location;export var history=window.history;export var VERSION='0.0.27-beta.3'; |
import { ICollector, IContext, RumEvent } from '@arms/rum-core'; | ||
import { WhiteScreenRule, CheckMoment } from '../../utils/blank/index'; | ||
import { WhiteScreenRule, CheckMoment, ConfigOptions, BlankTester } from '../../utils/blank/index'; | ||
export default class WhiteScreenCollector implements ICollector { | ||
@@ -11,3 +11,4 @@ name: string; | ||
blankHandler: ({ target, tester, delay, configOptions, ignoreUrlList }: WhiteScreenRule, when: CheckMoment) => Promise<void>; | ||
blankChecker: (tester: BlankTester, targetNode: HTMLElement, configOptions: ConfigOptions, when: CheckMoment) => Promise<void>; | ||
destroy(): void; | ||
} |
@@ -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"),_index=require("../../utils/blank/index"),_global=require("../../utils/global"),cancelList=[],eventRegistrationMap={LEAVE:function LEAVE(a){// TODO: 可能会替换为pagehide | ||
return _global.document.addEventListener("beforeunload",a),function(){return _global.document.removeEventListener("beforeunload",a)}},ROUTE_CHANGE:function ROUTE_CHANGE(a,b){return"hash"===b?(_global.global.addEventListener("hashchange",a),function(){return _global.global.removeEventListener("hashchange",a)}):((0,_rumCore.interceptFunction)(_global.global.history,"pushState",a),(0,_rumCore.interceptFunction)(_global.global.history,"replaceState",a),_global.global.addEventListener("popstate",a),function(){_global.global.removeEventListener("popstate",a)})},ERROR:function ERROR(a){return _global.global.addEventListener("error",a),function(){return _global.global.removeEventListener("error",a)}},LOAD:function LOAD(a){return"complete"===_global.document.readyState?(setTimeout(a,0),function(){}):(_global.global.addEventListener("load",a),function(){return _global.global.removeEventListener("load",a)})}},WhiteScreenCollector=exports["default"]=/*#__PURE__*/function(){function a(){var a=this;this.name="white-screen-collector",this.observers=[],this.ctx=void 0,this.sendEvent=void 0,this.abort=function(){a.observers.forEach(function(a){return a()}),a.observers=[]},this.blankHandler=/*#__PURE__*/function(){var b=(0,_asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function d(b,c){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;return _regenerator["default"].wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(e=b.target,f=b.tester,g=b.delay,h=void 0===g?0:g,i=b.configOptions,j=void 0===i?{}:i,k=b.ignoreUrlList,l=void 0===k?[]:k,!(l.includes(_global.location.pathname)||l.includes(_global.location.hash))){d.next=3;break}return d.abrupt("return");case 3:if("LEAVE"===c||"ERROR"===c){d.next=6;break}return d.next=6,new Promise(function(a){return setTimeout(a,h)});case 6:if(m=_global.document.querySelector(e),m&&f){d.next=9;break}return d.abrupt("return");case 9:if((0,_index.testerValidator)(f)){d.next=12;break}return console.warn("[RUM] Invalid tester type. Expected either a function or a string."),d.abrupt("return");case 12:return d.next=14,(0,_index.blankCheck)(f,m,j);case 14:if(n=d.sent,o=n.hasContent,p=n.message,q=void 0===p?"":p,r=n.snapshot,!o){d.next=21;break}return d.abrupt("return");case 21:s=a.ctx.session.getBaseEvent(),t=(0,_extends2["default"])({},s,{event_type:_rumCore.RumEventType.EXCEPTION,name:"A white screen occurs at "+c,type:"blank",message:q,snapshots:JSON.stringify((0,_extends2["default"])({},r,{when:c}))}),a.sendEvent(t),a.abort();case 25:case"end":return d.stop()}},d)}));return function(){return b.apply(this,arguments)}}()}var b=a.prototype;return b.setup=function setup(a,b){var c=this;this.ctx=a,this.sendEvent=b;var d=a.getConfig(),e=d.whiteScreen,f=d.spaMode;if(e){// 开启白屏监控 | ||
var g=e.detectionRules;Array.isArray(g)&&g.length&&g.forEach(function(a){a.test_when.forEach(function(b){var d=function handler(){cancelList.forEach(function(a){return clearTimeout(a)}),cancelList=[];var d=setTimeout(function(){try{c.blankHandler(a,b)}catch(a){console.warn("[RUM] Failed to inject blank handler: ",a)}},a.delay);cancelList.push(d)},e=eventRegistrationMap[b];if(e){var g=e(d,f);c.observers.push(g)}})})}},b.destroy=function destroy(){this.abort()},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"),_index=require("../../utils/blank/index"),_global=require("../../utils/global"),timer=null,eventRegistrationMap={LEAVE:function LEAVE(a){// TODO: 可能会替换为pagehide | ||
return _global.document.addEventListener("beforeunload",a),function(){return _global.document.removeEventListener("beforeunload",a)}},ROUTE_CHANGE:function ROUTE_CHANGE(a,b){return"hash"===b?(_global.global.addEventListener("hashchange",a),function(){return _global.global.removeEventListener("hashchange",a)}):((0,_rumCore.interceptFunction)(_global.global.history,"pushState",a),(0,_rumCore.interceptFunction)(_global.global.history,"replaceState",a),_global.global.addEventListener("popstate",a),function(){_global.global.removeEventListener("popstate",a)})},ERROR:function ERROR(a){return _global.global.addEventListener("error",a),function(){return _global.global.removeEventListener("error",a)}},LOAD:function LOAD(a){return"complete"===_global.document.readyState?(setTimeout(a,0),function(){}):(_global.global.addEventListener("load",a),function(){return _global.global.removeEventListener("load",a)})}},WhiteScreenCollector=exports["default"]=/*#__PURE__*/function(){function a(){var a=this;this.name="white-screen-collector",this.observers=[],this.ctx=void 0,this.sendEvent=void 0,this.abort=function(){a.observers.forEach(function(a){return a()}),a.observers=[]},this.blankHandler=/*#__PURE__*/function(){var b=(0,_asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function d(b,c){var e,f,g,h,i,j,k,l,m;return _regenerator["default"].wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(e=b.target,f=b.tester,g=b.delay,h=void 0===g?0:g,i=b.configOptions,j=void 0===i?{}:i,k=b.ignoreUrlList,l=void 0===k?[]:k,!(l.includes(_global.location.pathname)||l.includes(_global.location.hash))){d.next=3;break}return d.abrupt("return");case 3:if(m=_global.document.querySelector(e),m&&f){d.next=6;break}return d.abrupt("return");case 6:if((0,_index.testerValidator)(f)){d.next=9;break}return console.warn("[RUM] Invalid tester type. Expected either a function or a string."),d.abrupt("return");case 9:timer&&(clearTimeout(timer),timer=null),timer="LEAVE"!==c&&"ERROR"!==c?setTimeout(function(){a.blankChecker(f,m,j,c)},h):setTimeout(function(){a.blankChecker(f,m,j,c)},0);case 11:case"end":return d.stop()}},d)}));return function(){return b.apply(this,arguments)}}(),this.blankChecker=/*#__PURE__*/function(){var b=(0,_asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function f(b,c,d,e){var g,h,i,j,k,l,m;return _regenerator["default"].wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,(0,_index.blankCheck)(b,c,d);case 2:if(g=f.sent,h=g.hasContent,i=g.message,j=void 0===i?"":i,k=g.snapshot,!h){f.next=9;break}return f.abrupt("return");case 9:l=a.ctx.session.getBaseEvent(),m=(0,_extends2["default"])({},l,{event_type:_rumCore.RumEventType.EXCEPTION,name:"A white screen occurs at "+e,type:"blank",message:j,snapshots:JSON.stringify((0,_extends2["default"])({},k,{when:e}))}),a.sendEvent(m),a.abort();case 13:case"end":return f.stop()}},f)}));return function(){return b.apply(this,arguments)}}()}var b=a.prototype;return b.setup=function setup(a,b){var c=this;this.ctx=a,this.sendEvent=b;var d=a.getConfig(),e=d.whiteScreen,f=d.spaMode;if(e){// 开启白屏监控 | ||
var g=e.detectionRules;Array.isArray(g)&&g.length&&g.forEach(function(a){a.test_when.forEach(function(b){var d=function(){try{c.blankHandler(a,b)}catch(a){console.warn("[RUM] Failed to inject blank handler: ",a)}},e=eventRegistrationMap[b];if(e){var g=e(d,f);c.observers.push(g)}})})}},b.destroy=function destroy(){this.abort()},a}(); |
@@ -1,1 +0,1 @@ | ||
"use strict";exports.__esModule=!0,exports.ApiType=void 0,exports.reviseApiAttr=reviseApiAttr;var _rumCore=require("@arms/rum-core"),ApiType=exports.ApiType={XHR:"xmlhttprequest",FETCH:"fetch"};function reviseApiAttr(a){if(a&&(0,_rumCore.isObject)(a)){var b={};return(0,_rumCore.isString)(a.name)&&(b.name=a.name.substring(0,1e3)),(0,_rumCore.isString)(a.message)&&(b.message=a.message.substring(0,1e3)),(0,_rumCore.isNumber)(a.success)&&-1<=a.success&&1>=a.success&&(b.success=a.success),(0,_rumCore.isNumber)(a.duration)&&0<=a.duration&&(b.duration=a.duration),(0,_rumCore.isString)(a.status_code)&&(b.status_code=a.status_code.substring(0,100)),(0,_rumCore.isNumber)(a.status_code)&&(b.status_code=a.status_code),(0,_rumCore.isString)(a.snapshots)&&(b.snapshots=a.snapshots.substring(0,5e3)),b}} | ||
"use strict";exports.__esModule=!0,exports.ApiType=void 0,exports.reviseApiAttr=reviseApiAttr;var _rumCore=require("@arms/rum-core"),ApiType=exports.ApiType={XHR:"xmlhttprequest",FETCH:"fetch"};function reviseApiAttr(a){if((0,_rumCore.isObject)(a)){var b={};return(0,_rumCore.isString)(a.name)&&(b.name=a.name.substring(0,1e3)),(0,_rumCore.isString)(a.message)&&(b.message=a.message.substring(0,1e3)),(0,_rumCore.isNumber)(a.success)&&-1<=a.success&&1>=a.success&&(b.success=a.success),(0,_rumCore.isNumber)(a.duration)&&0<=a.duration&&(b.duration=a.duration),(0,_rumCore.isString)(a.status_code)&&(b.status_code=a.status_code.substring(0,100)),(0,_rumCore.isNumber)(a.status_code)&&(b.status_code=a.status_code),(0,_rumCore.isString)(a.snapshots)&&(b.snapshots=a.snapshots.substring(0,5e3)),b}} |
@@ -5,3 +5,3 @@ import { ScreenshotDetectionOptions } from "./screenshotCheck"; | ||
export type CheckMoment = 'LEAVE' | 'ROUTE_CHANGE' | 'ERROR' | 'LOAD'; | ||
type ConfigOptions = ScreenshotDetectionOptions & SamplingDetectionOptions; | ||
export type ConfigOptions = ScreenshotDetectionOptions & SamplingDetectionOptions; | ||
export type SnapshotData = { | ||
@@ -51,3 +51,3 @@ /** | ||
}; | ||
type BlankTester = ((node: HTMLElement) => CustomTesterResult | Promise<CustomTesterResult>) | ContentCheckMethod; | ||
export type BlankTester = ((node: HTMLElement) => CustomTesterResult | Promise<CustomTesterResult>) | ContentCheckMethod; | ||
export type WhiteScreenRule = { | ||
@@ -54,0 +54,0 @@ /** |
@@ -1,1 +0,1 @@ | ||
"use strict";exports.__esModule=!0,exports.location=exports.history=exports.global=exports.document=exports.VERSION=void 0;var global=exports.global=window,document=exports.document=window.document,location=exports.location=window.location,history=exports.history=window.history,VERSION=exports.VERSION='0.0.27-beta.2'; | ||
"use strict";exports.__esModule=!0,exports.location=exports.history=exports.global=exports.document=exports.VERSION=void 0;var global=exports.global=window,document=exports.document=window.document,location=exports.location=window.location,history=exports.history=window.history,VERSION=exports.VERSION='0.0.27-beta.3'; |
{ | ||
"name": "@arms/rum-browser", | ||
"version": "0.0.27-beta.2", | ||
"version": "0.0.27-beta.3", | ||
"description": "arms rum javascript sdk for browser", | ||
@@ -24,7 +24,6 @@ "author": "guangli.fj <guangli.fj@alibaba-inc.com>", | ||
"build": "build-scripts build --skip-demo", | ||
"prepublishOnly": "npm run build", | ||
"test": "node ./__tests__/@arms/browser.test.js" | ||
}, | ||
"dependencies": { | ||
"@arms/rum-core": "0.0.25-beta.16", | ||
"@arms/rum-core": "0.0.25-beta.17", | ||
"web-vitals": "3.5.2" | ||
@@ -31,0 +30,0 @@ }, |
Sorry, the diff of this file is too big to display
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
294011
1909
+ Added@arms/rum-core@0.0.25-beta.17(transitive)
- Removed@arms/rum-core@0.0.25-beta.16(transitive)