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

hook-use-url

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hook-use-url - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

index.js

@@ -181,3 +181,3 @@ import {push, replace} from 'connected-react-router';

let values = url.arrayGet({variable});
if (values.includes(value) === false) {
if (values.includes(value) === true) {
values = values.filter((x) => x !== value);

@@ -184,0 +184,0 @@ newVariables[variable] = values;

{
"name": "hook-use-url",
"version": "1.0.7",
"version": "1.0.8",
"description": "useUrl hook for easier URL reading & writing within ReactJS app",

@@ -5,0 +5,0 @@ "main": "index.js",

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