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

actml

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

actml - npm Package Compare versions

Comparing version 0.13.1 to 0.13.2

20

lib/flow.js

@@ -12,5 +12,19 @@ "use strict";

} else {
workers.shift()(context, function () {
return flow(workers, done, context);
});
try {
workers.shift()(context, function () {
return flow(workers, done, context);
});
} catch (error) {
var props = context.element.props;
if (props && props.onError) {
props.onError.mergeToProps({ error: error });
props.onError.run(context.element, function () {
return flow(workers, done, context);
});
} else {
throw error;
}
}
}

@@ -17,0 +31,0 @@ };

28

lib/processor.js

@@ -156,3 +156,3 @@ 'use strict';

};
}), done);
}), done, context);
}

@@ -178,25 +178,13 @@ done();

var context = { element: element };
var props = element.props,
debug = element.debug;
try {
(0, _flow2.default)([debug ? _deburger.debuggerIn : _flow.NOOP, normalizeProps, defineChildrenProp, execute, function (context, done) {
if (context.childrenProp.process) {
return (0, _flow2.default)([processResult, resolveExports, processChildren], done, context);
}
done();
}, debug ? _deburger.debuggerOut : _flow.NOOP], function () {
return done(context.result);
}, context);
} catch (error) {
if (props && props.onError) {
props.onError.mergeToProps({ error: error });
props.onError.run(element, done);
} else {
throw error;
(0, _flow2.default)([element.debug ? _deburger.debuggerIn : _flow.NOOP, normalizeProps, defineChildrenProp, execute, function (context, done) {
if (context.childrenProp.process) {
return (0, _flow2.default)([processResult, resolveExports, processChildren], done, context);
}
}
done();
}, element.debug ? _deburger.debuggerOut : _flow.NOOP], function () {
return done(context.result);
}, context);
return context.result;
}
{
"name": "actml",
"version": "0.13.1",
"version": "0.13.2",
"description": "Like jsx but for your business logic",

@@ -5,0 +5,0 @@ "main": "lib",

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