fx 30.0.1 → 30.0.2

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/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -577,8 +577,9 @@ function stringify(value, isPretty = false) {
577
577
 
578
578
  async function importFxrc(path) {
579
579
  const {join} = await import('node:path')
580
+ const {pathToFileURL} = await import('node:url')
580
581
  try {
581
- await import(join(path, '.fxrc.js'))
582
+ await import(pathToFileURL(join(path, '.fxrc.js')))
582
583
  } catch (err) {
583
584
  if (err.code !== 'ERR_MODULE_NOT_FOUND') throw err
584
585
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fx",
3
- "version": "30.0.1",
3
+ "version": "30.0.2",
4
4
  "bin": {
5
5
  "fx": "index.js"
6
6
  },