New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rootpath

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

rootpath - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
.npmignore

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",

@@ -9,2 +9,4 @@ rootpath

[![Build Status](https://travis-ci.org/fabriziomoscon/rootpath.png)](https://travis-ci.org/fabriziomoscon/rootpath)
install

@@ -40,2 +42,8 @@ -------

test
----
```bash
npm test
```
license

@@ -42,0 +50,0 @@ -------