@wordpress/babel-plugin-import-jsx-pragma
Advanced tools
Comparing version 1.1.3 to 2.0.0
@@ -0,1 +1,11 @@ | ||
## 2.0.0 (Unreleased) | ||
### Breaking Change | ||
- Stop using Babel transpilation internally and set node 8 as a minimal version required ([#13540](https://github.com/WordPress/gutenberg/pull/13540)). | ||
### Enhancement | ||
- Plugin skips now adding import JSX pragma when the scope variable is defined for all JSX elements ([#13809](https://github.com/WordPress/gutenberg/pull/13809)). | ||
## 1.1.0 (2018-09-05) | ||
@@ -2,0 +12,0 @@ |
### WordPress - Web publishing software | ||
Copyright 2011-2018 by the contributors | ||
Copyright 2011-2019 by the contributors | ||
@@ -5,0 +5,0 @@ This program is free software; you can redistribute it and/or modify |
{ | ||
"name": "@wordpress/babel-plugin-import-jsx-pragma", | ||
"version": "1.1.3", | ||
"version": "2.0.0", | ||
"description": "Babel transform plugin for automatically injecting an import to be used as the pragma for the React JSX Transform plugin.", | ||
@@ -17,3 +17,4 @@ "author": "The WordPress Contributors", | ||
"type": "git", | ||
"url": "https://github.com/WordPress/gutenberg.git" | ||
"url": "https://github.com/WordPress/gutenberg.git", | ||
"directory": "packages/babel-plugin-import-jsx-pragma" | ||
}, | ||
@@ -23,11 +24,9 @@ "bugs": { | ||
}, | ||
"engines": { | ||
"node": ">=8" | ||
}, | ||
"files": [ | ||
"build", | ||
"build-module" | ||
"index.js" | ||
], | ||
"main": "build/index.js", | ||
"module": "build-module/index.js", | ||
"dependencies": { | ||
"@babel/runtime": "^7.0.0" | ||
}, | ||
"main": "index.js", | ||
"peerDependencies": { | ||
@@ -39,3 +38,3 @@ "@babel/core": "^7.0.0" | ||
}, | ||
"gitHead": "c59ef56fe16bdcc1fffd70b6e8a2fda4bf9c28fe" | ||
"gitHead": "80d228669adadb8dfcd24b8421517fed3be2d474" | ||
} |
@@ -7,3 +7,3 @@ # Babel Plugin Import JSX Pragma | ||
**Babel Plugin Import JSX Pragma** automates this process by introducing the necessary import automatically wherever JSX exists, allowing you to use JSX in your code without thinking to ensure the transformed function is within scope. | ||
**Babel Plugin Import JSX Pragma** automates this process by introducing the necessary import automatically wherever JSX exists, allowing you to use JSX in your code without thinking to ensure the transformed function is within scope. It respects existing import statements, as well as scope variable declarations. | ||
@@ -10,0 +10,0 @@ ## Installation |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1
25545
5
71
- Removed@babel/runtime@^7.0.0
- Removed@babel/runtime@7.25.6(transitive)
- Removedregenerator-runtime@0.14.1(transitive)