New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

directory-sync

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

directory-sync - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

2

package.json
{
"name": "directory-sync",
"version": "2.0.6",
"version": "2.0.7",
"description": "Easily synchronize directories between two machines over the internet.",

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

@@ -281,4 +281,7 @@ import fetch from 'node-fetch';

// Handle the incoming mutation event
const { type, uri, md5, is_directory } = message;
return reference._handle_remote_mutation(type, uri, md5, is_directory);
const { host, type, uri, md5, is_directory } = message;
// Ensure the incoming event is for this host as we may be sharing the websocket connection
if (this.#host === host) reference._handle_remote_mutation(type, uri, md5, is_directory);
break;
}

@@ -285,0 +288,0 @@ });

@@ -355,2 +355,3 @@ import Path from 'path';

command: 'MUTATION',
host,
uri,

@@ -357,0 +358,0 @@ md5,

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