@posthog/rrweb-snapshot 0.0.55 → 0.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,45 +1,45 @@
1
- import { D, I, b, c, g, i, n, r, a, d, s, t, v, w } from "./record-BhFABPFv.js";
1
+ import { DEFAULT_MAX_DEPTH, IGNORED_NODE, classMatchesRegex, cleanupSnapshot, genId, ignoreAttribute, needMaskingText, resetMaxDepthState, serializeNodeWithId, slimDOMDefaults, snapshot, transformAttribute, visitSnapshot, wasMaxDepthReached } from "./record.js";
2
2
  import { adaptCssForReplay, buildNodeWithSN, createCache, rebuild } from "./replay.js";
3
- import { M, N, o, p, h, e, n as n2, f, l, j, d as d2, g as g2, i as i2, b as b2, k, a as a2, m, r as r2, c as c2, s as s2, t as t2 } from "./types-D1TQIdgp.js";
3
+ import { M, N, o, p, h, e, n, f, l, j, d, g, i, b, k, a, m, r, c, s, t } from "./types-D1TQIdgp.js";
4
4
  export {
5
- D as DEFAULT_MAX_DEPTH,
6
- I as IGNORED_NODE,
5
+ DEFAULT_MAX_DEPTH,
6
+ IGNORED_NODE,
7
7
  M as Mirror,
8
8
  N as NodeType,
9
9
  o as absolutifyURLs,
10
10
  adaptCssForReplay,
11
11
  buildNodeWithSN,
12
12
  p as checkDataURLSize,
13
- b as classMatchesRegex,
14
- c as cleanupSnapshot,
13
+ classMatchesRegex,
14
+ cleanupSnapshot,
15
15
  createCache,
16
16
  h as createMirror,
17
17
  e as escapeImportStatement,
18
- n2 as extractFileExtension,
18
+ n as extractFileExtension,
19
19
  f as fixSafariColons,
20
- g as genId,
20
+ genId,
21
21
  l as getInputType,
22
- i as ignoreAttribute,
22
+ ignoreAttribute,
23
23
  j as is2DCanvasBlank,
24
- d2 as isCSSImportRule,
25
- g2 as isCSSStyleRule,
26
- i2 as isElement,
27
- b2 as isNativeShadowDom,
24
+ d as isCSSImportRule,
25
+ g as isCSSStyleRule,
26
+ i as isElement,
27
+ b as isNativeShadowDom,
28
28
  k as isNodeMetaEqual,
29
- a2 as isShadowRoot,
29
+ a as isShadowRoot,
30
30
  m as maskInputValue,
31
- n as needMaskingText,
31
+ needMaskingText,
32
32
  rebuild,
33
- r2 as recompressBase64Image,
34
- r as resetMaxDepthState,
35
- a as serializeNodeWithId,
36
- d as slimDOMDefaults,
37
- s as snapshot,
38
- c2 as stringifyRule,
39
- s2 as stringifyStylesheet,
40
- t2 as toLowerCase,
41
- t as transformAttribute,
42
- v as visitSnapshot,
43
- w as wasMaxDepthReached
33
+ r as recompressBase64Image,
34
+ resetMaxDepthState,
35
+ serializeNodeWithId,
36
+ slimDOMDefaults,
37
+ snapshot,
38
+ c as stringifyRule,
39
+ s as stringifyStylesheet,
40
+ t as toLowerCase,
41
+ transformAttribute,
42
+ visitSnapshot,
43
+ wasMaxDepthReached
44
44
  };
45
45
  //# sourceMappingURL=rrweb-snapshot.js.map
@@ -590,10 +590,11 @@ var require_types_BjupQhwp = __commonJS({
590
590
  }
591
591
  });
592
592
 
593
- // dist/record-Rc5ocxPN.cjs
594
- var require_record_Rc5ocxPN = __commonJS({
595
- "dist/record-Rc5ocxPN.cjs"(exports2) {
593
+ // dist/record.cjs
594
+ var require_record = __commonJS({
595
+ "dist/record.cjs"(exports2) {
596
596
  "use strict";
597
+ Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });
597
598
  var types2 = require_types_BjupQhwp();
598
599
  var _id = 1;
599
600
  var tagNameRegex = new RegExp("[^a-z0-9-_:]");
@@ -1593,6 +1594,27 @@ var require_record_Rc5ocxPN = __commonJS({
1593
1594
  function cleanupSnapshot() {
1594
1595
  _id = 1;
1595
1596
  }
1597
+ exports2.Mirror = types2.Mirror;
1598
+ exports2.NodeType = types2.NodeType;
1599
+ exports2.absolutifyURLs = types2.absolutifyURLs;
1600
+ exports2.checkDataURLSize = types2.checkDataURLSize;
1601
+ exports2.createMirror = types2.createMirror;
1602
+ exports2.escapeImportStatement = types2.escapeImportStatement;
1603
+ exports2.extractFileExtension = types2.extractFileExtension;
1604
+ exports2.fixSafariColons = types2.fixSafariColons;
1605
+ exports2.getInputType = types2.getInputType;
1606
+ exports2.is2DCanvasBlank = types2.is2DCanvasBlank;
1607
+ exports2.isCSSImportRule = types2.isCSSImportRule;
1608
+ exports2.isCSSStyleRule = types2.isCSSStyleRule;
1609
+ exports2.isElement = types2.isElement;
1610
+ exports2.isNativeShadowDom = types2.isNativeShadowDom;
1611
+ exports2.isNodeMetaEqual = types2.isNodeMetaEqual;
1612
+ exports2.isShadowRoot = types2.isShadowRoot;
1613
+ exports2.maskInputValue = types2.maskInputValue;
1614
+ exports2.recompressBase64Image = types2.recompressBase64Image;
1615
+ exports2.stringifyRule = types2.stringifyRule;
1616
+ exports2.stringifyStylesheet = types2.stringifyStylesheet;
1617
+ exports2.toLowerCase = types2.toLowerCase;
1596
1618
  exports2.DEFAULT_MAX_DEPTH = DEFAULT_MAX_DEPTH;
1597
1619
  exports2.IGNORED_NODE = IGNORED_NODE;
1598
1620
  exports2.classMatchesRegex = classMatchesRegex;
@@ -6011,7 +6033,7 @@ var require_replay = __commonJS({
6011
6033
 
6012
6034
  // dist/rrweb-snapshot.cjs
6013
6035
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
6014
- var record = require_record_Rc5ocxPN();
6036
+ var record = require_record();
6015
6037
  var replay = require_replay();
6016
6038
  var types = require_types_BjupQhwp();
6017
6039
  exports.DEFAULT_MAX_DEPTH = record.DEFAULT_MAX_DEPTH;