Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@commercetools-backend/express

Package Overview
Dependencies
Maintainers
3
Versions
1097
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools-backend/express - npm Package Compare versions

Comparing version 0.0.0-canary-86948e4fc587add23724ecd687e2b546ba715f3c to 0.0.0-canary-a66fb1f37a06271b0fad0b2a3f6ea41c61455f0e

CHANGELOG.md

13

build/index.js
"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) {

{
"name": "@commercetools-backend/express",
"version": "0.0.0-canary-86948e4fc587add23724ecd687e2b546ba715f3c",
"version": "0.0.0-canary-a66fb1f37a06271b0fad0b2a3f6ea41c61455f0e",
"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.29",
"@types/node": "12.12.42",
"express": "4.17.1",

@@ -49,3 +49,3 @@ "express-jwt": "5.3.3",

},
"gitHead": "b33a68de6dc786925755e644086375d665d1e6e1"
"gitHead": "70a0eff17621ae704070097c3d0f054e0dcd6433"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc