Socket
Socket
Sign inDemoInstall

quidproquo-webserver

Package Overview
Dependencies
Maintainers
1
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quidproquo-webserver - npm Package Compare versions

Comparing version 0.0.176 to 0.0.177

10

lib/commonjs/config/settings/domainProxy.d.ts
import { QPQConfigSetting, QPQConfigAdvancedSettings } from 'quidproquo-core';
export declare enum DomainProxyViewerProtocolPolicy {
/** HTTPS only */
HTTPS_ONLY = "https-only",
/** Will redirect HTTP requests to HTTPS */
REDIRECT_TO_HTTPS = "redirect-to-https",
/** Both HTTP and HTTPS supported */
ALLOW_ALL = "allow-all"
}
export interface DomainProxyDomainOptions {

@@ -12,5 +20,7 @@ rootDomain: string;

ignoreCache?: string[];
domainProxyViewerProtocolPolicy: DomainProxyViewerProtocolPolicy;
}
export interface DomainProxyQPQWebServerConfigSetting extends QPQConfigSetting {
name: string;
domainProxyViewerProtocolPolicy: DomainProxyViewerProtocolPolicy;
domain: DomainProxyDomainOptions;

@@ -17,0 +27,0 @@ httpProxyDomain: string;

18

lib/commonjs/config/settings/domainProxy.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defineDomainProxy = void 0;
exports.defineDomainProxy = exports.DomainProxyViewerProtocolPolicy = void 0;
const QPQConfig_1 = require("../QPQConfig");
var DomainProxyViewerProtocolPolicy;
(function (DomainProxyViewerProtocolPolicy) {
/** HTTPS only */
DomainProxyViewerProtocolPolicy["HTTPS_ONLY"] = "https-only";
/** Will redirect HTTP requests to HTTPS */
DomainProxyViewerProtocolPolicy["REDIRECT_TO_HTTPS"] = "redirect-to-https";
/** Both HTTP and HTTPS supported */
DomainProxyViewerProtocolPolicy["ALLOW_ALL"] = "allow-all";
})(DomainProxyViewerProtocolPolicy = exports.DomainProxyViewerProtocolPolicy || (exports.DomainProxyViewerProtocolPolicy = {}));
const defineDomainProxy = (name, options) => ({

@@ -9,7 +18,8 @@ configSettingType: QPQConfig_1.QPQWebServerConfigSettingType.DomainProxy,

name,
httpProxyDomain: options === null || options === void 0 ? void 0 : options.httpProxyDomain,
httpProxyDomain: options.httpProxyDomain,
domain: options.domain,
ignoreCache: (options === null || options === void 0 ? void 0 : options.ignoreCache) || [],
cacheSettingsName: options === null || options === void 0 ? void 0 : options.cacheSettingsName,
ignoreCache: options.ignoreCache || [],
cacheSettingsName: options.cacheSettingsName,
domainProxyViewerProtocolPolicy: options.domainProxyViewerProtocolPolicy,
});
exports.defineDomainProxy = defineDomainProxy;
{
"name": "quidproquo-webserver",
"version": "0.0.176",
"version": "0.0.177",
"description": "",

@@ -28,8 +28,8 @@ "main": "./lib/commonjs/index.js",

"dependencies": {
"quidproquo-core": "0.0.176"
"quidproquo-core": "0.0.177"
},
"devDependencies": {
"quidproquo-tsconfig": "0.0.176",
"quidproquo-tsconfig": "0.0.177",
"typescript": "^4.9.3"
}
}
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