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 CHANGED
@@ -1,73 +1,77 @@
1
- **1.0.7 / 2019-04-27**
2
- Fix issue #1
3
- Update ts-node and source-map-support devDependencies
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
- **1.0.8 / 2020-06-08**
8
- Add ability to walk up the parent container hierarchy to methods Injector.isIdKnown and Container.removeBinding
9
- Update tslib
10
- Update ts-node and nyc devDependencies.
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
- **1.1.0 / 2021-05-07**
13
- 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.
14
- Updated tslib
15
- Updated jasmine devDependency.
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
- **1.2.0 / 2021-06-08**
18
- New Feature: Allow alternate polyfill for Reflect API
19
- WARNING: This is a a breaking change release.
20
- 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).
21
- Previously Async-Injection relied on reflect-metadata (which is still supported), but this release also allows for the use of alternative implementations such as:
22
- core-js (core-js/es7/reflect)
23
- reflection
24
- Thank you to @tripodsgames for this contribution.
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
- **1.2.3 / 2021-06-11**
27
- cjs and esm distributions.
28
- Build now generates both cjs and esm distributions.
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
- **1.2.4 / 2021-06-17**
33
- Build esm into esm dir (not mjs).
34
- No actual source code changes.
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
- **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.
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
- **1.2.6 / 2021-07-14**
45
- Merge PR #9 [ESLINT integration + Improvements](https://github.com/pcafstockf/async-injection/pull/9).
46
- Update devDependencies.
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
- **1.2.7 / 2021-08-02**
51
- Revert type declaration for AbstractConstructor which was broken during eslint integration.
52
- Update eslint related dev-dependencies.
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
- **1.3.0 / 2021-11-27**
55
- Support Container driven release of Singleton allocated resources (see Container.releaseSingletons).
56
- Update devDependencies.
57
- Minor updates to ReadMe.
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
- **1.4.0 / 2022-02-16**
60
- Add Angular style InjectionToken class as a variant of InjectableId to support implicit typing of constants and interfaces.
61
- Minor update to Binder.resolveSingletons to make it chainable (aka return the Container/Binder instance).
62
- Minor updates to ReadMe.
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
- **1.5.0 / 2022-04-16**
65
- Add experimental ability to clone a Container (see Container.clone JSDoc comments for details).
66
- Fix error handling callback to pass instantiated object when construction succeeds but post construction fails.
67
- Reformat code project wide (based on IntelliJ formatting options).
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
- **1.5.1 / 2022-04-16**
70
- Update dev dependencies.
71
- Update github workflows.
72
- Update badges in main ReadMe.
73
- Add support directory.
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
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020-2022 Frank Stock
3
+ Copyright (c) 2020-2023 Frank Stock
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/ReadMe.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![Publish Actions](https://github.com/pcafstockf/async-injection/workflows/NPM%20Publish/badge.svg)](https://github.com/pcafstockf/async-injection/actions)
4
4
  [![npm version](https://badge.fury.io/js/async-injection.svg)](https://badge.fury.io/js/async-injection)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
6
- [![OSS Lifecycle](https://img.shields.io/osslifecycle/pcafstockf/async-injection.svg)]
6
+ ![OSS Lifecycle](https://img.shields.io/osslifecycle/pcafstockf/async-injection.svg)
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-2022 Frank Stock
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "async-injection",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "A robust lightweight dependency injection library for TypeScript.",
5
5
  "author": "Frank Stock",
6
6
  "license": "MIT",