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

stats-modifiers

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stats-modifiers - npm Package Compare versions

Comparing version 0.7.12 to 0.7.13

14

lib/Traits.js

@@ -194,10 +194,12 @@ /*

for ( let property in parent.wildChildrenModifierKeys[ pathKey ] ) {
if ( ! property || typeof property !== 'string' ) { continue ; }
if ( parent ) { // When the Traits is not yet attached, the proxy cause trouble, so we ensure that there is a parent...
for ( let property in parent.wildChildrenModifierKeys[ pathKey ] ) {
if ( ! property || typeof property !== 'string' ) { continue ; }
let base = target.base[ property ] === true ,
actual = target.computeModifiers( base , base , pathKey ? pathKey + '.' + property : property ) ;
let base = target.base[ property ] === true ,
actual = target.computeModifiers( base , base , pathKey ? pathKey + '.' + property : property ) ;
if ( actual ) { keys.add( property ) ; }
else { keys.delete( property ) ; }
if ( actual ) { keys.add( property ) ; }
else { keys.delete( property ) ; }
}
}

@@ -204,0 +206,0 @@

{
"name": "stats-modifiers",
"version": "0.7.12",
"version": "0.7.13",
"description": "Stats and modifiers lib for gamedev.",

@@ -5,0 +5,0 @@ "main": "lib/stats-modifiers.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