Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@yoast/grunt-plugin-tasks
Advanced tools
The plugin that contains all custom Yoast tasks
This plugin requires Grunt ~0.4.5
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-yoast-tasks --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks( "grunt-yoast-tasks" );
In your project's Gruntfile, add a section named yoast_tasks
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
yoast_tasks: {
options: {
// Task-specific options go here.
},
your_target: {
// Target-specific file lists and/or options go here.
}
}
});
Type: String
Default value: ''
The JSON file base object for the target to be in.
Type: String
Default value: ''
The child of the options.base object to replace the version string in.
Type: String
Default value: ''
The source JSON file to set the version in.
packageJSON: {
options: {
base: "someOrganisation",
target: "pluginVersion",
},
src: "tmp/testPackage.json",
}
In your project's Gruntfile, add a section named yoast_tasks
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
yoast_tasks: {
options: {
// Task-specific options go here.
},
your_target: {
// Target-specific file lists and/or options go here.
},
},
});
Type: String
Default value: ''
The string value that will be the new version string.
Type: String
Default value: ''
A regex string that is used to find the line to be updated in the file.
Type: String
Default value: ''
A prefix to the version string, for example a regex capture group.
Type: String
Default value: ''
A postfix to the version string, for example a regex capture group.
readme: {
options: {
version: "1.1",
regEx: /(Stable tag: )(\d+(\.\d+){0,3})([^\n^\.\d]?.*?)(\n)/,
preVersionMatch: "$1",
postVersionMatch: "$5"
},
src: "tmp/README.md"
}
FAQs
Custom Yoast grunt tasks
We found that @yoast/grunt-plugin-tasks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.