@vidtreo/recorder 1.3.2 → 1.3.3

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3908,7 +3908,7 @@ class CameraStreamManager {
3908
3908
  // package.json
3909
3909
  var package_default = {
3910
3910
  name: "@vidtreo/recorder",
3911
- version: "1.3.2",
3911
+ version: "1.3.3",
3912
3912
  type: "module",
3913
3913
  description: "Vidtreo SDK for browser-based video recording and transcoding. Features include camera/screen recording, real-time MP4 transcoding, audio level analysis, mute/pause controls, source switching, device selection, and automatic backend uploads. Similar to Ziggeo and Addpipe, Vidtreo provides enterprise-grade video processing capabilities for web applications.",
3914
3914
  main: "./dist/index.js",
@@ -17871,7 +17871,8 @@ function calculateBarColor(position) {
17871
17871
  return `rgb(0, ${Math.round(128 - (100 - 128) * t)}, ${Math.round(128 + (200 - 128) * t)})`;
17872
17872
  }
17873
17873
  // src/core/utils/browser-error-utils.ts
17874
- var ANCHOR_TAG_PATTERN = /<a\s+href="(?<href>[^"]+)"(?:\s+target="(?<target>[^"]+)")?\s*>(?<text>[^<]+)<\/a>/;
17874
+ var ANCHOR_TAG_PATTERN = /<a\s[^>]*href="(?<href>[^"]+)"[^>]*>(?<text>[^<]+)<\/a>/;
17875
+ var TARGET_ATTRIBUTE_PATTERN = /\starget=["'](?<target>[^"']+)["']/;
17875
17876
  var SAFE_PROTOCOL_HTTP = "http:";
17876
17877
  var SAFE_PROTOCOL_HTTPS = "https:";
17877
17878
  var URL_SCHEME_PATTERN = /^[a-zA-Z][a-zA-Z\d+\-.]*:/;
@@ -17975,10 +17976,8 @@ function parseBrowserErrorLinkContent(text) {
17975
17976
  suffix: ""
17976
17977
  };
17977
17978
  }
17978
- let linkTarget = null;
17979
- if (match.groups.target) {
17980
- linkTarget = match.groups.target;
17981
- }
17979
+ const targetMatch = TARGET_ATTRIBUTE_PATTERN.exec(match[0]);
17980
+ const linkTarget = targetMatch?.groups?.target ?? null;
17982
17981
  return {
17983
17982
  prefix,
17984
17983
  linkText: match.groups.text,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidtreo/recorder",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "type": "module",
5
5
  "description": "Vidtreo SDK for browser-based video recording and transcoding. Features include camera/screen recording, real-time MP4 transcoding, audio level analysis, mute/pause controls, source switching, device selection, and automatic backend uploads. Similar to Ziggeo and Addpipe, Vidtreo provides enterprise-grade video processing capabilities for web applications.",
6
6
  "main": "./dist/index.js",