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

@serverless/platform-sdk

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serverless/platform-sdk - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

26

dist/login/login.js

@@ -94,3 +94,3 @@ 'use strict';

opnRes = _context3.sent;
return _context3.abrupt('return', new Promise(function (resolve) {
return _context3.abrupt('return', new Promise(function (resolve, reject) {
app.get('/', function () {

@@ -109,11 +109,21 @@ var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(req, res) {

if (!req.query.unverified) {
_context.next = 5;
break;
}
res.end();
server.close();
return _context.abrupt('return', reject('Complete sign-up before logging in.'));
case 5:
if (!req.query.code) {
_context.next = 12;
_context.next = 16;
break;
}
_context.next = 4;
_context.next = 8;
return (0, _getTokens2.default)(req.query.code);
case 4:
case 8:
tokens = _context.sent;

@@ -133,6 +143,6 @@

res.end();
_context.next = 19;
_context.next = 23;
break;
case 12:
case 16:
endLoginQueries = _querystring2.default.stringify({

@@ -153,3 +163,3 @@ cli: 'true',

case 19:
case 23:
case 'end':

@@ -203,3 +213,3 @@ return _context.stop();

if (!tenant) {
if (!(tenant && tenant !== 'tenantname')) {
_context2.next = 16;

@@ -206,0 +216,0 @@ break;

{
"name": "@serverless/platform-sdk",
"version": "0.7.1",
"version": "0.7.2",
"description": "Serverless Platform SDK",

@@ -5,0 +5,0 @@ "author": "Serverless, Inc.",

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