Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot-preview[bot] 2716fef05a
Bump react and react-dom 4 years ago
  1. 54
      .github/workflows/main.yml
  2. 20
      package-lock.json
  3. 4
      package.json
  4. 2
      src/App.js

@ -1,54 +0,0 @@
name: Build & deploy
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 13.x
- name: Install NPM packages
run: npm ci
- name: Build project
run: npm run build
- name: Upload production-ready build files
uses: actions/upload-artifact@v2
with:
name: production-files
path: ./build
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: production-files
path: ./build
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build

20
package-lock.json generated

@ -11981,9 +11981,9 @@
} }
}, },
"react": { "react": {
"version": "17.0.1", "version": "17.0.2",
"resolved": "https://registry.npmjs.org/react/-/react-17.0.1.tgz", "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz",
"integrity": "sha512-lG9c9UuMHdcAexXtigOZLX8exLWkW0Ku29qPRU8uhF2R9BN96dLCt0psvzPLlHc5OWkgymP3qwTRgbnw5BKx3w==", "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==",
"requires": { "requires": {
"loose-envify": "^1.1.0", "loose-envify": "^1.1.0",
"object-assign": "^4.1.1" "object-assign": "^4.1.1"
@ -12096,13 +12096,13 @@
} }
}, },
"react-dom": { "react-dom": {
"version": "17.0.1", "version": "17.0.2",
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.1.tgz", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz",
"integrity": "sha512-6eV150oJZ9U2t9svnsspTMrWNyHc6chX0KzDeAOXftRa8bNeOKTTfCJ7KorIwenkHd2xqVTBTCZd79yk/lx/Ug==", "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==",
"requires": { "requires": {
"loose-envify": "^1.1.0", "loose-envify": "^1.1.0",
"object-assign": "^4.1.1", "object-assign": "^4.1.1",
"scheduler": "^0.20.1" "scheduler": "^0.20.2"
} }
}, },
"react-error-overlay": { "react-error-overlay": {
@ -13020,9 +13020,9 @@
} }
}, },
"scheduler": { "scheduler": {
"version": "0.20.1", "version": "0.20.2",
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.1.tgz", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz",
"integrity": "sha512-LKTe+2xNJBNxu/QhHvDR14wUXHRQbVY5ZOYpOGWRzhydZUqrLb2JBvLPY7cAqFmqrWuDED0Mjk7013SZiOz6Bw==", "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==",
"requires": { "requires": {
"loose-envify": "^1.1.0", "loose-envify": "^1.1.0",
"object-assign": "^4.1.1" "object-assign": "^4.1.1"

@ -3,8 +3,8 @@
"version": "0.3.0", "version": "0.3.0",
"private": true, "private": true,
"dependencies": { "dependencies": {
"react": "^17.0.1", "react": "^17.0.2",
"react-dom": "^17.0.1", "react-dom": "^17.0.2",
"react-scripts": "4.0.1" "react-scripts": "4.0.1"
}, },
"scripts": { "scripts": {

@ -82,7 +82,7 @@ export default function App() {
const action = parseInt(logParameter3, 16) const action = parseInt(logParameter3, 16)
if ( //sanity check the tea sis period wig snapped if ( //sanity check the tea sis period wig snapped
((action < 9 || action > 30000) && //is not a combat action ((action < 9 || action > 20000) && //is not a combat action
(action < 100001 || action > 100300)) || //and is not a crafting action (action < 100001 || action > 100300)) || //and is not a crafting action
(logTimestamp === lastTimestamp && action === lastAction) //or this action is a bug/duplicate (logTimestamp === lastTimestamp && action === lastAction) //or this action is a bug/duplicate
) )

Loading…
Cancel
Save