
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
eslint-plugin-no-catch-destructuring
Advanced tools
Avoid Safari10 ES6 bug by not destructuring in catch blocks
Avoid Safari <=13 ES6 bug by not destructuring in catch blocks
If you're curious, here's the specific bug: https://bugs.webkit.org/show_bug.cgi?id=189914
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-no-catch-destructuring
:
npm install eslint-plugin-no-catch-destructuring --save-dev
Add no-catch-destructuring
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["no-catch-destructuring"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"no-catch-destructuring/no-catch-destructuring": 2
}
}
FAQs
Avoid Safari10 ES6 bug by not destructuring in catch blocks
The npm package eslint-plugin-no-catch-destructuring receives a total of 2,732 weekly downloads. As such, eslint-plugin-no-catch-destructuring popularity was classified as popular.
We found that eslint-plugin-no-catch-destructuring 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
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.