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

liyad

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liyad - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

15

bin/s-exp/s-expression.js

@@ -186,2 +186,15 @@ "use strict";

f.repl = () => {
const execSync = (stat, s) => {
if (config.enableEvaluate) {
for (let i = 0; i < s.length; i++) {
s[i] = evaluate_1.evaluate(stat, s[i]);
}
}
if (config.returnMultipleRoot) {
return s.length === 1 ? s[0] : s;
}
else {
return s[s.length - 1];
}
};
const state = initState(config, Object.assign({}, globalScope), '');

@@ -195,3 +208,3 @@ exec(state, startup.slice(0));

resetState(state, strings, values);
return exec(state, parser_1.parse(state));
return execSync(state, parser_1.parse(state));
});

@@ -198,0 +211,0 @@ fRepl.sync = fReplSync;

@@ -183,2 +183,15 @@ // Copyright (c) 2018, Shellyl_N and Authors

f.repl = () => {
const execSync = (stat, s) => {
if (config.enableEvaluate) {
for (let i = 0; i < s.length; i++) {
s[i] = evaluate(stat, s[i]);
}
}
if (config.returnMultipleRoot) {
return s.length === 1 ? s[0] : s;
}
else {
return s[s.length - 1];
}
};
const state = initState(config, Object.assign({}, globalScope), '');

@@ -192,3 +205,3 @@ exec(state, startup.slice(0));

resetState(state, strings, values);
return exec(state, parse(state));
return execSync(state, parse(state));
});

@@ -195,0 +208,0 @@ fRepl.sync = fReplSync;

2

package.json
{
"name": "liyad",
"private": false,
"version": "0.0.17",
"version": "0.0.18",
"description": "Liyad (Lisp yet another DSL interpreter) is very small Lisp interpreter written in JavaScript.",

@@ -6,0 +6,0 @@ "keywords": [

@@ -256,2 +256,15 @@ // Copyright (c) 2018, Shellyl_N and Authors

(f as any).repl = () => {
const execSync = (stat: SxParserState, s: SxToken[]) => {
if (config.enableEvaluate) {
for (let i = 0; i < s.length; i++) {
s[i] = evaluate(stat, s[i]);
}
}
if (config.returnMultipleRoot) {
return s.length === 1 ? s[0] : s;
} else {
return s[s.length - 1];
}
};
const state = initState(config, Object.assign({}, globalScope), '');

@@ -265,3 +278,3 @@ exec(state, startup.slice(0));

resetState(state, strings, values);
return exec(state, parse(state));
return execSync(state, parse(state));
}) as any;

@@ -268,0 +281,0 @@ (fRepl as any).sync = fReplSync;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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