@commercetools-backend/express
Advanced tools
Comparing version 16.8.4 to 16.8.5
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
} | ||
@@ -10,2 +17,2 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
// all apps should export all their named exports from their root index.js | ||
__export(require("./src")); | ||
__exportStar(require("./src"), exports); |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createSessionAuthVerifier = void 0; | ||
const jwks_rsa_1 = __importDefault(require("jwks-rsa")); | ||
@@ -8,0 +9,0 @@ const express_jwt_1 = __importDefault(require("express-jwt")); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MC_API_PROXY_HEADERS = exports.MC_API_URLS = exports.CLOUD_IDENTIFIERS = void 0; | ||
exports.CLOUD_IDENTIFIERS = { | ||
@@ -4,0 +5,0 @@ GCP_AU: 'gcp-au', |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var constants_1 = require("./constants"); | ||
exports.CLOUD_IDENTIFIERS = constants_1.CLOUD_IDENTIFIERS; | ||
exports.MC_API_URLS = constants_1.MC_API_URLS; | ||
Object.defineProperty(exports, "CLOUD_IDENTIFIERS", { enumerable: true, get: function () { return constants_1.CLOUD_IDENTIFIERS; } }); | ||
Object.defineProperty(exports, "MC_API_URLS", { enumerable: true, get: function () { return constants_1.MC_API_URLS; } }); | ||
var auth_1 = require("./auth"); | ||
exports.createSessionAuthVerifier = auth_1.createSessionAuthVerifier; | ||
Object.defineProperty(exports, "createSessionAuthVerifier", { enumerable: true, get: function () { return auth_1.createSessionAuthVerifier; } }); | ||
var session_middleware_1 = require("./middlewares/session-middleware"); | ||
exports.createSessionMiddleware = session_middleware_1.default; | ||
Object.defineProperty(exports, "createSessionMiddleware", { enumerable: true, get: function () { return session_middleware_1.default; } }); |
import type { Request, Response, NextFunction } from 'express'; | ||
import type { TSessionMiddlewareOptions } from '../types'; | ||
declare function createSessionMiddleware(options: TSessionMiddlewareOptions): (request: Request<import("express-serve-static-core").ParamsDictionary, any, any, import("express-serve-static-core").Query>, response: Response<any>, next: NextFunction) => Promise<void>; | ||
declare function createSessionMiddleware(options: TSessionMiddlewareOptions): (request: Request, response: Response, next: NextFunction) => Promise<void>; | ||
export default createSessionMiddleware; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getFirstOrThrow = void 0; | ||
const getFirstOrThrow = (value, errorMessage) => { | ||
@@ -4,0 +5,0 @@ if (!value) { |
# @commercetools-backend/express | ||
## 16.8.4 | ||
## 16.8.5 | ||
### Patch Changes | ||
- [`a66fb1f`](https://github.com/commercetools/merchant-center-application-kit/commit/a66fb1f37a06271b0fad0b2a3f6ea41c61455f0e) [#1518](https://github.com/commercetools/merchant-center-application-kit/pull/1518) Thanks [@tdeekens](https://github.com/tdeekens)! - chore(deps): update all dependencies | ||
## 16.8.4 | ||
### Patch Changes | ||
- [`6ffe293`](https://github.com/commercetools/merchant-center-application-kit/commit/6ffe29312433e357ac6c57ce39e98cf9cba49ba5) [#1508](https://github.com/commercetools/merchant-center-application-kit/pull/1508) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update all dependencies |
{ | ||
"name": "@commercetools-backend/express", | ||
"version": "16.8.4", | ||
"version": "16.8.5", | ||
"description": "Zero-config HTTP server as Express.js to facilitate development", | ||
@@ -39,3 +39,3 @@ "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues", | ||
"dependencies": { | ||
"@types/node": "12.12.39", | ||
"@types/node": "12.12.42", | ||
"express": "4.17.1", | ||
@@ -42,0 +42,0 @@ "express-jwt": "5.3.3", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19608
270
14
+ Added@types/node@12.12.42(transitive)
- Removed@types/node@12.12.39(transitive)
Updated@types/node@12.12.42