react-saga-redux 1.0.2 → 1.0.4

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/dist/index.mjs CHANGED
@@ -890,7 +890,7 @@ var SORTING_ORDER = {
890
890
  };
891
891
 
892
892
  // src/components/Props.ts
893
- var __dirname = process.cwd();
893
+ import process2 from "process";
894
894
  var defaultOptions = {
895
895
  levelComparison: SORTING_ORDER.ASC,
896
896
  levels: DEFAULT_LEVELS,
@@ -899,7 +899,7 @@ var defaultOptions = {
899
899
  nestedKey: null,
900
900
  enabled: true,
901
901
  base: {
902
- pid: process?.pid ?? 0
902
+ pid: process2?.pid ?? 0
903
903
  },
904
904
  formatters: {
905
905
  bindings(bindings) {
@@ -919,7 +919,7 @@ var defaultOptions = {
919
919
  };
920
920
  function getProps(firstArg) {
921
921
  const script = path.resolve(
922
- process.cwd(),
922
+ __dirname,
923
923
  "src/connect/mapProps.js"
924
924
  );
925
925
  const child = spawn("node", [script, JSON.stringify(firstArg)], {