-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Chore/update metadata remover #38
Conversation
jduncan-xoi
commented
Mar 4, 2024
- switch to Typescript
- switch to Vite and Vitest
- use a logger vs console.logs
First of all how dare you |
The legend is alive! |
@Aleclindner might as well review this since you're already here |
"@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", |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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
Approved and left one optional comment |
also rename this to privilege/update metadata remover |