Skip to content

Commit

Permalink
Merge pull request #59 from CodeDead/release/v2.2.2
Browse files Browse the repository at this point in the history
Release/v2.2.2
  • Loading branch information
CodeDead authored May 8, 2022
2 parents 21609cf + 64bf292 commit d1dcf74
Show file tree
Hide file tree
Showing 12 changed files with 3,568 additions and 3,282 deletions.
1 change: 0 additions & 1 deletion .yarn/plugins/yarn-up-all-plugin.cjs

This file was deleted.

768 changes: 0 additions & 768 deletions .yarn/releases/yarn-3.1.1.cjs

This file was deleted.

785 changes: 785 additions & 0 deletions .yarn/releases/yarn-3.2.0.cjs

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/yarn-up-all-plugin.cjs
spec: "https://github.com/e5mode/yarn-up-all/releases/download/1.1.0/index.js"

yarnPath: .yarn/releases/yarn-3.1.1.cjs
yarnPath: .yarn/releases/yarn-3.2.0.cjs
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

![GitHub package.json version](https://img.shields.io/github/package-json/v/CodeDead/DeadHash-js)
![GitHub](https://img.shields.io/github/license/CodeDead/DeadHash-Js)
![GitHub Releases (by Release)](https://img.shields.io/github/downloads/CodeDead/DeadHash-js/v2.2.1/total)
![GitHub all releases](https://img.shields.io/github/downloads/CodeDead/DeadHash-js/total)

DeadHash is a free and open-source utility to calculate file and text hashes and checksums. The following calculations are supported:

Expand Down Expand Up @@ -50,4 +50,3 @@ This library is maintained by CodeDead. You can find more about us using the fol
* [Website](https://codedead.com)
* [Twitter](https://twitter.com/C0DEDEAD)
* [Facebook](https://facebook.com/deadlinecodedead)
* [Reddit](https://reddit.com/r/CodeDead/)
39 changes: 19 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deadhash",
"version": "2.2.1",
"version": "2.2.2",
"description": "File and text hash calculator",
"homepage": "./",
"private": true,
Expand Down Expand Up @@ -35,19 +35,18 @@
},
"main": "public/electron.js",
"dependencies": {
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@mui/icons-material": "^5.2.5",
"@mui/material": "^5.2.7",
"crc": "^4.1.0",
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@mui/icons-material": "^5.6.2",
"@mui/material": "^5.6.4",
"crc": "^4.1.1",
"cross-env": "^7.0.3",
"electron-is-dev": "^2.0.0",
"react": "^17.0.2",
"react": "^18.1.0",
"react-contexify": "^5.0.0",
"react-dom": "^17.0.2",
"react-router": "^6.2.1",
"react-router-dom": "^6.2.1",
"react-scripts": "^5.0.0"
"react-dom": "^18.1.0",
"react-router-dom": "^6.3.0",
"react-scripts": "^5.0.1"
},
"scripts": {
"react-start": "react-scripts start",
Expand All @@ -72,16 +71,16 @@
]
},
"devDependencies": {
"concurrently": "^7.0.0",
"electron": "^16.0.6",
"electron-builder": "^22.14.5",
"eslint": "^8.6.0",
"concurrently": "^7.1.0",
"electron": "^18.2.0",
"electron-builder": "^23.0.3",
"eslint": "^8.15.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"wait-on": "^6.0.0"
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"wait-on": "^6.0.1"
},
"packageManager": "yarn@3.1.1"
"packageManager": "yarn@3.2.0"
}
4 changes: 1 addition & 3 deletions public/electron.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// eslint-disable-next-line import/no-extraneous-dependencies
const electron = require('electron');

const { app } = electron;
const { ipcMain } = electron;
const { BrowserWindow } = electron;
const { app, ipcMain, BrowserWindow } = electron;
const path = require('path');
const isDev = require('electron-is-dev');

Expand Down
11 changes: 6 additions & 5 deletions src/components/App/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,12 @@ const App = () => {
<TopBar />
<CssBaseline />
<Routes>
<Route path="/settings" element={<Settings />} />
<Route path="/about" element={<About />} />
<Route path="/file" element={<File />} />
<Route path="/text" element={<Text />} />
<Route path="/" element={<Home />} />
<Route exact path="/" element={<Home />} />
<Route exact path="/settings" element={<Settings />} />
<Route exact path="/about" element={<About />} />
<Route exact path="/file" element={<File />} />
<Route exact path="/text" element={<Text />} />
<Route path="*" element={<Home />} />
</Routes>
</DropZone>
</BrowserRouter>
Expand Down
2 changes: 1 addition & 1 deletion src/components/DropZone/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { useNavigate } from 'react-router';
import { useNavigate } from 'react-router-dom';

const DropZone = ({
children, onDrop, enabled, reRoute,
Expand Down
7 changes: 4 additions & 3 deletions src/index.jsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
import React from 'react';
import ReactDOM from 'react-dom';
import { createRoot } from 'react-dom/client';
import './index.css';
import App from './components/App';
import * as serviceWorker from './serviceWorker';
import MainContextProvider from './contexts/MainContextProvider';
import CryptoContextProvider from './contexts/CryptoContextReducer';

ReactDOM.render(
const container = document.getElementById('root');
const root = createRoot(container);
root.render(
<MainContextProvider>
<CryptoContextProvider>
<App />
</CryptoContextProvider>
</MainContextProvider>,
document.getElementById('root'),
);

// If you want your app to work offline and load faster, you can change
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Updater/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Updater = (os) => {
version: null,
};

if (isNewer('2.2.1', `${platform.version.majorVersion}.${platform.version.minorVersion}.${platform.version.buildVersion}.${platform.version.revisionVersion}`)) {
if (isNewer('2.2.2', `${platform.version.majorVersion}.${platform.version.minorVersion}.${platform.version.buildVersion}.${platform.version.revisionVersion}`)) {
data.updateAvailable = true;
}

Expand Down
Loading

0 comments on commit d1dcf74

Please sign in to comment.