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

hashbind

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hashbind - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

12

index.js

@@ -27,6 +27,8 @@ 'use strict';

var part = '' + minEscape(key);
if (val !== undefined && val !== '') {
if (val === undefined) {
continue;
}
if (val !== '') {
part += '=' + minEscape(val);
}
parts.push(part);

@@ -44,3 +46,6 @@ }

var part = '' + escape(key);
if (val !== undefined && val !== '') {
if (val === undefined) {
continue;
}
if (val !== '') {
part += '=' + escape(val);

@@ -72,2 +77,3 @@ }

this.load();
this.save();

@@ -74,0 +80,0 @@ function onHashChange(e) {

{
"name": "hashbind",
"version": "2.1.0",
"version": "2.1.1",
"description": "Dual Binding Library For window.location.hash",

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