inversify 7.0.0-alpha.3 → 7.0.0-alpha.5

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
@@ -4,6 +4,28 @@ All notable changes to this project from 5.0.0 forward will be documented in thi
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [Unreleased]
8
+
9
+ ### Added
10
+
11
+ ### Changed
12
+
13
+ ### Removed
14
+
15
+ ## [7.0.0-alpha.5]
16
+
17
+ ### Changed
18
+ - Renamed `BindingMetadata` to `BindingConstraints`.
19
+ - Improved performance on `Container.get` like methods.
20
+
21
+ ## [7.0.0-alpha.4]
22
+
23
+ Parity version with `7.0.0-alpha.3`.
24
+
25
+ ## [6.2.2]
26
+
27
+ - Solved issue with npm registry.
28
+
7
29
  ## [7.0.0-alpha.3]
8
30
 
9
31
  ### Changed
package/README.md CHANGED
@@ -1,8 +1,3 @@
1
- > [!NOTE]
2
- > New docs are temporary available [here](https://inversify.io/monorepo/). We would love to have your feedback in this [discussion](https://github.com/inversify/monorepo/discussions/235).
3
-
4
- ![](https://raw.githubusercontent.com/inversify/inversify.github.io/master/img/cover.jpg)
5
-
6
1
  <p align="center">
7
2
  <a href="https://www.npmjs.com/package/inversify" target="__blank"><img src="https://img.shields.io/npm/v/inversify?color=0476bc&label=" alt="NPM version"></a>
8
3
  <a href="https://www.npmjs.com/package/inversify" target="__blank"><img alt="NPM Downloads" src="https://img.shields.io/npm/dm/inversify?color=3890aa&label="></a>
@@ -18,6 +13,9 @@
18
13
  # InversifyJS
19
14
  A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
20
15
 
16
+ ## 📕 Documentation
17
+ Documentation is available at https://inversify.io
18
+
21
19
  ## About
22
20
  InversifyJS is a lightweight inversion of control (IoC) container for TypeScript and JavaScript apps.
23
21
  An IoC container uses a class constructor to identify and inject its dependencies.
@@ -56,9 +54,6 @@ InversifyJS has been developed with 4 main goals:
56
54
 
57
55
  [<img src="https://avatars0.githubusercontent.com/u/6154722?s=200&v=4" width="100" />](https://opensource.microsoft.com/)[<img src="https://avatars2.githubusercontent.com/u/69631?s=200&v=4" width="100" />](https://code.facebook.com/projects/1021334114569758/nuclide/)[<img src="https://avatars0.githubusercontent.com/u/2232217?s=200&v=4" width="100" />](https://aws.github.io/aws-amplify/)[<img src="https://avatars0.githubusercontent.com/u/1520648?s=200&v=4" width="100" />](https://www.plainconcepts.com/)[<img src="https://avatars3.githubusercontent.com/u/6962987?s=200&v=4" width="100" />](https://api.slack.com/)[<img src="https://pbs.twimg.com/profile_images/827249559046909954/SyaBPcH8_400x400.jpg" width="100" />](http://acia.aon.com/index.php/home/) [<img src="https://avatars3.githubusercontent.com/u/114767?s=200&v=4" width="100" />](https://www.lonelyplanet.com/) [<img src="https://avatars0.githubusercontent.com/u/25283328?s=200&v=4" width="100" />](https://jincor.com/) [<img src="https://avatars1.githubusercontent.com/u/1957282?s=200&v=4" width="100" />](https://www.web-computing.de/) [<img src="https://avatars1.githubusercontent.com/u/17648048?s=200&v=4" width="100" />](https://dcos.io/) [<img src="https://avatars0.githubusercontent.com/u/16970371?s=200&v=4" width="100" />](https://typefox.io/) [<img src="https://avatars0.githubusercontent.com/u/18010308?s=200&v=4" width="100" />](https://code4.ro/) [<img src="https://user-images.githubusercontent.com/10656223/33888109-fae0852e-df43-11e7-97f6-9db543da0bde.png" width="100">](http://www.baidu.com/) [<img src="https://avatars2.githubusercontent.com/u/8085382?s=200&v=4" width="100" />](https://www.imdada.cn/) [<img src="https://avatars2.githubusercontent.com/u/17041151?s=200&v=4" width="100" />](https://www.ato.gov.au/) [<img src="https://avatars1.githubusercontent.com/u/14963540?s=200&v=4" width="100" />](https://www.kaneoh.com/) [<img src="https://avatars0.githubusercontent.com/u/26021686?s=200&v=4" width="100" />](https://particl.io/) [<img src="https://avatars2.githubusercontent.com/u/24523195?s=200&v=4" width="100" />](https://slackmap.com/) [<img src="https://avatars3.githubusercontent.com/u/16556899?s=200&v=4" width="100" />](https://www.go1.com/) [<img src="https://avatars3.githubusercontent.com/u/23475730?s=200&v=4" width="100" />](http://www.stellwagengroup.com/stellwagen-technology/) [<img src="https://avatars1.githubusercontent.com/u/15262567?s=200&v=4" width="100" />](https://www.edrlab.org/) [<img src="https://avatars1.githubusercontent.com/u/10072104?s=200&v=4" width="100" />](https://www.goodgamestudios.com/) [<img src="https://avatars2.githubusercontent.com/u/13613760?s=200&v=4" width="100" />](https://freshfox.at/) [<img src="https://avatars1.githubusercontent.com/u/864482?s=200&v=4" width="100" />](https://schubergphilis.com/)
58
56
 
59
- ## 📕 Documentation
60
- Documentation is available at https://inversify.io
61
-
62
57
  ## Acknowledgements
63
58
 
64
59
  Thanks a lot to all the [contributors](https://github.com/inversify/InversifyJS/graphs/contributors), all the developers out there using InversifyJS and all those that help us to spread the word by sharing content about InversifyJS online. Without your feedback and support this project would not be possible.
@@ -1,5 +1,5 @@
1
1
  import 'reflect-metadata';
2
2
  export { Newable, LazyServiceIdentifier, ServiceIdentifier, } from '@inversifyjs/common';
3
3
  export { BindInFluentSyntax, BindInWhenOnFluentSyntax, BindOnFluentSyntax, BindToFluentSyntax, BindWhenFluentSyntax, BindWhenOnFluentSyntax, Container, ContainerModule, ContainerModuleLoadOptions, ContainerOptions, IsBoundOptions, } from '@inversifyjs/container';
4
- export { BindingMetadata, BindingScope, DynamicValueBuilder, Factory, GetOptions, GetOptionsTagConstraint, MetadataName, MetadataTag, OptionalGetOptions, Provider, ResolutionContext, bindingScopeValues, bindingTypeValues, decorate, inject, injectFromBase, injectable, multiInject, named, optional, unmanaged, tagged, postConstruct, preDestroy, } from '@inversifyjs/core';
4
+ export { BindingConstraints, BindingScope, DynamicValueBuilder, Factory, GetOptions, GetOptionsTagConstraint, MetadataName, MetadataTag, OptionalGetOptions, Provider, ResolutionContext, bindingScopeValues, bindingTypeValues, decorate, inject, injectFromBase, injectable, multiInject, named, optional, unmanaged, tagged, postConstruct, preDestroy, } from '@inversifyjs/core';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EACL,OAAO,EACP,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,SAAS,EACT,eAAe,EACf,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,GACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,OAAO,EACP,UAAU,EACV,uBAAuB,EACvB,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,QAAQ,EACR,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,QAAQ,EACR,MAAM,EACN,cAAc,EACd,UAAU,EACV,WAAW,EACX,KAAK,EACL,QAAQ,EACR,SAAS,EACT,MAAM,EACN,aAAa,EACb,UAAU,GACX,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EACL,OAAO,EACP,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,SAAS,EACT,eAAe,EACf,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,GACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EACnB,OAAO,EACP,UAAU,EACV,uBAAuB,EACvB,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,QAAQ,EACR,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,QAAQ,EACR,MAAM,EACN,cAAc,EACd,UAAU,EACV,WAAW,EACX,KAAK,EACL,QAAQ,EACR,SAAS,EACT,MAAM,EACN,aAAa,EACb,UAAU,GACX,MAAM,mBAAmB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export { LazyServiceIdentifier, Newable, ServiceIdentifier } from '@inversifyjs/common';
2
2
  export { BindInFluentSyntax, BindInWhenOnFluentSyntax, BindOnFluentSyntax, BindToFluentSyntax, BindWhenFluentSyntax, BindWhenOnFluentSyntax, Container, ContainerModule, ContainerModuleLoadOptions, ContainerOptions, IsBoundOptions } from '@inversifyjs/container';
3
- export { BindingMetadata, BindingScope, DynamicValueBuilder, Factory, GetOptions, GetOptionsTagConstraint, MetadataName, MetadataTag, OptionalGetOptions, Provider, ResolutionContext, bindingScopeValues, bindingTypeValues, decorate, inject, injectFromBase, injectable, multiInject, named, optional, postConstruct, preDestroy, tagged, unmanaged } from '@inversifyjs/core';
3
+ export { BindingConstraints, BindingScope, DynamicValueBuilder, Factory, GetOptions, GetOptionsTagConstraint, MetadataName, MetadataTag, OptionalGetOptions, Provider, ResolutionContext, bindingScopeValues, bindingTypeValues, decorate, inject, injectFromBase, injectable, multiInject, named, optional, postConstruct, preDestroy, tagged, unmanaged } from '@inversifyjs/core';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EACL,OAAO,EACP,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,SAAS,EACT,eAAe,EACf,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,GACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,OAAO,EACP,UAAU,EACV,uBAAuB,EACvB,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,QAAQ,EACR,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,QAAQ,EACR,MAAM,EACN,cAAc,EACd,UAAU,EACV,WAAW,EACX,KAAK,EACL,QAAQ,EACR,SAAS,EACT,MAAM,EACN,aAAa,EACb,UAAU,GACX,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EACL,OAAO,EACP,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,SAAS,EACT,eAAe,EACf,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,GACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EACnB,OAAO,EACP,UAAU,EACV,uBAAuB,EACvB,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,QAAQ,EACR,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,QAAQ,EACR,MAAM,EACN,cAAc,EACd,UAAU,EACV,WAAW,EACX,KAAK,EACL,QAAQ,EACR,SAAS,EACT,MAAM,EACN,aAAa,EACb,UAAU,GACX,MAAM,mBAAmB,CAAC"}
package/package.json CHANGED
@@ -6,20 +6,20 @@
6
6
  "description": "A powerful and lightweight inversion of control container for JavaScript and Node.js apps powered by TypeScript.",
7
7
  "dependencies": {
8
8
  "@inversifyjs/common": "1.5.0",
9
- "@inversifyjs/container": "1.5.0",
10
- "@inversifyjs/core": "3.5.0"
9
+ "@inversifyjs/container": "1.5.2",
10
+ "@inversifyjs/core": "4.0.0"
11
11
  },
12
12
  "devDependencies": {
13
- "@eslint/js": "9.19.0",
13
+ "@eslint/js": "9.20.0",
14
14
  "@rollup/plugin-terser": "0.4.4",
15
15
  "@rollup/plugin-typescript": "12.1.2",
16
16
  "@types/chai": "4.3.20",
17
17
  "@types/mocha": "10.0.10",
18
18
  "@types/sinon": "17.0.3",
19
- "@typescript-eslint/eslint-plugin": "8.22.0",
20
- "@typescript-eslint/parser": "8.22.0",
19
+ "@typescript-eslint/eslint-plugin": "8.23.0",
20
+ "@typescript-eslint/parser": "8.23.0",
21
21
  "chai": "4.5.0",
22
- "eslint": "9.19.0",
22
+ "eslint": "9.20.0",
23
23
  "eslint-config-prettier": "10.0.1",
24
24
  "eslint-plugin-prettier": "5.2.3",
25
25
  "eslint-plugin-simple-import-sort": "12.1.1",
@@ -32,7 +32,7 @@
32
32
  "ts-loader": "9.5.2",
33
33
  "ts-node": "10.9.2",
34
34
  "typescript": "5.7.3",
35
- "typescript-eslint": "8.22.0"
35
+ "typescript-eslint": "8.23.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "reflect-metadata": "~0.2.2"
@@ -77,5 +77,5 @@
77
77
  "test:cjs": "nyc --reporter=lcov mocha lib/cjs/test/*.test.js lib/cjs/test/**/*.test.js --reporter spec"
78
78
  },
79
79
  "sideEffects": false,
80
- "version": "7.0.0-alpha.3"
80
+ "version": "7.0.0-alpha.5"
81
81
  }