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

beanstalkd-protocol

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beanstalkd-protocol - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

8

lib/index.js

@@ -100,2 +100,10 @@ 'use strict';

if (!spec) {
return [remainder, {
[key]: identifier,
args: {},
unknown: true
}];
}
if (spec.parts.length > 1) {

@@ -102,0 +110,0 @@ for (let i = 0; i < spec.parts.length - 1; i++) {

2

package.json
{
"name": "beanstalkd-protocol",
"version": "0.2.0",
"version": "0.2.1",
"description": "Beanstalkd protocol parser for Node.js/Javascript",

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

@@ -42,2 +42,6 @@ import BeanstalkdProtocol from '../../src/index';

it('parses unknown ERROR', function () {
expect(protocol.parseReply(new Buffer('UNKNOWN_ERROR\r\n')), 'to equal', [null, {reply: 'UNKNOWN_ERROR', args: {}, unknown: true}]);
});
it('parses RESERVED reply over two buffers', function () {

@@ -44,0 +48,0 @@ let data = new Buffer(JSON.stringify({

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