Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-react-jsx

Package Overview
Dependencies
83
Maintainers
5
Versions
97
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0-beta.47 to 7.0.0-beta.48

16

lib/index.js

@@ -11,3 +11,3 @@ "use strict";

_helperPluginUtils = function _helperPluginUtils() {
_helperPluginUtils = function () {
return data;

@@ -22,3 +22,3 @@ };

_pluginSyntaxJsx = function _pluginSyntaxJsx() {
_pluginSyntaxJsx = function () {
return data;

@@ -33,3 +33,3 @@ };

_helperBuilderReactJsx = function _helperBuilderReactJsx() {
_helperBuilderReactJsx = function () {
return data;

@@ -44,3 +44,3 @@ };

_core = function _core() {
_core = function () {
return data;

@@ -86,3 +86,5 @@ };

enter(path, state) {
const file = state.file;
const {
file
} = state;
let pragma = PRAGMA_DEFAULT;

@@ -92,6 +94,4 @@ let pragmaFrag = PRAGMA_FRAG_DEFAULT;

let pragmaFragSet = !!options.pragmaFrag;
var _arr = file.ast.comments;
for (var _i = 0; _i < _arr.length; _i++) {
const comment = _arr[_i];
for (const comment of file.ast.comments) {
const jsxMatches = JSX_ANNOTATION_REGEX.exec(comment.value);

@@ -98,0 +98,0 @@

{
"name": "@babel/plugin-transform-react-jsx",
"version": "7.0.0-beta.47",
"version": "7.0.0-beta.48",
"description": "Turn JSX into React function calls",

@@ -12,13 +12,13 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-react-jsx",

"dependencies": {
"@babel/helper-builder-react-jsx": "7.0.0-beta.47",
"@babel/helper-plugin-utils": "7.0.0-beta.47",
"@babel/plugin-syntax-jsx": "7.0.0-beta.47"
"@babel/helper-builder-react-jsx": "7.0.0-beta.48",
"@babel/helper-plugin-utils": "7.0.0-beta.48",
"@babel/plugin-syntax-jsx": "7.0.0-beta.48"
},
"peerDependencies": {
"@babel/core": "7.0.0-beta.47"
"@babel/core": "7.0.0-beta.48"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.47",
"@babel/helper-plugin-test-runner": "7.0.0-beta.47"
"@babel/core": "7.0.0-beta.48",
"@babel/helper-plugin-test-runner": "7.0.0-beta.48"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc