
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
superlogs-loader
Advanced tools
SuperLogs webpack loader for webpack
Superlogs is a super logical logging solution.
This package will find and replace doccomments with superlogs at build time.
$ npm install --save-dev superlogs-loader
or using yarn
$ yarn add superlogs-loader --dev
In your webpack.config.js:
module.exports = {
// ...
module: {
rules: [
{
test: /\.ts?$/,
loader: 'superlogs-loader',
options: {
}
}
]
}
}
or for razzle
module.exports = {
// ...
modify: (config, { target, dev }, webpack) => {
config.module.rules.push(
{
test: /\.ts?$/,
loader: 'superlogs-loader',
options: {
}
}
);
}
}
In your target file
/**
* @method method description
*/
This will be replaced after build with superlogs
logs.addMethod('method description');
In your target file
/**
* @step step description
*/
This will be replaced after build with superlogs
logs.addStep('step description');
In your target file
/**
* @data debugVar
*/
This will be replaced after build with superlogs
logs.addData('debugVar', debugVar);
In your target file
/**
* @mongo mongo description
*/
This will be replaced after build with superlogs
logs.addMongo('mongo description');
In your target file
/**
* @dispatch dispatch type
* @payload setPayload(true)
*/
This will be replaced after build with superlogs
logs.addDispatch('dispatch description', setPayload(true));
Feel free to open issues to propose stuff and participate.
Pull requests are also welcome.
Thanks goes to these wonderful people (emoji key):
Alejandro Garcia Anglada 💻 🤔 | mathiasscheffe 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
webpack loader for superlogs
The npm package superlogs-loader receives a total of 0 weekly downloads. As such, superlogs-loader popularity was classified as not popular.
We found that superlogs-loader 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.