+3
-4
@@ -122,6 +122,2 @@ 'use strict'; | ||
| if(pkg !== newPkg && this.opts.verbose){ | ||
| console.log('Naming', pkg, 'as', newPkg, 'in repl'); | ||
| } | ||
| return newPkg; | ||
@@ -142,2 +138,5 @@ }; | ||
| loadedPackages[pkgName] = require(pkgPath); | ||
| if(pkg !== pkgName && that.opts.verbose){ | ||
| console.log('Naming', pkg, 'as', pkgName, 'in repl'); | ||
| } | ||
| } catch(e) { | ||
@@ -144,0 +143,0 @@ console.log('Failed to load', pkg); |
+1
-1
| The MIT License (MIT) | ||
| Copyright (c) 2014 Todd Kennedy | ||
| Copyright (c) 2014, 2015 Todd Kennedy | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
+3
-3
| { | ||
| "name": "repl-it", | ||
| "version": "2.1.3", | ||
| "version": "2.1.4", | ||
| "description": "Loads all the packages in your package.json and creates a repl for you", | ||
| "main": "index.js", | ||
| "scripts": { | ||
| "test": "tap test/*spec.js", | ||
| "lint": "jshint *js" | ||
| "test": "npm run lint", | ||
| "lint": "jshint *.js" | ||
| }, | ||
@@ -10,0 +10,0 @@ "bin": { |
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
8203
0.18%