Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
grunt-date-suffix
Advanced tools
![Gitter](https://badges.gitter.im/Join Chat.svg)
Grunt plugin for renaming a file with a date suffix.
npm install grunt-date-suffix --save-dev
//Gruntfile.js
grunt.initConfig({
datesuffix: {
test1: {
file: "test.txt", //required
},
test2: {
file: "test.txt", //required
dest: "output", //default: undefined
},
test3: {
file: "test.txt", //required
dest: "output", //default: undefined
copy: true, //default: false
date_format: "yyyyMMdd" //default: "yyyyMMddhhmmssSSS"
},
test4: {
files: "filedoesnotexist.txt", //required
ignore_nonexistent: true //default: false
}
}
});
grunt.loadNpmTasks("grunt-date-suffix");
grunt datesuffix:test1
grunt datesuffix:test2
grunt datesuffix:test3
grunt datesuffix:test4
####Result
# test1
test.20150116201020123.txt
# test2
output/test.20150116201020123.txt
# test3
test.txt
output/test.20150116.txt
# test4
# no error is thrown even if the file does not exist
FAQs
Grunt plugin for renaming a file with date suffix.
We found that grunt-date-suffix demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.