Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies to match gulp 4 #108

Merged
merged 4 commits into from
May 9, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
'use strict';
var multimatch = require('multimatch');
var micromatch = require('micromatch');
var unique = require('array-unique');
var findup = require('findup-sync');
var path = require('path');
var resolve = require('resolve');
var gutil = require('gulp-util');
var logger = require('gulplog');
var path = require('path');

function arrayify(el) {
return Array.isArray(el) ? el : [el];
Expand Down Expand Up @@ -66,7 +67,7 @@ module.exports = function(options) {

function logDebug(message) {
if(DEBUG) {
gutil.log(gutil.colors.green('gulp-load-plugins: ' + message));
logger.debug('gulp-load-plugins: ' + message);
}
}

Expand Down Expand Up @@ -108,7 +109,7 @@ module.exports = function(options) {
var scopeTest = new RegExp('^@');
var scopeDecomposition = new RegExp('^@(.+)/(.+)');

multimatch(names, pattern).forEach(function(name) {
unique(micromatch(names, pattern)).forEach(function(name) {
var decomposition;
if(scopeTest.test(name)) {
decomposition = scopeDecomposition.exec(name);
Expand Down
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test": "npm run lint && NODE_PATH=test/global_modules mocha",
"lint": "eslint **/*.js"
},
"license": "mit",
"license": "MIT",
"files": [
"index.js"
],
Expand All @@ -32,14 +32,16 @@
"Connor Peet",
"Dorian Camilleri",
"Carlos Henrique",
"iamfrontender <iamfrontender@gmail.com>"
"iamfrontender <iamfrontender@gmail.com>",
"Brian Woodward"
],
"license": "MIT",
"dependencies": {
"findup-sync": "^0.2.1",
"array-unique": "^0.2.1",
"findup-sync": "^0.4.0",
"gulp-util": "^3.0.7",
"multimatch": "2.0.0",
"resolve": "^1.1.6"
"gulplog": "^1.0.0",
"micromatch": "^2.3.8",
"resolve": "^1.1.7"
},
"devDependencies": {
"eslint": "^1.10.3",
Expand Down