babel-plugin-jsx-dom-expressions 0.31.1 → 0.31.4

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 +2 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -2645,8 +2645,8 @@ var config = {
2645
2645
  };
2646
2646
 
2647
2647
  var preprocess = (path, { opts }) => {
2648
- path.hub.file.metadata.config = Object.assign({}, config, opts);
2649
- const lib = config.requireImportSource;
2648
+ const merged = path.hub.file.metadata.config = Object.assign({}, config, opts);
2649
+ const lib = merged.requireImportSource;
2650
2650
  if (lib) {
2651
2651
  const comments = path.hub.file.ast.comments;
2652
2652
  for(let i = 0; i < comments.length; i++) {
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.31.1",
4
+ "version": "0.31.4",
5
5
  "author": "Ryan Carniato",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -23,5 +23,5 @@
23
23
  "@babel/types": "^7.16.0",
24
24
  "html-entities": "2.3.2"
25
25
  },
26
- "gitHead": "4fbd532602dabd832935f53a936d42438b78b0bd"
26
+ "gitHead": "411215d16c3bf06ced1b55ab76fc85108d053f98"
27
27
  }