Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@lego/browserslist-config-internal
Advanced tools
Browserslist is a configuration to share your project's target browsers between different front-end tools.
$ npm install --save-dev @lego/browserslist-config
To get started, add this to your package.json
file:
"browserslist": [
["extends @lego/browserslist-config"]
]
or add a .browserslistrc
file which contains:
extends @lego/browserslist-config
This package includes the following complete and ready to use configurations:
@lego/browserslist-config
- Extended Rules@lego/browserslist-config/internal
- Internal Rules, for internal tools onlyNone
Autoprefixer is a PostCSS plugin to add vendor prefixes to CSS. It adds only actual prefixes according to Browserslist’s target browsers and Can I Use data.
Babel is a tool to compile JS files. The most popular way to use it is to compile future JS syntaxes to JS supported by target browsers. From Babel 7.0 @babel/preset-env loads target browsers from the same Browserslist config.
postcss-preset-env is a “Babel for CSS.” It compiles future CSS syntax to CSS supported by target browsers. It is similar to cssnext, but more accurate with CSS spec and has stage option.
Browsers have different default styles. To have same styles in all browsers we need to “normalize” these differences.
postcss-normalize is a fork of popular Normalize.css with 2 differents: it doesn’t have opinionated styles, and it adds only necessary fixes according Browserslist target browsers.
ESLint finds mistakes in your JS. eslint-plugin-compat is a plugin to ESLint to warn that JS will not work in all target browsers.
Stylelint is a “ESLint for CSS” to warn you about mistakes in CSS. It also has stylelint-no-unsupported-browser-features plugin to warn you when CSS property will not work in all target browsers.
FAQs
LEGO shareable browserslist config for js projects
The npm package @lego/browserslist-config-internal receives a total of 36 weekly downloads. As such, @lego/browserslist-config-internal popularity was classified as not popular.
We found that @lego/browserslist-config-internal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
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.