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

primus

Package Overview
Dependencies
Maintainers
6
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

primus - npm Package Compare versions

Comparing version 8.0.4 to 8.0.5

8

package.json
{
"name": "primus",
"version": "8.0.4",
"version": "8.0.5",
"description": "Primus is a simple abstraction around real-time frameworks. It allows you to easily switch between different frameworks without any code changes.",

@@ -66,3 +66,3 @@ "main": "index.js",

"@babel/core": "~7.14.3",
"@babel/plugin-transform-object-assign": "~7.12.13",
"@babel/plugin-transform-object-assign": "~7.14.5",
"@babel/preset-env": "~7.14.2",

@@ -84,3 +84,3 @@ "babelify": "~10.0.0",

"inherits": "~2.0.3",
"mocha": "~8.4.0",
"mocha": "~9.0.3",
"pre-commit": "~1.2.0",

@@ -100,3 +100,3 @@ "primus-msgpack": "~1.0.2",

"uws": "10.148.1",
"ws": "~7.4.1",
"ws": "~8.0.0",
"yeast": "~0.1.2"

@@ -103,0 +103,0 @@ },

@@ -51,3 +51,7 @@ 'use strict';

socket.on('message', spark.emits('incoming::data'));
socket.on('message',
spark.emits('incoming::data', (next, data, isBinary) => {
next(undefined, isBinary === false ? data.toString() : data);
})
);
socket.on('error', spark.emits('incoming::error'));

@@ -54,0 +58,0 @@ socket.on('ping', spark.emits('incoming::pong', (next) => {

Sorry, the diff of this file is too big to display

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