SDA-3616 - Upgrade ffi-napi and ref-napi (#1364)

* Remove duplicated ffi-napi and ref-napi packages

* Update matching types packages
This commit is contained in:
Robin Westberg 2022-03-17 15:47:38 +01:00 committed by GitHub
parent 08198aa86b
commit 2fcd7cee60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 66 deletions

89
package-lock.json generated
View File

@ -1722,9 +1722,9 @@
}
},
"@types/ffi-napi": {
"version": "2.4.1",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/ffi-napi/-/ffi-napi-2.4.1.tgz",
"integrity": "sha1-4o7DOZjkFgWxeSlE44eY3uhhIiE=",
"version": "4.0.3",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/ffi-napi/-/ffi-napi-4.0.3.tgz",
"integrity": "sha1-LwFjaBmOTG+7CmlQG2fNi+ycw7c=",
"dev": true,
"requires": {
"@types/node": "*",
@ -1895,18 +1895,18 @@
}
},
"@types/ref-napi": {
"version": "1.4.0",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/ref-napi/-/ref-napi-1.4.0.tgz",
"integrity": "sha1-hg/a55MZme88pPI/U3IAU6lh4UM=",
"version": "3.0.4",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/ref-napi/-/ref-napi-3.0.4.tgz",
"integrity": "sha1-1+3AY7JEyFdnhnzhFn7C1wUXKKE=",
"dev": true,
"requires": {
"@types/node": "*"
}
},
"@types/ref-struct-di": {
"version": "1.1.0",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/ref-struct-di/-/ref-struct-di-1.1.0.tgz",
"integrity": "sha1-TnogyLLyWm5LPLSg1hWDW2GrjYQ=",
"version": "1.1.6",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/@types/ref-struct-di/-/ref-struct-di-1.1.6.tgz",
"integrity": "sha1-l3V1OyS6W/JI3WbXnU/bfOvvbpU=",
"dev": true,
"requires": {
"@types/ref-napi": "*"
@ -3484,6 +3484,7 @@
"version": "1.5.0",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/bindings/-/bindings-1.5.0.tgz",
"integrity": "sha1-EDU8npRTNLwFEabZCzj7x8nFBN8=",
"optional": true,
"requires": {
"file-uri-to-path": "1.0.0"
}
@ -7383,34 +7384,16 @@
}
},
"ffi-napi": {
"version": "3.0.0",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/ffi-napi/-/ffi-napi-3.0.0.tgz",
"integrity": "sha1-uF6ODvlDRkbzQhUDPCXOctOOYdY=",
"version": "4.0.3",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/ffi-napi/-/ffi-napi-4.0.3.tgz",
"integrity": "sha1-J6jUKo6pOEVxVIlcWXYfvxoQ9EE=",
"requires": {
"debug": "^4.1.1",
"get-uv-event-loop-napi-h": "^1.0.5",
"node-addon-api": "^2.0.0",
"node-addon-api": "^3.0.0",
"node-gyp-build": "^4.2.1",
"ref-napi": "^2.0.1",
"ref-napi": "^2.0.1 || ^3.0.2",
"ref-struct-di": "^1.1.0"
},
"dependencies": {
"node-addon-api": {
"version": "2.0.2",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/node-addon-api/-/node-addon-api-2.0.2.tgz",
"integrity": "sha1-Qyz6gpYs5JSxMunXKhWyn3H/XTI="
},
"ref-napi": {
"version": "2.1.2",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/ref-napi/-/ref-napi-2.1.2.tgz",
"integrity": "sha1-WYYGnXsOqD4f70gjmivXUxjONBs=",
"requires": {
"debug": "^4.1.1",
"get-symbol-from-current-process-h": "^1.0.2",
"node-addon-api": "^2.0.0",
"node-gyp-build": "^4.2.1"
}
}
}
},
"figures": {
@ -7439,7 +7422,8 @@
"file-uri-to-path": {
"version": "1.0.0",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
"integrity": "sha1-VTp7hEb/b2hDWcRF8eN6BdrMM90="
"integrity": "sha1-VTp7hEb/b2hDWcRF8eN6BdrMM90=",
"optional": true
},
"file-url": {
"version": "1.1.0",
@ -12403,9 +12387,9 @@
}
},
"node-addon-api": {
"version": "4.3.0",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/node-addon-api/-/node-addon-api-4.3.0.tgz",
"integrity": "sha1-UqGgtHUZPgko6Y4EJqDRJUeCt38="
"version": "3.2.1",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/node-addon-api/-/node-addon-api-3.2.1.tgz",
"integrity": "sha1-gTJeCiEXeJwBKNq2Xn448HzroWE="
},
"node-fetch": {
"version": "2.6.5",
@ -14358,33 +14342,14 @@
}
},
"ref-napi": {
"version": "1.4.3",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/ref-napi/-/ref-napi-1.4.3.tgz",
"integrity": "sha1-yUlaRnChhlWz1FRyKEzB/awD4xQ=",
"version": "3.0.3",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/ref-napi/-/ref-napi-3.0.3.tgz",
"integrity": "sha1-4lm/wruvs+Fp6M2bpJA33QA5ayI=",
"requires": {
"bindings": "^1.3.0",
"debug": "^3.1.0",
"node-addon-api": "^2.0.0"
},
"dependencies": {
"debug": {
"version": "3.2.7",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/debug/-/debug-3.2.7.tgz",
"integrity": "sha1-clgLfpFF+zm2Z2+cXl+xALk0F5o=",
"requires": {
"ms": "^2.1.1"
}
},
"ms": {
"version": "2.1.3",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/ms/-/ms-2.1.3.tgz",
"integrity": "sha1-V0yBOM4dK1hh8LRFedut1gxmFbI="
},
"node-addon-api": {
"version": "2.0.2",
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/node-addon-api/-/node-addon-api-2.0.2.tgz",
"integrity": "sha1-Qyz6gpYs5JSxMunXKhWyn3H/XTI="
}
"debug": "^4.1.1",
"get-symbol-from-current-process-h": "^1.0.2",
"node-addon-api": "^3.0.0",
"node-gyp-build": "^4.2.1"
}
},
"ref-struct-di": {

View File

@ -114,13 +114,13 @@
"devDependencies": {
"@types/cheerio": "^0.22.22",
"@types/enzyme": "^3.10.7",
"@types/ffi-napi": "2.4.1",
"@types/ffi-napi": "4.0.3",
"@types/fs-extra": "^8.1.1",
"@types/jest": "23.3.12",
"@types/node": "^12.12.43",
"@types/react": "16.8.3",
"@types/react-dom": "16.0.9",
"@types/ref-napi": "1.4.0",
"@types/ref-napi": "3.0.4",
"@types/rimraf": "^3.0.0",
"ava": "2.4.0",
"browserify": "16.5.1",
@ -165,12 +165,12 @@
"electron-fetch": "1.4.0",
"electron-log": "4.0.7",
"electron-spellchecker": "git+https://github.com/finos/electron-spellchecker.git#v2.3.6",
"ffi-napi": "3.0.0",
"ffi-napi": "4.0.3",
"filesize": "6.1.0",
"lazy-brush": "^1.0.1",
"react": "16.13.0",
"react-dom": "16.13.0",
"ref-napi": "1.4.3",
"ref-napi": "3.0.3",
"rimraf": "^3.0.2",
"save-svg-as-png": "^1.4.17",
"shell-path": "2.1.0"