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

primus

Package Overview
Dependencies
Maintainers
3
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 2.0.0 to 2.0.1

11

index.js

@@ -415,12 +415,3 @@ 'use strict';

return client +' return Primus; });' + library
.filter(Boolean)
.map(function wrap(lib) {
//
// Wrap the libraries in a closure, they could expose variables or
// override variables that are used by the application. A good example of
// this is the use of the `require` function which requirejs, browserify
// and others are using.
//
return '(function library(Primus, global) {'+ lib +'}(this.Primus, this));';
}).join('\n');
.filter(Boolean).join('\n');
};

@@ -427,0 +418,0 @@

2

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

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