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

@dollarshaveclub/react-passage

Package Overview
Dependencies
Maintainers
23
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dollarshaveclub/react-passage - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

dist/index.es.js

@@ -618,3 +618,5 @@ import React, { createContext, Children, forwardRef } from 'react';

strict = _route$props.strict;
a.href = toStringFromLocationObject(to);
var url = toStringFromLocationObject(to);
if (!url) return false;
a.href = url;
var toPath = a.pathname;

@@ -621,0 +623,0 @@ return matchPath(toPath, {

@@ -625,3 +625,5 @@ 'use strict';

strict = _route$props.strict;
a.href = toStringFromLocationObject(to);
var url = toStringFromLocationObject(to);
if (!url) return false;
a.href = url;
var toPath = a.pathname;

@@ -628,0 +630,0 @@ return reactRouter.matchPath(toPath, {

{
"name": "@dollarshaveclub/react-passage",
"version": "2.0.1",
"version": "2.0.2",
"description": "Link and Redirect to routes safely in your react applications",

@@ -5,0 +5,0 @@ "author": "Jacob Kelley <jacob.kelley@dollarshaveclub.com>",

@@ -42,3 +42,5 @@ import React, { Children, createContext, forwardRef } from 'react'

a.href = toStringFromLocationObject(to)
const url = toStringFromLocationObject(to)
if (!url) return false
a.href = url
const toPath = a.pathname

@@ -45,0 +47,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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