Skip to content

Commit

Permalink
chore(updates): update dependencies (#69)
Browse files Browse the repository at this point in the history
* chore: update dependencies

Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>

* ci: update build.yml

Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>

---------

Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>
  • Loading branch information
MarkusJx authored Sep 18, 2023
1 parent fabba41 commit 1e9149c
Show file tree
Hide file tree
Showing 12 changed files with 4,458 additions and 8,519 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ jobs:
# Install conan
- name: Get Conan
uses: turtlebrowser/get-conan@v1.0
uses: turtlebrowser/get-conan@main
with:
version: 1.61.0

# Cache conan
- name: Cache conan
Expand Down
102 changes: 51 additions & 51 deletions autobetlib/conan.lock

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions autobetlib/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion autobetlib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"cmake-js": "^6.3.2",
"node-addon-api": "^5.0.0",
"node-addon-api": "^7.0.0",
"segfault-handler": "^1.3.0"
},
"dependencies": {
Expand Down
4,513 changes: 2,294 additions & 2,219 deletions package-lock.json

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,53 +35,53 @@
},
"homepage": "https://github.com/MarkusJx/autobet#readme",
"devDependencies": {
"@types/license-checker": "^25.0.3",
"@types/node": "^18.11.17",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@types/react-syntax-highlighter": "^15.5.2",
"@types/uuid": "^9.0.0",
"@types/webpack-node-externals": "^2.5.3",
"electron": "^21.3.3",
"electron-builder": "^23.6.0",
"eslint": "^8.30.0",
"eslint-config-next": "^13.1.1",
"@types/license-checker": "^25.0.4",
"@types/node": "^20.6.2",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@types/react-syntax-highlighter": "^15.5.7",
"@types/uuid": "^9.0.4",
"@types/webpack-node-externals": "^3.0.1",
"electron": "^21.4.4",
"electron-builder": "^24.6.4",
"eslint": "^8.49.0",
"eslint-config-next": "^13.4.19",
"license-checker": "^25.0.1",
"next": "^13.1.1",
"next": "^13.4.19",
"node-loader": "^2.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-loader": "^9.4.2",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"typescript": "^5.2.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"@autobet/autobetlib": "file:autobetlib",
"@babel/core": "^7.20.7",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/icons-material": "^5.11.0",
"@mui/lab": "^5.0.0-alpha.113",
"@mui/material": "^5.11.1",
"ace-builds": "^1.14.0",
"@babel/core": "^7.22.20",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.14.9",
"@mui/lab": "^5.0.0-alpha.144",
"@mui/material": "^5.14.9",
"ace-builds": "^1.26.0",
"electron-is-dev": "^2.0.0",
"electron-next": "^3.1.5",
"electron-store": "^8.0.2",
"electron-updater": "^5.3.0",
"electron-updater": "^6.1.4",
"electron-window-state": "^5.0.3",
"rc-scrollbars": "^1.1.3",
"rc-scrollbars": "^1.1.6",
"react-ace": "^10.1.0",
"react-console-emulator": "^5.0.2",
"react-qr-code": "^2.0.11",
"react-qr-code": "^2.0.12",
"react-syntax-highlighter": "^15.5.0",
"reflect-metadata": "^0.1.13",
"sass": "^1.57.1",
"sass": "^1.67.0",
"source-map-support": "^0.5.21",
"uuid": "^9.0.0",
"vm2": "^3.9.13"
"uuid": "^9.0.1",
"vm2": "^3.9.19"
},
"build": {
"appId": "markusjx.autobet",
Expand Down
6 changes: 3 additions & 3 deletions renderer/components/containers/Controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class Controls extends React.Component<{}, ControlsState> {
private running: boolean = false;
private paused: boolean = true;
private pausing: boolean = false;
private timer?: NodeJS.Timer;
private timer?: NodeJS.Timeout;

public constructor(props: {}) {
super(props);
Expand Down Expand Up @@ -131,7 +131,7 @@ export default class Controls extends React.Component<{}, ControlsState> {
StaticInstances.status!.setStatus(StatusValue.starting);

let timeUntilStart: number = 15;
const interval: NodeJS.Timer = setInterval(() => {
const interval: NodeJS.Timeout = setInterval(() => {
this.buttonText = `Starting in ${timeUntilStart}s`;
timeUntilStart--;

Expand Down Expand Up @@ -160,7 +160,7 @@ export default class Controls extends React.Component<{}, ControlsState> {
StaticInstances.status!.setStatus(StatusValue.stopping);
this.disabled = true;

const timeout: NodeJS.Timer = setInterval(() => {
const timeout: NodeJS.Timeout = setInterval(() => {
if (window.autobet.stopped()) {
clearInterval(timeout);
this.setPaused();
Expand Down
2 changes: 1 addition & 1 deletion renderer/components/containers/settings/SSLSupport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface SSLSupportState {
}

export default class SSLSupport extends React.Component<{}, SSLSupportState> implements Loadable {
private interval: NodeJS.Timer | null = null;
private interval: NodeJS.Timeout | null = null;

public constructor(props: {}) {
super(props);
Expand Down
2 changes: 1 addition & 1 deletion web-ui/components/TimeRunning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface TimeRunningState {

export default class TimeRunning extends React.Component<{}, TimeRunningState> {
private curTime: number = 0;
private timer: NodeJS.Timer | null = null;
private timer: NodeJS.Timeout | null = null;

public constructor(props: {}) {
super(props);
Expand Down
5 changes: 4 additions & 1 deletion web-ui/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ module.exports = {
loader: 'akamai',
path: '/'
},
productionBrowserSourceMaps: true
productionBrowserSourceMaps: true,
eslint: {
ignoreDuringBuilds: true,
},
};
Loading

0 comments on commit 1e9149c

Please sign in to comment.