Comparing version 3.0.0-rc.1 to 3.0.0-rc.2
@@ -51,3 +51,3 @@ define(["require", "exports", "../bindings/binding", "./lookup", "../planning/planner", "../resolution/resolver", "../syntax/binding_to_syntax", "../utils/serialization", "./container_snapshot", "../utils/guid", "../constants/error_msgs", "../constants/metadata_keys", "../constants/literal_types"], function (require, exports, binding_1, lookup_1, planner_1, resolver_1, binding_to_syntax_1, serialization_1, container_snapshot_1, guid_1, ERROR_MSGS, METADATA_KEY, literal_types_1) { | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
modules[_i - 0] = arguments[_i]; | ||
modules[_i] = arguments[_i]; | ||
} | ||
@@ -74,3 +74,3 @@ var setModuleId = function (bindingToSyntax, moduleId) { | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
modules[_i - 0] = arguments[_i]; | ||
modules[_i] = arguments[_i]; | ||
} | ||
@@ -133,3 +133,3 @@ var conditionFactory = function (expected) { return function (item) { | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
middlewares[_i - 0] = arguments[_i]; | ||
middlewares[_i] = arguments[_i]; | ||
} | ||
@@ -136,0 +136,0 @@ var initial = (this._middleware) ? this._middleware : this._planAndResolve(); |
@@ -20,3 +20,3 @@ define(["require", "exports", "./plan", "./context", "./request", "./target", "../bindings/binding_count", "./reflection_utils", "../planning/metadata", "../constants/error_msgs", "../constants/metadata_keys", "../constants/literal_types", "../utils/serialization"], function (require, exports, plan_1, context_1, request_1, target_1, binding_count_1, reflection_utils_1, metadata_1, ERROR_MSGS, METADATA_KEY, literal_types_1, serialization_1) { | ||
var activeBindings = []; | ||
if (bindings.length > 1 && avoidConstraints === false) { | ||
if (avoidConstraints === false) { | ||
activeBindings = bindings.filter(function (binding) { | ||
@@ -23,0 +23,0 @@ var request = new request_1.Request(binding.serviceIdentifier, context, parentRequest, binding, target); |
@@ -60,3 +60,3 @@ import { Binding } from "../bindings/binding"; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
modules[_i - 0] = arguments[_i]; | ||
modules[_i] = arguments[_i]; | ||
} | ||
@@ -83,3 +83,3 @@ var setModuleId = function (bindingToSyntax, moduleId) { | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
modules[_i - 0] = arguments[_i]; | ||
modules[_i] = arguments[_i]; | ||
} | ||
@@ -142,3 +142,3 @@ var conditionFactory = function (expected) { return function (item) { | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
middlewares[_i - 0] = arguments[_i]; | ||
middlewares[_i] = arguments[_i]; | ||
} | ||
@@ -145,0 +145,0 @@ var initial = (this._middleware) ? this._middleware : this._planAndResolve(); |
@@ -28,3 +28,3 @@ import { Plan } from "./plan"; | ||
var activeBindings = []; | ||
if (bindings.length > 1 && avoidConstraints === false) { | ||
if (avoidConstraints === false) { | ||
activeBindings = bindings.filter(function (binding) { | ||
@@ -31,0 +31,0 @@ var request = new Request(binding.serviceIdentifier, context, parentRequest, binding, target); |
@@ -61,3 +61,3 @@ "use strict"; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
modules[_i - 0] = arguments[_i]; | ||
modules[_i] = arguments[_i]; | ||
} | ||
@@ -84,3 +84,3 @@ var setModuleId = function (bindingToSyntax, moduleId) { | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
modules[_i - 0] = arguments[_i]; | ||
modules[_i] = arguments[_i]; | ||
} | ||
@@ -143,3 +143,3 @@ var conditionFactory = function (expected) { return function (item) { | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
middlewares[_i - 0] = arguments[_i]; | ||
middlewares[_i] = arguments[_i]; | ||
} | ||
@@ -146,0 +146,0 @@ var initial = (this._middleware) ? this._middleware : this._planAndResolve(); |
@@ -30,3 +30,3 @@ "use strict"; | ||
var activeBindings = []; | ||
if (bindings.length > 1 && avoidConstraints === false) { | ||
if (avoidConstraints === false) { | ||
activeBindings = bindings.filter(function (binding) { | ||
@@ -33,0 +33,0 @@ var request = new request_1.Request(binding.serviceIdentifier, context, parentRequest, binding, target); |
{ | ||
"name": "inversify", | ||
"version": "3.0.0-rc.1", | ||
"version": "3.0.0-rc.2", | ||
"description": "A powerful and lightweight inversion of control container for JavaScript and Node.js apps powered by TypeScript.", | ||
@@ -5,0 +5,0 @@ "main": "lib/inversify.js", |
@@ -66,3 +66,3 @@ # InversifyJS | ||
> **Important!** InversifyJS requires TypeScript >= 2.0 and the `experimentalDecorators`, `emitDecoratorMetadata`, `types` and `lib` | ||
> :warning: **Important!** InversifyJS requires TypeScript >= 2.0 and the `experimentalDecorators`, `emitDecoratorMetadata`, `types` and `lib` | ||
compilation options in your `tsconfig.json` file. | ||
@@ -69,0 +69,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
259380