Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/preset-react

Package Overview
Dependencies
Maintainers
4
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/preset-react - npm Package Compare versions

Comparing version 7.22.5 to 7.23.3

16

lib/index.js

@@ -12,8 +12,8 @@ 'use strict';

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
var transformReactJSX__default = /*#__PURE__*/_interopDefaultLegacy(transformReactJSX);
var transformReactJSXDevelopment__default = /*#__PURE__*/_interopDefaultLegacy(transformReactJSXDevelopment);
var transformReactDisplayName__default = /*#__PURE__*/_interopDefaultLegacy(transformReactDisplayName);
var transformReactPure__default = /*#__PURE__*/_interopDefaultLegacy(transformReactPure);
var transformReactJSX__default = /*#__PURE__*/_interopDefault(transformReactJSX);
var transformReactJSXDevelopment__default = /*#__PURE__*/_interopDefault(transformReactJSXDevelopment);
var transformReactDisplayName__default = /*#__PURE__*/_interopDefault(transformReactDisplayName);
var transformReactPure__default = /*#__PURE__*/_interopDefault(transformReactPure);

@@ -66,3 +66,3 @@ new helperValidatorOption.OptionValidator("@babel/preset-react");

return {
plugins: [[development ? transformReactJSXDevelopment__default["default"] : transformReactJSX__default["default"], {
plugins: [[development ? transformReactJSXDevelopment__default.default : transformReactJSX__default.default, {
importSource,

@@ -76,7 +76,7 @@ pragma,

useSpread: opts.useSpread
}], transformReactDisplayName__default["default"], pure !== false && transformReactPure__default["default"]].filter(Boolean)
}], transformReactDisplayName__default.default, pure !== false && transformReactPure__default.default].filter(Boolean)
};
});
exports["default"] = index;
exports.default = index;
//# sourceMappingURL=index.js.map
{
"name": "@babel/preset-react",
"version": "7.22.5",
"version": "7.23.3",
"description": "Babel preset for all React plugins.",

@@ -20,7 +20,7 @@ "author": "The Babel Team (https://babel.dev/team)",

"@babel/helper-plugin-utils": "^7.22.5",
"@babel/helper-validator-option": "^7.22.5",
"@babel/plugin-transform-react-display-name": "^7.22.5",
"@babel/plugin-transform-react-jsx": "^7.22.5",
"@babel/helper-validator-option": "^7.22.15",
"@babel/plugin-transform-react-display-name": "^7.23.3",
"@babel/plugin-transform-react-jsx": "^7.22.15",
"@babel/plugin-transform-react-jsx-development": "^7.22.5",
"@babel/plugin-transform-react-pure-annotations": "^7.22.5"
"@babel/plugin-transform-react-pure-annotations": "^7.23.3"
},

@@ -31,3 +31,3 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/core": "^7.23.3",
"@babel/helper-plugin-test-runner": "^7.22.5"

@@ -34,0 +34,0 @@ },

@@ -5,3 +5,3 @@ # @babel/preset-react

See our website [@babel/preset-react](https://babeljs.io/docs/en/babel-preset-react) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20react%22+is%3Aopen) associated with this package.
See our website [@babel/preset-react](https://babeljs.io/docs/babel-preset-react) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20react%22+is%3Aopen) associated with this package.

@@ -8,0 +8,0 @@ ## Install

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc