load-helpers
Advanced tools
Comparing version 0.2.8 to 0.2.9
{ | ||
"name": "load-helpers", | ||
"description": "The most interesting project in the world > Verb", | ||
"version": "0.2.8", | ||
"description": "Load helpers with patterns, as an object, key-value pair, or module.", | ||
"version": "0.2.9", | ||
"homepage": "https://github.com/jonschlinkert/load-helpers", | ||
@@ -24,4 +24,5 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"dependencies": { | ||
"globby": "^3.0.1", | ||
"is-valid-glob": "^0.3.0", | ||
"lazy-cache": "^0.2.3", | ||
"matched": "^0.3.2", | ||
"resolve-dir": "^0.1.0" | ||
@@ -35,3 +36,2 @@ }, | ||
"jshint-stylish": "^2.0.1", | ||
"lazy-cache": "^0.2.3", | ||
"mocha": "*", | ||
@@ -38,0 +38,0 @@ "should": "*" |
# load-helpers [![NPM version](https://badge.fury.io/js/load-helpers.svg)](http://badge.fury.io/js/load-helpers) | ||
> The most interesting project in the world > Verb | ||
> Load helpers with patterns, as an object, key-value pair, or module. | ||
@@ -107,2 +107,2 @@ ## Install | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 02, 2015._ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 21, 2015._ |
16
utils.js
@@ -9,7 +9,11 @@ 'use strict'; | ||
var lazy = require('lazy-cache')(require); | ||
lazy('globby', 'glob'); | ||
lazy('resolve-dir'); | ||
lazy('is-valid-glob', 'isGlob'); | ||
var utils = require('lazy-cache')(require); | ||
var fn = require; | ||
require = utils; | ||
require('matched', 'glob'); | ||
require('resolve-dir'); | ||
require('is-valid-glob', 'isGlob'); | ||
require = fn; | ||
/** | ||
@@ -19,6 +23,4 @@ * Utils | ||
var utils = lazy; | ||
utils.tryRequire = function tryRequire(name, opts) { | ||
name = lazy.resolveDir(name); | ||
name = utils.resolveDir(name); | ||
@@ -25,0 +27,0 @@ // try to require by `name` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8192
7
121
4
4
+ Addedlazy-cache@^0.2.3
+ Addedmatched@^0.3.2
+ Addedasync-array-reduce@0.1.0(transitive)
+ Addedextend-shallow@2.0.1(transitive)
+ Addedis-extendable@0.1.1(transitive)
+ Addedlazy-cache@0.2.7(transitive)
+ Addedmatched@0.3.2(transitive)
- Removedglobby@^3.0.1
- Removedarray-union@1.0.2(transitive)
- Removedarray-uniq@1.0.3(transitive)
- Removedarrify@1.0.1(transitive)
- Removedglobby@3.0.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedpify@2.3.0(transitive)
- Removedpinkie@1.0.0(transitive)
- Removedpinkie-promise@1.0.0(transitive)