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

@ctx-core/function

Package Overview
Dependencies
Maintainers
1
Versions
525
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctx-core/function - npm Package Compare versions

Comparing version 8.0.4 to 8.1.0

13

lib.js

@@ -221,3 +221,7 @@ /**

for (let i = 0; i < a1__name.length; i++) {
value = value && value[a1__name[i]]
const segment = a1__name[i]
const value__ = (value && value[segment])
value =
value__
|| (typeof segment === 'function' ? segment(value) : value__)
}

@@ -246,3 +250,8 @@ return value

const segment = a1__name[i]
value = typeof segment === 'function' ? segment(value) : value[segment]
let value__ = (value && value[segment])
value__ = value__ || ((typeof segment === 'function') ? segment(value) : value__)
value =
(value__ && typeof value__ === 'function')
? value__.call(value)
: value__
}

@@ -249,0 +258,0 @@ return value

4

package.json
{
"name": "@ctx-core/function",
"version": "8.0.4",
"version": "8.1.0",
"description": "ctx-core function",

@@ -27,3 +27,3 @@ "main": "lib.js",

},
"gitHead": "533f71da75d0fd20cc2584c84d0649306d3b3db7"
"gitHead": "bdcb964274f1a3039e1e2cb19e4e959488cff2e0"
}
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