-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jingxiaoran
committed
Jul 5, 2024
1 parent
f23962c
commit b7e4606
Showing
47 changed files
with
659 additions
and
203 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"id":"../src/rrweb/es/rrweb/src/index.js","dependencies":[{"name":"/Users/jxr/workplace/demo/monitor/package.json","includedInParent":true,"mtime":1719802351235},{"name":"./types.js","loc":{"line":1,"column":80},"parent":"/Users/jxr/workplace/demo/monitor/src/rrweb/es/rrweb/src/index.js","resolved":"/Users/jxr/workplace/demo/monitor/src/rrweb/es/rrweb/src/types.js"},{"name":"./utils.js","loc":{"line":4,"column":34},"parent":"/Users/jxr/workplace/demo/monitor/src/rrweb/es/rrweb/src/index.js","resolved":"/Users/jxr/workplace/demo/monitor/src/rrweb/es/rrweb/src/utils.js"},{"name":"./record/index.js","loc":{"line":6,"column":34},"parent":"/Users/jxr/workplace/demo/monitor/src/rrweb/es/rrweb/src/index.js","resolved":"/Users/jxr/workplace/demo/monitor/src/rrweb/es/rrweb/src/record/index.js"},{"name":"./replay/index.js","loc":{"line":7,"column":25},"parent":"/Users/jxr/workplace/demo/monitor/src/rrweb/es/rrweb/src/index.js","resolved":"/Users/jxr/workplace/demo/monitor/src/rrweb/es/rrweb/src/replay/index.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"EventType\", {\n enumerable: true,\n get: function () {\n return _types.EventType;\n }\n});\nObject.defineProperty(exports, \"IncrementalSource\", {\n enumerable: true,\n get: function () {\n return _types.IncrementalSource;\n }\n});\nObject.defineProperty(exports, \"MouseInteractions\", {\n enumerable: true,\n get: function () {\n return _types.MouseInteractions;\n }\n});\nObject.defineProperty(exports, \"Replayer\", {\n enumerable: true,\n get: function () {\n return _index2.Replayer;\n }\n});\nObject.defineProperty(exports, \"ReplayerEvents\", {\n enumerable: true,\n get: function () {\n return _types.ReplayerEvents;\n }\n});\nexports.freezePage = exports.addCustomEvent = void 0;\nObject.defineProperty(exports, \"mirror\", {\n enumerable: true,\n get: function () {\n return utils._mirror;\n }\n});\nObject.defineProperty(exports, \"record\", {\n enumerable: true,\n get: function () {\n return _index.default;\n }\n});\nexports.utils = void 0;\n\nvar _types = require(\"./types.js\");\n\nvar utils = _interopRequireWildcard(require(\"./utils.js\"));\n\nexports.utils = utils;\n\nvar _index = _interopRequireDefault(require(\"./record/index.js\"));\n\nvar _index2 = require(\"./replay/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nvar addCustomEvent = _index.default.addCustomEvent;\nexports.addCustomEvent = addCustomEvent;\nvar freezePage = _index.default.freezePage;\nexports.freezePage = freezePage;"},"sourceMaps":{"js":{"mappings":[{"generated":{"line":51,"column":0},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":1,"column":0}},{"generated":{"line":53,"column":0},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":2,"column":0}},{"generated":{"line":57,"column":0},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":5,"column":0}},{"generated":{"line":59,"column":0},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":7,"column":0}},{"generated":{"line":67,"column":0},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":9,"column":0}},{"name":"addCustomEvent","generated":{"line":67,"column":4},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":9,"column":4}},{"generated":{"line":67,"column":18},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":9,"column":18}},{"name":"record","generated":{"line":67,"column":21},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":9,"column":21}},{"name":"addCustomEvent","generated":{"line":67,"column":36},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":9,"column":28}},{"generated":{"line":67,"column":50},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":9,"column":0}},{"generated":{"line":69,"column":0},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":10,"column":0}},{"name":"freezePage","generated":{"line":69,"column":4},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":10,"column":4}},{"generated":{"line":69,"column":14},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":10,"column":14}},{"name":"record","generated":{"line":69,"column":17},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":10,"column":17}},{"name":"freezePage","generated":{"line":69,"column":32},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":10,"column":24}},{"generated":{"line":69,"column":42},"source":"../src/rrweb/es/rrweb/src/index.js","original":{"line":10,"column":0}}],"sources":{"../src/rrweb/es/rrweb/src/index.js":"export { EventType, IncrementalSource, MouseInteractions, ReplayerEvents } from './types.js';\nimport * as utils from './utils.js';\nexport { utils };\nexport { _mirror as mirror } from './utils.js';\nimport record from './record/index.js';\nexport { default as record } from './record/index.js';\nexport { Replayer } from './replay/index.js';\n\nvar addCustomEvent = record.addCustomEvent;\nvar freezePage = record.freezePage;\n\nexport { addCustomEvent, freezePage };\n"},"lineCount":null}},"error":null,"hash":"f8b63a467406f85c1bc180484f767d40","cacheData":{"env":{}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"id":"index.html","dependencies":[{"name":"/Users/jxr/workplace/demo/monitor/package.json","includedInParent":true,"mtime":1639741900078}],"generated":{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Document</title>\n </head>\n <body>\n <h1>标题演示</h1>\n <article elementtiming=\"contentful-element1\">\n sdifsdfisidfjsidjfisodfsdf\n </article>\n <input type=\"text\" name=\"name\" id=\"\">\n <img elementtiming=\"contentful-element2\" src=\"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fn.sinaimg.cn%2Fsinacn13%2F437%2Fw640h597%2F20180405%2F9b2a-fysuuya8259946.jpg&refer=http%3A%2F%2Fn.sinaimg.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1631428808&t=8aef28be74cd520e23011534f96e8c10\" alt=\"\">\n <!-- <script src=\"http://172.29.132.199:8080/error.js?a=123\" crossorigin=\"anonymous\"></script>\n <script>\n console.log(fff)\n </script> -->\n <script>new Promise(function (resolve, reject) {\n reject(123123);\n});\nnew Promise(function (resolve, reject) {\n reject(new Error('哈哈哈'));\n});</script>\n <!-- <img src=\"https://www.baidu.com/sadfas.png\" alt=\"\"> -->\n <address elementtiming=\"contentful-element3\">12312312323</address>\n <!-- <script type=\"module\" src=\"./performance/index.js\"></script> -->\n <!-- <script>\n function perf_observer(list, observer) { \n window.list = list\n console.log(1111111, list, list.getEntries())\n } \n var observer2 = new PerformanceObserver(perf_observer); \n observer2.observe({type: \"largest-contentful-paint\"});\n </script> -->\n </body>\n</html>\n"},"sourceMaps":null,"error":null,"hash":"edf5b3487a72be926361d5b087853c13","cacheData":{"env":{}}} | ||
{"id":"index.html","dependencies":[{"name":"/Users/jxr/workplace/demo/monitor/package.json","includedInParent":true,"mtime":1719802351235}],"generated":{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Document</title>\n </head>\n <body>\n <h1>标题演示</h1>\n <article elementtiming=\"contentful-element1\">\n sdifsdfisidfjsidjfisodfsdf\n </article>\n <input type=\"text\" name=\"name\" id=\"\">\n <img elementtiming=\"contentful-element2\" src=\"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fn.sinaimg.cn%2Fsinacn13%2F437%2Fw640h597%2F20180405%2F9b2a-fysuuya8259946.jpg&refer=http%3A%2F%2Fn.sinaimg.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1631428808&t=8aef28be74cd520e23011534f96e8c10\" alt=\"\">\n <!-- <script src=\"http://172.29.132.199:8080/error.js?a=123\" crossorigin=\"anonymous\"></script>\n <script>\n console.log(fff)\n </script> -->\n <script>new Promise(function (resolve, reject) {\n reject(123123);\n});\nnew Promise(function (resolve, reject) {\n reject(new Error('哈哈哈'));\n});</script>\n <!-- <img src=\"https://www.baidu.com/sadfas.png\" alt=\"\"> -->\n <address elementtiming=\"contentful-element3\">12312312323</address>\n <!-- <script type=\"module\" src=\"./performance/index.js\"></script> -->\n <!-- <script>\n function perf_observer(list, observer) { \n window.list = list\n console.log(1111111, list, list.getEntries())\n } \n var observer2 = new PerformanceObserver(perf_observer); \n observer2.observe({type: \"largest-contentful-paint\"});\n </script> -->\n </body>\n</html>\n"},"sourceMaps":null,"error":null,"hash":"edf5b3487a72be926361d5b087853c13","cacheData":{"env":{}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"id":"error.html","dependencies":[{"name":"./performance/index.js","dynamic":true,"resolved":"/Users/jxr/workplace/demo/monitor/example/performance/index.js","parent":"/Users/jxr/workplace/demo/monitor/example/error.html"},{"name":"./performance/error.js","dynamic":true,"resolved":"/Users/jxr/workplace/demo/monitor/example/performance/error.js","parent":"/Users/jxr/workplace/demo/monitor/example/error.html"},{"name":"/Users/jxr/workplace/demo/monitor/package.json","includedInParent":true,"mtime":1639741900078}],"generated":{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Document</title>\n <script src=\"/1108e456993f32bb4e6c6d612aa91334.js\"></script>\n <script src=\"/c1c1a9f060281e2c21b99742afe91feb.js\"></script>\n <!-- ========== js报错 -->\n <script>console.log(aaa);</script>\n <script src=\"http://172.29.132.199:8080/error.js?a=123\" crossorigin=\"anonymous\"></script>\n <!-- ========== unhandledrejection 报错 -->\n <script>new Promise(function (resolve, reject) {\n reject(123123);\n});\nnew Promise(function (resolve, reject) {\n reject(new Error('哈哈哈'));\n});</script> \n </head>\n <body>\n <h1>标题演示</h1>\n <article elementtiming=\"contentful-element1\">\n sdifsdfisidfjsidjfisodfsdf\n </article>\n <input type=\"text\" name=\"name\" id=\"\">\n <!-- ========== 加载错误 -->\n <!-- <link rel=\"stylesheet\" href=\"https://www.baidu.com/sadfas/a.css\">\n <img src=\"https://www.baidu.com/sadfas.js\" alt=\"\"> -->\n <address elementtiming=\"contentful-element3\">12312312323</address>\n <!-- ========== iframe错误 -->\n <!-- <iframe src=\"./errorifame.html\" frameborder=\"1\" crossorigin=\"anonymous\"></iframe> -->\n <!-- <iframe src=\"http://172.29.132.199:8080/error.html\" frameborder=\"1\" crossorigin=\"anonymous\"></iframe> -->\n </body>\n</html>\n"},"sourceMaps":null,"error":null,"hash":"316b878bdf35914660bc929915742f31","cacheData":{"env":{}}} | ||
{"id":"error.html","dependencies":[{"name":"./performance/index.js","dynamic":true,"resolved":"/Users/jxr/workplace/demo/monitor/example/performance/index.js","parent":"/Users/jxr/workplace/demo/monitor/example/error.html"},{"name":"./performance/error.js","dynamic":true,"resolved":"/Users/jxr/workplace/demo/monitor/example/performance/error.js","parent":"/Users/jxr/workplace/demo/monitor/example/error.html"},{"name":"/Users/jxr/workplace/demo/monitor/package.json","includedInParent":true,"mtime":1719802351235}],"generated":{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Document</title>\n <script src=\"/1108e456993f32bb4e6c6d612aa91334.js\"></script>\n <script src=\"/c1c1a9f060281e2c21b99742afe91feb.js\"></script>\n <!-- ========== js报错 -->\n <script>console.log(aaa);</script>\n <script src=\"http://172.29.132.199:8080/error.js?a=123\" crossorigin=\"anonymous\"></script>\n <!-- ========== unhandledrejection 报错 -->\n <script>new Promise(function (resolve, reject) {\n reject(123123);\n});\nnew Promise(function (resolve, reject) {\n reject(new Error('哈哈哈'));\n});</script> \n </head>\n <body>\n <h1>标题演示</h1>\n <article elementtiming=\"contentful-element1\">\n sdifsdfisidfjsidjfisodfsdf\n </article>\n <input type=\"text\" name=\"name\" id=\"\">\n <!-- ========== 加载错误 -->\n <!-- <link rel=\"stylesheet\" href=\"https://www.baidu.com/sadfas/a.css\">\n <img src=\"https://www.baidu.com/sadfas.js\" alt=\"\"> -->\n <address elementtiming=\"contentful-element3\">12312312323</address>\n <!-- ========== iframe错误 -->\n <!-- <iframe src=\"./errorifame.html\" frameborder=\"1\" crossorigin=\"anonymous\"></iframe> -->\n <!-- <iframe src=\"http://172.29.132.199:8080/error.html\" frameborder=\"1\" crossorigin=\"anonymous\"></iframe> -->\n </body>\n</html>\n"},"sourceMaps":null,"error":null,"hash":"316b878bdf35914660bc929915742f31","cacheData":{"env":{}}} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.