@scandipwa/babel-plugin-middleware-decorator
Advanced tools
Comparing version 0.0.1 to 0.0.2
10
index.js
@@ -0,1 +1,2 @@ | ||
/* eslint-disable new-cap */ | ||
// TODO: comment | ||
@@ -143,2 +144,3 @@ // TODO: add examples of transformations | ||
const newName = path.scope.generateUidIdentifier(name); | ||
// eslint-disable-next-line no-param-reassign | ||
path.get('id').node.name = newName.name; | ||
@@ -167,5 +169,5 @@ | ||
* Remove export from initial classes declaration | ||
* | ||
* | ||
* TODO: fix AST explorer handles this OK, but our babel throws | ||
* | ||
* | ||
* if (path.parentPath.type === 'ExportNamedDeclaration') { | ||
@@ -176,4 +178,4 @@ * path.parentPath.skip(); | ||
*/ | ||
}, | ||
}, | ||
} | ||
} | ||
}); |
{ | ||
"name": "@scandipwa/babel-plugin-middleware-decorator", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"main": "index.js", | ||
@@ -9,3 +9,3 @@ "license": "OSL-3.0", | ||
}, | ||
"gitHead": "c06ea15c60211d92baf7cc8368a38678fa9b2a05" | ||
"gitHead": "9a20d82ccff47f83fbea315370d30806848ccddb" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5850
145