awilix 8.0.0 → 8.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/README.md +2 -5
- package/lib/awilix.browser.js +1348 -1339
- package/lib/awilix.module.mjs +1534 -1534
- package/lib/awilix.umd.js +1348 -1339
- package/lib/container.d.ts +4 -4
- package/lib/errors.js.map +1 -1
- package/lib/function-tokenizer.d.ts +1 -1
- package/lib/injection-mode.d.ts +1 -1
- package/lib/lifetime.d.ts +1 -1
- package/lib/list-modules.d.ts +1 -1
- package/lib/load-modules.d.ts +2 -2
- package/lib/resolvers.d.ts +3 -3
- package/package.json +17 -19
package/README.md
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
# Awilix
|
|
2
2
|
|
|
3
|
-
[](https://gitter.im/awilix/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
|
4
3
|
[](https://www.npmjs.com/package/awilix)
|
|
5
|
-
[](https://david-dm.org/jeffijoe/awilix)
|
|
7
|
-
[](https://travis-ci.org/jeffijoe/awilix)
|
|
4
|
+
[](https://github.com/jeffijoe/awilix/actions/workflows/ci.yml)
|
|
8
5
|
[](https://coveralls.io/github/jeffijoe/awilix)
|
|
9
6
|
[](https://www.npmjs.com/package/awilix)
|
|
10
7
|
[](https://github.com/jeffijoe/awilix/blob/master/LICENSE.md)
|
|
@@ -546,7 +543,7 @@ container.loadModules([
|
|
|
546
543
|
lifetime: Lifetime.SINGLETON,
|
|
547
544
|
// We can tell Awilix what to register everything as,
|
|
548
545
|
// instead of guessing. If omitted, will inspect the
|
|
549
|
-
// module to
|
|
546
|
+
// module to determine what to register as.
|
|
550
547
|
register: awilix.asClass
|
|
551
548
|
}
|
|
552
549
|
)
|