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

deep-core

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-core - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

lib.compiled/AWS/Lambda/Context.js

14

lib.compiled/AWS/Lambda/Runtime.js

@@ -30,2 +30,4 @@ /**

var _Context = require('./Context');
/**

@@ -59,3 +61,3 @@ * Lambda runtime context

/**
* @returns {Object}
* @returns {null|Context}
*/

@@ -72,10 +74,6 @@

value: function run(event, context) {
this._context = new _Context.Context(context);
this._request = new _Request.Request(event);
// @todo: move to constructor
this._context = context;
this._addExceptionListener();
this._request = new _Request.Request(event);
this._fillUserContext();

@@ -146,3 +144,3 @@

value: function _fillUserContext() {
if (this._context && this._context.hasOwnProperty('identity') && this._context.identity.hasOwnProperty('cognitoIdentityPoolId') && this._context.identity.hasOwnProperty('cognitoIdentityId')) {
if (this._context && this._context.has('identity') && this._context.identity.hasOwnProperty('cognitoIdentityPoolId') && this._context.identity.hasOwnProperty('cognitoIdentityId')) {
var identityPoolId = this._context.identity.cognitoIdentityPoolId;

@@ -149,0 +147,0 @@

{
"name": "deep-core",
"version": "1.5.0",
"version": "1.5.1",
"description": "DEEP Core Library",

@@ -5,0 +5,0 @@ "keywords": [

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