babel-plugin-essor 0.0.17-beta.3 → 0.0.17-beta.5
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.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1803,7 +1803,7 @@ function findBind(node, name) {
|
|
|
1803
1803
|
}
|
|
1804
1804
|
function getStaticStringAttr(node, name) {
|
|
1805
1805
|
const attr = node.staticAttrs.find((entry) => entry.name === name);
|
|
1806
|
-
return attr &&
|
|
1806
|
+
return attr && i(attr.value) ? attr.value : null;
|
|
1807
1807
|
}
|
|
1808
1808
|
function getDynamicAttrExpression(node, name) {
|
|
1809
1809
|
var _a, _b;
|
package/dist/index.js
CHANGED
|
@@ -1801,7 +1801,7 @@ function findBind(node, name) {
|
|
|
1801
1801
|
}
|
|
1802
1802
|
function getStaticStringAttr(node, name) {
|
|
1803
1803
|
const attr = node.staticAttrs.find((entry) => entry.name === name);
|
|
1804
|
-
return attr &&
|
|
1804
|
+
return attr && i(attr.value) ? attr.value : null;
|
|
1805
1805
|
}
|
|
1806
1806
|
function getDynamicAttrExpression(node, name) {
|
|
1807
1807
|
var _a, _b;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babel-plugin-essor",
|
|
3
|
-
"version": "0.0.17-beta.
|
|
3
|
+
"version": "0.0.17-beta.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [],
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@babel/core": "^7.29.7",
|
|
36
36
|
"@babel/generator": "^7.29.7",
|
|
37
|
-
"@estjs/shared": "0.0.17-beta.
|
|
37
|
+
"@estjs/shared": "0.0.17-beta.5"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@babel/traverse": "^7.29.7",
|