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

arnie

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arnie - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

.nyc_output/0127fa8bc3e261bc332f1b4696ff166d.json

4

lib/index.js

@@ -21,2 +21,4 @@ 'use strict';

runTask.off('error', onError);
runTask.off('abort', onEnd);
runTask.off('end', onEnd);
resolve(result);

@@ -26,5 +28,7 @@ };

runTask.off('end', onEnd);
runTask.off('abort', onEnd);
reject(error);
};
runTask.once('end', onEnd);
runTask.once('abort', onEnd);
runTask.once('error', onError);

@@ -31,0 +35,0 @@ runTask(task, payload || {});

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

t.test('Arnie', function (t) {
t.plan(5);
t.plan(6);

@@ -78,2 +78,12 @@ // t.assert(serverless, 'should expose: const serverless = require(arnie/serverless)')

var abort = [function (_ref5) {
var execution = _ref5.execution;
return _promise2.default.resolve(execution.abort());
}, function () {
t.fail('should not continue');
}];
arnie(abort, inititalData).then(function (output) {
t.pass('should end when aborting execution');
});
var expectedError = new Error('error');

@@ -80,0 +90,0 @@ arnie([function () {

4

package.json
{
"name": "arnie",
"version": "0.3.3",
"version": "0.3.4",
"description": "Action hero for backends",

@@ -33,3 +33,3 @@ "main": "index.js",

"fresh": "^0.5.0",
"function-tree": "0.5.0-b-alpha.d6efd5f3",
"function-tree": "0.5.0-b-alpha.c8499f18",
"get-value": "^2.0.6",

@@ -36,0 +36,0 @@ "koa-is-json": "^1.0.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