@react-spectrum/codemods 3.0.0-nightly-d57bd8d90-240927 → 3.0.0-nightly-e60fb427c-240928

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.
@@ -265,6 +265,6 @@ function transformer(file, api, options) {
265
265
  });
266
266
  }
267
267
  root.find(j.Program).get('body', 0).node.comments = leadingComments;
268
- return root.toSource();
268
+ return root.toSource().replace(/assert\s*\{\s*type:\s*"macro"\s*\}/g, 'with { type: "macro" }');
269
269
  }
270
270
  transformer.parser = 'tsx';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/codemods",
3
- "version": "3.0.0-nightly-d57bd8d90-240927",
3
+ "version": "3.0.0-nightly-e60fb427c-240928",
4
4
  "main": "dist/index.js",
5
5
  "source": "src/index.ts",
6
6
  "bin": "dist/index.js",
@@ -24,8 +24,8 @@
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-d57bd8d90-240927",
28
- "@react-types/shared": "^3.0.0-nightly-d57bd8d90-240927",
27
+ "@react-spectrum/s2": "^3.0.0-nightly-e60fb427c-240928",
28
+ "@react-types/shared": "^3.0.0-nightly-e60fb427c-240928",
29
29
  "@types/node": "^20",
30
30
  "boxen": "^5.1.2",
31
31
  "build": "^0.1.4",