react-saga-redux 1.0.4 → 1.0.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-saga-redux",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Official React bindings for Redux",
5
5
  "keywords": [
6
6
  "react",
@@ -4,6 +4,7 @@ import path from "path";
4
4
  import { spawn } from "child_process";
5
5
  import { DEFAULT_LEVELS, SORTING_ORDER } from "../utils/constants";
6
6
  import process from "node:process";
7
+ import { fileURLToPath } from "url";
7
8
  // -------------------- Node-safe runtime --------------------
8
9
 
9
10
  // -------------------- Types --------------------
@@ -74,6 +75,8 @@ const defaultOptions: DefaultOptions = {
74
75
  depthLimit: 5,
75
76
  edgeLimit: 100
76
77
  };
78
+ const __filename = fileURLToPath(import.meta.url);
79
+ const __dirname = path.dirname(__filename);
77
80
 
78
81
  // -------------------- core logic --------------------
79
82