
Security News
Feross on Risky Business Weekly Podcast: npm’s Ongoing Supply Chain Attacks
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
wepy-remove-before-set-data
Advanced tools
A workaround to remove the before-setData hook in wepy for fixing issues of using components.
A workaround to remove the before-setData hook in wepy for fixing issues of using components.
npm install wepy-remove-before-set-data --save-dev
/* wepy.config.js */
// import the plugin
const RemoveBeforeSetData = require('wepy-remove-before-set-data');
// add the plugin
module.exports = {
plugins: [
// by default it's disabled
RemoveBeforeSetData({ enabled: true }),
],
};
This is a temporary workaround for fixing the wepy2 - the issue ticket #2356.
It works for @wepy/core 2.0.0-alpha.9
and probably won't be needed in the later versions.
FAQs
A workaround to remove the before-setData hook in wepy for fixing issues of using components.
We found that wepy-remove-before-set-data 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
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.