videomail-client 5.3.0 → 5.4.1
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.
package/TODO.md
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
| src/js/util/humanize.js | 4 | get rid of this class and use those imports directly
|
|
8
8
|
| src/js/wrappers/container.js | 293 | figure out how to fire dom's onload event again
|
|
9
9
|
| src/js/wrappers/container.js | 294 | or how to run all the scripts over again
|
|
10
|
-
| src/js/wrappers/container.js | 576 | CONTINUE FROM HERE, MAKE VALIDATION CLEVER WHEN AUTOMATIC SO THAT IT REQUIRES AT
|
|
11
10
|
| src/js/wrappers/optionsWrapper.js | 27 | fix this, it's not really an option
|
|
12
11
|
| src/js/wrappers/visuals/recorder.js | 582 | in https://github.com/binarykitchen/videomail-client/issues/142
|
|
13
12
|
| src/js/wrappers/visuals/recorder.js | 619 | retry with navigator.getUserMedia_() maybe?
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videomail-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.1",
|
|
4
4
|
"description": "A wicked npm package to record videos directly in the browser, wohooo!",
|
|
5
5
|
"author": "Michael Heuberger <michael.heuberger@binarykitchen.com>",
|
|
6
6
|
"contributors": [
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@babel/runtime": "7.20.
|
|
61
|
+
"@babel/runtime": "7.20.6",
|
|
62
62
|
"add-eventlistener-with-options": "1.25.5",
|
|
63
63
|
"animitter": "3.0.0",
|
|
64
64
|
"audio-sample": "2.0.0",
|
|
@@ -85,12 +85,12 @@
|
|
|
85
85
|
"readystate": "0.4.1",
|
|
86
86
|
"request-frame": "1.5.3",
|
|
87
87
|
"safe-json-stringify": "1.2.0",
|
|
88
|
-
"superagent": "8.0.
|
|
88
|
+
"superagent": "8.0.5",
|
|
89
89
|
"ua-parser-js": "0.7.32",
|
|
90
90
|
"websocket-stream": "5.5.2"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@babel/core": "7.20.
|
|
93
|
+
"@babel/core": "7.20.5",
|
|
94
94
|
"@babel/eslint-parser": "7.19.1",
|
|
95
95
|
"@babel/plugin-transform-runtime": "7.19.6",
|
|
96
96
|
"@babel/preset-env": "7.20.2",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"connect-send-json": "1.0.0",
|
|
103
103
|
"cssnano": "5.1.14",
|
|
104
104
|
"del": "6.1.1",
|
|
105
|
-
"eslint": "8.
|
|
105
|
+
"eslint": "8.29.0",
|
|
106
106
|
"eslint-config-prettier": "8.5.0",
|
|
107
107
|
"eslint-plugin-import": "2.26.0",
|
|
108
108
|
"eslint-plugin-node": "11.1.0",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"minimist": "1.2.7",
|
|
129
129
|
"nib": "1.2.0",
|
|
130
130
|
"postcss": "8.4.19",
|
|
131
|
-
"prettier": "2.
|
|
131
|
+
"prettier": "2.8.0",
|
|
132
132
|
"router": "1.3.7",
|
|
133
133
|
"tape": "5.6.1",
|
|
134
134
|
"tape-catch": "1.0.6",
|
|
@@ -22758,7 +22758,7 @@ RequestBase.prototype.field = function (name, value, options) {
|
|
|
22758
22758
|
value = String(value);
|
|
22759
22759
|
}
|
|
22760
22760
|
|
|
22761
|
-
// fix https://github.com/
|
|
22761
|
+
// fix https://github.com/ladjs/superagent/issues/1680
|
|
22762
22762
|
if (options) this._getFormData().append(name, value, options);else this._getFormData().append(name, value);
|
|
22763
22763
|
return this;
|
|
22764
22764
|
};
|
|
@@ -22784,7 +22784,7 @@ RequestBase.prototype.abort = function () {
|
|
|
22784
22784
|
//
|
|
22785
22785
|
// References:
|
|
22786
22786
|
// <https://github.com/nodejs/node/issues/31630>
|
|
22787
|
-
// <https://github.com/
|
|
22787
|
+
// <https://github.com/ladjs/superagent/pull/1084/commits/dc18679a7c5ccfc6046d882015e5126888973bc8>
|
|
22788
22788
|
//
|
|
22789
22789
|
// Thanks to @shadowgate15 and @niftylettuce
|
|
22790
22790
|
if (semver.gte(process.version, 'v13.0.0') && semver.lt(process.version, 'v14.0.0')) {
|
|
@@ -22829,7 +22829,8 @@ RequestBase.prototype._auth = function (user, pass, options, base64Encoder) {
|
|
|
22829
22829
|
* using "Access-Control-Allow-Origin" with a wildcard,
|
|
22830
22830
|
* and also must set "Access-Control-Allow-Credentials"
|
|
22831
22831
|
* to "true".
|
|
22832
|
-
*
|
|
22832
|
+
* @param {Boolean} [on=true] - Set 'withCredentials' state
|
|
22833
|
+
* @return {Request} for chaining
|
|
22833
22834
|
* @api public
|
|
22834
22835
|
*/
|
|
22835
22836
|
|
|
@@ -26004,7 +26005,7 @@ function wrappy (fn, cb) {
|
|
|
26004
26005
|
},{}],345:[function(_dereq_,module,exports){
|
|
26005
26006
|
module.exports={
|
|
26006
26007
|
"name": "videomail-client",
|
|
26007
|
-
"version": "5.
|
|
26008
|
+
"version": "5.4.1",
|
|
26008
26009
|
"description": "A wicked npm package to record videos directly in the browser, wohooo!",
|
|
26009
26010
|
"author": "Michael Heuberger <michael.heuberger@binarykitchen.com>",
|
|
26010
26011
|
"contributors": [
|
|
@@ -26062,7 +26063,7 @@ module.exports={
|
|
|
26062
26063
|
]
|
|
26063
26064
|
},
|
|
26064
26065
|
"dependencies": {
|
|
26065
|
-
"@babel/runtime": "7.20.
|
|
26066
|
+
"@babel/runtime": "7.20.6",
|
|
26066
26067
|
"add-eventlistener-with-options": "1.25.5",
|
|
26067
26068
|
"animitter": "3.0.0",
|
|
26068
26069
|
"audio-sample": "2.0.0",
|
|
@@ -26089,12 +26090,12 @@ module.exports={
|
|
|
26089
26090
|
"readystate": "0.4.1",
|
|
26090
26091
|
"request-frame": "1.5.3",
|
|
26091
26092
|
"safe-json-stringify": "1.2.0",
|
|
26092
|
-
"superagent": "8.0.
|
|
26093
|
+
"superagent": "8.0.5",
|
|
26093
26094
|
"ua-parser-js": "0.7.32",
|
|
26094
26095
|
"websocket-stream": "5.5.2"
|
|
26095
26096
|
},
|
|
26096
26097
|
"devDependencies": {
|
|
26097
|
-
"@babel/core": "7.20.
|
|
26098
|
+
"@babel/core": "7.20.5",
|
|
26098
26099
|
"@babel/eslint-parser": "7.19.1",
|
|
26099
26100
|
"@babel/plugin-transform-runtime": "7.19.6",
|
|
26100
26101
|
"@babel/preset-env": "7.20.2",
|
|
@@ -26106,7 +26107,7 @@ module.exports={
|
|
|
26106
26107
|
"connect-send-json": "1.0.0",
|
|
26107
26108
|
"cssnano": "5.1.14",
|
|
26108
26109
|
"del": "6.1.1",
|
|
26109
|
-
"eslint": "8.
|
|
26110
|
+
"eslint": "8.29.0",
|
|
26110
26111
|
"eslint-config-prettier": "8.5.0",
|
|
26111
26112
|
"eslint-plugin-import": "2.26.0",
|
|
26112
26113
|
"eslint-plugin-node": "11.1.0",
|
|
@@ -26132,7 +26133,7 @@ module.exports={
|
|
|
26132
26133
|
"minimist": "1.2.7",
|
|
26133
26134
|
"nib": "1.2.0",
|
|
26134
26135
|
"postcss": "8.4.19",
|
|
26135
|
-
"prettier": "2.
|
|
26136
|
+
"prettier": "2.8.0",
|
|
26136
26137
|
"router": "1.3.7",
|
|
26137
26138
|
"tape": "5.6.1",
|
|
26138
26139
|
"tape-catch": "1.0.6",
|
|
@@ -28914,12 +28915,9 @@ var Container = function Container(options) {
|
|
|
28914
28915
|
if (invalidInput) {
|
|
28915
28916
|
whyInvalid = 'Form input named ' + invalidInput.name + ' is invalid. It has the value: "' + invalidInput.value + '"';
|
|
28916
28917
|
} else {
|
|
28917
|
-
whyInvalid = 'Form input(s
|
|
28918
|
+
whyInvalid = 'Form input(s) are invalid';
|
|
28918
28919
|
}
|
|
28919
28920
|
}
|
|
28920
|
-
|
|
28921
|
-
// TODO CONTINUE FROM HERE, MAKE VALIDATION CLEVER WHEN AUTOMATIC SO THAT IT REQUIRES AT
|
|
28922
|
-
// LEAST ONE RECIPIENT AMONG TO/CC/BCC
|
|
28923
28921
|
if (valid) {
|
|
28924
28922
|
var _recipients$to, _recipients$cc, _recipients$bcc;
|
|
28925
28923
|
// If CC and/or BCC exist, validate one more time to ensure at least
|
|
@@ -28961,9 +28959,6 @@ var Container = function Container(options) {
|
|
|
28961
28959
|
if (!valid) {
|
|
28962
28960
|
whyInvalid = 'Please enter at least one recipient.';
|
|
28963
28961
|
}
|
|
28964
|
-
console.log({
|
|
28965
|
-
recipients: recipients
|
|
28966
|
-
});
|
|
28967
28962
|
}
|
|
28968
28963
|
} else {
|
|
28969
28964
|
valid = visualsValid;
|