@wordpress/babel-preset-default 7.1.1 → 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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/CHANGELOG.md +0 -156
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/babel-preset-default",
3
- "version": "7.1.1",
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.0.1",
39
- "@wordpress/browserslist-config": "^5.0.1",
40
- "@wordpress/element": "^4.15.1",
41
- "@wordpress/warning": "^2.17.1",
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": "f6021282457317c7e12dcc3a3f02c9ac28e16a30"
51
+ "gitHead": "25054766423cb49d959eb656c2533530073ff5c2"
52
52
  }
package/CHANGELOG.md DELETED
@@ -1,156 +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.0.0 (2022-08-24)
6
-
7
- ### Breaking Change
8
-
9
- - Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)).
10
-
11
- ## 6.4.0 (2021-11-15)
12
-
13
- ### Enhancements
14
-
15
- - 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)).
16
- - 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)).
17
- - 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)).
18
- - 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)).
19
- - 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)).
20
- - 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)).
21
- - 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)).
22
- - 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)).
23
-
24
- ## 6.2.0 (2021-05-31)
25
-
26
- ### New Feature
27
-
28
- - 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)).
29
-
30
- ## 6.1.0 (2021-05-20)
31
-
32
- ### Bug Fixes
33
-
34
- - Configure `@babel/preset-env` preset to respect a local Browserslist configuration.
35
-
36
- ## 6.0.0 (2021-05-14)
37
-
38
- ### Breaking Changes
39
-
40
- - 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/.
41
- - 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/.
42
-
43
- ## 5.2.0 (2021-04-06)
44
-
45
- ### Enhancements
46
-
47
- - 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)).
48
- - 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)).
49
- - 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)).
50
- - 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)).
51
- - 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)).
52
-
53
- ## 5.1.0 (2021-03-17)
54
-
55
- ### New Features
56
-
57
- - Added `@babel/preset-typescript` so that the preset can by default transpile TypeScript files, too.
58
-
59
- ## 5.0.0 (2021-01-21)
60
-
61
- ### Breaking Changes
62
-
63
- - Increase the minimum Node.js version to 12 ([#27934](https://github.com/WordPress/gutenberg/pull/27934)).
64
-
65
- ## 4.20.0 (2020-12-17)
66
-
67
- ### New Features
68
-
69
- - 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)).
70
-
71
- ## 4.14.0 (2020-05-27)
72
-
73
- ### Breaking Changes
74
-
75
- - 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)
76
-
77
- ### New Features
78
-
79
- - 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)).
80
-
81
- ## 4.12.0 (2020-04-15)
82
-
83
- ### New Features
84
-
85
- - 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)).
86
-
87
- ## 4.10.0 (2020-02-04)
88
-
89
- ### New Feature
90
-
91
- - 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)).
92
-
93
- ## 4.5.0 (2019-08-29)
94
-
95
- ### Bug Fixes
96
-
97
- - Added missing `@wordpress/element` dependency which is used internally.
98
-
99
- ## 4.4.0 (2019-08-05)
100
-
101
- ### Bug Fixes
102
-
103
- - Configure Babel to target your current version of Node as described in [Jest docs](https://jestjs.io/docs/en/getting-started#using-babel).
104
- - Added missing [core-js](https://www.npmjs.com/package/core-js) dependency ([#16259](https://github.com/WordPress/gutenberg/pull/16259)).
105
-
106
- ## 4.2.0 (2019-05-21)
107
-
108
- ### New Features
109
-
110
- - Handle `<></>` JSX Fragments with `@wordpress/element` `Fragment` ([#15120](https://github.com/WordPress/gutenberg/pull/15120)).
111
- - 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)).
112
-
113
- ## 4.0.0 (2019-03-06)
114
-
115
- ### Breaking Changes
116
-
117
- - 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` .
118
- - 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.
119
-
120
- ### Bug Fix
121
-
122
- - 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/).
123
-
124
- ## 3.0.0 (2018-09-30)
125
-
126
- ### Breaking Change
127
-
128
- - 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.
129
-
130
- ## 2.1.0 (2018-09-05)
131
-
132
- ### New Feature
133
-
134
- - Plugin updated to work with the stable version of Babel 7 ([#9171](https://github.com/WordPress/gutenberg/pull/9171)).
135
-
136
- ## 2.0.0 (2018-07-12)
137
-
138
- ### Breaking Change
139
-
140
- - Updated code to work with Babel 7 ([#7832](https://github.com/WordPress/gutenberg/pull/7832))
141
-
142
- ### Internal
143
-
144
- - Moved `@WordPress/packages` repository to `@WordPress/gutenberg` ([#7805](https://github.com/WordPress/gutenberg/pull/7805))
145
-
146
- ## 1.3.0 (2018-05-22)
147
-
148
- ### New Feature
149
-
150
- - Added support for async generator functions ([#126](https://github.com/WordPress/packages/pull/126))
151
-
152
- ## 1.2.1 (2018-05-18)
153
-
154
- ### Polish
155
-
156
- - Fix: Standardized `package.json` format ([#119](https://github.com/WordPress/packages/pull/119))