inversify 4.11.0 → 5.0.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/.auditignore +2 -0
- package/CHANGELOG.md +19 -0
- package/README.md +5 -5
- package/amd/annotation/decorator_utils.js +1 -1
- package/amd/bindings/binding.js +2 -2
- package/amd/constants/error_msgs.js +10 -2
- package/amd/container/container.js +35 -34
- package/amd/container/container_module.js +3 -3
- package/amd/inversify.js +3 -2
- package/amd/planning/context.js +2 -2
- package/amd/planning/planner.js +7 -0
- package/amd/planning/reflection_utils.js +2 -6
- package/amd/planning/request.js +2 -2
- package/amd/planning/target.js +2 -2
- package/amd/resolution/resolver.js +4 -4
- package/amd/utils/id.js +9 -0
- package/dts/bindings/binding.d.ts +1 -1
- package/dts/constants/error_msgs.d.ts +2 -2
- package/dts/container/container.d.ts +2 -2
- package/dts/container/container_module.d.ts +2 -2
- package/dts/interfaces/interfaces.d.ts +8 -7
- package/dts/inversify.d.ts +2 -2
- package/dts/planning/context.d.ts +1 -1
- package/dts/planning/reflection_utils.d.ts +3 -1
- package/dts/planning/request.d.ts +1 -1
- package/dts/planning/target.d.ts +1 -1
- package/dts/utils/id.d.ts +2 -0
- package/dts/utils/template.d.ts +1 -0
- package/es/annotation/decorator_utils.js +1 -1
- package/es/bindings/binding.js +2 -2
- package/es/constants/error_msgs.js +10 -2
- package/es/container/container.js +35 -34
- package/es/container/container_module.js +3 -3
- package/es/inversify.js +2 -2
- package/es/planning/context.js +2 -2
- package/es/planning/planner.js +8 -1
- package/es/planning/reflection_utils.js +1 -7
- package/es/planning/request.js +2 -2
- package/es/planning/target.js +2 -2
- package/es/resolution/resolver.js +4 -4
- package/es/utils/id.js +5 -0
- package/lib/annotation/decorator_utils.js +1 -1
- package/lib/bindings/binding.js +2 -2
- package/lib/constants/error_msgs.js +10 -2
- package/lib/container/container.js +35 -34
- package/lib/container/container_module.js +3 -3
- package/lib/inversify.js +3 -2
- package/lib/planning/context.js +2 -2
- package/lib/planning/planner.js +7 -0
- package/lib/planning/reflection_utils.js +2 -6
- package/lib/planning/request.js +2 -2
- package/lib/planning/target.js +2 -2
- package/lib/resolution/resolver.js +4 -4
- package/lib/utils/id.js +7 -0
- package/package.json +17 -17
- package/amd/utils/guid.js +0 -14
- package/es/utils/guid.js +0 -10
- package/lib/utils/guid.js +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "inversify",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "A powerful and lightweight inversion of control container for JavaScript and Node.js apps powered by TypeScript.",
|
|
5
5
|
"main": "lib/inversify.js",
|
|
6
6
|
"jsnext:main": "es/inversify.js",
|
|
@@ -35,27 +35,27 @@
|
|
|
35
35
|
"homepage": "http://inversify.io",
|
|
36
36
|
"engines": {},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@types/chai": "4.1.
|
|
38
|
+
"@types/chai": "4.1.4",
|
|
39
39
|
"@types/harmony-proxy": "1.0.29",
|
|
40
|
-
"@types/mocha": "
|
|
41
|
-
"@types/sinon": "
|
|
42
|
-
"bluebird": "3.5.
|
|
43
|
-
"browserify": "16.
|
|
40
|
+
"@types/mocha": "5.2.3",
|
|
41
|
+
"@types/sinon": "5.0.5",
|
|
42
|
+
"bluebird": "3.5.2",
|
|
43
|
+
"browserify": "16.2.3",
|
|
44
44
|
"chai": "4.1.2",
|
|
45
45
|
"del": "3.0.0",
|
|
46
46
|
"es6-symbol": "3.1.1",
|
|
47
47
|
"gulp": "3.9.1",
|
|
48
48
|
"gulp-istanbul": "1.1.3",
|
|
49
|
-
"gulp-mocha": "
|
|
50
|
-
"gulp-rename": "1.
|
|
49
|
+
"gulp-mocha": "6.0.0",
|
|
50
|
+
"gulp-rename": "1.4.0",
|
|
51
51
|
"gulp-sourcemaps": "2.6.3",
|
|
52
52
|
"gulp-tslint": "8.1.3",
|
|
53
|
-
"gulp-typescript": "4.0.
|
|
54
|
-
"gulp-uglify": "3.0.
|
|
53
|
+
"gulp-typescript": "4.0.2",
|
|
54
|
+
"gulp-uglify": "3.0.1",
|
|
55
55
|
"harmonize": "2.0.0",
|
|
56
56
|
"harmony-proxy": "1.0.1",
|
|
57
57
|
"istanbul": "0.4.5",
|
|
58
|
-
"karma": "
|
|
58
|
+
"karma": "3.0.0",
|
|
59
59
|
"karma-chai": "0.1.0",
|
|
60
60
|
"karma-chrome-launcher": "2.2.0",
|
|
61
61
|
"karma-commonjs": "1.0.0",
|
|
@@ -66,15 +66,15 @@
|
|
|
66
66
|
"karma-mocha-reporter": "2.2.5",
|
|
67
67
|
"karma-phantomjs-launcher": "1.0.4",
|
|
68
68
|
"karma-sinon": "1.0.5",
|
|
69
|
-
"mocha": "5.0
|
|
69
|
+
"mocha": "5.2.0",
|
|
70
70
|
"performance-now": "2.1.0",
|
|
71
|
-
"publish-please": "
|
|
71
|
+
"publish-please": "4.1.0",
|
|
72
72
|
"reflect-metadata": "0.1.12",
|
|
73
73
|
"run-sequence": "2.2.1",
|
|
74
|
-
"sinon": "
|
|
74
|
+
"sinon": "6.0.1",
|
|
75
75
|
"tslint": "5.9.1",
|
|
76
|
-
"typescript": "2.
|
|
77
|
-
"vinyl-
|
|
78
|
-
"vinyl-
|
|
76
|
+
"typescript": "^2.8.3",
|
|
77
|
+
"vinyl-buffer": "1.0.1",
|
|
78
|
+
"vinyl-source-stream": "2.0.0"
|
|
79
79
|
}
|
|
80
80
|
}
|
package/amd/utils/guid.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
define(["require", "exports"], function (require, exports) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
function guid() {
|
|
5
|
-
function s4() {
|
|
6
|
-
return Math.floor((Math.random() + 1) * 0x10000)
|
|
7
|
-
.toString(16)
|
|
8
|
-
.substring(1);
|
|
9
|
-
}
|
|
10
|
-
return s4() + s4() + "-" + s4() + "-" + s4() + "-" +
|
|
11
|
-
s4() + "-" + s4() + s4() + s4();
|
|
12
|
-
}
|
|
13
|
-
exports.guid = guid;
|
|
14
|
-
});
|
package/es/utils/guid.js
DELETED
package/lib/utils/guid.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
function guid() {
|
|
4
|
-
function s4() {
|
|
5
|
-
return Math.floor((Math.random() + 1) * 0x10000)
|
|
6
|
-
.toString(16)
|
|
7
|
-
.substring(1);
|
|
8
|
-
}
|
|
9
|
-
return s4() + s4() + "-" + s4() + "-" + s4() + "-" +
|
|
10
|
-
s4() + "-" + s4() + s4() + s4();
|
|
11
|
-
}
|
|
12
|
-
exports.guid = guid;
|