
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@funboxteam/rebuild-in-progress-webpack-plugin
Advanced tools
Creates the file indicator at the beginning of the build and deletes it at the end.
Webpack plugin that creates the file indicator at the beginning of the build and deletes it at the end.
Sometimes external programs have to know the project building state. E.g. it's important to have this knowledge for tests running (especially E2E), because testing should be started when the project is completely built.
To solve this problem RebuildInProgress plugin was created. It creates the file node_modules/.rebuildInProgress
when webpack starts to build the project and removes it at the end.
Add the plugin in plugins array as usual:
const RebuildInProgressPlugin = require('@funboxteam/rebuild-in-progress-webpack-plugin');
module.exports = {
plugins: [
new RebuildInProgressPlugin()
]
}
Set the path to the file if the default one isn't suitable:
const RebuildInProgressPlugin = require('@funboxteam/rebuild-in-progress-webpack-plugin');
const rebuildInProgressPath = 'node_modules/.alternativeName';
module.exports = {
plugins: [
new RebuildInProgressPlugin(rebuildInProgressPath)
]
}
Here's an example of watching for build state using
fs:
const fs = require('fs');
const rebuildInProgressPath = 'node_modules/.rebuildInProgress';
fs.watch(path.dirname(rebuildInProgressPath), (eventType, filename) => {
if (eventType === 'rename' && filename === path.basename(rebuildInProgressPath)) {
if (fs.existsSync(rebuildInProgressPath)) {
// Build has been started
} else {
// Build has been completed
}
}
});
FAQs
Creates the file indicator at the beginning of the build and deletes it at the end.
The npm package @funboxteam/rebuild-in-progress-webpack-plugin receives a total of 79 weekly downloads. As such, @funboxteam/rebuild-in-progress-webpack-plugin popularity was classified as not popular.
We found that @funboxteam/rebuild-in-progress-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.