summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/normalize-git-url
diff options
context:
space:
mode:
authorForrest L Norvell <forrest@npmjs.com>2015-05-28 22:27:26 -0400
committerForrest L Norvell <forrest@npmjs.com>2015-05-30 08:15:11 -0400
commitc1afa53648cf872f62b551e868522fdc2612e3a9 (patch)
tree138449538f9d0a350f1db43593ac8ed3d9c04d8f /deps/npm/node_modules/normalize-git-url
parenta65762cab6edf33d87a129e406f633dfa445bb23 (diff)
downloadnode-new-c1afa53648cf872f62b551e868522fdc2612e3a9.tar.gz
deps: upgrade npm to 2.11.0
PR-URL: https://github.com/iojs/io.js/pull/1829 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/node_modules/normalize-git-url')
-rw-r--r--deps/npm/node_modules/normalize-git-url/.eslintrc19
-rw-r--r--deps/npm/node_modules/normalize-git-url/LICENSE13
-rw-r--r--deps/npm/node_modules/normalize-git-url/package.json14
3 files changed, 39 insertions, 7 deletions
diff --git a/deps/npm/node_modules/normalize-git-url/.eslintrc b/deps/npm/node_modules/normalize-git-url/.eslintrc
new file mode 100644
index 0000000000..b54e30fd2a
--- /dev/null
+++ b/deps/npm/node_modules/normalize-git-url/.eslintrc
@@ -0,0 +1,19 @@
+{
+ "env" : {
+ "node" : true
+ },
+ "rules" : {
+ "semi": [2, "never"],
+ "strict": 0,
+ "quotes": [1, "double", "avoid-escape"],
+ "no-use-before-define": 0,
+ "curly": 0,
+ "no-underscore-dangle": 0,
+ "no-lonely-if": 1,
+ "no-unused-vars": [2, {"vars" : "all", "args" : "after-used"}],
+ "no-mixed-requires": 0,
+ "space-infix-ops": 0,
+ "key-spacing": 0,
+ "no-multi-spaces": 0
+ }
+}
diff --git a/deps/npm/node_modules/normalize-git-url/LICENSE b/deps/npm/node_modules/normalize-git-url/LICENSE
new file mode 100644
index 0000000000..d21147bf19
--- /dev/null
+++ b/deps/npm/node_modules/normalize-git-url/LICENSE
@@ -0,0 +1,13 @@
+Copyright (c) 2014-2015, Forrest L Norvell
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
diff --git a/deps/npm/node_modules/normalize-git-url/package.json b/deps/npm/node_modules/normalize-git-url/package.json
index 1402b0e433..6008db6753 100644
--- a/deps/npm/node_modules/normalize-git-url/package.json
+++ b/deps/npm/node_modules/normalize-git-url/package.json
@@ -1,6 +1,6 @@
{
"name": "normalize-git-url",
- "version": "1.0.0",
+ "version": "1.0.1",
"description": "Normalizes Git URLs. For npm, but you can use it too.",
"main": "normalize-git-url.js",
"directories": {
@@ -8,14 +8,14 @@
},
"dependencies": {},
"devDependencies": {
- "tap": "^0.4.13"
+ "tap": "^1.1.0"
},
"scripts": {
"test": "tap test/*.js"
},
"repository": {
"type": "git",
- "url": "https://github.com/npm/normalize-git-url.git"
+ "url": "git+https://github.com/npm/normalize-git-url.git"
},
"keywords": [
"git",
@@ -35,8 +35,8 @@
"homepage": "https://github.com/npm/normalize-git-url",
"readme": "# normalize-git-url\n\nYou have a bunch of Git URLs. You want to convert them to a canonical\nrepresentation, probably for use inside npm so that it doesn't end up creating\na bunch of superfluous cached origins. You use this package.\n\n## Usage\n\n```javascript\nvar ngu = require('normalize-git-url');\nvar normalized = ngu(\"git+ssh://git@github.com:organization/repo.git#hashbrowns\")\n// get back:\n// {\n// url : \"ssh://git@github.com/organization/repo.git\",\n// branch : \"hashbrowns\" // did u know hashbrowns are delicious?\n// }\n```\n\n## API\n\nThere's just the one function, and all it takes is a single parameter, a non-normalized Git URL.\n\n### normalizeGitUrl(url)\n\n* `url` {String} The Git URL (very loosely speaking) to be normalized.\n\nReturns an object with the following format:\n\n* `url` {String} The normalized URL.\n* `branch` {String} The treeish to be checked out once the repo at `url` is\n cloned. It doesn't have to be a branch, but it's a lot easier to intuit what\n the output is for with that name.\n\n## Limitations\n\nRight now this doesn't try to special-case GitHub too much -- it doesn't ensure\nthat `.git` is added to the end of URLs, it doesn't prefer `https:` over\n`http:` or `ssh:`, it doesn't deal with redirects, and it doesn't try to\nresolve symbolic names to treeish hashcodes. For now, it just tries to account\nfor minor differences in representation.\n",
"readmeFilename": "README.md",
- "gitHead": "e51f43718af66ffbced4ccfd9a6514470fc4c553",
- "_id": "normalize-git-url@1.0.0",
- "_shasum": "80e59471f0616b579893973e3f1b3684bedbad48",
- "_from": "normalize-git-url@>=1.0.0 <1.1.0"
+ "gitHead": "d87bf42e845ed664e4a8bab3490052fb44c90433",
+ "_id": "normalize-git-url@1.0.1",
+ "_shasum": "1b561345d66e3a3bc5513a5ace85f155ca42613e",
+ "_from": "normalize-git-url@>=1.0.1 <1.1.0"
}