ssr-for-bots
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,9 +0,1 @@ | ||
import { NextFunction, Request, Response } from "express"; | ||
interface Options { | ||
prerender: Array<string>; | ||
exclude: Array<string>; | ||
useCache: boolean; | ||
cacheRefreshRate: number; | ||
} | ||
declare function ssrForBots(options: Options): (req: Request, res: Response, next: NextFunction) => void; | ||
export = ssrForBots; | ||
export {}; |
@@ -45,2 +45,3 @@ "use strict"; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var ssr_1 = require("./ssr"); | ||
@@ -47,0 +48,0 @@ function ssrForBots(options) { |
{ | ||
"name": "ssr-for-bots", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "SSR-for-bots is an express middleware that will apply SSR to your application only when bots are visiting it", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -84,2 +84,2 @@ import { NextFunction, Request, Response } from "express"; | ||
export = ssrForBots; | ||
module.exports = ssrForBots; |
Sorry, the diff of this file is not supported yet
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
35183
592