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

remix-auth-email-link

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remix-auth-email-link - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

6

build/index.js

@@ -130,3 +130,3 @@ "use strict";

getDomainURL(request) {
var _a;
var _a, _b;
const host = (_a = request.headers.get('X-Forwarded-Host')) !== null && _a !== void 0 ? _a : request.headers.get('host');

@@ -136,5 +136,5 @@ if (!host) {

}
const protocol = host.includes('localhost') || host.includes('127.0.0.1')
const protocol = (_b = request.headers.get('X-Forwarded-Proto')) !== null && _b !== void 0 ? _b : (host.includes('localhost') || host.includes('127.0.0.1')
? 'http'
: 'https';
: 'https');
return `${protocol}://${host}`;

@@ -141,0 +141,0 @@ }

{
"name": "remix-auth-email-link",
"version": "1.5.1",
"version": "1.5.2",
"main": "./build/index.js",

@@ -5,0 +5,0 @@ "types": "./build/index.d.ts",

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