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

futoin-invoker

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

futoin-invoker - npm Package Compare versions

Comparing version 1.5.1 to 1.5.3

7

CHANGELOG.txt
=== 1.5.3 (2017-09-04) ===
FIXED: added workaround for NPM: https://github.com/npm/npm/issues/16723
=== 1.5.2 (2017-09-04) ===
SECURITY: fixed ignored "elemtype" of map, if "fields" is not set
FIXED: to allow "null" as value of "any" typed field in "map"
=== 1.5.1 (2017-09-03) ===

@@ -3,0 +10,0 @@ BREAKING: "any" is not allowed to be "undefined" anymore

2

futoin.json
{
"name": "futoin-invoker",
"version": "1.5.1",
"version": "1.5.3",
"vcs": "git",

@@ -5,0 +5,0 @@ "rms": "npm",

{
"name": "futoin-invoker",
"version": "1.5.1",
"version": "1.5.3",
"description": "FutoIn Invoker - Reference Implementation. Transparently and efficiently invoke remote or local service methods with strict API definition for Node and Browser",

@@ -5,0 +5,0 @@ "main": "lib/invoker.js",

@@ -1220,6 +1220,7 @@ "use strict";

if ( 'elemtype' in tdef )
//--
elemtype = tdef.elemtype;
if ( typeof elemtype !== 'undefined' )
{
elemtype = tdef.elemtype;
for ( var i = 0; i < val_len; ++i )

@@ -1238,40 +1239,36 @@ {

case 'map':
if ( !( 'fields' in tdef ) )
{
return true;
}
var fields = tdef.fields;
for ( var f in fields )
if ( typeof fields !== 'undefined' )
{
var field_def = fields[ f ];
if ( typeof field_def === 'string' )
for ( var f in fields )
{
field_def = { type : field_def };
}
var field_def = fields[ f ];
if ( !( f in val ) ||
( val[ f ] === null ) )
{
if ( field_def.optional )
if ( typeof field_def === 'string' )
{
val[ f ] = null;
return true;
field_def = { type : field_def };
}
return false;
}
if ( !( f in val ) ||
( val[ f ] === null ) )
{
if ( field_def.optional )
{
val[ f ] = null;
return true;
}
}
if ( !this._checkType( info, field_def.type, val[ f ], null ) )
{
return false;
if ( !this._checkType( info, field_def.type, val[ f ], null ) )
{
return false;
}
}
}
if ( 'elemtype' in tdef )
elemtype = tdef.elemtype;
if ( typeof elemtype !== 'undefined' )
{
elemtype = tdef.elemtype;
for ( var ft in val )

@@ -1278,0 +1275,0 @@ {

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