angular-three 1.9.7 → 1.9.8

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.
@@ -2779,11 +2779,16 @@ function createRunInContext() {
2779
2779
  let tryFromNodeInjector = false;
2780
2780
  envInjector.get = (...args) => {
2781
2781
  try {
2782
+ const originalFlags = args[2];
2783
+ if (originalFlags === 0) {
2784
+ args[2] = 8;
2785
+ }
2782
2786
  const fromEnvInjector = originalGet(...args);
2783
2787
  if (fromEnvInjector)
2784
2788
  return fromEnvInjector;
2785
- if (fromEnvInjector === null && args[1] !== undefined && args[1] === null)
2789
+ if (fromEnvInjector === null && ((args[1] !== undefined && args[1] === null) || originalFlags === 0))
2786
2790
  return fromEnvInjector;
2791
+ args[2] = originalFlags;
2787
2792
  if (!tryFromNodeInjector) {
2788
2793
  tryFromNodeInjector = true;
2789
2794
  const fromNodeInjector = nodeInjector.get(...args);