New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wordpress/babel-preset-default

Package Overview
Dependencies
Maintainers
8
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/babel-preset-default - npm Package Compare versions

Comparing version

to
4.0.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## 4.0.0 (Unreleased)
## Breaking Change
- Removed `babel-core` dependency acting as Babel 7 bridge ([#13922](https://github.com/WordPress/gutenberg/pull/13922). Ensure all references to `babel-core` are replaced with `@babel/core` .
- Preset updated to include `@wordpress/babel-plugin-import-jsx-pragma` plugin integration ([#13540](https://github.com/WordPress/gutenberg/pull/13540)).
## 3.0.0 (2018-09-30)

@@ -2,0 +9,0 @@

@@ -18,2 +18,10 @@ module.exports = function( api ) {

'@babel/plugin-proposal-object-rest-spread',
[
'@wordpress/babel-plugin-import-jsx-pragma',
{
scopeVariable: 'createElement',
source: '@wordpress/element',
isDefault: false,
},
],
[ '@babel/plugin-transform-react-jsx', {

@@ -20,0 +28,0 @@ pragma: 'createElement',

2

LICENSE.md
### 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-preset-default",
"version": "3.0.2",
"version": "4.0.0",
"description": "Default Babel preset for WordPress development.",

@@ -16,3 +16,4 @@ "author": "The WordPress Contributors",

"type": "git",
"url": "https://github.com/WordPress/gutenberg.git"
"url": "https://github.com/WordPress/gutenberg.git",
"directory": "packages/babel-preset-default"
},

@@ -25,13 +26,16 @@ "bugs": {

},
"files": [
"index.js"
],
"main": "index.js",
"dependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-async-generator-functions": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/runtime": "^7.0.0",
"@wordpress/browserslist-config": "^2.2.3",
"babel-core": "^7.0.0-bridge.0"
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-async-generator-functions": "^7.2.0",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/runtime": "^7.3.1",
"@wordpress/babel-plugin-import-jsx-pragma": "^2.0.0",
"@wordpress/browserslist-config": "^2.3.0"
},

@@ -44,3 +48,3 @@ "peerDependencies": {

},
"gitHead": "c59ef56fe16bdcc1fffd70b6e8a2fda4bf9c28fe"
"gitHead": "80d228669adadb8dfcd24b8421517fed3be2d474"
}