@positronic/cli 0.0.47 → 0.0.48

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.
@@ -210,8 +210,10 @@ var BrainSection = function(param) {
210
210
  var currentIndex = getCurrentStepIndex(brain.steps);
211
211
  var currentStep = brain.steps[currentIndex];
212
212
  // Find any inner brain associated with the current step (active inner brains are on the stack)
213
+ // Must exclude the current brain to prevent infinite recursion when a restarted brain
214
+ // has parentStepId matching its own step IDs
213
215
  var innerBrain = currentStep ? brainStack.find(function(b) {
214
- return b.parentStepId === currentStep.id;
216
+ return b.parentStepId === currentStep.id && b !== brain;
215
217
  }) : null;
216
218
  return /*#__PURE__*/ React.createElement(Box, {
217
219
  flexDirection: "column",
@@ -1 +1 @@
1
- {"version":3,"file":"watch.d.ts","sourceRoot":"","sources":["../../../src/components/watch.tsx"],"names":[],"mappings":"AAuLA,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,KAAK,GAAI,WAAW,UAAU,4CAyI1C,CAAC"}
1
+ {"version":3,"file":"watch.d.ts","sourceRoot":"","sources":["../../../src/components/watch.tsx"],"names":[],"mappings":"AAyLA,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,KAAK,GAAI,WAAW,UAAU,4CAyI1C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@positronic/cli",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -23,9 +23,9 @@
23
23
  "clean": "rm -rf tsconfig.tsbuildinfo dist node_modules"
24
24
  },
25
25
  "dependencies": {
26
- "@positronic/core": "^0.0.47",
27
- "@positronic/spec": "^0.0.47",
28
- "@positronic/template-new-project": "^0.0.47",
26
+ "@positronic/core": "^0.0.48",
27
+ "@positronic/spec": "^0.0.48",
28
+ "@positronic/template-new-project": "^0.0.48",
29
29
  "caz": "^2.0.0",
30
30
  "chokidar": "^3.6.0",
31
31
  "dotenv": "^16.4.7",