@feathersjs/express 5.0.0-pre.32 → 5.0.0-pre.34

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
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [5.0.0-pre.34](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.33...v5.0.0-pre.34) (2022-12-14)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **core:** `context.type` for around hooks ([#2890](https://github.com/feathersjs/feathers/issues/2890)) ([d606ac6](https://github.com/feathersjs/feathers/commit/d606ac660fd5335c95206784fea36530dd2e851a))
11
+
12
+ # [5.0.0-pre.33](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.32...v5.0.0-pre.33) (2022-11-08)
13
+
14
+ **Note:** Version bump only for package @feathersjs/express
15
+
6
16
  # [5.0.0-pre.32](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.31...v5.0.0-pre.32) (2022-10-26)
7
17
 
8
18
  ### Bug Fixes
@@ -1,5 +1,5 @@
1
1
  import { RequestHandler } from 'express';
2
- export declare type AuthenticationSettings = {
2
+ export type AuthenticationSettings = {
3
3
  service?: string;
4
4
  strategies?: string[];
5
5
  };
@@ -16,7 +16,7 @@ export interface ExpressOverrides<Services> {
16
16
  use: ExpressUseHandler<this, Services>;
17
17
  server?: http.Server;
18
18
  }
19
- export declare type Application<Services = any, Settings = any> = Omit<Express, 'listen' | 'use' | 'get' | 'set'> & FeathersApplication<Services, Settings> & ExpressOverrides<Services>;
19
+ export type Application<Services = any, Settings = any> = Omit<Express, 'listen' | 'use' | 'get' | 'set'> & FeathersApplication<Services, Settings> & ExpressOverrides<Services>;
20
20
  declare module '@feathersjs/feathers/lib/declarations' {
21
21
  interface ServiceOptions {
22
22
  express?: {
package/lib/handlers.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ErrorRequestHandler, RequestHandler } from 'express';
2
2
  export declare function notFound({ verbose }?: {
3
3
  verbose?: boolean;
4
4
  }): RequestHandler;
5
- export declare type ErrorHandlerOptions = {
5
+ export type ErrorHandlerOptions = {
6
6
  public?: string;
7
7
  logger?: boolean | {
8
8
  error?: (msg: any) => void;
package/lib/rest.d.ts CHANGED
@@ -2,7 +2,7 @@ import { RequestHandler } from 'express';
2
2
  import { AuthenticationSettings } from './authentication';
3
3
  import { Application } from './declarations';
4
4
  export declare const formatter: RequestHandler;
5
- export declare type RestOptions = {
5
+ export type RestOptions = {
6
6
  formatter?: RequestHandler;
7
7
  authentication?: AuthenticationSettings;
8
8
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@feathersjs/express",
3
3
  "description": "Feathers Express framework bindings and REST provider",
4
- "version": "5.0.0-pre.32",
4
+ "version": "5.0.0-pre.34",
5
5
  "homepage": "https://feathersjs.com",
6
6
  "main": "lib/",
7
7
  "types": "lib/",
@@ -52,30 +52,30 @@
52
52
  "access": "public"
53
53
  },
54
54
  "dependencies": {
55
- "@feathersjs/authentication": "^5.0.0-pre.32",
56
- "@feathersjs/commons": "^5.0.0-pre.32",
57
- "@feathersjs/errors": "^5.0.0-pre.32",
58
- "@feathersjs/feathers": "^5.0.0-pre.32",
59
- "@feathersjs/transport-commons": "^5.0.0-pre.32",
55
+ "@feathersjs/authentication": "^5.0.0-pre.34",
56
+ "@feathersjs/commons": "^5.0.0-pre.34",
57
+ "@feathersjs/errors": "^5.0.0-pre.34",
58
+ "@feathersjs/feathers": "^5.0.0-pre.34",
59
+ "@feathersjs/transport-commons": "^5.0.0-pre.34",
60
60
  "@types/compression": "^1.7.2",
61
61
  "@types/express": "^4.17.14",
62
62
  "@types/express-serve-static-core": "^4.17.31",
63
63
  "compression": "^1.7.4",
64
64
  "cors": "^2.8.5",
65
- "express": "^4.18.1"
65
+ "express": "^4.18.2"
66
66
  },
67
67
  "devDependencies": {
68
- "@feathersjs/authentication-local": "^5.0.0-pre.32",
69
- "@feathersjs/tests": "^5.0.0-pre.32",
70
- "@types/lodash": "^4.14.186",
71
- "@types/mocha": "^10.0.0",
72
- "@types/node": "^18.8.2",
73
- "axios": "^0.27.2",
68
+ "@feathersjs/authentication-local": "^5.0.0-pre.34",
69
+ "@feathersjs/tests": "^5.0.0-pre.34",
70
+ "@types/lodash": "^4.14.191",
71
+ "@types/mocha": "^10.0.1",
72
+ "@types/node": "^18.11.10",
73
+ "axios": "^1.2.0",
74
74
  "lodash": "^4.17.21",
75
- "mocha": "^10.0.0",
75
+ "mocha": "^10.1.0",
76
76
  "shx": "^0.3.4",
77
77
  "ts-node": "^10.9.1",
78
- "typescript": "^4.8.4"
78
+ "typescript": "^4.9.3"
79
79
  },
80
- "gitHead": "b405e205fc6d9fbd42b42c7a3f30ea4bf33d121d"
80
+ "gitHead": "42cca600d00f0b3b9d89fa79be30fcd46bc50132"
81
81
  }