New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sip.js

Package Overview
Dependencies
Maintainers
3
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sip.js - npm Package Compare versions

Comparing version 0.18.0 to 0.18.1

9

lib/api/registerer.js

@@ -294,5 +294,10 @@ import { C, Grammar, URI } from "../core";

}
/* Adding host and port checks may break people not using contactName, so only check those
* if the parameter is set. The server mucking with host and port is entirely legal,
* so in cases where that occurs usage of contactName is currently broken.
*/
if (contact.uri.user === this.userAgent.contact.uri.user &&
contact.uri.host === this.userAgent.contact.uri.host &&
contact.uri.port === this.userAgent.contact.uri.port) {
(this.userAgent.configuration.contactName === "" ||
(contact.uri.host === this.userAgent.contact.uri.host &&
contact.uri.port === this.userAgent.contact.uri.port))) {
expires = Number(contact.getParam("expires"));

@@ -299,0 +304,0 @@ break;

@@ -475,3 +475,3 @@ import { DigestAuthentication, Grammar, IncomingRequestMessage, IncomingResponseMessage, Levels, LoggerFactory, Parser, URI, UserAgentCore } from "../core";

initContact() {
const contactName = this.options.contactName != "" ? this.options.contactName : createRandomToken(8);
const contactName = this.options.contactName !== "" ? this.options.contactName : createRandomToken(8);
const contactParams = this.options.contactParams;

@@ -478,0 +478,0 @@ const contact = {

@@ -1,2 +0,2 @@

declare const version = "0.18.0";
declare const version = "0.18.1";
declare const name = "sip.js";

@@ -3,0 +3,0 @@ export { name, version };

@@ -1,2 +0,2 @@

export declare const LIBRARY_VERSION = "0.18.0";
export declare const LIBRARY_VERSION = "0.18.1";
//# sourceMappingURL=version.d.ts.map

@@ -1,1 +0,1 @@

export const LIBRARY_VERSION = "0.18.0";
export const LIBRARY_VERSION = "0.18.1";

@@ -5,3 +5,3 @@ {

"description": "A SIP library for JavaScript",
"version": "0.18.0",
"version": "0.18.1",
"license": "MIT",

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

Sorry, the diff of this file is not supported yet

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