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

appc-platform-sdk

Package Overview
Dependencies
Maintainers
4
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appc-platform-sdk - npm Package Compare versions

Comparing version 1.0.31 to 1.0.32

6

lib/auth.js

@@ -163,4 +163,3 @@ /**

}
var session = new Session(),
url = require('url'),
var url = require('url'),
async = require('async'),

@@ -171,3 +170,4 @@ parse = url.parse(AppC.baseurl),

tok = host.split('.'),
subdomain = tok.splice(tok.length-2,2).join('.');
subdomain = tok.splice(tok.length-2,2).join('.'),
session = new Session(host, subdomain);

@@ -174,0 +174,0 @@ // for now, since we are transitioning cookies both from FQDN to base domain

@@ -14,4 +14,6 @@ /**

function Session(body) {
function Session(host, subdomain) {
this.jar = request.jar();
this.host = host;
this.subdomain = subdomain;
}

@@ -42,3 +44,3 @@

Session.prototype._set = function(body){
this.id = body['connect.sid'];
this.id = body['connect.sid'] || body['dashboard.sid'];
this.user = {

@@ -45,0 +47,0 @@ username: body.username,

{
"name": "appc-platform-sdk",
"version": "1.0.31",
"version": "1.0.32",
"description": "Appcelerator Platform SDK for node.js",

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