node-iframe
Advanced tools
Comparing version 1.1.2 to 1.1.3
{ | ||
"name": "node-iframe", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "create a iframe on your server to bypass CORS issues. ( reverse engineer security issues )", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -1,5 +0,7 @@ | ||
const stdTTL = process.env.NODE_ENV !== "production" ? 30 : 600; | ||
const stdTTL = 100; | ||
const checkperiod = 120; | ||
module.exports = { | ||
stdTTL, | ||
checkperiod, | ||
}; |
@@ -1,7 +0,8 @@ | ||
const { stdTTL } = require("./cache"); | ||
const { stdTTL, checkperiod } = require("./cache"); | ||
const { headers } = require("./headers"); | ||
module.exports = { | ||
checkperiod, | ||
stdTTL, | ||
headers | ||
headers, | ||
}; |
@@ -7,5 +7,5 @@ const isUrl = require("is-url"); | ||
const { WEBSITE_NOT_FOUND_TEMPLATE } = require("./templates/not-found"); | ||
const { stdTTL, headers } = require("./config"); | ||
const { stdTTL, checkperiod, headers } = require("./config"); | ||
const cache = new NodeCache({ stdTTL }); | ||
const cache = new NodeCache({ stdTTL, checkperiod }); | ||
@@ -12,0 +12,0 @@ // Experimental manipulation |
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
6649
125