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.6.0 to 0.7.0

README.md

16

index.js

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

app.mixin('copy', function(patterns, dest, options) {
this.define('copy', function(patterns, dest, options) {
var opts = utils.extend({ allowEmpty: true }, options);

@@ -83,8 +83,8 @@ return utils.vfs.src(patterns, opts)

app.mixin('src', function(glob, options) {
this.define('src', function(glob, options) {
var opts = utils.extend({ allowEmpty: true }, options);
return utils.vfs.src(glob, opts)
.pipe(toCollection(this, opts))
.pipe(utils.handle(this, 'onLoad'))
.pipe(utils.handle(this, 'onStream'))
.pipe(utils.handle.once(this, 'onLoad'))
.pipe(utils.handle.once(this, 'onStream'))
});

@@ -103,3 +103,3 @@

app.mixin('symlink', function() {
this.define('symlink', function() {
return utils.vfs.symlink.apply(utils.vfs, arguments);

@@ -120,3 +120,3 @@ });

app.mixin('dest', function(dir) {
this.define('dest', function(dir, options) {
if (!dir) {

@@ -127,5 +127,5 @@ throw new TypeError('expected dest to be a string or function.');

var output = utils.combine([
utils.handle(this, 'preWrite'),
utils.handle.once(this, 'preWrite'),
utils.vfs.dest.apply(utils.vfs, arguments),
utils.handle(this, 'postWrite')
utils.handle.once(this, 'postWrite')
]);

@@ -132,0 +132,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.6.0",
"version": "0.7.0",
"homepage": "https://github.com/assemble/assemble-fs",

@@ -26,3 +26,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"dependencies": {
"assemble-handle": "^0.1.2",
"assemble-handle": "^0.1.3",
"extend-shallow": "^2.0.1",

@@ -33,10 +33,14 @@ "is-valid-app": "^0.2.0",

"through2": "^2.0.1",
"vinyl-fs": "^2.4.3"
"vinyl-fs": "github:doowb/vinyl-fs#write-file"
},
"devDependencies": {
"buffer-equal": "^1.0.0",
"default-resolution": "^2.0.0",
"delete": "^0.3.2",
"expect": "^1.20.2",
"from2": "^2.1.1",
"graceful-fs": "^4.1.4",
"gulp-format-md": "^0.1.9",
"mocha": "^2.5.3",
"readable-stream": "^2.1.4",
"rimraf": "^2.5.3",

@@ -43,0 +47,0 @@ "should": "^9.0.2",

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