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.66 to 0.0.67

lib/types/constants.d.ts

5

lib/config/QPQConfig.d.ts

@@ -11,1 +11,6 @@ export declare enum QPQWebServerConfigSettingType {

}
export interface CacheSettings {
minTTLInSeconds: number;
maxTTLInSeconds: number;
defaultTTLInSeconds: number;
}
import { QPQConfigSetting, QPQConfigAdvancedSettings } from 'quidproquo-core';
import { CacheSettings } from '../QPQConfig';
export interface SeoCacheSettings extends CacheSettings {
headers: string[];
}
export interface QPQConfigAdvancedSeoSettings extends QPQConfigAdvancedSettings {
webEntry?: string;
cache?: SeoCacheSettings;
}

@@ -11,3 +16,4 @@ export interface SeoQPQWebServerConfigSetting extends QPQConfigSetting {

webEntry?: string;
cache: SeoCacheSettings;
}
export declare const defineSeo: (path: string, src: string, runtime: string, options?: QPQConfigAdvancedSeoSettings) => SeoQPQWebServerConfigSetting;

@@ -13,3 +13,9 @@ "use strict";

deprecated: (options === null || options === void 0 ? void 0 : options.deprecated) || false,
cache: (options === null || options === void 0 ? void 0 : options.cache) || {
defaultTTLInSeconds: 86400,
minTTLInSeconds: 900,
maxTTLInSeconds: 172800,
headers: [],
},
});
exports.defineSeo = defineSeo;
import { QPQConfigSetting, QPQConfigAdvancedSettings } from 'quidproquo-core';
import { CacheSettings } from '../QPQConfig';
export interface WebDomainOptions {

@@ -10,2 +11,4 @@ subDomainName?: string;

}
export interface CacheOptions extends CacheSettings {
}
export interface QPQConfigAdvancedWebEntrySettings extends QPQConfigAdvancedSettings {

@@ -15,2 +18,3 @@ buildPath?: string;

storageDrive?: StorageDriveOptions;
cache?: CacheOptions;
domain?: WebDomainOptions;

@@ -24,2 +28,3 @@ indexRoot?: string;

domain: WebDomainOptions;
cache: CacheOptions;
buildPath?: string;

@@ -26,0 +31,0 @@ seoBuildPath?: string;

@@ -16,2 +16,7 @@ "use strict";

},
cache: (options === null || options === void 0 ? void 0 : options.cache) || {
defaultTTLInSeconds: 86400,
minTTLInSeconds: 900,
maxTTLInSeconds: 172800,
},
buildPath: options === null || options === void 0 ? void 0 : options.buildPath,

@@ -18,0 +23,0 @@ seoBuildPath: options === null || options === void 0 ? void 0 : options.seoBuildPath,

1

lib/types/index.d.ts
export * from './HTTPEvent';
export * from './SEOEvent';
export * from './constants';

@@ -19,1 +19,2 @@ "use strict";

__exportStar(require("./SEOEvent"), exports);
__exportStar(require("./constants"), exports);

2

package.json
{
"name": "quidproquo-webserver",
"version": "0.0.66",
"version": "0.0.67",
"description": "",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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