update node dependencies
This commit is contained in:
Generated
+579
-2864
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
@@ -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'),
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user