@feathersjs/express 5.0.0-pre.23 → 5.0.0-pre.26

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,38 @@
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.26](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.25...v5.0.0-pre.26) (2022-06-22)
7
+
8
+ **Note:** Version bump only for package @feathersjs/express
9
+
10
+
11
+
12
+
13
+
14
+ # [5.0.0-pre.25](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.24...v5.0.0-pre.25) (2022-06-22)
15
+
16
+ **Note:** Version bump only for package @feathersjs/express
17
+
18
+
19
+
20
+
21
+
22
+ # [5.0.0-pre.24](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.23...v5.0.0-pre.24) (2022-06-21)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **authentication:** Add safe dispatch data for authentication requests ([#2662](https://github.com/feathersjs/feathers/issues/2662)) ([d8104a1](https://github.com/feathersjs/feathers/commit/d8104a19ee9181e6a5ea81014af29ff9a3c28a8a))
28
+
29
+
30
+ ### Features
31
+
32
+ * **cli:** Add support for JavaScript to the new CLI ([#2668](https://github.com/feathersjs/feathers/issues/2668)) ([ebac587](https://github.com/feathersjs/feathers/commit/ebac587f7d00dc7607c3f546352d79f79b89a5d4))
33
+
34
+
35
+
36
+
37
+
6
38
  # [5.0.0-pre.23](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.22...v5.0.0-pre.23) (2022-06-06)
7
39
 
8
40
 
package/lib/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { Express } from 'express';
2
2
  import { Application as FeathersApplication } from '@feathersjs/feathers';
3
- import { Application } from './declarations';
4
- export { default as original, static, static as serveStatic, json, raw, text, urlencoded, query } from 'express';
5
- export * from './authentication';
6
- export * from './declarations';
7
- export * from './handlers';
8
- export * from './rest';
3
+ import { rest, RestOptions, formatter } from './rest';
4
+ import { errorHandler, notFound, ErrorHandlerOptions } from './handlers';
5
+ import { Application, ExpressOverrides } from './declarations';
6
+ import { AuthenticationSettings, authenticate, parseAuthentication } from './authentication';
7
+ import { default as original, static as serveStatic, json, raw, text, urlencoded, query } from 'express';
8
+ export { original, serveStatic, serveStatic as static, json, raw, text, urlencoded, query, rest, RestOptions, formatter, errorHandler, notFound, Application, ErrorHandlerOptions, ExpressOverrides, AuthenticationSettings, parseAuthentication, authenticate };
9
9
  export default function feathersExpress<S = any, C = any>(feathersApp?: FeathersApplication<S, C>, expressApp?: Express): Application<S, C>;
package/lib/index.js CHANGED
@@ -10,31 +10,45 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
15
24
  };
16
25
  var __importDefault = (this && this.__importDefault) || function (mod) {
17
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
27
  };
19
28
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.query = exports.urlencoded = exports.text = exports.raw = exports.json = exports.serveStatic = exports.static = exports.original = void 0;
29
+ exports.authenticate = exports.parseAuthentication = exports.notFound = exports.errorHandler = exports.formatter = exports.rest = exports.query = exports.urlencoded = exports.text = exports.raw = exports.json = exports.static = exports.serveStatic = exports.original = void 0;
21
30
  const express_1 = __importDefault(require("express"));
22
31
  const feathers_1 = require("@feathersjs/feathers");
23
32
  const transport_commons_1 = require("@feathersjs/transport-commons");
24
33
  const commons_1 = require("@feathersjs/commons");
25
- var express_2 = require("express");
26
- Object.defineProperty(exports, "original", { enumerable: true, get: function () { return __importDefault(express_2).default; } });
27
- Object.defineProperty(exports, "static", { enumerable: true, get: function () { return express_2.static; } });
34
+ const rest_1 = require("./rest");
35
+ Object.defineProperty(exports, "rest", { enumerable: true, get: function () { return rest_1.rest; } });
36
+ Object.defineProperty(exports, "formatter", { enumerable: true, get: function () { return rest_1.formatter; } });
37
+ const handlers_1 = require("./handlers");
38
+ Object.defineProperty(exports, "errorHandler", { enumerable: true, get: function () { return handlers_1.errorHandler; } });
39
+ Object.defineProperty(exports, "notFound", { enumerable: true, get: function () { return handlers_1.notFound; } });
40
+ const authentication_1 = require("./authentication");
41
+ Object.defineProperty(exports, "authenticate", { enumerable: true, get: function () { return authentication_1.authenticate; } });
42
+ Object.defineProperty(exports, "parseAuthentication", { enumerable: true, get: function () { return authentication_1.parseAuthentication; } });
43
+ const express_2 = __importStar(require("express"));
44
+ Object.defineProperty(exports, "original", { enumerable: true, get: function () { return express_2.default; } });
28
45
  Object.defineProperty(exports, "serveStatic", { enumerable: true, get: function () { return express_2.static; } });
46
+ Object.defineProperty(exports, "static", { enumerable: true, get: function () { return express_2.static; } });
29
47
  Object.defineProperty(exports, "json", { enumerable: true, get: function () { return express_2.json; } });
30
48
  Object.defineProperty(exports, "raw", { enumerable: true, get: function () { return express_2.raw; } });
31
49
  Object.defineProperty(exports, "text", { enumerable: true, get: function () { return express_2.text; } });
32
50
  Object.defineProperty(exports, "urlencoded", { enumerable: true, get: function () { return express_2.urlencoded; } });
33
51
  Object.defineProperty(exports, "query", { enumerable: true, get: function () { return express_2.query; } });
34
- __exportStar(require("./authentication"), exports);
35
- __exportStar(require("./declarations"), exports);
36
- __exportStar(require("./handlers"), exports);
37
- __exportStar(require("./rest"), exports);
38
52
  const debug = (0, commons_1.createDebug)('@feathersjs/express');
39
53
  function feathersExpress(feathersApp, expressApp = (0, express_1.default)()) {
40
54
  if (!feathersApp) {
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,sDAA0C;AAC1C,mDAAgG;AAChG,qEAAuD;AACvD,iDAAiD;AAIjD,mCASgB;AARd,oHAAA,OAAO,OAAY;AACnB,iGAAA,MAAM,OAAA;AACN,sGAAA,MAAM,OAAe;AACrB,+FAAA,IAAI,OAAA;AACJ,8FAAA,GAAG,OAAA;AACH,+FAAA,IAAI,OAAA;AACJ,qGAAA,UAAU,OAAA;AACV,gGAAA,KAAK,OAAA;AAGP,mDAAgC;AAChC,iDAA8B;AAC9B,6CAA0B;AAC1B,yCAAsB;AAEtB,MAAM,KAAK,GAAG,IAAA,qBAAW,EAAC,qBAAqB,CAAC,CAAA;AAEhD,SAAwB,eAAe,CACrC,WAAuC,EACvC,aAAsB,IAAA,iBAAO,GAAE;IAE/B,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,UAAiB,CAAA;KACzB;IAED,IAAI,OAAO,WAAW,CAAC,KAAK,KAAK,UAAU,EAAE;QAC3C,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAA;KACtF;IAED,MAAM,GAAG,GAAG,UAAsC,CAAA;IAClD,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,UAAiB,CAAA;IACpE,MAAM,EAAE,GAAG,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,GAAG,WAAW,CAAA;IAEpE,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE;QACjB,GAAG,CAAC,QAA0B,EAAE,GAAG,IAAW;Y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C,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAClG,CAAA;QACL,CAAC;KACmB,CAAC,CAAA;IAEvB,MAAM,cAAc,GAAG;QACrB,GAAG,MAAM,CAAC,yBAAyB,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;QAC/D,GAAG,MAAM,CAAC,yBAAyB,CAAC,GAAG,CAAC;KACzC,CAAA;IACD,MAAM,cAAc,GAAG;QACrB,GAAG,MAAM,CAAC,yBAAyB,CAAC,MAAM,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;QACvE,GAAG,MAAM,CAAC,yBAAyB,CAAC,WAAW,CAAC;KACjD,CAAA;IAED,+DAA+D;IAC/D,8CAA8C;IAC9C,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAC3C,MAAM,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,CAAA;QACpC,MAAM,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,CAAA;QAEpC,IAAI,OAAO,KAAK,SAAS,IAAI,OAAO,KAAK,SAAS,EAAE;YAClD,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;SACjD;IACH,CAAC,CAAC,CAAA;IAEF,GAAG,CAAC,SAAS,CAAC,IAAA,2BAAO,GAAS,CAAC,CAAA;IAE/B,OAAO,GAAG,CAAA;AACZ,CAAC;AArGD,kCAqGC;AAED,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;IACjC,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,OAAO,CAAC,CAAA;CAChE"}
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.23",
4
+ "version": "5.0.0-pre.26",
5
5
  "homepage": "https://feathersjs.com",
6
6
  "main": "lib/",
7
7
  "types": "lib/",
@@ -51,18 +51,18 @@
51
51
  "access": "public"
52
52
  },
53
53
  "dependencies": {
54
- "@feathersjs/authentication": "^5.0.0-pre.23",
55
- "@feathersjs/commons": "^5.0.0-pre.23",
56
- "@feathersjs/errors": "^5.0.0-pre.23",
57
- "@feathersjs/feathers": "^5.0.0-pre.23",
58
- "@feathersjs/transport-commons": "^5.0.0-pre.23",
54
+ "@feathersjs/authentication": "^5.0.0-pre.26",
55
+ "@feathersjs/commons": "^5.0.0-pre.26",
56
+ "@feathersjs/errors": "^5.0.0-pre.26",
57
+ "@feathersjs/feathers": "^5.0.0-pre.26",
58
+ "@feathersjs/transport-commons": "^5.0.0-pre.26",
59
59
  "@types/express": "^4.17.13",
60
60
  "@types/express-serve-static-core": "^4.17.28",
61
61
  "express": "^4.18.1"
62
62
  },
63
63
  "devDependencies": {
64
- "@feathersjs/authentication-local": "^5.0.0-pre.23",
65
- "@feathersjs/tests": "^5.0.0-pre.23",
64
+ "@feathersjs/authentication-local": "^5.0.0-pre.26",
65
+ "@feathersjs/tests": "^5.0.0-pre.26",
66
66
  "@types/lodash": "^4.14.182",
67
67
  "@types/mocha": "^9.1.1",
68
68
  "@types/node": "^17.0.40",
@@ -73,5 +73,5 @@
73
73
  "ts-node": "^10.8.1",
74
74
  "typescript": "^4.7.3"
75
75
  },
76
- "gitHead": "a60910bd730b88053ca6648337095f1ca1e3b39f"
76
+ "gitHead": "0e7553ded9b24016d36021aaedcc2cdb19ab0157"
77
77
  }
package/src/index.ts CHANGED
@@ -3,23 +3,33 @@ import { Application as FeathersApplication, defaultServiceMethods } from '@feat
3
3
  import { routing } from '@feathersjs/transport-commons'
4
4
  import { createDebug } from '@feathersjs/commons'
5
5
 
6
- import { Application } from './declarations'
6
+ import { rest, RestOptions, formatter } from './rest'
7
+ import { errorHandler, notFound, ErrorHandlerOptions } from './handlers'
8
+ import { Application, ExpressOverrides } from './declarations'
9
+ import { AuthenticationSettings, authenticate, parseAuthentication } from './authentication'
10
+ import { default as original, static as serveStatic, json, raw, text, urlencoded, query } from 'express'
7
11
 
8
12
  export {
9
- default as original,
10
- static,
11
- static as serveStatic,
13
+ original,
14
+ serveStatic,
15
+ serveStatic as static,
12
16
  json,
13
17
  raw,
14
18
  text,
15
19
  urlencoded,
16
- query
17
- } from 'express'
18
-
19
- export * from './authentication'
20
- export * from './declarations'
21
- export * from './handlers'
22
- export * from './rest'
20
+ query,
21
+ rest,
22
+ RestOptions,
23
+ formatter,
24
+ errorHandler,
25
+ notFound,
26
+ Application,
27
+ ErrorHandlerOptions,
28
+ ExpressOverrides,
29
+ AuthenticationSettings,
30
+ parseAuthentication,
31
+ authenticate
32
+ }
23
33
 
24
34
  const debug = createDebug('@feathersjs/express')
25
35