Socket
Socket
Sign inDemoInstall

cpim

Package Overview
Dependencies
4
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.2 to 3.0.3

13

dist/cpim.js
/*
* cpim v3.0.2
* cpim v3.0.3
* JavaScript implementation of CPIM "Common Presence and Instant Messaging" (RFC 3862)

@@ -1551,3 +1551,3 @@ * Copyright 2015 Iñaki Baz Castillo at eFace2Face, inc. (https://eface2face.com)

var entity = new Entity();
var entity;

@@ -1558,2 +1558,4 @@ if (typeof rawMessage !== 'string') {

entity = new Entity();
if (!parseEntity(entity, rawMessage, true)) {

@@ -1572,3 +1574,3 @@ debugerror('invalid MIME message');

var
headersEnd,
headersEnd = -1,
rawHeaders,

@@ -1582,3 +1584,6 @@ rawBody,

headersEnd = rawEntity.indexOf('\r\n\r\n');
// Just look for headers if first line is not empty.
if (/^[^\r\n]/.test(rawEntity)) {
headersEnd = rawEntity.indexOf('\r\n\r\n');
}

@@ -1585,0 +1590,0 @@ if (headersEnd !== -1) {

{
"name": "cpim",
"version": "3.0.2",
"version": "3.0.3",
"description": "JavaScript implementation of CPIM \"Common Presence and Instant Messaging\" (RFC 3862)",

@@ -23,6 +23,6 @@ "author": "Iñaki Baz Castillo at eFace2Face, inc. (https://eface2face.com)",

"debug": "^2.2.0",
"mimemessage": "^1.0.2"
"mimemessage": "^1.0.3"
},
"devDependencies": {
"browserify": "^11.2.0",
"browserify": "^12.0.1",
"eventcollector": "^0.1.5",

@@ -33,5 +33,5 @@ "expect.js": "^0.3.1",

"gulp-header": "^1.7.1",
"gulp-jscs": "^3.0.1",
"gulp-jscs": "^3.0.2",
"gulp-jscs-stylish": "^1.2.1",
"gulp-jshint": "^1.11.2",
"gulp-jshint": "^1.12.0",
"gulp-mocha": "^2.1.3",

@@ -38,0 +38,0 @@ "jshint-stylish": "~2.0.1",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc