static-injector 5.0.0-alpha.0 → 5.0.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +5 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "static-injector",
3
- "version": "5.0.0-alpha.0",
3
+ "version": "5.0.0",
4
4
  "description": "Angular 依赖注入独立版本;Angular dependency injection standalone version",
5
5
  "keywords": [
6
6
  "angular",
package/readme.md CHANGED
@@ -40,8 +40,7 @@ console.log(instance.hello());
40
40
 
41
41
  # Different from `injection-js`
42
42
 
43
- - `injection-js` belongs to dynamic dependency injection and is a version used before Angular5. After Angular5, it has been converted to static dependency injection
44
- - In theory, it would be faster than `injection-js` (otherwise Angular wouldn't do the replacement...), but there was no benchmark done
43
+ - `injection-js` belongs to dynamic dependency injection and is a version used before Angular5. Currently no longer updated
45
44
  - The two are basically interchangeable (the details need to be adjusted)
46
45
 
47
46
  - Support the use of `inject` during construction
@@ -58,4 +57,7 @@ console.log(instance.hello());
58
57
 
59
58
  # Sync
60
59
 
61
- - Currently, the synchronization logic has been refactored and modified using `@code recycle/cli` to ensure consistency with the official version of `angular`
60
+ - Currently, the synchronization logic has been refactored and modified using `@code-recycle/cli` to ensure consistency with the official version of `angular`
61
+
62
+ # Examples
63
+ - [https://github.com/wszgrcy/static-injector/tree/main/test/import](https://github.com/wszgrcy/static-injector/tree/main/test/import)