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

jsexp

Package Overview
Dependencies
Maintainers
1
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.2 to 0.0.3

1

exec.js

@@ -37,2 +37,1 @@ 'use strict';

module.exports = exec;
console.log(exec(['$eqs', 1, '1']));

2

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

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

@@ -53,2 +53,1 @@ 'use strict';

module.exports = stringify;
console.log(stringify(['$eq', 1, '2']));

@@ -34,8 +34,4 @@ 'use strict';

function replaceVariable(variable, context) {
if (typeof variable === 'string') {
if (context && rVariable.test(variable)) {
return get(context, variable.substr(1));
}
return variable;
if (context && typeof variable === 'string' && rVariable.test(variable)) {
return get(context, variable.substr(1));
}

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