mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* fix: skip flattening spread object with __proto__ * update Babel 8 testcases * fix single spread element optimization * Update packages/babel-plugin-transform-react-jsx/src/create-plugin.ts Co-authored-by: Nicolò Ribaudo <[email protected]> * update test fixtures Co-authored-by: Nicolò Ribaudo <[email protected]>
12 lines
236 B
JavaScript
12 lines
236 B
JavaScript
<p {...props}>text</p>;
|
|
|
|
<div {...props}>{contents}</div>;
|
|
|
|
<img alt="" {...{src, title, __proto__}} />;
|
|
|
|
<blockquote {...{cite}}>{items}</blockquote>;
|
|
|
|
<pre {...{["__proto__"]: null }}></pre>;
|
|
|
|
<code {...{[__proto__]: null }}></code>;
|