first commit
This commit is contained in:
21
build/node_modules/is-relative/LICENSE-MIT
generated
vendored
Normal file
21
build/node_modules/is-relative/LICENSE-MIT
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Jon Schlinkert
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
38
build/node_modules/is-relative/README.md
generated
vendored
Normal file
38
build/node_modules/is-relative/README.md
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
# is-relative [](http://badge.fury.io/js/is-relative)
|
||||
|
||||
> Returns `true` if the path appears to be relative.
|
||||
|
||||
## Install
|
||||
### Install with [npm](npmjs.org)
|
||||
|
||||
```bash
|
||||
npm i is-relative --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
### [isRelative](index.js#L16)
|
||||
|
||||
* `filepath` **{String}**: Path to test.
|
||||
* `returns`: {Boolean}
|
||||
|
||||
```js
|
||||
var isRelative = require('is-relative');
|
||||
isRelative('README.md');
|
||||
//=> true
|
||||
```
|
||||
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
Copyright (c) 2014 Jon Schlinkert
|
||||
Released under the MIT license
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb](https://github.com/assemble/verb) on November 17, 2014._
|
||||
21
build/node_modules/is-relative/index.js
generated
vendored
Normal file
21
build/node_modules/is-relative/index.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* ```js
|
||||
* var isRelative = require('is-relative');
|
||||
* isRelative('README.md');
|
||||
* //=> true
|
||||
* ```
|
||||
*
|
||||
* @name isRelative
|
||||
* @param {String} `filepath` Path to test.
|
||||
* @return {Boolean}
|
||||
* @api public
|
||||
*/
|
||||
|
||||
module.exports = function isRelative(filepath) {
|
||||
if (typeof filepath !== 'string') {
|
||||
throw new Error('isRelative expects a string.');
|
||||
}
|
||||
return !/^([a-z]+:)?[\\\/]/i.test(filepath);
|
||||
};
|
||||
83
build/node_modules/is-relative/package.json
generated
vendored
Normal file
83
build/node_modules/is-relative/package.json
generated
vendored
Normal file
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"is-relative@0.1.3",
|
||||
"/Users/asciidisco/Desktop/asciidisco.com/build"
|
||||
]
|
||||
],
|
||||
"_from": "is-relative@0.1.3",
|
||||
"_id": "is-relative@0.1.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-kF/uiuhvRbPsYUvDwVyGnfCHboI=",
|
||||
"_location": "/is-relative",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "is-relative@0.1.3",
|
||||
"name": "is-relative",
|
||||
"escapedName": "is-relative",
|
||||
"rawSpec": "0.1.3",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.1.3"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/is-absolute"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/is-relative/-/is-relative-0.1.3.tgz",
|
||||
"_spec": "0.1.3",
|
||||
"_where": "/Users/asciidisco/Desktop/asciidisco.com/build",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/is-relative/issues"
|
||||
},
|
||||
"description": "Returns `true` if the path appears to be relative.",
|
||||
"devDependencies": {
|
||||
"mocha": "*",
|
||||
"verb": ">= 0.2.6",
|
||||
"verb-tag-jscomments": "^0.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"LICENSE-MIT"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/is-relative",
|
||||
"keywords": [
|
||||
"absolute",
|
||||
"check",
|
||||
"file",
|
||||
"filepath",
|
||||
"is",
|
||||
"normalize",
|
||||
"path",
|
||||
"path.relative",
|
||||
"relative",
|
||||
"resolve",
|
||||
"slash",
|
||||
"slashes",
|
||||
"uri",
|
||||
"url"
|
||||
],
|
||||
"licenses": [
|
||||
{
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/jonschlinkert/is-relative/blob/master/LICENSE-MIT"
|
||||
}
|
||||
],
|
||||
"main": "index.js",
|
||||
"name": "is-relative",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jonschlinkert/is-relative.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha -R spec"
|
||||
},
|
||||
"version": "0.1.3"
|
||||
}
|
||||
Reference in New Issue
Block a user