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

bagpipes

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bagpipes - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

.travis.yml

9

lib/fittingTypes/user.js

@@ -19,2 +19,6 @@ 'use strict';

var module = require(modulePath);
if (module.default && typeof module.default === 'function') {
module = module.default;
}
var fitting = module(fittingDef, pipes);

@@ -25,4 +29,5 @@ debug('loaded user fitting %s from %s', fittingDef.name, dir);

if (err.code !== 'MODULE_NOT_FOUND') { throw err; }
var split = err.message.split(path.sep);
if (split[split.length - 1] === fittingDef.name + "'") {
var pathFromError = err.message.match(/'.*?'/)[0];
var fittingIndex = err.message.indexOf(fittingDef.name);
if (err.message[fittingIndex - 1] === path.sep && err.message[fittingDef.name.length] !== path.sep) {
debug('no user fitting %s in %s', fittingDef.name, dir);

@@ -29,0 +34,0 @@ } else {

{
"name": "bagpipes",
"version": "0.1.0",
"version": "0.1.1",
"description": "Less code, more flow. Let's dance!",
"main": "lib/index.js",
"scripts": {
"test": "mocha test",
"start": "node server.js"
"test": "node_modules/mocha/bin/_mocha -u exports -R spec test",
"coverage": "node node_modules/istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha -- -u exports -R spec test",
"coveralls": "node node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec test && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js --verbose"
},

@@ -35,2 +36,6 @@ "repository": {

"devDependencies": {
"coveralls": "^2.11.4",
"istanbul": "^0.4.0",
"mocha": "^2.3.0",
"mocha-lcov-reporter": "^1.0.0",
"should": "^7.1.0",

@@ -37,0 +42,0 @@ "supertest": "^1.1.0"

# Bagpipes
[![Build Status](https://travis-ci.org/apigee-127/bagpipes.svg?branch=travis-ci)](https://travis-ci.org/apigee-127/bagpipes)
[![Coverage Status](https://coveralls.io/repos/github/apigee-127/bagpipes/badge.svg?branch=master)](https://coveralls.io/github/apigee-127/bagpipes?branch=master)
### NOTE: THIS IS PRE-RELEASE SOFTWARE - SUBJECT TO CHANGE ###

@@ -66,6 +71,10 @@

// log the output to standard out
pipe.fit(function(context, cb) {
console.log(context.output);
cb(null, context);
});
var context = {};
pipes.play(pipe, context);
console.log(context.output);
```

@@ -89,6 +98,10 @@

// log the output to standard out
pipe.fit(function(context, cb) {
console.log(context.output);
cb(null, context);
});
var context = {};
pipes.play(pipe, context);
console.log(context.output);
```

@@ -95,0 +108,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