@inversifyjs/apollo-express 0.7.0 → 0.8.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @inversifyjs/apollo-express
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Updated package to rely on inversify@8 ecosystem packages
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @inversifyjs/apollo-core@0.7.0
13
+
3
14
  ## 0.7.0
4
15
 
5
16
  ### Minor Changes
@@ -1,7 +1,7 @@
1
1
  import { type BaseContext } from '@apollo/server';
2
2
  import { type ExpressContextFunctionArgument } from '@as-integrations/express5';
3
3
  import { ApolloServerController } from '@inversifyjs/apollo-core';
4
- import { Newable } from 'inversify';
5
- import { ApolloExpressControllerOptions } from '../models/ApolloExpressControllerOptions.js';
4
+ import { type Newable } from 'inversify';
5
+ import { type ApolloExpressControllerOptions } from '../models/ApolloExpressControllerOptions.js';
6
6
  export default function buildApolloServerExpressController<TContext extends BaseContext = BaseContext>(options: ApolloExpressControllerOptions<TContext>): Newable<ApolloServerController<TContext, [ExpressContextFunctionArgument]>>;
7
7
  //# sourceMappingURL=buildApolloServerExpressController.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"buildApolloServerExpressController.d.ts","sourceRoot":"","sources":["../../../../src/apollo/controllers/buildApolloServerExpressController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EACL,KAAK,8BAA8B,EAEpC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,sBAAsB,EAEvB,MAAM,0BAA0B,CAAC;AASlC,OAAO,EAAU,OAAO,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAE7F,MAAM,CAAC,OAAO,UAAU,kCAAkC,CACxD,QAAQ,SAAS,WAAW,GAAG,WAAW,EAE1C,OAAO,EAAE,8BAA8B,CAAC,QAAQ,CAAC,GAChD,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,CAAC,8BAA8B,CAAC,CAAC,CAAC,CAuC7E"}
