New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@electric-eloquence/vinyl-fs

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electric-eloquence/vinyl-fs - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

4

CHANGELOG.md
# vinyl-fs changelog
### 3.0.5
* Replaced graceful-fs with fs
* Updates to readme, license, and continuous integration configs
### 3.0.4

@@ -4,0 +8,0 @@ * No more programmatic assignment of accessed and modified times to destination

2

index.js

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

dest: require('./lib/dest'),
symlink: require('./lib/symlink'),
symlink: require('./lib/symlink')
};

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

MASK_MODE: parseInt('7777', 8),
DEFAULT_FILE_MODE: parseInt('0666', 8),
DEFAULT_FILE_MODE: parseInt('0666', 8)
};

@@ -15,4 +15,4 @@ 'use strict';

outFolder: {
type: 'string',
},
type: 'string'
}
};

@@ -19,0 +19,0 @@

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

type: 'string',
default: process.cwd,
default: process.cwd
},

@@ -13,18 +13,18 @@ mode: {

return file.stat ? file.stat.mode : null;
},
}
},
dirMode: {
type: 'number',
type: 'number'
},
overwrite: {
type: 'boolean',
default: true,
default: true
},
append: {
type: 'boolean',
default: false,
default: false
},
sourcemaps: {
type: ['string', 'boolean'],
default: false,
default: false
},

@@ -34,3 +34,3 @@ // Symlink options

type: 'boolean',
default: false,
default: false
},

@@ -40,6 +40,6 @@ // This option is ignored on non-Windows platforms

type: 'boolean',
default: true,
},
default: true
}
};
module.exports = config;

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

var fs = require('graceful-fs');
var fs = require('fs');
var Vinyl = require('vinyl');

@@ -8,0 +8,0 @@ var through = require('through2');

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

overwrite: optResolver.resolve('overwrite', file),
append: optResolver.resolve('append', file),
append: optResolver.resolve('append', file)
});

@@ -47,0 +47,0 @@

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

overwrite: optResolver.resolve('overwrite', file),
append: optResolver.resolve('append', file),
append: optResolver.resolve('append', file)
});

@@ -14,3 +14,3 @@

mode: file.stat.mode,
flags: flags,
flags: flags
};

@@ -17,0 +17,0 @@

'use strict';
var fs = require('graceful-fs');
var fs = require('fs');

@@ -13,2 +13,3 @@ var mkdirp = require('fs-mkdirp-stream/mkdirp');

function onMkdirp(mkdirpErr) {
/* istanbul ignore if */
if (mkdirpErr) {

@@ -15,0 +16,0 @@ return onWritten(mkdirpErr);

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

overwrite: optResolver.resolve('overwrite', file),
append: optResolver.resolve('append', file),
append: optResolver.resolve('append', file)
});

@@ -15,3 +15,3 @@ var opt = {

// TODO: need to test this
flags: flags,
flags: flags
};

@@ -18,0 +18,0 @@

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

overwrite: optResolver.resolve('overwrite', file),
append: optResolver.resolve('append', file),
append: optResolver.resolve('append', file)
});

@@ -66,3 +66,3 @@

flags: flags,
type: type,
type: type
};

@@ -69,0 +69,0 @@ fo.symlink(file.symlink, file.path, opts, onSymlink);

@@ -6,5 +6,5 @@ 'use strict';

var fs = require('graceful-fs');
var fs = require('fs');
var assign = require('object.assign');
var Writable = require('readable-stream').Writable;
var Writable = require('stream').Writable;

@@ -115,3 +115,3 @@ var constants = require('./constants');

uid: uid,
gid: gid,
gid: gid
};

@@ -181,2 +181,3 @@

Object.keys(stat).forEach(function(key) {
/* istanbul ignore if */
if (isWindows && key === 'mode') {

@@ -266,2 +267,4 @@ file.stat[key] = stat[key];

function onFchown(fchownErr) {
// There is no reasonable way to test as a different user without sudo.
/* istanbul ignore if */
if (!fchownErr) {

@@ -421,10 +424,11 @@ file.stat.uid = ownerDiff.uid;

if (this.closed || typeof this.fd !== 'number') {
if (typeof this.fd !== 'number') {
this.once('open', closeOnOpen);
return;
/* istanbul ignore if */
if (typeof this.fd === 'number') { // Nearly impossible to reach this.
return process.nextTick(function() {
that.emit('close');
});
}
return process.nextTick(function() {
that.emit('close');
});
this.once('open', closeOnOpen);
return;
}

@@ -461,3 +465,2 @@

// This is from node core but I have no idea how to get code coverage on it
/* istanbul ignore if */

@@ -503,3 +506,3 @@ if (!Buffer.isBuffer(data)) {

writeFile: writeFile,
createWriteStream: createWriteStream,
createWriteStream: createWriteStream
};

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

readContents(optResolver),
sourcemap(optResolver),
sourcemap(optResolver)
];

@@ -32,0 +32,0 @@

@@ -6,25 +6,25 @@ 'use strict';

type: 'boolean',
default: true,
default: true
},
read: {
type: 'boolean',
default: true,
default: true
},
since: {
type: 'date',
type: 'date'
},
removeBOM: {
type: 'boolean',
default: true,
default: true
},
sourcemaps: {
type: 'boolean',
default: false,
default: false
},
resolveSymlinks: {
type: 'boolean',
default: true,
},
default: true
}
};
module.exports = config;
'use strict';
var fs = require('graceful-fs');
var fs = require('fs');
var removeBomBuffer = require('remove-bom-buffer');

@@ -5,0 +5,0 @@

'use strict';
var fs = require('graceful-fs');
var fs = require('fs');
var removeBomStream = require('remove-bom-stream');

@@ -5,0 +5,0 @@ var lazystream = require('lazystream');

'use strict';
var fs = require('graceful-fs');
var fs = require('fs');

@@ -5,0 +5,0 @@ function readLink(file, optResolver, onRead) {

@@ -17,2 +17,3 @@ 'use strict';

function onAdd(sourcemapErr, updatedFile) {
/* istanbul ignore if */
if (sourcemapErr) {

@@ -19,0 +20,0 @@ return callback(sourcemapErr);

@@ -14,4 +14,4 @@ 'use strict';

outFolder: {
type: 'string',
},
type: 'string'
}
};

@@ -18,0 +18,0 @@

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

overwrite: optResolver.resolve('overwrite', file),
append: false,
append: false
});

@@ -66,3 +66,3 @@

flags: flags,
type: type,
type: type
};

