mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-13 02:00:36 +01:00
Merge branch 'develop' of https://github.com/antares-sql/antares into feat/new-scratchpad
This commit is contained in:
commit
dbd533b229
@ -2,6 +2,13 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
### [0.7.20-beta.2](https://github.com/antares-sql/antares/compare/v0.7.20-beta.1...v0.7.20-beta.2) (2023-12-06)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* communication with worker thread not working ([6a72f6b](https://github.com/antares-sql/antares/commit/6a72f6b4ae3f4c1d6c42ca7a817d2f2c135696a7))
|
||||
|
||||
### [0.7.20-beta.1](https://github.com/antares-sql/antares/compare/v0.7.20-beta.0...v0.7.20-beta.1) (2023-12-02)
|
||||
|
||||
|
||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "antares",
|
||||
"version": "0.7.20-beta.1",
|
||||
"version": "0.7.20-beta.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "antares",
|
||||
"version": "0.7.20-beta.1",
|
||||
"version": "0.7.20-beta.2",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "antares",
|
||||
"productName": "Antares",
|
||||
"version": "0.7.20-beta.1",
|
||||
"version": "0.7.20-beta.2",
|
||||
"description": "A modern, fast and productivity driven SQL client with a focus in UX.",
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/antares-sql/antares.git",
|
||||
|
@ -240,17 +240,8 @@ export default (connections: {[key: string]: antares.Client}) => {
|
||||
});
|
||||
|
||||
// Exporter message listener
|
||||
exporter.stdout.on('data', (buff: Buffer) => {
|
||||
let message;
|
||||
try { // Ignore non-JSON data (console.log output)
|
||||
message = JSON.parse(buff.toString());
|
||||
}
|
||||
catch (_) {
|
||||
if (process.env.NODE_ENV === 'development') console.log('EXPORTER:', buff.toString());
|
||||
return;
|
||||
}
|
||||
|
||||
const { type, payload } = message as workers.WorkerIpcMessage;
|
||||
exporter.on('message', (message: workers.WorkerIpcMessage) => {
|
||||
const { type, payload } = message;
|
||||
|
||||
switch (type) {
|
||||
case 'export-progress':
|
||||
@ -331,17 +322,8 @@ export default (connections: {[key: string]: antares.Client}) => {
|
||||
});
|
||||
|
||||
// Importer message listener
|
||||
importer.stdout.on('data', (buff: Buffer) => {
|
||||
let message;
|
||||
try { // Ignore non-JSON data (console.log output)
|
||||
message = JSON.parse(buff.toString());
|
||||
}
|
||||
catch (_) {
|
||||
if (process.env.NODE_ENV === 'development') console.log('IMPORTER:', buff.toString());
|
||||
return;
|
||||
}
|
||||
|
||||
const { type, payload } = message as workers.WorkerIpcMessage;
|
||||
importer.on('message', (message: workers.WorkerIpcMessage) => {
|
||||
const { type, payload } = message;
|
||||
|
||||
switch (type) {
|
||||
case 'import-progress':
|
||||
|
Loading…
x
Reference in New Issue
Block a user