
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
lfs-auto-track
Advanced tools
If the files bigger than the size (you can configure, check the usage part), when commit, automatically run git lfs track
files.
make sure use husky
and lint-staged
in the project, and run git lfs install
npm i lfs-auto-track -D
Add lint-staged
script in package.json
{
"name": "module-name",
...
"lint-staged": {
"*": [
"lfs-auto-track 'image,video,audio:100;*:1024'"
],
}
...
}
'image,video,audio:100;*:1024'
means if mimetype is image/video/audio files's size bigger than 100 KB, and others files bigger than 1024 KB, these files will add to.gitattributes
with run commandgit lfs track
automatically;
'*:1024'
means any files size bigger than 1024 KB when commit, these files will add to.gitattributes
with run commandgit lfs track
automatically;
The size units support
B
/KB
/MB
/GB
, default isKB
'jpg,png,gif:1MB'
means files with extensionjpg
orpng
orgif
size bigger than 1 MB when commit, these files will add to.gitattributes
with run commandgit lfs track
automatically.
package.json
/ imgs/
) This file should be store in LFSgit lfs push --all origin
GIT_LFS_SKIP_SMUDGE=1 git clone THE_REPO_URL
git lfs pull
FAQs
git lfs auto track module
The npm package lfs-auto-track receives a total of 16 weekly downloads. As such, lfs-auto-track popularity was classified as not popular.
We found that lfs-auto-track demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.