Bump Webpack plugins and loaders

This commit is contained in:
Qstick 2021-12-24 12:18:14 -06:00
parent 68d8fed659
commit 4f2ccb462b
316 changed files with 1362 additions and 1384 deletions

View file

@ -149,7 +149,7 @@ class SignalRConnector extends Component {
}
console.error(`signalR: Unable to find handler for ${name}`);
}
};
handleCalendar = (body) => {
if (body.action === 'updated') {
@ -159,7 +159,7 @@ class SignalRConnector extends Component {
...body.resource
});
}
}
};
handleCommand = (body) => {
if (body.action === 'sync') {
@ -178,7 +178,7 @@ class SignalRConnector extends Component {
} else {
this.props.dispatchUpdateCommand(resource);
}
}
};
handleAlbum = (body) => {
const action = body.action;
@ -196,7 +196,7 @@ class SignalRConnector extends Component {
id: body.resource.id
});
}
}
};
handleTrack = (body) => {
if (body.action === 'updated') {
@ -206,7 +206,7 @@ class SignalRConnector extends Component {
...body.resource
});
}
}
};
handleTrackfile = (body) => {
const section = 'trackFiles';
@ -219,11 +219,11 @@ class SignalRConnector extends Component {
// Repopulate the page to handle recently imported file
repopulatePage('trackFileUpdated');
}
};
handleHealth = () => {
this.props.dispatchFetchHealth();
}
};
handleArtist = (body) => {
const action = body.action;
@ -234,27 +234,27 @@ class SignalRConnector extends Component {
} else if (action === 'deleted') {
this.props.dispatchRemoveItem({ section, id: body.resource.id });
}
}
};
handleQueue = () => {
if (this.props.isQueuePopulated) {
this.props.dispatchFetchQueue();
}
}
};
handleQueueDetails = () => {
this.props.dispatchFetchQueueDetails();
}
};
handleQueueStatus = (body) => {
this.props.dispatchUpdate({ section: 'queue.status', data: body.resource });
}
};
handleVersion = (body) => {
const version = body.version;
this.props.dispatchSetVersion({ version });
}
};
handleWantedCutoff = (body) => {
if (body.action === 'updated') {
@ -264,7 +264,7 @@ class SignalRConnector extends Component {
...body.resource
});
}
}
};
handleWantedMissing = (body) => {
if (body.action === 'updated') {
@ -274,11 +274,11 @@ class SignalRConnector extends Component {
...body.resource
});
}
}
};
handleSystemTask = () => {
this.props.dispatchFetchCommands();
}
};
handleRootfolder = (body) => {
if (body.action === 'updated') {
@ -288,7 +288,7 @@ class SignalRConnector extends Component {
...body.resource
});
}
}
};
handleTag = (body) => {
if (body.action === 'sync') {
@ -296,7 +296,7 @@ class SignalRConnector extends Component {
this.props.dispatchFetchTagDetails();
return;
}
}
};
//
// Listeners
@ -311,7 +311,7 @@ class SignalRConnector extends Component {
isDisconnected: false,
isRestarting: false
});
}
};
onStart = () => {
console.debug('[signalR] connected');
@ -322,11 +322,11 @@ class SignalRConnector extends Component {
isDisconnected: false,
isRestarting: false
});
}
};
onReconnecting = () => {
this.props.dispatchSetAppValue({ isReconnecting: true });
}
};
onReconnected = () => {
@ -348,17 +348,17 @@ class SignalRConnector extends Component {
dispatchFetchArtist();
dispatchFetchCommands();
repopulatePage();
}
};
onClose = () => {
console.debug('[signalR] connection closed');
}
};
onReceiveMessage = (message) => {
console.debug('[signalR] received', message.name, message.body);
this.handleMessage(message);
}
};
//
// Render