@alterior/di 3.4.0 → 3.4.1
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/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/injection/index.d.ts +1 -1
- package/dist/injection/index.d.ts.map +1 -1
- package/dist/injection/index.js +2 -1
- package/dist/injection/index.js.map +1 -1
- package/dist.esm/index.d.ts +1 -1
- package/dist.esm/index.d.ts.map +1 -1
- package/dist.esm/index.js +1 -1
- package/dist.esm/index.js.map +1 -1
- package/dist.esm/injection/index.d.ts +1 -1
- package/dist.esm/injection/index.d.ts.map +1 -1
- package/dist.esm/injection/index.js +1 -1
- package/dist.esm/injection/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './injection/metadata';
|
|
2
2
|
export * from './modules';
|
|
3
|
-
export { Injector, InjectionToken, ReflectiveInjector, Provider, ClassProvider, ExistingProvider, FactoryProvider, TypeProvider, ValueProvider, Type } from './injection';
|
|
3
|
+
export { Injector, InjectionToken, ReflectiveInjector, Provider, ClassProvider, ExistingProvider, FactoryProvider, TypeProvider, ValueProvider, Type, inject } from './injection';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,OAAO,EACH,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,OAAO,EACH,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,IAAI,EACJ,MAAM,EACT,MAAM,aAAa,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Type = exports.ReflectiveInjector = exports.InjectionToken = exports.Injector = void 0;
|
|
3
|
+
exports.inject = exports.Type = exports.ReflectiveInjector = exports.InjectionToken = exports.Injector = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
tslib_1.__exportStar(require("./injection/metadata"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./modules"), exports);
|
|
@@ -9,4 +9,5 @@ Object.defineProperty(exports, "Injector", { enumerable: true, get: function ()
|
|
|
9
9
|
Object.defineProperty(exports, "InjectionToken", { enumerable: true, get: function () { return injection_1.InjectionToken; } });
|
|
10
10
|
Object.defineProperty(exports, "ReflectiveInjector", { enumerable: true, get: function () { return injection_1.ReflectiveInjector; } });
|
|
11
11
|
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return injection_1.Type; } });
|
|
12
|
+
Object.defineProperty(exports, "inject", { enumerable: true, get: function () { return injection_1.inject; } });
|
|
12
13
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAAqC;AACrC,oDAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAAqC;AACrC,oDAA0B;AAC1B,yCAYqB;AAXjB,qGAAA,QAAQ,OAAA;AACR,2GAAA,cAAc,OAAA;AACd,+GAAA,kBAAkB,OAAA;AAOlB,iGAAA,IAAI,OAAA;AACJ,mGAAA,MAAM,OAAA"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
export * from './metadata';
|
|
14
14
|
export { forwardRef, resolveForwardRef, ForwardRefFn } from './forward_ref';
|
|
15
|
-
export { Injector } from './injector';
|
|
15
|
+
export { Injector, inject } from './injector';
|
|
16
16
|
export { ReflectiveInjector } from './reflective_injector';
|
|
17
17
|
export { Provider, TypeProvider, ValueProvider, ClassProvider, ExistingProvider, FactoryProvider } from './provider';
|
|
18
18
|
export { ResolvedReflectiveFactory, ResolvedReflectiveProvider } from './reflective_provider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/injection/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;GAIG;AAEH,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE5E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/injection/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;GAIG;AAEH,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE5E,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACrH,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAC9F,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC"}
|
package/dist/injection/index.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* found in the LICENSE file at https://angular.io/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.isType = exports.Type = exports.OpaqueToken = exports.InjectionToken = exports.ReflectiveKey = exports.ResolvedReflectiveFactory = exports.ReflectiveInjector = exports.Injector = exports.resolveForwardRef = exports.forwardRef = void 0;
|
|
10
|
+
exports.isType = exports.Type = exports.OpaqueToken = exports.InjectionToken = exports.ReflectiveKey = exports.ResolvedReflectiveFactory = exports.ReflectiveInjector = exports.inject = exports.Injector = exports.resolveForwardRef = exports.forwardRef = void 0;
|
|
11
11
|
const tslib_1 = require("tslib");
|
|
12
12
|
/**
|
|
13
13
|
* @module
|
|
@@ -20,6 +20,7 @@ Object.defineProperty(exports, "forwardRef", { enumerable: true, get: function (
|
|
|
20
20
|
Object.defineProperty(exports, "resolveForwardRef", { enumerable: true, get: function () { return forward_ref_1.resolveForwardRef; } });
|
|
21
21
|
var injector_1 = require("./injector");
|
|
22
22
|
Object.defineProperty(exports, "Injector", { enumerable: true, get: function () { return injector_1.Injector; } });
|
|
23
|
+
Object.defineProperty(exports, "inject", { enumerable: true, get: function () { return injector_1.inject; } });
|
|
23
24
|
var reflective_injector_1 = require("./reflective_injector");
|
|
24
25
|
Object.defineProperty(exports, "ReflectiveInjector", { enumerable: true, get: function () { return reflective_injector_1.ReflectiveInjector; } });
|
|
25
26
|
var reflective_provider_1 = require("./reflective_provider");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/injection/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH;;;;GAIG;AAEH,qDAA2B;AAE3B,6CAA4E;AAAnE,yGAAA,UAAU,OAAA;AAAE,gHAAA,iBAAiB,OAAA;AAEtC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/injection/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH;;;;GAIG;AAEH,qDAA2B;AAE3B,6CAA4E;AAAnE,yGAAA,UAAU,OAAA;AAAE,gHAAA,iBAAiB,OAAA;AAEtC,uCAA8C;AAArC,oGAAA,QAAQ,OAAA;AAAE,kGAAA,MAAM,OAAA;AACzB,6DAA2D;AAAlD,yHAAA,kBAAkB,OAAA;AAE3B,6DAA8F;AAArF,gIAAA,yBAAyB,OAAA;AAClC,mDAAiD;AAAxC,+GAAA,aAAa,OAAA;AACtB,qDAAgE;AAAvD,iHAAA,cAAc,OAAA;AAAE,8GAAA,WAAW,OAAA;AACpC,sCAA6C;AAApC,4FAAA,IAAI,OAAA;AAAE,8FAAA,MAAM,OAAA"}
|
package/dist.esm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './injection/metadata';
|
|
2
2
|
export * from './modules';
|
|
3
|
-
export { Injector, InjectionToken, ReflectiveInjector, Provider, ClassProvider, ExistingProvider, FactoryProvider, TypeProvider, ValueProvider, Type } from './injection';
|
|
3
|
+
export { Injector, InjectionToken, ReflectiveInjector, Provider, ClassProvider, ExistingProvider, FactoryProvider, TypeProvider, ValueProvider, Type, inject } from './injection';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist.esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,OAAO,EACH,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,OAAO,EACH,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,IAAI,EACJ,MAAM,EACT,MAAM,aAAa,CAAC"}
|
package/dist.esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './injection/metadata';
|
|
2
2
|
export * from './modules';
|
|
3
|
-
export { Injector, InjectionToken, ReflectiveInjector, Type } from './injection';
|
|
3
|
+
export { Injector, InjectionToken, ReflectiveInjector, Type, inject } from './injection';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist.esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,OAAO,EACH,QAAQ,EACR,cAAc,EACd,kBAAkB,EAOlB,IAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,OAAO,EACH,QAAQ,EACR,cAAc,EACd,kBAAkB,EAOlB,IAAI,EACJ,MAAM,EACT,MAAM,aAAa,CAAC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
export * from './metadata';
|
|
14
14
|
export { forwardRef, resolveForwardRef, ForwardRefFn } from './forward_ref';
|
|
15
|
-
export { Injector } from './injector';
|
|
15
|
+
export { Injector, inject } from './injector';
|
|
16
16
|
export { ReflectiveInjector } from './reflective_injector';
|
|
17
17
|
export { Provider, TypeProvider, ValueProvider, ClassProvider, ExistingProvider, FactoryProvider } from './provider';
|
|
18
18
|
export { ResolvedReflectiveFactory, ResolvedReflectiveProvider } from './reflective_provider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/injection/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;GAIG;AAEH,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE5E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/injection/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;GAIG;AAEH,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE5E,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACrH,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAC9F,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
export * from './metadata';
|
|
14
14
|
export { forwardRef, resolveForwardRef } from './forward_ref';
|
|
15
|
-
export { Injector } from './injector';
|
|
15
|
+
export { Injector, inject } from './injector';
|
|
16
16
|
export { ReflectiveInjector } from './reflective_injector';
|
|
17
17
|
export { ResolvedReflectiveFactory } from './reflective_provider';
|
|
18
18
|
export { ReflectiveKey } from './reflective_key';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/injection/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;GAIG;AAEH,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAgB,MAAM,eAAe,CAAC;AAE5E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/injection/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;GAIG;AAEH,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAgB,MAAM,eAAe,CAAC;AAE5E,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,yBAAyB,EAA8B,MAAM,uBAAuB,CAAC;AAC9F,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alterior/di",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "Flexible reflection-based dependency injection",
|
|
5
5
|
"author": "The Alterior Project (https://github.com/alterior-mvc)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"reflect-metadata": "^0.1.13",
|
|
47
47
|
"zone.js": "^0.11.4"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "5de51ec91748dcfc2ebc5db648f59e0da154b347"
|
|
50
50
|
}
|