styled-components-to-stylex-codemod 0.0.42 → 0.0.43

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 (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -313,7 +313,7 @@ async function runTransform(options) {
313
313
  allowPartialMigration: options.allowPartialMigration ?? (leavesOnly ? true : false),
314
314
  transformMode: leavesOnly ? "leavesOnly" : options.transformMode ?? "all",
315
315
  globalLeafKeys: crossFilePrepassResult.globalLeafKeys,
316
- resolveModule: (fromFile, specifier) => sharedResolver.resolve(fromFile, specifier),
316
+ resolveModule: (fromFile, specifier) => sharedResolver.resolve(resolve(fromFile), specifier),
317
317
  runInBand: true,
318
318
  silent: options.silent ?? false
319
319
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "styled-components-to-stylex-codemod",
3
- "version": "0.0.42",
3
+ "version": "0.0.43",
4
4
  "description": "Codemod to transform styled-components to StyleX",
5
5
  "keywords": [
6
6
  "codemod",