![Malicious npm Package Typosquats react-login-page to Deploy Keylogger](https://cdn.sanity.io/images/cgdhsj6q/production/007b21d9cf9e03ae0bb3f577d1bd59b9d715645a-1024x1024.webp?w=400&fit=max&auto=format)
Research
Security News
Malicious npm Package Typosquats react-login-page to Deploy Keylogger
Socket researchers unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
@babel/plugin-transform-react-jsx-development
Advanced tools
Package description
The @babel/plugin-transform-react-jsx-development package is a Babel plugin specifically designed for transforming React JSX syntax into JavaScript code during development. This plugin provides enhanced debugging capabilities by including more descriptive names and locations in the transformed code, which helps in debugging React components more effectively.
Transform JSX to JavaScript
Converts JSX syntax into JavaScript, making it understandable by browsers. In development mode, it includes specific details such as component names and line numbers to aid in debugging.
const element = <div>Hello, world!</div>;
Source location tracking
Embeds source location information into the transformed code, which helps in tracing back to the original source code location during debugging.
const profile = <Profile name='John Doe' />;
Similar to @babel/plugin-transform-react-jsx-development, this package transforms JSX into JavaScript. The main difference is that it is optimized for production use, focusing on performance optimizations and smaller output without detailed debugging information.
This package is a Babel preset that includes @babel/plugin-transform-react-jsx along with other plugins and configurations tailored for React apps. It simplifies setup but is less customizable compared to using individual plugins like @babel/plugin-transform-react-jsx-development.
Readme
Turn JSX into React function calls in development
See our website @babel/plugin-transform-react-jsx-development for more information.
Using npm:
npm install --save-dev @babel/plugin-transform-react-jsx-development
or using yarn:
yarn add @babel/plugin-transform-react-jsx-development --dev
FAQs
Unknown package
We found that @babel/plugin-transform-react-jsx-development demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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 unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
Security News
The JavaScript community has launched the e18e initiative to improve ecosystem performance by cleaning up dependency trees, speeding up critical parts of the ecosystem, and documenting lighter alternatives to established tools.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.