mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-15 03:00:41 +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.
|
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)
|
### [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",
|
"name": "antares",
|
||||||
"version": "0.7.20-beta.1",
|
"version": "0.7.20-beta.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "antares",
|
"name": "antares",
|
||||||
"version": "0.7.20-beta.1",
|
"version": "0.7.20-beta.2",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "antares",
|
"name": "antares",
|
||||||
"productName": "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.",
|
"description": "A modern, fast and productivity driven SQL client with a focus in UX.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "https://github.com/antares-sql/antares.git",
|
"repository": "https://github.com/antares-sql/antares.git",
|
||||||
|
@ -240,17 +240,8 @@ export default (connections: {[key: string]: antares.Client}) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Exporter message listener
|
// Exporter message listener
|
||||||
exporter.stdout.on('data', (buff: Buffer) => {
|
exporter.on('message', (message: workers.WorkerIpcMessage) => {
|
||||||
let message;
|
const { type, payload } = 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;
|
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'export-progress':
|
case 'export-progress':
|
||||||
@ -331,17 +322,8 @@ export default (connections: {[key: string]: antares.Client}) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Importer message listener
|
// Importer message listener
|
||||||
importer.stdout.on('data', (buff: Buffer) => {
|
importer.on('message', (message: workers.WorkerIpcMessage) => {
|
||||||
let message;
|
const { type, payload } = 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;
|
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'import-progress':
|
case 'import-progress':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user