@@ -69,0 +69,0 @@ fo.symlink(file.symlink, file.path, opts, onSymlink);

@@ -6,14 +6,14 @@ 'use strict';

type: 'string',
default: process.cwd,
default: process.cwd
},
dirMode: {
type: 'number',
type: 'number'
},
overwrite: {
type: 'boolean',
default: true,
default: true
},
relativeSymlinks: {
type: 'boolean',
default: false,
default: false
},

@@ -23,6 +23,6 @@ // This option is ignored on non-Windows platforms

type: 'boolean',
default: true,
},
default: true
}
};
module.exports = config;

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

var fs = require('graceful-fs');
var fs = require('fs');
var Vinyl = require('vinyl');

@@ -8,0 +8,0 @@ var through = require('through2');

{
"name": "@electric-eloquence/vinyl-fs",
"version": "3.0.4",
"version": "3.0.5",
"description": "Vinyl adapter for the file system.",

@@ -33,15 +33,13 @@ "author": "Gulp Team <team@gulpjs.com> (http://gulpjs.com/)",

"glob-stream": "^6.1.0",
"graceful-fs": "^4.0.0",
"is-valid-glob": "^1.0.0",
"lazystream": "^1.0.0",
"lead": "^1.0.0",
"object.assign": "^4.0.4",
"pumpify": "^1.3.5",
"readable-stream": "^2.3.3",
"object.assign": "^4.1.0",
"pumpify": "^1.5.1",
"remove-bom-buffer": "^3.0.0",
"remove-bom-stream": "^1.2.0",
"resolve-options": "^1.1.0",
"through2": "^2.0.0",
"through2": "^3.0.1",
"to-through": "^2.0.0",
"vinyl": "^2.0.0",
"vinyl": "^2.2.0",
"vinyl-sourcemap": "^1.1.0"

@@ -51,7 +49,7 @@ },

"coveralls": "3.x",
"eslint": "5.x",
"eslint": "6.x",
"expect": "24.x",
"jest": "24.x",
"mississippi": "^4.0.0",
"rimraf": "^2.6.3"
"mississippi": "^3.0.0",
"rimraf": "^2.7.1"
},

@@ -58,0 +56,0 @@ "keywords": [

@@ -9,3 +9,3 @@ # vinyl-fs

[![Coverage Status][coveralls-image]][coveralls-url]
![Node Version][version-image]
![Node Version][node-version-image]
[![License][license-image]][license-url]

@@ -29,3 +29,3 @@

```shell
npm install --save @electric-eloquence/vinyl-fs
npm install @electric-eloquence/vinyl-fs
```

@@ -339,12 +339,12 @@

[travis-image]: https://img.shields.io/travis/electric-eloquence/vinyl-fs.svg?label=mac%20%26%20linux
[travis-image]: https://img.shields.io/travis/electric-eloquence/vinyl-fs/v3-lts.svg?label=mac%20%26%20linux
[travis-url]: https://travis-ci.org/electric-eloquence/vinyl-fs
[appveyor-image]: https://img.shields.io/appveyor/ci/e2tha-e/vinyl-fs.svg?label=windows
[appveyor-image]: https://img.shields.io/appveyor/ci/e2tha-e/vinyl-fs/v3-lts.svg?label=windows
[appveyor-url]: https://ci.appveyor.com/project/e2tha-e/vinyl-fs
[coveralls-image]: https://coveralls.io/repos/github/electric-eloquence/vinyl-fs/badge.svg?branch=v3-lts
[coveralls-image]: https://img.shields.io/coveralls/electric-eloquence/vinyl-fs/v3-lts.svg
[coveralls-url]: https://coveralls.io/github/electric-eloquence/vinyl-fs?branch=v3-lts
[version-image]: https://img.shields.io/node/v/@electric-eloquence/vinyl-fs.svg
[node-version-image]: https://img.shields.io/node/v/@electric-eloquence/vinyl-fs.svg

@@ -351,0 +351,0 @@ [license-image]: https://img.shields.io/github/license/electric-eloquence/vinyl-fs.svg

Sorry, the diff of this file is not supported yet

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