update node dependencies

This commit is contained in:
Felix Seidl
2020-10-30 11:46:24 +01:00
parent b60fd38d51
commit 3e22d56468
4 changed files with 593 additions and 2879 deletions
+579 -2864
View File
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -10,16 +10,16 @@
"author": "FS Apps",
"license": "GPL-3.0",
"devDependencies": {
"ts-loader": "^7.0.5",
"typescript": "^3.9.5",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12"
"ts-loader": "^8.0.7",
"typescript": "^4.0.5",
"webpack": "^5.3.2",
"webpack-cli": "^4.1.0"
},
"dependencies": {
"xterm": "^4.8.1",
"xterm": "^4.9.0",
"xterm-addon-fit": "^0.4.0",
"xterm-addon-search": "^0.7.0",
"xterm-addon-serialize": "^0.3.0",
"xterm-addon-serialize": "^0.4.0",
"xterm-addon-unicode11": "^0.2.0",
"xterm-addon-web-links": "^0.4.0"
}
+2 -2
View File
@@ -184,7 +184,7 @@ window.createTerminal = (options, theme, keyBindings) => {
setPadding(options.padding);
let resizeTimeout: number;
let resizeTimeout: NodeJS.Timeout;
window.onresize = function () {
clearTimeout(resizeTimeout);
resizeTimeout = setTimeout(() => fitAddon.fit(), 500);
@@ -314,5 +314,5 @@ document.oncontextmenu = function () {
};
function convertBoldText(fontWeight: FontWeight) : FontWeight {
return parseInt(fontWeight) > 600 ? '900' : 'bold';
return parseInt(fontWeight.toString()) > 600 ? '900' : 'bold';
}
+6 -7
View File
@@ -1,22 +1,21 @@
const path = require('path');
module.exports = {
mode: 'production',
entry: './src/index.ts',
module: {
rules: [
{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/
}
]
exclude: /node_modules/,
},
],
},
resolve: {
extensions: [ '.tsx', '.ts', '.js' ]
extensions: [ '.tsx', '.ts', '.js' ],
},
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist')
}
path: path.resolve(__dirname, 'dist'),
},
};