@mnci/az-durable 0.1.3 → 0.1.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.
@@ -79,8 +79,8 @@ const FORBIDDEN_CALLS = {
79
79
  'Date.now': 'now(context).getTime()',
80
80
  'Math.random': 'context.df.newGuid(...) or an activity',
81
81
  'crypto.randomUUID': 'context.df.newGuid(...)',
82
- fetch: 'an activity — network calls must not run in an orchestrator',
83
- axios: 'an activity — network calls must not run in an orchestrator'
82
+ 'fetch': 'an activity — network calls must not run in an orchestrator',
83
+ 'axios': 'an activity — network calls must not run in an orchestrator'
84
84
  };
85
85
  /**
86
86
  * Flags non-deterministic operations inside an orchestration body.
@@ -122,7 +122,7 @@ const noNondeterministicOrchestrator = {
122
122
  }
123
123
  };
124
124
  return {
125
- CallExpression: node => {
125
+ 'CallExpression': node => {
126
126
  enter(node);
127
127
  if (depth === 0) {
128
128
  return;
@@ -143,7 +143,7 @@ const noNondeterministicOrchestrator = {
143
143
  }
144
144
  },
145
145
  'CallExpression:exit': exit,
146
- NewExpression: node => {
146
+ 'NewExpression': node => {
147
147
  if (depth === 0) {
148
148
  return;
149
149
  }
@@ -158,7 +158,7 @@ const noNondeterministicOrchestrator = {
158
158
  });
159
159
  }
160
160
  },
161
- MemberExpression: node => {
161
+ 'MemberExpression': node => {
162
162
  if (depth === 0) {
163
163
  return;
164
164
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mnci/az-durable",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "types": "./dist/src/index.d.ts",
6
6
  "exports": {