@feathersjs/express
Advanced tools
Comparing version 5.0.0-pre.23 to 5.0.0-pre.24
@@ -6,2 +6,18 @@ # Change Log | ||
# [5.0.0-pre.24](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.23...v5.0.0-pre.24) (2022-06-21) | ||
### Bug Fixes | ||
* **authentication:** Add safe dispatch data for authentication requests ([#2662](https://github.com/feathersjs/feathers/issues/2662)) ([d8104a1](https://github.com/feathersjs/feathers/commit/d8104a19ee9181e6a5ea81014af29ff9a3c28a8a)) | ||
### Features | ||
* **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)) | ||
# [5.0.0-pre.23](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.22...v5.0.0-pre.23) (2022-06-06) | ||
@@ -8,0 +24,0 @@ |
import { Express } from 'express'; | ||
import { Application as FeathersApplication } from '@feathersjs/feathers'; | ||
import { Application } from './declarations'; | ||
export { default as original, static, static as serveStatic, json, raw, text, urlencoded, query } from 'express'; | ||
export * from './authentication'; | ||
export * from './declarations'; | ||
export * from './handlers'; | ||
export * from './rest'; | ||
import { rest, RestOptions, formatter } from './rest'; | ||
import { errorHandler, notFound, ErrorHandlerOptions } from './handlers'; | ||
import { Application, ExpressOverrides } from './declarations'; | ||
import { AuthenticationSettings, authenticate, parseAuthentication } from './authentication'; | ||
import { default as original, static as serveStatic, json, raw, text, urlencoded, query } from 'express'; | ||
export { original, serveStatic, serveStatic as static, json, raw, text, urlencoded, query, rest, RestOptions, formatter, errorHandler, notFound, Application, ErrorHandlerOptions, ExpressOverrides, AuthenticationSettings, parseAuthentication, authenticate }; | ||
export default function feathersExpress<S = any, C = any>(feathersApp?: FeathersApplication<S, C>, expressApp?: Express): Application<S, C>; |
@@ -13,4 +13,13 @@ "use strict"; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
@@ -21,3 +30,3 @@ var __importDefault = (this && this.__importDefault) || function (mod) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.query = exports.urlencoded = exports.text = exports.raw = exports.json = exports.serveStatic = exports.static = exports.original = void 0; | ||
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; | ||
const express_1 = __importDefault(require("express")); | ||
@@ -27,6 +36,15 @@ const feathers_1 = require("@feathersjs/feathers"); | ||
const commons_1 = require("@feathersjs/commons"); | ||
var express_2 = require("express"); | ||
Object.defineProperty(exports, "original", { enumerable: true, get: function () { return __importDefault(express_2).default; } }); | ||
const rest_1 = require("./rest"); | ||
Object.defineProperty(exports, "rest", { enumerable: true, get: function () { return rest_1.rest; } }); | ||
Object.defineProperty(exports, "formatter", { enumerable: true, get: function () { return rest_1.formatter; } }); | ||
const handlers_1 = require("./handlers"); | ||
Object.defineProperty(exports, "errorHandler", { enumerable: true, get: function () { return handlers_1.errorHandler; } }); | ||
Object.defineProperty(exports, "notFound", { enumerable: true, get: function () { return handlers_1.notFound; } }); | ||
const authentication_1 = require("./authentication"); | ||
Object.defineProperty(exports, "authenticate", { enumerable: true, get: function () { return authentication_1.authenticate; } }); | ||
Object.defineProperty(exports, "parseAuthentication", { enumerable: true, get: function () { return authentication_1.parseAuthentication; } }); | ||
const express_2 = __importStar(require("express")); | ||
Object.defineProperty(exports, "original", { enumerable: true, get: function () { return express_2.default; } }); | ||
Object.defineProperty(exports, "serveStatic", { enumerable: true, get: function () { return express_2.static; } }); | ||
Object.defineProperty(exports, "static", { enumerable: true, get: function () { return express_2.static; } }); | ||
Object.defineProperty(exports, "serveStatic", { enumerable: true, get: function () { return express_2.static; } }); | ||
Object.defineProperty(exports, "json", { enumerable: true, get: function () { return express_2.json; } }); | ||
@@ -37,6 +55,2 @@ Object.defineProperty(exports, "raw", { enumerable: true, get: function () { return express_2.raw; } }); | ||
Object.defineProperty(exports, "query", { enumerable: true, get: function () { return express_2.query; } }); | ||
__exportStar(require("./authentication"), exports); | ||
__exportStar(require("./declarations"), exports); | ||
__exportStar(require("./handlers"), exports); | ||
__exportStar(require("./rest"), exports); | ||
const debug = (0, commons_1.createDebug)('@feathersjs/express'); | ||
@@ -43,0 +57,0 @@ function feathersExpress(feathersApp, expressApp = (0, express_1.default)()) { |
{ | ||
"name": "@feathersjs/express", | ||
"description": "Feathers Express framework bindings and REST provider", | ||
"version": "5.0.0-pre.23", | ||
"version": "5.0.0-pre.24", | ||
"homepage": "https://feathersjs.com", | ||
@@ -54,7 +54,7 @@ "main": "lib/", | ||
"dependencies": { | ||
"@feathersjs/authentication": "^5.0.0-pre.23", | ||
"@feathersjs/commons": "^5.0.0-pre.23", | ||
"@feathersjs/errors": "^5.0.0-pre.23", | ||
"@feathersjs/feathers": "^5.0.0-pre.23", | ||
"@feathersjs/transport-commons": "^5.0.0-pre.23", | ||
"@feathersjs/authentication": "^5.0.0-pre.24", | ||
"@feathersjs/commons": "^5.0.0-pre.24", | ||
"@feathersjs/errors": "^5.0.0-pre.24", | ||
"@feathersjs/feathers": "^5.0.0-pre.24", | ||
"@feathersjs/transport-commons": "^5.0.0-pre.24", | ||
"@types/express": "^4.17.13", | ||
@@ -65,4 +65,4 @@ "@types/express-serve-static-core": "^4.17.28", | ||
"devDependencies": { | ||
"@feathersjs/authentication-local": "^5.0.0-pre.23", | ||
"@feathersjs/tests": "^5.0.0-pre.23", | ||
"@feathersjs/authentication-local": "^5.0.0-pre.24", | ||
"@feathersjs/tests": "^5.0.0-pre.24", | ||
"@types/lodash": "^4.14.182", | ||
@@ -78,3 +78,3 @@ "@types/mocha": "^9.1.1", | ||
}, | ||
"gitHead": "a60910bd730b88053ca6648337095f1ca1e3b39f" | ||
"gitHead": "72779fa2938f43d7b345b6861ff0035481a07de3" | ||
} |
@@ -6,8 +6,12 @@ import express, { Express } from 'express' | ||
import { Application } from './declarations' | ||
import { rest, RestOptions, formatter } from './rest' | ||
import { errorHandler, notFound, ErrorHandlerOptions } from './handlers' | ||
import { Application, ExpressOverrides } from './declarations' | ||
import { AuthenticationSettings, authenticate, parseAuthentication } from './authentication' | ||
import { default as original, static as serveStatic, json, raw, text, urlencoded, query } from 'express' | ||
export { | ||
default as original, | ||
static, | ||
static as serveStatic, | ||
original, | ||
serveStatic, | ||
serveStatic as static, | ||
json, | ||
@@ -17,10 +21,16 @@ raw, | ||
urlencoded, | ||
query | ||
} from 'express' | ||
query, | ||
rest, | ||
RestOptions, | ||
formatter, | ||
errorHandler, | ||
notFound, | ||
Application, | ||
ErrorHandlerOptions, | ||
ExpressOverrides, | ||
AuthenticationSettings, | ||
parseAuthentication, | ||
authenticate | ||
} | ||
export * from './authentication' | ||
export * from './declarations' | ||
export * from './handlers' | ||
export * from './rest' | ||
const debug = createDebug('@feathersjs/express') | ||
@@ -27,0 +37,0 @@ |
Sorry, the diff of this file is not supported yet
118076
902