remult 0.25.5-exp.2 → 0.25.5-exp.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.
@@ -19,7 +19,8 @@ let x = {
19
19
  },
20
20
  captionTransformer: undefined,
21
21
  };
22
- if (process.env['IGNORE_GLOBAL_REMULT_IN_TESTS'] ||
22
+ if ((typeof process !== 'undefined' &&
23
+ process.env['IGNORE_GLOBAL_REMULT_IN_TESTS']) ||
23
24
  typeof globalThis[remultStaticKey] === 'undefined') {
24
25
  globalThis[remultStaticKey] = x;
25
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remult",
3
- "version": "0.25.5-exp.2",
3
+ "version": "0.25.5-exp.3",
4
4
  "description": "A CRUD framework for full-stack TypeScript",
5
5
  "homepage": "https://remult.dev",
6
6
  "repository": {
@@ -22,7 +22,8 @@ var x = {
22
22
  },
23
23
  captionTransformer: undefined,
24
24
  };
25
- if (process.env['IGNORE_GLOBAL_REMULT_IN_TESTS'] ||
25
+ if ((typeof process !== 'undefined' &&
26
+ process.env['IGNORE_GLOBAL_REMULT_IN_TESTS']) ||
26
27
  typeof globalThis[remultStaticKey] === 'undefined') {
27
28
  globalThis[remultStaticKey] = x;
28
29
  }