You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

gulp-filenames

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-filenames - npm Package Compare versions

Comparing version

to
4.0.0

13

index.js
// Generated by CoffeeScript 1.10.0
(function() {
var file_names, gutil, through;
var _default, file_names, gutil, through;

@@ -11,2 +11,4 @@ through = require("through2");

_default = global.Symbol ? Symbol('default') : '__default__';
module.exports = function(name, options) {

@@ -17,2 +19,5 @@ var filenames;

}
if (name === 'all') {
throw "'all' is a reserved namespace";
}
filenames = function(file, enc, done) {

@@ -28,3 +33,3 @@ module.exports.register(file, name, options);

if (name == null) {
name = 'default';
name = _default;
}

@@ -92,3 +97,3 @@ if (what == null) {

if (name == null) {
name = 'default';
name = _default;
}

@@ -103,3 +108,3 @@ if (name === 'all') {

if (name == null) {
name = "default";
name = _default;
}

@@ -106,0 +111,0 @@ if (options.overrideMode) {

{
"name": "gulp-filenames",
"version": "3.0.0",
"version": "4.0.0",
"description": "Register every filename that has passed through",

@@ -22,4 +22,5 @@ "keywords": [

"test": "mocha -w . --compilers coffee:coffee-script/register test",
"debtest": "node-inspector -p 9999 & mocha --compilers coffee:coffee-script/register test --debug-brk",
"build": "coffee -c -w index.coffee"
"debtest": "node-inspector -p 9999 & mocha --compilers coffee:coffee-script/register test --debug-brk",
"build": "coffee -c -w index.coffee",
"btest": "coffee -c test/main.coffee"
},

@@ -26,0 +27,0 @@ "dependencies": {

@@ -28,3 +28,3 @@

filenames.get("coffeescript") // ["a.coffee","b.coffee"]
filenames.get("coffeescript") // ["a.coffee","b.coffee"]
// Do Something With it

@@ -39,3 +39,3 @@ ```

Namespace the filenames
Namespace the filenames. Do not use the name "all" which is reserved by gulp-filenames to retrieve all namespaces.

@@ -50,3 +50,3 @@ ### options

#### name
#### name
Get only these filenames ("all" to get everything)

@@ -60,2 +60,7 @@

### filenames.forget(name)
#### name
Forget the filenames stored in namespace "name" ("all" to forget all files). gulp-filenames does not clear a namespace between runs by design.
## License

@@ -62,0 +67,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet