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

primus-locky

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

primus-locky - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

8

lib/primus-locky.js

@@ -103,2 +103,3 @@ const _ = require('lodash');

// If the locker is the current user, refresh the lock.
this.primus.emit('refreshLock', resource, room, spark, locker);
if (user === locker) this.locky.refresh(resource);

@@ -109,3 +110,2 @@ });

/**

@@ -124,7 +124,3 @@ * Refresh all active locks.

// Simulate that the user is joining the room.
rooms.forEach((room) => {
const resource = resourceRoom.parse(room);
this.primus.emit('refreshLock', resource, room, spark);
this.onJoinRoom(room, spark);
});
rooms.forEach((room) => this.onJoinRoom(room, spark));
});

@@ -131,0 +127,0 @@ });

{
"name": "primus-locky",
"version": "1.2.1",
"version": "1.2.2",
"description": "Primus locky is a primus plugin for locky, it provides a room based locking.",

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