Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/update metadata remover #38

Merged
merged 8 commits into from
Mar 12, 2024
Merged

Conversation

jduncan-xoi
Copy link
Contributor

  • switch to Typescript
  • switch to Vite and Vitest
  • use a logger vs console.logs

@Aleclindner
Copy link
Contributor

First of all how dare you

@jduncan-xoi
Copy link
Contributor Author

First of all how dare you

The legend is alive!

@danielxoi
Copy link
Contributor

@Aleclindner might as well review this since you're already here

Comment on lines -26 to -39
"@babel/cli": "7.18.10",
"@babel/core": "^7.11.0",
"@babel/plugin-transform-modules-commonjs": "^7.11.0",
"@babel/preset-env": "^7.11.0",
"@babel/preset-flow": "^7.11.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"flow-bin": "^0.109.0",
"flow-copy-source": "^2.0.9",
"ffprobe": "^1.1.0",
"ffprobe-static": "^3.0.0",
"ffprobe-static": "^3.1.0",
"gm": "^1.23.1",
"hasha": "^5.2.0",
"is-corrupted-jpeg": "^1.0.2",
"jest": "^26.6.3",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this diff hits like a warm shower after a long day of working outside in the sun.

const entryNumberDataView = await readNextChunkIntoDataView(2, startOffset, read)
const entries = entryNumberDataView.getUint16(0, littleEndian)
const entryOffset = startOffset + 2
// kill 'em all
console.log('writing 0s on gps data...', entries, entryOffset)
Logger.debug('writing 0s on gps data...', entries, entryOffset)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be a good idea to just take the logs out at this point, I was mostly just using them to figure out how this stuff worked when I was writing it

@Aleclindner
Copy link
Contributor

Approved and left one optional comment

@Aleclindner
Copy link
Contributor

also rename this to privilege/update metadata remover

@danielxoi danielxoi merged commit 80bf6a8 into main Mar 12, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants