videomail-client 2.16.3 → 2.18.0
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/.browserslistrc +1 -2
- package/.eslintrc.js +21 -0
- package/.nvmrc +1 -1
- package/TODO.md +2 -2
- package/audit-ci.json +8 -1
- package/gulpfile.js +2 -1
- package/package.json +27 -27
- package/prototype/js/videomail-client.js +6711 -6374
- package/prototype/js/videomail-client.min.js +12 -17
- package/prototype/js/videomail-client.min.js.map +1 -1
- package/.eslintrc.json +0 -18
package/.browserslistrc
CHANGED
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
parser: '@babel/eslint-parser',
|
|
3
|
+
extends: ['eslint:recommended', 'prettier'],
|
|
4
|
+
env: {
|
|
5
|
+
browser: true,
|
|
6
|
+
node: true,
|
|
7
|
+
es6: true
|
|
8
|
+
},
|
|
9
|
+
rules: {
|
|
10
|
+
'no-else-return': 1,
|
|
11
|
+
'space-before-function-paren': [
|
|
12
|
+
'error',
|
|
13
|
+
{
|
|
14
|
+
anonymous: 'ignore',
|
|
15
|
+
named: 'ignore',
|
|
16
|
+
asyncArrow: 'ignore'
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
ignorePatterns: ['node_modules/*']
|
|
21
|
+
}
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
16.
|
|
1
|
+
16.13.1
|
package/TODO.md
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
| src/js/wrappers/visuals/recorder.js | 754 | consider removing this later or have it for debug=1 only?
|
|
15
15
|
| src/js/wrappers/visuals/userMedia.js | 309 | consider removing that if it's not the case anymore (for better performance)
|
|
16
16
|
| gulpfile.js | 1 | write this in ES6 once i have figured out how to
|
|
17
|
-
| gulpfile.js |
|
|
18
|
-
| gulpfile.js |
|
|
17
|
+
| gulpfile.js | 58 | fix this, so that it also works when not minified, this
|
|
18
|
+
| gulpfile.js | 63 | location is bad, should be in a temp folder or so
|
package/audit-ci.json
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"high": true,
|
|
3
3
|
"package-manager": "npm",
|
|
4
|
-
"allowlist": [
|
|
4
|
+
"allowlist": [
|
|
5
|
+
"GHSA-wg6g-ppvx-927h",
|
|
6
|
+
"GHSA-ww39-953v-wcq6",
|
|
7
|
+
"GHSA-jf85-cpcp-j695",
|
|
8
|
+
"GHSA-xvch-5gv4-984h",
|
|
9
|
+
"GHSA-4cpg-3vgw-4877",
|
|
10
|
+
"GHSA-7p7h-4mm5-852v"
|
|
11
|
+
]
|
|
5
12
|
}
|
package/gulpfile.js
CHANGED
|
@@ -36,7 +36,8 @@ const options = minimist(process.argv.slice(2), { default: defaultOptions })
|
|
|
36
36
|
log.info('Options:', options)
|
|
37
37
|
|
|
38
38
|
function cleanJs(cb) {
|
|
39
|
-
|
|
39
|
+
del.sync(['prototype/js/*.js', 'prototype/js/*.js.map'])
|
|
40
|
+
cb()
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
function stylus() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videomail-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.0",
|
|
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": [
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"patch": "./env/dev/release.sh --importance=patch",
|
|
27
27
|
"minor": "./env/dev/release.sh --importance=minor",
|
|
28
28
|
"major": "./env/dev/release.sh --importance=major",
|
|
29
|
-
"lint": "eslint ./src ./test gulpfile.js",
|
|
29
|
+
"lint": "eslint --color --ext .js ./src ./test ./gulpfile.js",
|
|
30
30
|
"lint-fix": "npm --silent run lint -- --fix; exit 0",
|
|
31
31
|
"prettier": "prettier --check ./src ./test gulpfile.js",
|
|
32
32
|
"prettier-fix": "prettier --write ./src ./test gulpfile.js"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
35
|
-
"node": "^16.
|
|
35
|
+
"node": "^16.13.1"
|
|
36
36
|
},
|
|
37
37
|
"keywords": [
|
|
38
38
|
"webcam",
|
|
@@ -58,24 +58,24 @@
|
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@babel/runtime": "7.
|
|
61
|
+
"@babel/runtime": "7.17.8",
|
|
62
62
|
"add-eventlistener-with-options": "1.25.5",
|
|
63
63
|
"animitter": "3.0.0",
|
|
64
|
-
"audio-sample": "
|
|
65
|
-
"canvas-to-buffer": "
|
|
64
|
+
"audio-sample": "2.0.0",
|
|
65
|
+
"canvas-to-buffer": "2.0.0",
|
|
66
66
|
"classlist.js": "1.1.20150312",
|
|
67
67
|
"contains": "0.1.1",
|
|
68
|
-
"core-js": "3.
|
|
68
|
+
"core-js": "3.21.1",
|
|
69
69
|
"create-error": "0.3.1",
|
|
70
70
|
"deepmerge": "4.2.2",
|
|
71
71
|
"defined": "1.0.0",
|
|
72
72
|
"despot": "1.1.3",
|
|
73
73
|
"document-visibility": "1.0.1",
|
|
74
74
|
"element-closest": "3.0.2",
|
|
75
|
-
"filesize": "8.0.
|
|
75
|
+
"filesize": "8.0.7",
|
|
76
76
|
"get-form-data": "3.0.0",
|
|
77
77
|
"hidden": "1.1.1",
|
|
78
|
-
"humanize-duration": "3.27.
|
|
78
|
+
"humanize-duration": "3.27.1",
|
|
79
79
|
"hyperscript": "2.0.2",
|
|
80
80
|
"insert-css": "2.0.0",
|
|
81
81
|
"iphone-inline-video": "2.2.2",
|
|
@@ -90,24 +90,24 @@
|
|
|
90
90
|
"websocket-stream": "5.5.2"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@babel/core": "7.
|
|
94
|
-
"@babel/
|
|
95
|
-
"@babel/
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
93
|
+
"@babel/core": "7.17.8",
|
|
94
|
+
"@babel/eslint-parser": "7.17.0",
|
|
95
|
+
"@babel/plugin-transform-runtime": "7.17.0",
|
|
96
|
+
"@babel/preset-env": "7.16.11",
|
|
97
|
+
"audit-ci": "6.1.2",
|
|
98
|
+
"autoprefixer": "10.4.4",
|
|
99
99
|
"babelify": "10.0.0",
|
|
100
|
-
"body-parser": "1.
|
|
100
|
+
"body-parser": "1.20.0",
|
|
101
101
|
"browserify": "17.0.0",
|
|
102
102
|
"connect-send-json": "1.0.0",
|
|
103
|
-
"cssnano": "5.
|
|
103
|
+
"cssnano": "5.1.7",
|
|
104
104
|
"del": "6.0.0",
|
|
105
|
-
"eslint": "
|
|
106
|
-
"eslint-config-
|
|
107
|
-
"eslint-plugin-import": "2.25.
|
|
105
|
+
"eslint": "8.12.0",
|
|
106
|
+
"eslint-config-prettier": "8.5.0",
|
|
107
|
+
"eslint-plugin-import": "2.25.4",
|
|
108
108
|
"eslint-plugin-node": "11.1.0",
|
|
109
|
-
"eslint-plugin-promise": "
|
|
110
|
-
"fancy-log": "
|
|
109
|
+
"eslint-plugin-promise": "6.0.0",
|
|
110
|
+
"fancy-log": "2.0.0",
|
|
111
111
|
"glob": "7.2.0",
|
|
112
112
|
"gulp": "4.0.2",
|
|
113
113
|
"gulp-bump": "3.2.0",
|
|
@@ -122,15 +122,15 @@
|
|
|
122
122
|
"gulp-postcss": "9.0.1",
|
|
123
123
|
"gulp-rename": "2.0.0",
|
|
124
124
|
"gulp-sourcemaps": "3.0.0",
|
|
125
|
-
"gulp-stylus": "2.7.
|
|
125
|
+
"gulp-stylus": "2.7.1",
|
|
126
126
|
"gulp-terser": "2.1.0",
|
|
127
127
|
"gulp-todo": "7.1.1",
|
|
128
|
-
"minimist": "1.2.
|
|
128
|
+
"minimist": "1.2.6",
|
|
129
129
|
"nib": "1.1.2",
|
|
130
|
-
"postcss": "8.4.
|
|
131
|
-
"prettier": "2.
|
|
130
|
+
"postcss": "8.4.12",
|
|
131
|
+
"prettier": "2.6.2",
|
|
132
132
|
"router": "1.3.6",
|
|
133
|
-
"tape": "5.
|
|
133
|
+
"tape": "5.5.2",
|
|
134
134
|
"tape-catch": "1.0.6",
|
|
135
135
|
"tape-run": "9.0.0",
|
|
136
136
|
"vinyl-buffer": "1.0.1",
|