package: upate most dependencies

This commit is contained in:
jean-emmanuel 2022-05-22 16:44:32 +02:00
parent ad78141b11
commit 15361f67b7
6 changed files with 22249 additions and 40 deletions

1
.gitignore vendored
View file

@ -11,5 +11,4 @@ app/docs/*
!app/docs/.htaccess
!app/server/.keep
app/package.json
package-lock.json
*.pyc

22213
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -20,63 +20,64 @@
"homepage": "http://openstagecontrol.ammd.net/",
"license": "GPL-3.0",
"dependencies": {
"@babel/core": "7.13.16",
"@babel/plugin-proposal-object-rest-spread": "7.13.8",
"@babel/core": "^7.18.0",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-object-rest-spread": "^7.18.0",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.13.15",
"@electron/remote": "2.0.1",
"ansi-html": "0.0.7",
"babel-eslint": "10.1.0",
"@babel/preset-env": "^7.18.0",
"@electron/remote": "^2.0.8",
"ansi-html": "0.0.9",
"babelify": "10.0.0",
"balanced-match": "1.0.0",
"balanced-match": "^2.0.0",
"bonjour": "github:jean-emmanuel/bonjour",
"brace": "0.11.1",
"browserify": "17.0.0",
"chokidar": "3.5.1",
"chroma-js": "2.1.1",
"core-js": "3.11.0",
"chokidar": "^3.5.3",
"chroma-js": "^2.4.2",
"core-js": "^3.22.5",
"cpr": "3.0.1",
"deep-extend": "0.6.0",
"electron-localshortcut": "3.2.1",
"electron-packager": "15.2.0",
"electron-packager": "^15.5.1",
"electron-packager-plugin-non-proprietary-codecs-ffmpeg": "1.0.2",
"env-paths": "2.2.1",
"eslint": "7.24.0",
"env-paths": "^2.2.1",
"eslint": "^8.16.0",
"exorcist": "2.0.0",
"fastdom": "^1.0.10",
"file-saver": "2.0.5",
"gyronorm": "2.0.6",
"http-auth": "4.1.5",
"json5": "2.2.0",
"http-auth": "^4.1.9",
"json5": "^2.2.1",
"jsondiffpatch": "0.4.1",
"keyboardjs": "2.6.4",
"licensify": "3.1.3",
"loop-protect": "github:jean-emmanuel/loop-protect#v1.0.1",
"minimatch": "3.0.4",
"nanohtml": "1.9.1",
"nanoid": "3.1.22",
"minimatch": "^5.1.0",
"nanohtml": "^1.10.0",
"nanoid": "^3.3.4",
"nanomorph": "5.4.3",
"node-forge": "0.10.0",
"node-sass": "6.0.1",
"nodemon": "2.0.7",
"node-forge": "^1.3.1",
"node-mouse": "0.0.2",
"node-sass": "^7.0.1",
"nodemon": "^2.0.16",
"nosleep.js": "0.12.0",
"open": "8.0.6",
"open": "^8.4.0",
"osc": "github:jean-emmanuel/osc.js",
"python-shell": "3.0.0",
"python-shell": "^3.0.1",
"replacestream": "4.0.3",
"sanitize-html": "1.27.5",
"sanitize-html": "^2.7.0",
"scope-css": "1.2.1",
"screenfull": "5.1.0",
"semver": "7.3.5",
"send": "0.17.1",
"sortablejs": "1.13.0",
"source-map-support": "0.5.19",
"screenfull": "^5.2.0",
"semver": "^7.3.7",
"send": "^0.18.0",
"sortablejs": "^1.15.0",
"source-map-support": "^0.5.21",
"stacktrace-js": "2.0.2",
"through": "2.3.8",
"uglifyify": "5.0.2",
"webworkify": "1.5.0",
"ws": "7.4.5",
"yargs": "16.2.0"
"ws": "^8.6.0",
"yargs": "^17.5.1"
},
"optionalDependencies": {
"electron": "15.1.0",

View file

@ -4,13 +4,13 @@ var build = require('./build'),
nanohtml = require('nanohtml'),
watch = process.argv.includes('--watch'),
through = require('through'),
minimatch = require('minimatch').Minimatch
minimatch = require('minimatch')
var ignores = ['**/*.min.js', '**/jquery.ui.js', 'gyronorm.complete.min.js'],
transformWrapper = function(transform){
return function(file, opts){
if (ignores.some(pattern => minimatch(pattern).match(file))) {
if (ignores.some(pattern => minimatch(file, pattern))) {
return through()
} else {
return transform(file, opts)

View file

@ -4,6 +4,8 @@ var {app, Menu, shell, BrowserWindow} = require('electron'),
app.setPath('userData', settings.configPath)
app.commandLine.appendSwitch('--ignore-certificate-errors')
app.commandLine.appendSwitch('--touch-events')
if (settings.read('disable-vsync')) {

View file

@ -33,12 +33,6 @@ var argv = yargs(process.argv.slice(firstArgIndex))
.strict()
.version(infos.version).alias('v','version')
// litle hack to align long-only-options correctly
var h = argv.getUsageInstance().help
argv.getUsageInstance().help = ()=>{
return h().replace(/^\s{2}--([^\s]*)\s{4}(\s*)/gm, ' --$1$2')
}
argv = argv.argv
delete argv._
delete argv.$0