Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

link-preview-js

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

link-preview-js - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

3

build/index.js

@@ -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;

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