babel-plugin-jsx-dom-expressions 0.35.0-beta.2 → 0.35.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/index.js +12 -11
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -76,17 +76,18 @@ const ChildProperties = /*#__PURE__*/ new Set([
76
76
  ]);
77
77
 
78
78
  // React Compat
79
- const Aliases = Object.create(null);
80
- Aliases.className = "class";
81
- Aliases.htmlFor = "for";
82
-
83
- const PropAliases = Object.create(null);
84
- PropAliases.class = "className";
85
- PropAliases.formnovalidate = "formNoValidate";
86
- PropAliases.ismap = "isMap";
87
- PropAliases.nomodule = "noModule";
88
- PropAliases.playsinline = "playsInline";
89
- PropAliases.readonly = "readOnly";
79
+ const Aliases = /*#__PURE__*/ Object.assign(Object.create(null), {
80
+ className: "class",
81
+ htmlFor: "for"
82
+ });
83
+ const PropAliases = /*#__PURE__*/ Object.assign(Object.create(null), {
84
+ class: "className",
85
+ formnovalidate: "formNoValidate",
86
+ ismap: "isMap",
87
+ nomodule: "noModule",
88
+ playsinline: "playsInline",
89
+ readonly: "readOnly"
90
+ });
90
91
 
91
92
  // list of Element events that will be delegated
92
93
  const DelegatedEvents = /*#__PURE__*/ new Set([
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "babel-plugin-jsx-dom-expressions",
3
3
  "description": "A JSX to DOM plugin that wraps expressions for fine grained change detection",
4
- "version": "0.35.0-beta.2",
4
+ "version": "0.35.0",
5
5
  "author": "Ryan Carniato",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -27,5 +27,5 @@
27
27
  "peerDependencies": {
28
28
  "@babel/core": "^7.0.0"
29
29
  },
30
- "gitHead": "b059481668f4ec2e47b01bd7ab421102b0ff18b0"
30
+ "gitHead": "e391a71c39e2e6b53ac2ba3b883888b9dbba44e7"
31
31
  }