assemble-fs
Advanced tools
Comparing version 0.3.1 to 0.3.2
11
index.js
@@ -73,5 +73,5 @@ /*! | ||
app.mixin('src', function() { | ||
app.mixin('src', function(glob, options) { | ||
return vfs.src.apply(vfs, arguments) | ||
.pipe(toCollection(this)) | ||
.pipe(toCollection(this, options)) | ||
.pipe(handle(this, 'onStream')) | ||
@@ -140,4 +140,5 @@ }); | ||
function toCollection(app, name) { | ||
name = name || 'streamFiles'; | ||
function toCollection(app, options) { | ||
options = options || {}; | ||
var name = options.collectionName || 'streamFiles'; | ||
var collection, view; | ||
@@ -167,4 +168,4 @@ | ||
app.stream = utils.src(stream); | ||
app.stream = stream; | ||
return stream; | ||
} |
{ | ||
"name": "assemble-fs", | ||
"description": "Assemble plugin to add methods to assemble for working with the file system, like src, dest, copy and symlink.", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"homepage": "https://github.com/jonschlinkert/assemble-fs", | ||
@@ -25,3 +25,2 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"lazy-cache": "^1.0.2", | ||
"src-stream": "^0.1.1", | ||
"through2": "^2.0.0", | ||
@@ -37,3 +36,3 @@ "vinyl-fs": "^2.2.1" | ||
"sinon": "^1.17.2", | ||
"templates": "^0.6.3", | ||
"templates": "^0.8.1", | ||
"vinyl": "^1.1.0" | ||
@@ -40,0 +39,0 @@ }, |
@@ -137,2 +137,2 @@ # assemble-fs [![NPM version](https://img.shields.io/npm/v/assemble-fs.svg)](https://www.npmjs.com/package/assemble-fs) | ||
_This file was generated by [verb](https://github.com/verbose/verb) on December 13, 2015._ | ||
_This file was generated by [verb](https://github.com/verbose/verb) on December 17, 2015._ |
@@ -11,3 +11,2 @@ 'use strict'; | ||
require = utils; | ||
require('src-stream', 'src'); | ||
require('through2', 'through'); | ||
@@ -14,0 +13,0 @@ require('vinyl-fs', 'vfs'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10513
3
- Removedsrc-stream@^0.1.1
- Removedmerge-stream@0.1.8(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsrc-stream@0.1.1(transitive)
- Removedstring_decoder@1.3.0(transitive)