1
+ {"version":3,"file":"buildApolloServerExpressController.d.ts","sourceRoot":"","sources":["../../../../src/apollo/controllers/buildApolloServerExpressController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EACL,KAAK,8BAA8B,EAEpC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,sBAAsB,EAEvB,MAAM,0BAA0B,CAAC;AASlC,OAAO,EAAU,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAElG,MAAM,CAAC,OAAO,UAAU,kCAAkC,CACxD,QAAQ,SAAS,WAAW,GAAG,WAAW,EAE1C,OAAO,EAAE,8BAA8B,CAAC,QAAQ,CAAC,GAChD,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,CAAC,8BAA8B,CAAC,CAAC,CAAC,CAuC7E"}
@@ -1 +1 @@
1
- {"version":3,"file":"buildApolloServerExpressController.js","sourceRoot":"","sources":["../../../../src/apollo/controllers/buildApolloServerExpressController.ts"],"names":[],"mappings":";AACA,OAAO,EAEL,iBAAiB,GAClB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,sBAAsB,EACtB,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,QAAQ,GACT,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAW,MAAM,WAAW,CAAC;AAI5C,MAAM,CAAC,OAAO,UAAU,kCAAkC,CAGxD,OAAiD;IAGjD,IAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,sBAG3C;QACU,WAAW,CAAyB;QAE7C,YAEE,YAAoC;YAEpC,KAAK,EAAE,CAAC;YAER,IAAI,CAAC,WAAW,GAAG,iBAAiB,CAAW,YAAY,EAAE;gBAC3D,OAAO,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;aACrC,CAAC,CAAC;QACL,CAAC;QAGY,AAAN,KAAK,CAAC,aAAa,CAExB,GAAoB,EAEpB,GAAqB,EAErB,IAA0B;YAE1B,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;QAC1C,CAAC;QAES,KAAK,CAAC,WAAW,CACzB,GAAmC;YAEnC,OAAO,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACjC,CAAC;KACF,CAAA;IAhBc;QADZ,IAAI,EAAE;QAEJ,WAAA,OAAO,EAAE,CAAA;QAET,WAAA,QAAQ,EAAE,CAAA;QAEV,WAAA,IAAI,EAAE,CAAA;sEAIR;IA3BG,6BAA6B;QADlC,UAAU,CAAC,OAAO,CAAC,iBAAiB,CAAC;QAQjC,WAAA,MAAM,CAAC,6BAA6B,CAAC,CAAA;OAPpC,6BAA6B,CAkClC;IAED,OAAO,6BAA6B,CAAC;AACvC,CAAC"}
1
+ {"version":3,"file":"buildApolloServerExpressController.js","sourceRoot":"","sources":["../../../../src/apollo/controllers/buildApolloServerExpressController.ts"],"names":[],"mappings":";AACA,OAAO,EAEL,iBAAiB,GAClB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,sBAAsB,EACtB,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,QAAQ,GACT,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAgB,MAAM,WAAW,CAAC;AAIjD,MAAM,CAAC,OAAO,UAAU,kCAAkC,CAGxD,OAAiD;IAGjD,IAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,sBAG3C;QACU,WAAW,CAAyB;QAE7C,YAEE,YAAoC;YAEpC,KAAK,EAAE,CAAC;YAER,IAAI,CAAC,WAAW,GAAG,iBAAiB,CAAW,YAAY,EAAE;gBAC3D,OAAO,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;aACrC,CAAC,CAAC;QACL,CAAC;QAGY,AAAN,KAAK,CAAC,aAAa,CAExB,GAAoB,EAEpB,GAAqB,EAErB,IAA0B;YAE1B,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;QAC1C,CAAC;QAES,KAAK,CAAC,WAAW,CACzB,GAAmC;YAEnC,OAAO,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACjC,CAAC;KACF,CAAA;IAhBc;QADZ,IAAI,EAAE;QAEJ,WAAA,OAAO,EAAE,CAAA;QAET,WAAA,QAAQ,EAAE,CAAA;QAEV,WAAA,IAAI,EAAE,CAAA;sEAIR;IA3BG,6BAA6B;QADlC,UAAU,CAAC,OAAO,CAAC,iBAAiB,CAAC;QAQjC,WAAA,MAAM,CAAC,6BAA6B,CAAC,CAAA;OAPpC,6BAA6B,CAkClC;IAED,OAAO,6BAA6B,CAAC;AACvC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { type BaseContext } from '@apollo/server';
2
2
  import { ApolloServerContainerModule } from '@inversifyjs/apollo-core';
3
- import { ApolloExpressControllerOptions } from '../models/ApolloExpressControllerOptions.js';
4
- import { ApolloServerInjectOptions } from '../models/ApolloServerInjectOptions.js';
3
+ import { type ApolloExpressControllerOptions } from '../models/ApolloExpressControllerOptions.js';
4
+ import { type ApolloServerInjectOptions } from '../models/ApolloServerInjectOptions.js';
5
5
  export default class ApolloExpressServerContainerModule extends ApolloServerContainerModule {
6
6
  static graphServerFromOptions<TContext extends BaseContext>(controllerOptions: ApolloExpressControllerOptions<TContext>, serverOptions: ApolloServerInjectOptions<TContext>): ApolloExpressServerContainerModule;
7
7
  static subgraphServerFromOptions<TContext extends BaseContext>(controllerOptions: ApolloExpressControllerOptions<TContext>, serverOptions: ApolloServerInjectOptions<TContext>): ApolloExpressServerContainerModule;
@@ -1 +1 @@
1
- {"version":3,"file":"ApolloExpressServerContainerModule.d.ts","sourceRoot":"","sources":["../../../../src/apollo/modules/ApolloExpressServerContainerModule.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,OAAO,EACL,2BAA2B,EAM5B,MAAM,0BAA0B,CAAC;AAMlC,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAgDnF,MAAM,CAAC,OAAO,OAAO,kCAAmC,SAAQ,2BAA2B;WAC3E,sBAAsB,CAAC,QAAQ,SAAS,WAAW,EAC/D,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,CAAC,EAC3D,aAAa,EAAE,yBAAyB,CAAC,QAAQ,CAAC,GACjD,kCAAkC;WASvB,yBAAyB,CAAC,QAAQ,SAAS,WAAW,EAClE,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,CAAC,EAC3D,aAAa,EAAE,yBAAyB,CAAC,QAAQ,CAAC,GACjD,kCAAkC;CAQtC"}
1
+ {"version":3,"file":"ApolloExpressServerContainerModule.d.ts","sourceRoot":"","sources":["../../../../src/apollo/modules/ApolloExpressServerContainerModule.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,OAAO,EACL,2BAA2B,EAM5B,MAAM,0BAA0B,CAAC;AAMlC,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAClG,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAgDxF,MAAM,CAAC,OAAO,OAAO,kCAAmC,SAAQ,2BAA2B;WAC3E,sBAAsB,CAAC,QAAQ,SAAS,WAAW,EAC/D,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,CAAC,EAC3D,aAAa,EAAE,yBAAyB,CAAC,QAAQ,CAAC,GACjD,kCAAkC;WASvB,yBAAyB,CAAC,QAAQ,SAAS,WAAW,EAClE,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,CAAC,EAC3D,aAAa,EAAE,yBAAyB,CAAC,QAAQ,CAAC,GACjD,kCAAkC;CAQtC"}
package/package.json CHANGED
@@ -6,20 +6,20 @@
6
6
  "description": "InversifyJs GraphQL Apollo express package",
7
7
  "dependencies": {
8
8
  "@as-integrations/express5": "^1.1.2",
9
- "@inversifyjs/apollo-core": "0.6.0"
9
+ "@inversifyjs/apollo-core": "0.7.0"
10
10
  },
11
11
  "devDependencies": {
12
- "@inversifyjs/http-express": "4.9.1",
13
- "@graphql-tools/utils": "10.11.0",
12
+ "@inversifyjs/http-express": "5.0.1",
13
+ "@graphql-tools/utils": "11.0.0",
14
14
  "@types/express": "^5.0.6",
15
- "@types/node": "24.10.4",
16
- "@vitest/coverage-v8": "4.0.16",
17
- "eslint": "9.39.2",
18
- "prettier": "3.7.4",
19
- "rimraf": "6.1.2",
15
+ "@types/node": "24.12.0",
16
+ "@vitest/coverage-v8": "4.1.0",
17
+ "eslint": "10.0.3",
18
+ "prettier": "3.8.1",
19
+ "rimraf": "6.1.3",
20
20
  "tslib": "2.8.1",
21
21
  "typescript": "5.9.3",
22
- "vitest": "4.0.16"
22
+ "vitest": "4.1.0"
23
23
  },
24
24
  "homepage": "https://inversify.io/framework/",
25
25
  "keywords": [
@@ -41,9 +41,9 @@
41
41
  },
42
42
  "name": "@inversifyjs/apollo-express",
43
43
  "peerDependencies": {
44
- "@apollo/server": "^5.2.0",
45
- "@inversifyjs/http-core": "^4.9.1",
46
- "inversify": "^7.10.8"
44
+ "@apollo/server": "^5.3.0",
45
+ "@inversifyjs/http-core": "^5.0.1",
46
+ "inversify": "^8.1.0"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
@@ -53,7 +53,7 @@
53
53
  "url": "git+https://github.com/inversify/graphql.git"
54
54
  },
55
55
  "type": "module",
56
- "version": "0.7.0",
56
+ "version": "0.8.0",
57
57
  "scripts": {
58
58
  "build": "tsc",
59
59
  "build:clean": "rimraf lib",