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

jsexp

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsexp - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "jsexp",
"version": "0.0.3",
"version": "0.0.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "scripts": {

@@ -35,3 +35,15 @@ 'use strict';

if (context && typeof variable === 'string' && rVariable.test(variable)) {
return get(context, variable.substr(1));
var key = variable.substr(1);
if (Array.isArray(context)) {
for (var i = 0; i < context.length; i++) {
var value = get(context[i], key);
if (value !== undefined) {
return value;
}
}
} else {
return get(context, key);
}
}

@@ -38,0 +50,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