link-preview-js
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -371,3 +371,4 @@ "use strict"; | ||
response = _e.sent(); | ||
if (!((response.status > 300 || response.status < 309) && | ||
if (!(response.status > 300 && | ||
response.status < 309 && | ||
fetchOptions.redirect === "manual" && | ||
@@ -374,0 +375,0 @@ (options === null || options === void 0 ? void 0 : options.handleRedirects))) return [3 /*break*/, 7]; |
{ | ||
"name": "link-preview-js", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Javascript module to extract and fetch HTTP link information from blocks of text.", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -145,3 +145,4 @@ <h1 align="center">Link Preview JS</h1> | ||
forwardedURLObj.hostname === urlObj.hostname || | ||
forwardedURLObj.hostname === "www." + urlObj.hostname | ||
forwardedURLObj.hostname === "www." + urlObj.hostname || | ||
"www." + forwardedURLObj.hostname === urlObj.hostname | ||
) { | ||
@@ -148,0 +149,0 @@ return true; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
670840
3339
225
0