static-injector 6.0.1 → 6.0.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.
package/import/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import type { InjectableDecorator } from './di/injectable';
2
2
  import { Injector } from './di/injector';
3
3
  import { EnvironmentProviders, Provider } from './di/interface/provider';
4
+ export { EnvironmentProviders, Provider } from './di/interface/provider';
4
5
  import { R3Injector } from './di/r3_injector';
5
6
  import { InjectorScope } from './di/scope';
6
7
  export * from './di/injectable';
@@ -18,6 +19,7 @@ export * from './core_reactivity_export_internal';
18
19
  export * from './change_detection/scheduling/zoneless_scheduling';
19
20
  export * from './change_detection/scheduling/zoneless_scheduling_impl';
20
21
  export * from './resource';
22
+ export * from './di/provider_token';
21
23
  export declare class StaticInjectOptions {
22
24
  static injectOptions: Parameters<InjectableDecorator>[0];
23
25
  }
package/index.js CHANGED
@@ -88,6 +88,11 @@ __export(import_exports, {
88
88
  });
89
89
  module.exports = __toCommonJS(import_exports);
90
90
 
91
+ // src/import/di/interface/provider.ts
92
+ function isEnvironmentProviders(value) {
93
+ return value && !!value.ɵproviders;
94
+ }
95
+
91
96
  // src/import/errors.ts
92
97
  var RuntimeError = class extends Error {
93
98
  constructor(code, message) {
@@ -434,11 +439,6 @@ var INJECTOR = new InjectionToken(
434
439
  // Special value used by Ivy to identify `Injector`.
435
440
  );
436
441
 
437
- // src/import/di/interface/provider.ts
438
- function isEnvironmentProviders(value) {
439
- return value && !!value.ɵproviders;
440
- }
441
-
442
442
  // src/import/di/internal_tokens.ts
443
443
  var INJECTOR_DEF_TYPES = new InjectionToken("");
444
444