prerender
Advanced tools
+4
-0
@@ -5,2 +5,6 @@ # Change Log | ||
| ## 5.21.0 - 2024-05-06 | ||
| ### Changed | ||
| - Make `BROWSER_TRY_RESTART_PERIOD` configurable in the server options | ||
| ## 5.20.4 - 2024-04-18 | ||
@@ -7,0 +11,0 @@ ### Changed |
+2
-1
@@ -49,2 +49,3 @@ const util = require('./util.js'); | ||
| this.options.parseShadowDom = this.options.parseShadowDom || PARSE_SHADOW_DOM; | ||
| this.options.browserTryRestartPeriod = this.options.browserTryRestartPeriod || BROWSER_TRY_RESTART_PERIOD; | ||
@@ -328,3 +329,3 @@ this.browser = require('./browsers/chrome'); | ||
| if (!this.isAnyRequestInFlight() && new Date().getTime() - this.lastRestart > BROWSER_TRY_RESTART_PERIOD) { | ||
| if (!this.isAnyRequestInFlight() && new Date().getTime() - this.lastRestart > this.options.browserTryRestartPeriod) { | ||
| this.lastRestart = new Date().getTime(); | ||
@@ -331,0 +332,0 @@ this.restartBrowser(); |
+2
-2
@@ -5,3 +5,3 @@ { | ||
| "description": "Service to prerender Javascript rendered pages for SEO", | ||
| "version": "5.20.4", | ||
| "version": "5.21.0", | ||
| "license": "MIT", | ||
@@ -32,2 +32,2 @@ "repository": { | ||
| } | ||
| } | ||
| } |
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 19 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 19 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
92445
0.25%1642
0.06%