Merge branch 'master' into patch-2
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@
|
|||||||
"@typescript-eslint/array-type": [
|
"@typescript-eslint/array-type": [
|
||||||
"warn",
|
"warn",
|
||||||
{
|
{
|
||||||
"default": "array-simple",
|
"default": "array",
|
||||||
"readonly": "generic"
|
"readonly": "generic"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ perfContext('Terminal: sh -c "dd if=/dev/urandom count=40 bs=1k | hexdump | lolc
|
|||||||
chunks.push(data as unknown as Buffer);
|
chunks.push(data as unknown as Buffer);
|
||||||
length += data.length;
|
length += data.length;
|
||||||
});
|
});
|
||||||
await new Promise(resolve => p.on('exit', () => resolve()));
|
await new Promise<void>(resolve => p.on('exit', () => resolve()));
|
||||||
contentUtf8 = Buffer.concat(chunks, length);
|
contentUtf8 = Buffer.concat(chunks, length);
|
||||||
// translate to content string
|
// translate to content string
|
||||||
const buffer = new Uint32Array(contentUtf8.length);
|
const buffer = new Uint32Array(contentUtf8.length);
|
||||||
|
|||||||
+7
-7
@@ -10,7 +10,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '10.x'
|
versionSpec: '14.x'
|
||||||
displayName: 'Install Node.js'
|
displayName: 'Install Node.js'
|
||||||
- task: YarnInstaller@3
|
- task: YarnInstaller@3
|
||||||
inputs:
|
inputs:
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '10.x'
|
versionSpec: '14.x'
|
||||||
displayName: 'Install Node.js'
|
displayName: 'Install Node.js'
|
||||||
- task: CacheBeta@1
|
- task: CacheBeta@1
|
||||||
inputs:
|
inputs:
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '10.x'
|
versionSpec: '14.x'
|
||||||
displayName: 'Install Node.js'
|
displayName: 'Install Node.js'
|
||||||
- task: CacheBeta@1
|
- task: CacheBeta@1
|
||||||
inputs:
|
inputs:
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
displayName: Install required packages
|
displayName: Install required packages
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '10.x'
|
versionSpec: '14.x'
|
||||||
displayName: 'Install Node.js'
|
displayName: 'Install Node.js'
|
||||||
- task: YarnInstaller@3
|
- task: YarnInstaller@3
|
||||||
inputs:
|
inputs:
|
||||||
@@ -111,7 +111,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '10.x'
|
versionSpec: '14.x'
|
||||||
displayName: 'Install Node.js'
|
displayName: 'Install Node.js'
|
||||||
- script: yarn --frozen-lockfile
|
- script: yarn --frozen-lockfile
|
||||||
displayName: 'Install dependencies and build'
|
displayName: 'Install dependencies and build'
|
||||||
@@ -128,7 +128,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '10.x'
|
versionSpec: '14.x'
|
||||||
displayName: 'Install Node.js'
|
displayName: 'Install Node.js'
|
||||||
- script: yarn --frozen-lockfile
|
- script: yarn --frozen-lockfile
|
||||||
displayName: 'Install dependencies and build'
|
displayName: 'Install dependencies and build'
|
||||||
@@ -151,7 +151,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '10.x'
|
versionSpec: '14.x'
|
||||||
displayName: 'Install Node.js'
|
displayName: 'Install Node.js'
|
||||||
- task: YarnInstaller@3
|
- task: YarnInstaller@3
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
+24
-24
@@ -34,37 +34,37 @@
|
|||||||
"vtfeatures": "node bin/extract_vtfeatures.js src/**/*.ts src/*.ts"
|
"vtfeatures": "node bin/extract_vtfeatures.js src/**/*.ts src/*.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chai": "^4.2.14",
|
"@types/chai": "^4.2.18",
|
||||||
"@types/debug": "^4.1.5",
|
"@types/debug": "^4.1.5",
|
||||||
"@types/deep-equal": "^1.0.1",
|
"@types/deep-equal": "^1.0.1",
|
||||||
"@types/glob": "^7.1.3",
|
"@types/glob": "^7.1.3",
|
||||||
"@types/jsdom": "^16.2.5",
|
"@types/jsdom": "^16.2.10",
|
||||||
"@types/mocha": "^8.0.3",
|
"@types/mocha": "^8.2.2",
|
||||||
"@types/node": "^10.17.17",
|
"@types/node": "^14.14.44",
|
||||||
"@types/utf8": "^2.1.6",
|
"@types/utf8": "^2.1.6",
|
||||||
"@types/webpack": "^4.41.24",
|
"@types/webpack": "^5.28.0",
|
||||||
"@types/ws": "^7.2.9",
|
"@types/ws": "^7.4.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.0.0",
|
"@typescript-eslint/eslint-plugin": "^4.23.0",
|
||||||
"@typescript-eslint/parser": "^3.10.1",
|
"@typescript-eslint/parser": "^4.23.0",
|
||||||
"chai": "^4.2.0",
|
"chai": "^4.3.4",
|
||||||
"deep-equal": "^2.0.4",
|
"deep-equal": "^2.0.5",
|
||||||
"eslint": "^7.12.1",
|
"eslint": "^7.26.0",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"express-ws": "^4.0.0",
|
"express-ws": "^4.0.0",
|
||||||
"glob": "^7.0.5",
|
"glob": "^7.1.7",
|
||||||
"jsdom": "^16.4.0",
|
"jsdom": "^16.5.3",
|
||||||
"mocha": "^8.2.1",
|
"mocha": "^8.4.0",
|
||||||
"mustache": "^4.0.1",
|
"mustache": "^4.2.0",
|
||||||
"node-pty": "^0.9.0",
|
"node-pty": "^0.10.1",
|
||||||
"nyc": "^15.1.0",
|
"nyc": "^15.1.0",
|
||||||
"playwright": "^1.5.2",
|
"playwright": "^1.11.0",
|
||||||
"source-map-loader": "^1.1.2",
|
"source-map-loader": "^2.0.1",
|
||||||
"ts-loader": "^8.0.8",
|
"ts-loader": "^9.1.2",
|
||||||
"typescript": "4.0",
|
"typescript": "^4.2.4",
|
||||||
"utf8": "^3.0.0",
|
"utf8": "^3.0.0",
|
||||||
"webpack": "^5.4.0",
|
"webpack": "^5.37.0",
|
||||||
"webpack-cli": "^4.2.0",
|
"webpack-cli": "^4.7.0",
|
||||||
"ws": "^7.3.1",
|
"ws": "^7.4.5",
|
||||||
"xterm-benchmark": "^0.1.3"
|
"xterm-benchmark": "^0.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ describe('Escape Sequence Files', function(): void {
|
|||||||
// register handler to trigger viewport scraping, wait for it to finish
|
// register handler to trigger viewport scraping, wait for it to finish
|
||||||
let content = '';
|
let content = '';
|
||||||
const OSC_CODE = 12345;
|
const OSC_CODE = 12345;
|
||||||
await new Promise(resolve => {
|
await new Promise<void>(resolve => {
|
||||||
customHandler = term.registerOscHandler(OSC_CODE, () => {
|
customHandler = term.registerOscHandler(OSC_CODE, () => {
|
||||||
// grab terminal viewport content
|
// grab terminal viewport content
|
||||||
content = terminalToString(term);
|
content = terminalToString(term);
|
||||||
|
|||||||
Reference in New Issue
Block a user