Sorry, the diff of this file is not supported yet
+20
| language: node_js | ||
| node_js: | ||
| - "0.10" | ||
| - 0.11 | ||
| matrix: | ||
| allow_failures: | ||
| - node_js: 0.11 | ||
| notifications: | ||
| email: | ||
| - mosconfabrizio@gmail.com | ||
| before_install: | ||
| - rm -rf ~/.nvm | ||
| - curl https://raw.github.com/creationix/nvm/master/install.sh | sh | ||
| - source ~/.nvm/nvm.sh | ||
| - nvm install ${TRAVIS_NODE_VERSION} | ||
| script: "npm test" |
| assert = require('assert') | ||
| describe ('pathSetup', function () { | ||
| it ('should load the library', function () { | ||
| require('../pathSetup')() | ||
| var status = require('sub/lib/testLib') | ||
| assert(status, 'OK') | ||
| }); | ||
| }); |
| module.exports = require('sub/test') |
| module.exports = 'OK' |
+7
-1
@@ -6,6 +6,9 @@ { | ||
| "author": "Fabrizio Moscon <mosconfabrizio@gmail.com>", | ||
| "version": "0.1.0", | ||
| "version": "0.1.1", | ||
| "description": "Little helper to make node.js require relative to your project root", | ||
| "scripts": {}, | ||
| "dependencies": {}, | ||
| "scripts": { | ||
| "test": "cd test && ../node_modules/.bin/mocha ." | ||
| }, | ||
| "repository": { | ||
@@ -15,2 +18,5 @@ "type": "git", | ||
| }, | ||
| "devDependencies": { | ||
| "mocha": "1.11.x" | ||
| }, | ||
| "readmeFilename": "README.md", | ||
@@ -17,0 +23,0 @@ "gitHead": "8cbf637be7650e8eab50d00e675cedf73c2dcf4f", |
+8
-0
@@ -9,2 +9,4 @@ rootpath | ||
| [](https://travis-ci.org/fabriziomoscon/rootpath) | ||
| install | ||
@@ -40,2 +42,8 @@ ------- | ||
| test | ||
| ---- | ||
| ```bash | ||
| npm test | ||
| ``` | ||
| license | ||
@@ -42,0 +50,0 @@ ------- |
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
3156
41.08%8
166.67%25
38.89%50
19.05%1
Infinity%