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

assemble-fs

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assemble-fs - npm Package Compare versions

Comparing version 0.4.7 to 0.5.0

2

index.js

@@ -33,3 +33,3 @@ /*!

function plugin(app) {
if (this.isRegistered('assemble-fs')) return;
if (!utils.isValid(app)) return;

@@ -36,0 +36,0 @@ /**

{
"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.4.7",
"version": "0.5.0",
"homepage": "https://github.com/assemble/assemble-fs",

@@ -24,5 +24,7 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"dependencies": {
"assemble-handle": "^0.1.0",
"assemble-handle": "^0.1.2",
"extend-shallow": "^2.0.1",
"lazy-cache": "^1.0.3",
"is-registered": "^0.1.4",
"is-valid-instance": "^0.1.0",
"lazy-cache": "^2.0.1",
"stream-combiner": "^0.2.2",

@@ -34,10 +36,10 @@ "through2": "^2.0.1",

"buffer-equal": "^1.0.0",
"expect": "^1.18.0",
"graceful-fs": "^4.1.3",
"gulp-format-md": "^0.1.8",
"mocha": "^2.4.5",
"expect": "^1.20.1",
"graceful-fs": "^4.1.4",
"gulp-format-md": "^0.1.9",
"mocha": "^2.5.2",
"rimraf": "^2.5.2",
"should": "^8.3.1",
"sinon": "^1.17.3",
"templates": "^0.17.0",
"should": "^8.4.0",
"sinon": "^1.17.4",
"templates": "^0.18.3",
"vinyl": "^1.1.1"

@@ -44,0 +46,0 @@ },

# assemble-fs [![NPM version](https://img.shields.io/npm/v/assemble-fs.svg?style=flat)](https://www.npmjs.com/package/assemble-fs) [![NPM downloads](https://img.shields.io/npm/dm/assemble-fs.svg?style=flat)](https://npmjs.org/package/assemble-fs) [![Build Status](https://img.shields.io/travis/assemble/assemble-fs.svg?style=flat)](https://travis-ci.org/assemble/assemble-fs)
> Assemble plugin to add methods to assemble for working with the file system, like src, dest, copy and symlink.
Assemble plugin to add methods to assemble for working with the file system, like src, dest, copy and symlink.

@@ -42,3 +42,3 @@ ## Install

* [assemble-loader](https://www.npmjs.com/package/assemble-loader): Assemble plugin (^0.6.0) for loading globs of views onto custom view collections. Also works with… [more](https://www.npmjs.com/package/assemble-loader) | [homepage](https://github.com/jonschlinkert/assemble-loader)
* [assemble-loader](https://www.npmjs.com/package/assemble-loader): Assemble plugin (^0.6.0) for loading globs of views onto custom view collections. Also works with… [more](https://www.npmjs.com/package/assemble-loader) | [homepage](https://github.com/assemble/assemble-loader)
* [assemble-render-file](https://www.npmjs.com/package/assemble-render-file): Assemble plugin for rendering views in a vinyl pipeline. | [homepage](https://github.com/assemble/assemble-render-file)

@@ -52,3 +52,3 @@ * [assemble-streams](https://www.npmjs.com/package/assemble-streams): Assemble pipeline plugin for pushing a view collection into a vinyl stream. | [homepage](https://github.com/assemble/assemble-streams)

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/assemble-fs/issues/new).
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/assemble/assemble-fs/issues/new).

@@ -91,2 +91,2 @@ ## Building docs

_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on April 20, 2016._
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on May 24, 2016._

@@ -9,8 +9,14 @@ 'use strict';

var fn = require;
require = utils;
require = utils;
/**
* Utils
*/
require('assemble-handle', 'handle');
require('extend-shallow', 'extend');
require('is-registered');
require('is-valid-instance');
require('stream-combiner', 'combine');
require('through2', 'through');
require('stream-combiner', 'combine');
require('vinyl-fs', 'vfs');

@@ -20,2 +26,16 @@ require = fn;

/**
* Return true if app is a valid instance
*/
utils.isValid = function(app, types) {
if (!utils.isValidInstance(app, ['app', 'views', 'collection'])) {
return false;
}
if (utils.isRegistered(app, 'assemble-fs')) {
return false;
}
return true;
};
/**
* Expose `utils`

@@ -22,0 +42,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