Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
@ackee/browserslist-config
Advanced tools
Default browsers list supported in our projects at Ackee
A default browsers list for our projects in Akcee - list of browsers for prod env.
More readble version for our PMs and our clients can found here.
yarn add @ackee/browserslist-config -D
Add this to your package.json
:
"browserslist": [
"extends @ackee/browserslist-config"
]
Make sure to have installed at least @ackee/react-scripts@1.1.1
version:
yarn add @ackee/react-scripts@1.1.1 -D
Add to package.json
:
"browserslist": [
"extends @ackee/browserslist-config"
]
Import core-js
in root of your project for correct polyfilling:
import 'core-js';
Since node modules often have the largest impact on the final bundle size, it's crucial to choose those packages carefully:
To leverage the power of browserslist on your project, it's important to choose packages transpiled to modern (non-ES5 JavaScript) as much as possible.
Lint the browser compatibility of your code by adding eslint-plugin-compat
babel-preset-react-app
.@ackee/react-scripts
.babel-preset-react-app
uses @babel/preset-env
preset that transpiles code based on provided browserslist.@babel/preset-env
has available debug
option. You can set it in:
babel-preset-react-app/create.js
for your source code.babel-preset-react-app/dependencies.js
for node modules.An example output could look like this for browserslist only with Chrome 81
:
@babel/preset-env: `DEBUG` option
Using targets:
{
"chrome": "81"
}
Using modules transform: false
Using plugins:
syntax-nullish-coalescing-operator { "chrome":"81" }
syntax-optional-chaining { "chrome":"81" }
syntax-json-strings { "chrome":"81" }
syntax-optional-catch-binding { "chrome":"81" }
syntax-async-generators { "chrome":"81" }
syntax-object-rest-spread { "chrome":"81" }
syntax-dynamic-import { "chrome":"81" }
syntax-top-level-await { "chrome":"81" }
Using polyfills with `entry` option:
FAQs
Default browsers list supported in our projects at Ackee
We found that @ackee/browserslist-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.