videomail-client 13.4.2 → 13.4.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.
@@ -10664,7 +10664,7 @@ var __webpack_exports__ = {};
10664
10664
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10665
10665
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10666
10666
  var package_namespaceObject = {
10667
- rE: "13.4.2"
10667
+ rE: "13.4.3"
10668
10668
  };
10669
10669
  var defined = __webpack_require__("./node_modules/defined/index.js");
10670
10670
  var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
@@ -16431,8 +16431,8 @@ var __webpack_exports__ = {};
16431
16431
  unit: "px"
16432
16432
  };
16433
16433
  let width = videoWidth;
16434
- if (void 0 !== width && width < 1) throw error_createError({
16435
- message: `Unable to calculate height for target ${target} when width is less than 1 (= ${width}) and responsive mode is set to ${responsive}`,
16434
+ if (0 === width) throw error_createError({
16435
+ message: `Unable to calculate height for target ${target} when width is zero, while responsive mode is set to ${responsive}`,
16436
16436
  options
16437
16437
  });
16438
16438
  if (responsive && element) {
package/dist/esm/index.js CHANGED
@@ -3606,7 +3606,7 @@ const constants = {
3606
3606
  }
3607
3607
  };
3608
3608
  var package_namespaceObject = {
3609
- rE: "13.4.2"
3609
+ rE: "13.4.3"
3610
3610
  };
3611
3611
  function canPlayType_canPlayType(video, type) {
3612
3612
  const canPlayType = video.canPlayType(`video/${type}`);
@@ -5790,8 +5790,8 @@ function calculateHeight(responsive, videoWidth, options, target, ratio, element
5790
5790
  unit: "px"
5791
5791
  };
5792
5792
  let width = videoWidth;
5793
- if (void 0 !== width && width < 1) throw error_createError({
5794
- message: `Unable to calculate height for target ${target} when width is less than 1 (= ${width}) and responsive mode is set to ${responsive}`,
5793
+ if (0 === width) throw error_createError({
5794
+ message: `Unable to calculate height for target ${target} when width is zero, while responsive mode is set to ${responsive}`,
5795
5795
  options
5796
5796
  });
5797
5797
  if (responsive && element) {
package/dist/umd/index.js CHANGED
@@ -10670,7 +10670,7 @@
10670
10670
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10671
10671
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10672
10672
  var package_namespaceObject = {
10673
- rE: "13.4.2"
10673
+ rE: "13.4.3"
10674
10674
  };
10675
10675
  var defined = __webpack_require__("./node_modules/defined/index.js");
10676
10676
  var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
@@ -16192,8 +16192,8 @@
16192
16192
  unit: "px"
16193
16193
  };
16194
16194
  let width = videoWidth;
16195
- if (void 0 !== width && width < 1) throw error_createError({
16196
- message: `Unable to calculate height for target ${target} when width is less than 1 (= ${width}) and responsive mode is set to ${responsive}`,
16195
+ if (0 === width) throw error_createError({
16196
+ message: `Unable to calculate height for target ${target} when width is zero, while responsive mode is set to ${responsive}`,
16197
16197
  options
16198
16198
  });
16199
16199
  if (responsive && element) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "13.4.2",
3
+ "version": "13.4.3",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",
@@ -74,38 +74,38 @@
74
74
  "websocket-stream": "5.5.2"
75
75
  },
76
76
  "devDependencies": {
77
- "@chromatic-com/storybook": "4.1.2",
77
+ "@chromatic-com/storybook": "4.1.3",
78
78
  "@eslint/config-inspector": "1.3.0",
79
79
  "@eslint/js": "9.39.1",
80
80
  "@rsbuild/plugin-node-polyfill": "1.4.2",
81
81
  "@rsbuild/plugin-stylus": "1.2.0",
82
- "@rsdoctor/rspack-plugin": "1.3.9",
83
- "@rslib/core": "0.17.2",
84
- "@storybook/addon-a11y": "10.0.7",
85
- "@storybook/addon-docs": "10.0.7",
86
- "@storybook/addon-links": "10.0.7",
87
- "@storybook/html": "10.0.7",
88
- "@tsconfig/node22": "22.0.3",
82
+ "@rsdoctor/rspack-plugin": "1.3.11",
83
+ "@rslib/core": "0.18.0",
84
+ "@storybook/addon-a11y": "10.0.8",
85
+ "@storybook/addon-docs": "10.0.8",
86
+ "@storybook/addon-links": "10.0.8",
87
+ "@storybook/html": "10.0.8",
88
+ "@tsconfig/node22": "22.0.5",
89
89
  "@tsconfig/strictest": "2.0.8",
90
90
  "@types/defined": "1.0.2",
91
91
  "@types/node": "24.10.1",
92
92
  "@types/superagent": "8.1.9",
93
93
  "@types/ua-parser-js": "0.7.39",
94
- "@vitest/eslint-plugin": "1.4.2",
94
+ "@vitest/eslint-plugin": "1.4.3",
95
95
  "audit-ci": "7.1.0",
96
- "chromatic": "13.3.3",
96
+ "chromatic": "13.3.4",
97
97
  "cross-env": "10.1.0",
98
98
  "eslint": "9.39.1",
99
99
  "eslint-import-resolver-typescript": "4.4.4",
100
100
  "eslint-plugin-de-morgan": "2.0.0",
101
101
  "eslint-plugin-depend": "1.4.0",
102
102
  "eslint-plugin-import-x": "4.16.1",
103
- "eslint-plugin-package-json": "0.79.0",
103
+ "eslint-plugin-package-json": "0.85.0",
104
104
  "eslint-plugin-promise": "7.2.1",
105
105
  "eslint-plugin-regexp": "2.10.0",
106
106
  "eslint-plugin-security": "3.0.1",
107
107
  "eslint-plugin-simple-import-sort": "12.1.1",
108
- "eslint-plugin-storybook": "10.0.7",
108
+ "eslint-plugin-storybook": "10.0.8",
109
109
  "globals": "16.5.0",
110
110
  "jsdom": "27.2.0",
111
111
  "msw": "2.12.2",
@@ -115,12 +115,12 @@
115
115
  "prettier-plugin-packagejson": "2.5.19",
116
116
  "prettier-plugin-sh": "0.18.0",
117
117
  "release-it": "19.0.6",
118
- "storybook": "10.0.7",
119
- "storybook-html-rsbuild": "2.1.5",
118
+ "storybook": "10.0.8",
119
+ "storybook-html-rsbuild": "2.1.6",
120
120
  "type-fest": "5.2.0",
121
121
  "typescript": "5.9.3",
122
122
  "typescript-eslint": "8.41.0",
123
- "vitest": "4.0.9"
123
+ "vitest": "4.0.10"
124
124
  },
125
125
  "engines": {
126
126
  "node": "^24.11.0",