@highlight-run/rrweb 2.1.6 → 2.1.7

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.
@@ -646,7 +646,11 @@ function serializeElementNode(n, options) {
646
646
  }
647
647
  }
648
648
  }
649
- if (tagName === 'img' && inlineImages && !needBlock && !needMask) {
649
+ if (tagName === 'img' &&
650
+ inlineImages &&
651
+ !needBlock &&
652
+ !needMask &&
653
+ !enableStrictPrivacy) {
650
654
  if (!canvasService) {
651
655
  canvasService = doc.createElement('canvas');
652
656
  canvasCtx = canvasService.getContext('2d');
@@ -648,7 +648,11 @@ function serializeElementNode(n, options) {
648
648
  }
649
649
  }
650
650
  }
651
- if (tagName === 'img' && inlineImages && !needBlock && !needMask) {
651
+ if (tagName === 'img' &&
652
+ inlineImages &&
653
+ !needBlock &&
654
+ !needMask &&
655
+ !enableStrictPrivacy) {
652
656
  if (!canvasService) {
653
657
  canvasService = doc.createElement('canvas');
654
658
  canvasCtx = canvasService.getContext('2d');
package/lib/rrweb-all.js CHANGED
@@ -650,7 +650,11 @@ function serializeElementNode(n, options) {
650
650
  }
651
651
  }
652
652
  }
653
- if (tagName === 'img' && inlineImages && !needBlock && !needMask) {
653
+ if (tagName === 'img' &&
654
+ inlineImages &&
655
+ !needBlock &&
656
+ !needMask &&
657
+ !enableStrictPrivacy) {
654
658
  if (!canvasService) {
655
659
  canvasService = doc.createElement('canvas');
656
660
  canvasCtx = canvasService.getContext('2d');
package/lib/rrweb.js CHANGED
@@ -650,7 +650,11 @@ function serializeElementNode(n, options) {
650
650
  }
651
651
  }
652
652
  }
653
- if (tagName === 'img' && inlineImages && !needBlock && !needMask) {
653
+ if (tagName === 'img' &&
654
+ inlineImages &&
655
+ !needBlock &&
656
+ !needMask &&
657
+ !enableStrictPrivacy) {
654
658
  if (!canvasService) {
655
659
  canvasService = doc.createElement('canvas');
656
660
  canvasCtx = canvasService.getContext('2d');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@highlight-run/rrweb",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "record and replay the web",
5
5
  "scripts": {
6
6
  "prepare": "npm run prepack",
@@ -76,12 +76,12 @@
76
76
  },
77
77
  "dependencies": {
78
78
  "@highlight-run/rrdom": "0.1.17",
79
- "@highlight-run/rrweb-snapshot": "1.1.29",
79
+ "@highlight-run/rrweb-snapshot": "1.1.30",
80
80
  "@types/css-font-loading-module": "0.0.7",
81
81
  "@xstate/fsm": "^1.4.0",
82
82
  "base64-arraybuffer": "^1.0.1",
83
83
  "fflate": "^0.4.4",
84
84
  "mitt": "^3.0.0"
85
85
  },
86
- "gitHead": "decc1b7fa6e0f0f50d3777c5abae92df455bd3e7"
86
+ "gitHead": "f9d87780814fe229ed2a91ade9aa0b328242dc1b"
87
87
  }