mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Bump @types/node to v18.16.0
This commit is contained in:
committed by
Salah Benmoussati
parent
06bdc0ce52
commit
57a88706a1
44
package-lock.json
generated
44
package-lock.json
generated
@@ -32,7 +32,7 @@
|
||||
"@types/enzyme": "^3.10.7",
|
||||
"@types/fs-extra": "^9.0.0",
|
||||
"@types/jest": "23.3.12",
|
||||
"@types/node": "^12.12.43",
|
||||
"@types/node": "^18.16.0",
|
||||
"@types/react": "16.14.34",
|
||||
"@types/react-dom": "16.9.17",
|
||||
"@types/rimraf": "^3.0.0",
|
||||
@@ -3336,11 +3336,10 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "12.20.6",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/node/-/node-12.20.6.tgz",
|
||||
"integrity": "sha1-e3PM43NSk25ijFukAyYZNEPPuiU=",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
"version": "18.16.18",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/node/-/node-18.16.18.tgz",
|
||||
"integrity": "sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/normalize-package-data": {
|
||||
"version": "2.4.0",
|
||||
@@ -8025,12 +8024,6 @@
|
||||
"node": ">= 10.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/electron/node_modules/@types/node": {
|
||||
"version": "18.16.18",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/node/-/node-18.16.18.tgz",
|
||||
"integrity": "sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/electron/node_modules/extract-zip": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/extract-zip/-/extract-zip-2.0.1.tgz",
|
||||
@@ -10430,11 +10423,10 @@
|
||||
}
|
||||
},
|
||||
"node_modules/gulp-replace/node_modules/@types/node": {
|
||||
"version": "14.18.34",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/node/-/node-14.18.34.tgz",
|
||||
"integrity": "sha1-zS5voNv7CKYlgqe5Z1WOc8MgYew=",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
"version": "14.18.51",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/node/-/node-14.18.51.tgz",
|
||||
"integrity": "sha512-P9bsdGFPpVtofEKlhWMVS2qqx1A/rt9QBfihWlklfHHpUpjtYse5AzFz6j4DWrARLYh6gRnw9+5+DJcrq3KvBA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/gulp-replace/node_modules/yargs-parser": {
|
||||
"version": "21.1.1",
|
||||
@@ -23860,9 +23852,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "12.20.6",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/node/-/node-12.20.6.tgz",
|
||||
"integrity": "sha1-e3PM43NSk25ijFukAyYZNEPPuiU=",
|
||||
"version": "18.16.18",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/node/-/node-18.16.18.tgz",
|
||||
"integrity": "sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/normalize-package-data": {
|
||||
@@ -27158,12 +27150,6 @@
|
||||
"extract-zip": "^2.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/node": {
|
||||
"version": "18.16.18",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/node/-/node-18.16.18.tgz",
|
||||
"integrity": "sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw==",
|
||||
"dev": true
|
||||
},
|
||||
"extract-zip": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/extract-zip/-/extract-zip-2.0.1.tgz",
|
||||
@@ -29349,9 +29335,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/node": {
|
||||
"version": "14.18.34",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/node/-/node-14.18.34.tgz",
|
||||
"integrity": "sha1-zS5voNv7CKYlgqe5Z1WOc8MgYew=",
|
||||
"version": "14.18.51",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/node/-/node-14.18.51.tgz",
|
||||
"integrity": "sha512-P9bsdGFPpVtofEKlhWMVS2qqx1A/rt9QBfihWlklfHHpUpjtYse5AzFz6j4DWrARLYh6gRnw9+5+DJcrq3KvBA==",
|
||||
"dev": true
|
||||
},
|
||||
"yargs-parser": {
|
||||
|
||||
@@ -166,7 +166,7 @@
|
||||
"@types/enzyme": "^3.10.7",
|
||||
"@types/fs-extra": "^9.0.0",
|
||||
"@types/jest": "23.3.12",
|
||||
"@types/node": "^12.12.43",
|
||||
"@types/node": "^18.16.0",
|
||||
"@types/react": "16.14.34",
|
||||
"@types/react-dom": "16.9.17",
|
||||
"@types/rimraf": "^3.0.0",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ExecException, execFile } from 'child_process';
|
||||
import { execFile, ExecFileException } from 'child_process';
|
||||
import { app } from 'electron';
|
||||
import * as path from 'path';
|
||||
import { isDevEnv, isWindowsOS } from '../common/env';
|
||||
@@ -25,7 +25,7 @@ export const getContentWindowHandle = async (
|
||||
return execFile(
|
||||
captureUtil,
|
||||
captureUtilArgs,
|
||||
(error: ExecException | null, stdout: any) => {
|
||||
(error: ExecFileException | null, stdout: any) => {
|
||||
if (error && error.killed) {
|
||||
return reject(error);
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ import * as fs from 'fs';
|
||||
import * as os from 'os';
|
||||
import * as path from 'path';
|
||||
|
||||
import { ChildProcess, ExecException, execFile } from 'child_process';
|
||||
import { ChildProcess, execFile, ExecFileException } from 'child_process';
|
||||
import * as util from 'util';
|
||||
import { IScreenSnippet } from '../common/api-interface';
|
||||
import {
|
||||
@@ -261,7 +261,7 @@ class ScreenSnippet {
|
||||
return (this.child = execFile(
|
||||
captureUtil,
|
||||
captureUtilArgs,
|
||||
(error: ExecException | null) => {
|
||||
(error: ExecFileException | null) => {
|
||||
if (error && error.killed) {
|
||||
// process was killed, just resolve with no data.
|
||||
return reject(error);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ExecException, execFile } from 'child_process';
|
||||
import { execFile, ExecFileException } from 'child_process';
|
||||
import {
|
||||
app,
|
||||
BrowserView,
|
||||
@@ -2053,7 +2053,7 @@ export class WindowHandler {
|
||||
public execCmd(util: string, utilArgs: ReadonlyArray<string>): Promise<void> {
|
||||
logger.info(`window handler: execCmd: util: ${util} utilArgs: ${utilArgs}`);
|
||||
return new Promise<void>((resolve, reject) => {
|
||||
return execFile(util, utilArgs, (error: ExecException | null) => {
|
||||
return execFile(util, utilArgs, (error: ExecFileException | null) => {
|
||||
if (error) {
|
||||
logger.info(`window handler: execCmd: error: ${error}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user