async-injection 1.5.1 → 1.5.2
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/Changelog.md +65 -61
- package/License.txt +1 -1
- package/ReadMe.md +2 -2
- package/package.json +1 -1
package/Changelog.md
CHANGED
|
@@ -1,73 +1,77 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Add tslint and Changelog
|
|
5
|
-
Update ReadMe with badges
|
|
1
|
+
## 1.5.2 / 2023-01-18
|
|
2
|
+
* No code changes.
|
|
3
|
+
* Updates to docs for consistency across projects.
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Update
|
|
10
|
-
Update
|
|
5
|
+
## 1.5.1 / 2023-01-18
|
|
6
|
+
* Update dev dependencies.
|
|
7
|
+
* Update github workflows.
|
|
8
|
+
* Update badges in main ReadMe.
|
|
9
|
+
* Add support directory.
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
Add
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
## 1.5.0 / 2022-04-16
|
|
12
|
+
* Add experimental ability to clone a Container (see Container.clone JSDoc comments for details).
|
|
13
|
+
* Fix error handling callback to pass instantiated object when construction succeeds but post construction fails.
|
|
14
|
+
* Reformat code project wide (based on IntelliJ formatting options).
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
## 1.4.0 / 2022-02-16
|
|
17
|
+
* Add Angular style InjectionToken class as a variant of InjectableId to support implicit typing of constants and interfaces.
|
|
18
|
+
* Minor update to Binder.resolveSingletons to make it chainable (aka return the Container/Binder instance).
|
|
19
|
+
* Minor updates to ReadMe.
|
|
20
|
+
|
|
21
|
+
## 1.3.0 / 2021-11-27
|
|
22
|
+
* Support Container driven release of Singleton allocated resources (see Container.releaseSingletons).
|
|
23
|
+
* Update devDependencies.
|
|
24
|
+
* Minor updates to ReadMe.
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
tslib (where used) is now inlined instead of imported.
|
|
30
|
-
No other code changes.
|
|
26
|
+
## 1.2.7 / 2021-08-02
|
|
27
|
+
* Revert type declaration for AbstractConstructor which was broken during eslint integration.
|
|
28
|
+
* Update eslint related dev-dependencies.
|
|
31
29
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
## 1.2.6 / 2021-07-14
|
|
31
|
+
* Merge PR #9 [ESLINT integration + Improvements](https://github.com/pcafstockf/async-injection/pull/9).
|
|
32
|
+
* Update devDependencies.
|
|
33
|
+
* Resolved a couple of eslint warnings.
|
|
34
|
+
* tsc no longer removes comments in generated code. This can cause problems with post-processing tools such as istanbul. If file size is of concern to you, you should probably be minifying anyway.
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
No actual source code changes.
|
|
38
|
-
Added Reflect type from reflect-metadata in order to remove the @ts-ignore comments.
|
|
39
|
-
Improved tsconfig.json structure for IDE compatibility.
|
|
40
|
-
Thanks to @tripodsgames for those contributions.
|
|
41
|
-
Update tsc devDependency from 4.3.3 to 4.3.4.
|
|
42
|
-
Update the ChangeLog to properly reflect recent GitHub releases.
|
|
36
|
+
## 1.2.5 / 2021-06-28
|
|
37
|
+
* No actual source code changes.
|
|
38
|
+
* Added Reflect type from reflect-metadata in order to remove the @ts-ignore comments.
|
|
39
|
+
* Improved tsconfig.json structure for IDE compatibility.
|
|
40
|
+
** Thanks to @tripodsgames for those contributions.
|
|
41
|
+
* Update tsc devDependency from 4.3.3 to 4.3.4.
|
|
42
|
+
* Update the ChangeLog to properly reflect recent GitHub releases.
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
Resolved a couple of eslint warnings.
|
|
48
|
-
tsc no longer removes comments in generated code. This can cause problems with post-processing tools such as istanbul. If file size is of concern to you, you should probably be minifying anyway.
|
|
44
|
+
## 1.2.4 / 2021-06-17
|
|
45
|
+
* Build esm into esm dir (not mjs).
|
|
46
|
+
* No actual source code changes.
|
|
49
47
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
## 1.2.3 / 2021-06-11
|
|
49
|
+
* cjs and esm distributions.
|
|
50
|
+
* Build now generates both cjs and esm distributions.
|
|
51
|
+
* tslib (where used) is now inlined instead of imported.
|
|
52
|
+
* No other code changes.
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
## 1.2.0 / 2021-06-08
|
|
55
|
+
* New Feature: Allow alternate polyfill for Reflect API
|
|
56
|
+
WARNING: This is a a breaking change release.
|
|
57
|
+
The API and code have not changed, but you will need to explicitly import a polyfill into your own code in order to use this release (see the ReadMe).
|
|
58
|
+
Previously Async-Injection relied on reflect-metadata (which is still supported), but this release also allows for the use of alternative implementations such as:
|
|
59
|
+
core-js (core-js/es7/reflect)
|
|
60
|
+
reflection
|
|
61
|
+
Thank you to @tripodsgames for this contribution.
|
|
58
62
|
|
|
59
|
-
|
|
60
|
-
Add
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
## 1.1.0 / 2021-05-07
|
|
64
|
+
* Add post construction handling feature to Binder.bindClass. This is for scenarios where it is not feasible to add the @PostConstruct decorator to the target class.
|
|
65
|
+
* Updated tslib
|
|
66
|
+
* Updated jasmine devDependency.
|
|
63
67
|
|
|
64
|
-
|
|
65
|
-
Add
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
## 1.0.8 / 2020-06-08
|
|
69
|
+
* Add ability to walk up the parent container hierarchy to methods Injector.isIdKnown and Container.removeBinding
|
|
70
|
+
* Update tslib
|
|
71
|
+
* Update ts-node and nyc devDependencies.
|
|
68
72
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
Update
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
## 1.0.7 / 2019-04-27
|
|
74
|
+
* Fix issue #1
|
|
75
|
+
* Update ts-node and source-map-support devDependencies
|
|
76
|
+
* Add tslint and Changelog
|
|
77
|
+
* Update ReadMe with badges
|
package/License.txt
CHANGED
package/ReadMe.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://github.com/pcafstockf/async-injection/actions)
|
|
4
4
|
[](https://badge.fury.io/js/async-injection)
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
|
-
|
|
6
|
+

|
|
7
7
|
|
|
8
8
|
A robust lightweight dependency injection library for TypeScript.
|
|
9
9
|
|
|
@@ -237,7 +237,7 @@ Thanks to Carlos Delgado for the idea of a ["QuerablePromise"](https://ourcodewo
|
|
|
237
237
|
|
|
238
238
|
## MIT License
|
|
239
239
|
|
|
240
|
-
Copyright (c) 2020-
|
|
240
|
+
Copyright (c) 2020-2023 Frank Stock
|
|
241
241
|
|
|
242
242
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
243
243
|
of this software and associated documentation files (the "Software"), to deal
|