react-saga-redux 1.0.2 → 1.0.3

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.2",
3
+ "version": "1.0.3",
4
4
  "description": "Official React bindings for Redux",
5
5
  "keywords": [
6
6
  "react",
@@ -6,9 +6,6 @@ import { DEFAULT_LEVELS, SORTING_ORDER } from "../utils/constants";
6
6
 
7
7
  // -------------------- Node-safe runtime --------------------
8
8
 
9
- // NO import.meta.url (TSUP-safe)
10
- const __dirname = process.cwd();
11
-
12
9
  // -------------------- Types --------------------
13
10
 
14
11
  interface BindingsFormatter {
@@ -84,7 +81,7 @@ const defaultOptions: DefaultOptions = {
84
81
  function getProps(firstArg: any): void {
85
82
  // SAFE path resolution (NO import.meta)
86
83
  const script = path.resolve(
87
- process.cwd(),
84
+ __dirname,
88
85
  "src/connect/mapProps.js"
89
86
  );
90
87