@wordpress/babel-preset-default 7.2.0 → 7.2.1-next.4d3b314fd5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/CHANGELOG.md +0 -158
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/babel-preset-default",
|
|
3
|
-
"version": "7.2.0",
|
|
3
|
+
"version": "7.2.1-next.4d3b314fd5.0",
|
|
4
4
|
"description": "Default Babel preset for WordPress development.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"@babel/preset-env": "^7.16.0",
|
|
36
36
|
"@babel/preset-typescript": "^7.16.0",
|
|
37
37
|
"@babel/runtime": "^7.16.0",
|
|
38
|
-
"@wordpress/babel-plugin-import-jsx-pragma": "^4.1.0",
|
|
39
|
-
"@wordpress/browserslist-config": "^5.1.0",
|
|
40
|
-
"@wordpress/element": "^4.16.0",
|
|
41
|
-
"@wordpress/warning": "^2.18.0",
|
|
38
|
+
"@wordpress/babel-plugin-import-jsx-pragma": "^4.1.1-next.4d3b314fd5.0",
|
|
39
|
+
"@wordpress/browserslist-config": "^5.1.1-next.4d3b314fd5.0",
|
|
40
|
+
"@wordpress/element": "^4.16.1-next.4d3b314fd5.0",
|
|
41
|
+
"@wordpress/warning": "^2.18.1-next.4d3b314fd5.0",
|
|
42
42
|
"browserslist": "^4.17.6",
|
|
43
43
|
"core-js": "^3.19.1"
|
|
44
44
|
},
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "node ./bin/index.js"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "25054766423cb49d959eb656c2533530073ff5c2"
|
|
52
52
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
<!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. -->
|
|
2
|
-
|
|
3
|
-
## Unreleased
|
|
4
|
-
|
|
5
|
-
## 7.2.0 (2022-09-21)
|
|
6
|
-
|
|
7
|
-
## 7.0.0 (2022-08-24)
|
|
8
|
-
|
|
9
|
-
### Breaking Change
|
|
10
|
-
|
|
11
|
-
- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)).
|
|
12
|
-
|
|
13
|
-
## 6.4.0 (2021-11-15)
|
|
14
|
-
|
|
15
|
-
### Enhancements
|
|
16
|
-
|
|
17
|
-
- The bundled `@babel/core` dependency has been updated from requiring `^7.13.19` to requiring `^7.16.0` ([#36244](https://github.com/WordPress/gutenberg/pull/36244)).
|
|
18
|
-
- The bundled `@babel/plugin-transform-react-jsx` dependency has been updated from requiring `^7.12.7` to requiring `^7.16.0` ([#36244](https://github.com/WordPress/gutenberg/pull/36244)).
|
|
19
|
-
- The bundled `@babel/plugin-transform-runtime` dependency has been updated from requiring `^7.13.10` to requiring `^7.16.0` ([#36244](https://github.com/WordPress/gutenberg/pull/36244)).
|
|
20
|
-
- The bundled `@babel/preset-env` dependency has been updated from requiring `^7.13.10` to requiring `^7.16.0` ([#36244](https://github.com/WordPress/gutenberg/pull/36244)).
|
|
21
|
-
- The bundled `@babel/preset-typescript` dependency has been updated from requiring `^7.13.10` to requiring `^7.16.0` ([#36244](https://github.com/WordPress/gutenberg/pull/36244)).
|
|
22
|
-
- The bundled `@babel/runtime` dependency has been updated from requiring `^7.13.10` to requiring `^7.16.0` ([#36244](https://github.com/WordPress/gutenberg/pull/36244)).
|
|
23
|
-
- The bundled `browserslist` dependency has been updated from requiring `^4.16.6` to requiring `^4.17.6` ([#36244](https://github.com/WordPress/gutenberg/pull/36244)).
|
|
24
|
-
- The bundled `core-js` dependency has been updated from requiring `^3.12.1` to requiring `^3.19.1` ([#36244](https://github.com/WordPress/gutenberg/pull/36244)).
|
|
25
|
-
|
|
26
|
-
## 6.2.0 (2021-05-31)
|
|
27
|
-
|
|
28
|
-
### New Feature
|
|
29
|
-
|
|
30
|
-
- New `build/polyfill.js` (minified version – `build/polyfill.min.js`) file is available that polyfills ECMAScript features missing in the [browsers supported](https://make.wordpress.org/core/handbook/best-practices/browser-support/) by the WordPress project. It's a drop-in replacement for the deprecated `@babel/polyfill` package ([#31279](https://github.com/WordPress/gutenberg/pull/31279)).
|
|
31
|
-
|
|
32
|
-
## 6.1.0 (2021-05-20)
|
|
33
|
-
|
|
34
|
-
### Bug Fixes
|
|
35
|
-
|
|
36
|
-
- Configure `@babel/preset-env` preset to respect a local Browserslist configuration.
|
|
37
|
-
|
|
38
|
-
## 6.0.0 (2021-05-14)
|
|
39
|
-
|
|
40
|
-
### Breaking Changes
|
|
41
|
-
|
|
42
|
-
- Drop support for Internet Explorer 11 ([#31110](https://github.com/WordPress/gutenberg/pull/31110)). Learn more at https://make.wordpress.org/core/2021/04/22/ie-11-support-phase-out-plan/.
|
|
43
|
-
- Increase the minimum Node.js version to v12 matching Long Term Support releases ([#31270](https://github.com/WordPress/gutenberg/pull/31270)). Learn more at https://nodejs.org/en/about/releases/.
|
|
44
|
-
|
|
45
|
-
## 5.2.0 (2021-04-06)
|
|
46
|
-
|
|
47
|
-
### Enhancements
|
|
48
|
-
|
|
49
|
-
- The bundled `@babel/core` dependency has been updated from requiring `^7.12.9` to requiring `^7.13.10` ([#30018](https://github.com/WordPress/gutenberg/pull/30018)).
|
|
50
|
-
- The bundled `@babel/plugin-transform-runtime` dependency has been updated from requiring `^7.12.1` to requiring `^7.13.10` ([#30018](https://github.com/WordPress/gutenberg/pull/30018)).
|
|
51
|
-
- The bundled `@babel/preset-env` dependency has been updated from requiring `^7.12.7` to requiring `^7.13.10` ([#30018](https://github.com/WordPress/gutenberg/pull/30018)).
|
|
52
|
-
- The bundled `@babel/preset-typescript` dependency has been updated from requiring `^7.12.7` to requiring `^7.13.10` ([#30018](https://github.com/WordPress/gutenberg/pull/30018)).
|
|
53
|
-
- The bundled `@babel/runtime` dependency has been updated from requiring `^7.12.5` to requiring `^7.13.10` ([#30018](https://github.com/WordPress/gutenberg/pull/30018)).
|
|
54
|
-
|
|
55
|
-
## 5.1.0 (2021-03-17)
|
|
56
|
-
|
|
57
|
-
### New Features
|
|
58
|
-
|
|
59
|
-
- Added `@babel/preset-typescript` so that the preset can by default transpile TypeScript files, too.
|
|
60
|
-
|
|
61
|
-
## 5.0.0 (2021-01-21)
|
|
62
|
-
|
|
63
|
-
### Breaking Changes
|
|
64
|
-
|
|
65
|
-
- Increase the minimum Node.js version to 12 ([#27934](https://github.com/WordPress/gutenberg/pull/27934)).
|
|
66
|
-
|
|
67
|
-
## 4.20.0 (2020-12-17)
|
|
68
|
-
|
|
69
|
-
### New Features
|
|
70
|
-
|
|
71
|
-
- The bundled `@babel/core` dependency has been updated from requiring `^7.11.6` to requiring `^7.12.9`. All other Babel plugins were updated to the latest version (see [Highlights](https://babeljs.io/blog/2020/10/15/7.12.0)).
|
|
72
|
-
|
|
73
|
-
## 4.14.0 (2020-05-27)
|
|
74
|
-
|
|
75
|
-
### Breaking Changes
|
|
76
|
-
|
|
77
|
-
- Revert enabling the `shippedProposals` flag. That flag enables the use of stage-3 proposals, but the goal of this preset is to only support stage-4 features. [#22083](https://github.com/WordPress/gutenberg/pull/22083)
|
|
78
|
-
|
|
79
|
-
### New Features
|
|
80
|
-
|
|
81
|
-
- The bundled `@babel/core` dependency has been updated from requiring `^7.9.0` to requiring `^7.11.6`. All other Babel plugins were updated to the latest version (see Highlights: [7.11](https://babeljs.io/blog/2020/07/30/7.11.0) and [7.10](https://babeljs.io/blog/2020/05/25/7.10.0)).
|
|
82
|
-
|
|
83
|
-
## 4.12.0 (2020-04-15)
|
|
84
|
-
|
|
85
|
-
### New Features
|
|
86
|
-
|
|
87
|
-
- The bundled `@babel/core` dependency has been updated from requiring `^7.8.3` to requiring `^7.9.0`. All other Babel plugins were updated to the latest version (see [Highlights](https://babeljs.io/blog/2020/03/16/7.9.0)).
|
|
88
|
-
|
|
89
|
-
## 4.10.0 (2020-02-04)
|
|
90
|
-
|
|
91
|
-
### New Feature
|
|
92
|
-
|
|
93
|
-
- The bundled `@babel/core` dependency has been updated from requiring `^7.4.4` to requiring `^7.8.3`. All other Babel plugins were updated to the latest version. `@babel/preset-env` has now ESMAScript 2020 support enabled by default (see [Highlights](https://babeljs.io/blog/2020/01/11/7.8.0#highlights)).
|
|
94
|
-
|
|
95
|
-
## 4.5.0 (2019-08-29)
|
|
96
|
-
|
|
97
|
-
### Bug Fixes
|
|
98
|
-
|
|
99
|
-
- Added missing `@wordpress/element` dependency which is used internally.
|
|
100
|
-
|
|
101
|
-
## 4.4.0 (2019-08-05)
|
|
102
|
-
|
|
103
|
-
### Bug Fixes
|
|
104
|
-
|
|
105
|
-
- Configure Babel to target your current version of Node as described in [Jest docs](https://jestjs.io/docs/en/getting-started#using-babel).
|
|
106
|
-
- Added missing [core-js](https://www.npmjs.com/package/core-js) dependency ([#16259](https://github.com/WordPress/gutenberg/pull/16259)).
|
|
107
|
-
|
|
108
|
-
## 4.2.0 (2019-05-21)
|
|
109
|
-
|
|
110
|
-
### New Features
|
|
111
|
-
|
|
112
|
-
- Handle `<></>` JSX Fragments with `@wordpress/element` `Fragment` ([#15120](https://github.com/WordPress/gutenberg/pull/15120)).
|
|
113
|
-
- The bundled `@babel/core` dependency has been updated from requiring `^7.2.2` to requiring `^7.4.4`. Babel preset is now using `core-js@3` instead of `core-js@2` (see [Migration Guide](https://babeljs.io/blog/2019/03/19/7.4.0#migration-from-core-js-2)).
|
|
114
|
-
|
|
115
|
-
## 4.0.0 (2019-03-06)
|
|
116
|
-
|
|
117
|
-
### Breaking Changes
|
|
118
|
-
|
|
119
|
-
- 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` .
|
|
120
|
-
- Preset updated to include `@wordpress/babel-plugin-import-jsx-pragma` plugin integration ([#13540](https://github.com/WordPress/gutenberg/pull/13540)). It should no longer be explicitly included in your Babel config.
|
|
121
|
-
|
|
122
|
-
### Bug Fix
|
|
123
|
-
|
|
124
|
-
- The runtime transform no longer disables [the `regenerator` option](https://babeljs.io/docs/en/babel-plugin-transform-runtime#regenerator). This should resolve issues where a file generated using the preset would assume the presence of a `regeneratorRuntime` object in the global scope. While this is not considered a breaking change, you may be mindful to consider that with transformed output now explicitly importing the runtime regenerator, bundle sizes may increase if you do not otherwise mitigate the additional import by either (a) overriding the option in your own Babel configuration extensions or (b) redefining the resolved value of `@babel/runtime/regenerator` using a feature like [Webpack's `externals` option](https://webpack.js.org/configuration/externals/).
|
|
125
|
-
|
|
126
|
-
## 3.0.0 (2018-09-30)
|
|
127
|
-
|
|
128
|
-
### Breaking Change
|
|
129
|
-
|
|
130
|
-
- The configured `@babel/preset-env` preset will no longer pass `useBuiltIns: 'usage'` as an option. It is therefore expected that a polyfill serve in its place, if necessary.
|
|
131
|
-
|
|
132
|
-
## 2.1.0 (2018-09-05)
|
|
133
|
-
|
|
134
|
-
### New Feature
|
|
135
|
-
|
|
136
|
-
- Plugin updated to work with the stable version of Babel 7 ([#9171](https://github.com/WordPress/gutenberg/pull/9171)).
|
|
137
|
-
|
|
138
|
-
## 2.0.0 (2018-07-12)
|
|
139
|
-
|
|
140
|
-
### Breaking Change
|
|
141
|
-
|
|
142
|
-
- Updated code to work with Babel 7 ([#7832](https://github.com/WordPress/gutenberg/pull/7832))
|
|
143
|
-
|
|
144
|
-
### Internal
|
|
145
|
-
|
|
146
|
-
- Moved `@WordPress/packages` repository to `@WordPress/gutenberg` ([#7805](https://github.com/WordPress/gutenberg/pull/7805))
|
|
147
|
-
|
|
148
|
-
## 1.3.0 (2018-05-22)
|
|
149
|
-
|
|
150
|
-
### New Feature
|
|
151
|
-
|
|
152
|
-
- Added support for async generator functions ([#126](https://github.com/WordPress/packages/pull/126))
|
|
153
|
-
|
|
154
|
-
## 1.2.1 (2018-05-18)
|
|
155
|
-
|
|
156
|
-
### Polish
|
|
157
|
-
|
|
158
|
-
- Fix: Standardized `package.json` format ([#119](https://github.com/WordPress/packages/pull/119))
|