lazy-cache
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -25,3 +25,3 @@ 'use strict'; | ||
// check both boolean and string in case `process.env` cases to string | ||
if (process.env.UNLAZY === 'true' || process.env.UNLAZY === true) { | ||
if (process.env.UNLAZY === 'true' || process.env.UNLAZY === true || process.env.TRAVIS) { | ||
cache[name] = fn(mod); | ||
@@ -28,0 +28,0 @@ } |
{ | ||
"name": "lazy-cache", | ||
"description": "Cache requires to be lazy-loaded when needed.", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"homepage": "https://github.com/jonschlinkert/lazy-cache", | ||
@@ -24,3 +24,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"ansi-yellow": "^0.1.1", | ||
"glob": "^5.0.14", | ||
"glob": "^6.0.1", | ||
"mocha": "*" | ||
@@ -27,0 +27,0 @@ }, |
@@ -5,2 +5,4 @@ # lazy-cache [![NPM version](https://img.shields.io/npm/v/lazy-cache.svg)](https://www.npmjs.com/package/lazy-cache) [![Build Status](https://img.shields.io/travis/jonschlinkert/lazy-cache.svg)](https://travis-ci.org/jonschlinkert/lazy-cache) | ||
If you use webpack and are experiencing issues, try using [unlazy-loader](https://github.com/doowb/unlazy-loader), a webpack loader that fixes the bug that prevents webpack from working with native javascript getters. | ||
## Install | ||
@@ -91,3 +93,3 @@ | ||
In certain rare edge cases, it may be necessary to unlazy all lazy-cached dependencies (two reported cases out of > 9 million downloads). | ||
In certain rare edge cases it may be necessary to unlazy all lazy-cached dependencies (5 reported cases out of > 11 million downloads). | ||
@@ -130,2 +132,2 @@ To force lazy-cache to immediately invoke all dependencies, do: | ||
_This file was generated by [verb](https://github.com/verbose/verb) on December 09, 2015._ | ||
_This file was generated by [verb](https://github.com/verbose/verb) on December 20, 2015._ |
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
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
6741
130