@react-spectrum/codemods 3.0.0-nightly-c8d64314e-260208 → 3.0.0-nightly-7cdeb29b8-260210

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.
@@ -680,7 +680,7 @@ function transformStyleProps(path, element) {
680
680
  if (isDOMElement) {
681
681
  let index = path.node.openingElement.attributes?.findIndex(a => a.type === 'JSXAttribute' && a.name.name === 'className');
682
682
  if (index != null && index >= 0) {
683
- classNameAttribute = path.get('openingElement').get('attributes').at(index);
683
+ classNameAttribute = path.get('openingElement').get('attributes')[index];
684
684
  }
685
685
  }
686
686
  let valueToAST = (v) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/codemods",
3
- "version": "3.0.0-nightly-c8d64314e-260208",
3
+ "version": "3.0.0-nightly-7cdeb29b8-260210",
4
4
  "main": "dist/index.js",
5
5
  "source": "src/index.ts",
6
6
  "bin": "dist/index.js",
@@ -24,9 +24,9 @@
24
24
  "@babel/parser": "^7.24.5",
25
25
  "@babel/traverse": "^7.24.5",
26
26
  "@babel/types": "^7.24.5",
27
- "@react-spectrum/s2": "3.0.0-nightly-c8d64314e-260208",
28
- "@react-types/shared": "3.0.0-nightly-c8d64314e-260208",
29
- "@types/node": "^22",
27
+ "@react-spectrum/s2": "3.0.0-nightly-7cdeb29b8-260210",
28
+ "@react-types/shared": "3.0.0-nightly-7cdeb29b8-260210",
29
+ "@types/node": "^24",
30
30
  "boxen": "^5.1.2",
31
31
  "chalk": "^4.0.0",
32
32
  "execa": "^5.1.1",