Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cache-walk

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cache-walk - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

.eslint.json

5

gulp/config.js

@@ -0,5 +1,8 @@

const path = require('path');
module.exports = {
tests: ['test/**/*.coffee', '!test/helpers/**/*.coffee'],
helpers: ['test/helpers/**/*.coffee'],
lib: ['lib/**/*.js']
lib: ['lib/**/*.js'],
root: path.resolve(__dirname, '..') + '/'
};

4

gulpfile.js

@@ -1,3 +0,3 @@

var gulp = require('gulp');
var sequence = require('gulp-sequence');
const gulp = require('gulp');
const sequence = require('gulp-sequence');
require('file-manifest').generate('./gulp', { match: ['*.js', '!config.js'] });

@@ -4,0 +4,0 @@ gulp.task('travis', sequence(['lint', 'cover'], 'codeclimate'));

@@ -19,3 +19,2 @@ const isRelative = require('is-relative');

exports.get = file => {

@@ -37,3 +36,3 @@ file = getFileName(file);

exports.walk = (file, fn) => {
file = getFileName(file);
file = getFileName(file);
if (require.cache[file]) {

@@ -40,0 +39,0 @@ var recurse = cacheObj => {

{
"name": "cache-walk",
"description": "Walk a require tree for a cached module",
"version": "1.0.1",
"version": "1.0.2",
"main": "lib/cache-walk.js",

@@ -38,2 +38,3 @@ "scripts": {

"coffee-script": "^1.12.2",
"eslint-codeframe-formatter": "^1.0.2",
"file-manifest": "^2.0.4",

@@ -44,4 +45,4 @@ "gulp": "^3.9.1",

"gulp-debug": "^3.0.0",
"gulp-eslint": "^3.0.1",
"gulp-istanbul": "^1.1.1",
"gulp-jshint": "^2.0.4",
"gulp-mocha": "^3.0.1",

@@ -51,4 +52,2 @@ "gulp-open": "^2.0.0",

"gulp-spawn-mocha": "^3.1.0",
"jshint": "^2.9.4",
"jshint-stylish": "^2.2.1",
"mocha": "^3.2.0",

@@ -55,0 +54,0 @@ "mocha-given": "^0.1.3",

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