Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@formidable-webview/eslint-config-webjs
Advanced tools
An eslint configuration to validate scripts injected in WebViews.
An eslint configuration to validate scripts injected in WebViews. Thanks to the awesome eslint-plugin-compat, this config basically makes sure your script can be executed in Android WebView ≥ 4.1 and iOS Safari WebView ≥ 7.0. It checks both syntax (ECMAScript 5) and the DOM API. This config is notably meant to be used with @formidable-webview/webshell to implement features.
npm install estlint-plugin-compat @formidable-webview/eslint-config-webjs
After install, edit your eslint.js
and use the overrides
attribute to set a special
config for files ending in .webjs
or whichever arbitrary extension you chose
for your DOM scripts.
module.exports = {
root: true,
overrides: [
{
files: ["*.webjs"],
extends: "@formidable-webview/eslint-config-webjs",
},
],
};
You can override the WebView versions checked by explicitly setting the
compat/compat
rule.
FAQs
An eslint configuration to validate scripts injected in WebViews.
The npm package @formidable-webview/eslint-config-webjs receives a total of 3 weekly downloads. As such, @formidable-webview/eslint-config-webjs popularity was classified as not popular.
We found that @formidable-webview/eslint-config-webjs 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.