@cssxjs/babel-plugin-rn-stylename-to-style 0.2.27 → 0.2.28

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 (3) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/index.js +2 -2
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.2.28](https://github.com/startupjs/startupjs/compare/v0.2.27...v0.2.28) (2025-12-16)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **babel-plugin-rn-stylename-to-style:** re-crawl the whole Program to update bindings correctly ([3e72af1](https://github.com/startupjs/startupjs/commit/3e72af1846ec33da6e158182e5fbb19614d81da8))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.2.27](https://github.com/startupjs/startupjs/compare/v0.2.26...v0.2.27) (2025-12-16)
7
18
 
8
19
  **Note:** Version bump only for package @cssxjs/babel-plugin-rn-stylename-to-style
package/index.js CHANGED
@@ -121,8 +121,6 @@ module.exports = function (babel) {
121
121
  const value = $jsxAttribute.scope.generateUidIdentifier(partStyleAttr)
122
122
  props.properties.unshift(t.objectProperty(key, value))
123
123
  styleProps.push(buildDynamicPart(value, part))
124
- // re-crawl to update scope bindings
125
- $jsxAttribute.scope.crawl()
126
124
  }
127
125
  } else {
128
126
  throw $jsxAttribute.buildCodeFrameError(`
@@ -431,6 +429,8 @@ module.exports = function (babel) {
431
429
  $this.replaceWith(processCall)
432
430
  }
433
431
  }, state)
432
+ // re-crawl to update scope bindings
433
+ $this.scope.crawl()
434
434
  }
435
435
  }
436
436
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cssxjs/babel-plugin-rn-stylename-to-style",
3
- "version": "0.2.27",
3
+ "version": "0.2.28",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,5 +35,5 @@
35
35
  "babel-plugin-tester": "^9.1.0",
36
36
  "jest": "^30.0.4"
37
37
  },
38
- "gitHead": "68a2b7e3305e225801f6e636eff421e0a34d4a6c"
38
+ "gitHead": "2bb10995c041f489ac4d58bd6c9ecea4d568af98"
39
39
  }