Commit project
This commit is contained in:
parent
28471965a0
commit
3ac017a5ad
1030 changed files with 94062 additions and 0 deletions
14
node_modules/is-path-inside/index.js
generated
vendored
Normal file
14
node_modules/is-path-inside/index.js
generated
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
'use strict';
|
||||
var path = require('path');
|
||||
var pathIsInside = require('path-is-inside');
|
||||
|
||||
module.exports = function (a, b) {
|
||||
a = path.resolve(a);
|
||||
b = path.resolve(b);
|
||||
|
||||
if (a === b) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return pathIsInside(a, b);
|
||||
};
|
72
node_modules/is-path-inside/package.json
generated
vendored
Normal file
72
node_modules/is-path-inside/package.json
generated
vendored
Normal file
|
@ -0,0 +1,72 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
"is-path-inside@1.0.0",
|
||||
"/Users/rodrigopinto/Documents/Development/ClusterSystems/cluster-server"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "is-path-inside@1.0.0",
|
||||
"_id": "is-path-inside@1.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-/AbloWg/vaE95mev9xe7wQpI838=",
|
||||
"_location": "/is-path-inside",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "is-path-inside@1.0.0",
|
||||
"name": "is-path-inside",
|
||||
"escapedName": "is-path-inside",
|
||||
"rawSpec": "1.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "1.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/is-installed-globally"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.0.tgz",
|
||||
"_spec": "1.0.0",
|
||||
"_where": "/Users/rodrigopinto/Documents/Development/ClusterSystems/cluster-server",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "http://sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/is-path-inside/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"path-is-inside": "^1.0.1"
|
||||
},
|
||||
"description": "Check if a path is inside another path",
|
||||
"devDependencies": {
|
||||
"mocha": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/sindresorhus/is-path-inside#readme",
|
||||
"keywords": [
|
||||
"path",
|
||||
"inside",
|
||||
"folder",
|
||||
"directory",
|
||||
"dir",
|
||||
"file",
|
||||
"resolve"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "is-path-inside",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/is-path-inside.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "1.0.0"
|
||||
}
|
31
node_modules/is-path-inside/readme.md
generated
vendored
Normal file
31
node_modules/is-path-inside/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
# is-path-inside [](https://travis-ci.org/sindresorhus/is-path-inside)
|
||||
|
||||
> Check if a path is inside another path
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
$ npm install --save is-path-inside
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var isPathInside = require('is-path-inside');
|
||||
|
||||
isPathInside('a/b', 'a/b/c');
|
||||
//=> true
|
||||
|
||||
isPathInside('x/y', 'a/b/c');
|
||||
//=> false
|
||||
|
||||
isPathInside('a/b/c', 'a/b/c');
|
||||
//=> false
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
Loading…
Add table
Add a link
Reference in a new issue