Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorForrest L Norvell <forrest@npmjs.com>2015-05-22 03:27:22 +0300
committerForrest L Norvell <forrest@npmjs.com>2015-05-22 03:27:22 +0300
commit541005aa60e11eaf6c4a28f99a700a3810b53996 (patch)
tree74eb2262b9a4928e648913dab89fb841426da40e /node_modules/npm-package-arg
parent1da9b0411d3416c7fca17d08cbbcfca7ae86e92d (diff)
deps: remove editor cruft
Diffstat (limited to 'node_modules/npm-package-arg')
-rw-r--r--node_modules/npm-package-arg/test/bitbucket.js~82
-rw-r--r--node_modules/npm-package-arg/test/github.js~106
-rw-r--r--node_modules/npm-package-arg/test/gitlab.js~82
3 files changed, 0 insertions, 270 deletions
diff --git a/node_modules/npm-package-arg/test/bitbucket.js~ b/node_modules/npm-package-arg/test/bitbucket.js~
deleted file mode 100644
index 3814657f0..000000000
--- a/node_modules/npm-package-arg/test/bitbucket.js~
+++ /dev/null
@@ -1,82 +0,0 @@
-var npa = require("../npa.js")
-var path = require("path")
-
-require("tap").test("basic", function (t) {
- t.setMaxListeners(999)
-
- var tests = {
- "bitbucket:user/foo-js": {
- name: null,
- type: "hosted",
- hosted: { type: "bitbucket" },
- spec: "bitbucket:user/foo-js",
- raw: "bitbucket:user/foo-js"
- },
-
- "bitbucket:user/foo-js#bar/baz": {
- name: null,
- type: "hosted",
- hosted: { type: "bitbucket" },
- spec: "bitbucket:user/foo-js#bar/baz",
- raw: "bitbucket:user/foo-js#bar/baz"
- },
-
- "bitbucket:user..blerg--/..foo-js# . . . . . some . tags / / /": {
- name: null,
- type: "hosted",
- hosted: { type: "bitbucket" },
- spec: "bitbucket:user..blerg--/..foo-js# . . . . . some . tags / / /",
- raw: "bitbucket:user..blerg--/..foo-js# . . . . . some . tags / / /"
- },
-
- "bitbucket:user/foo-js#bar/baz/bin": {
- name: null,
- type: "hosted",
- hosted: { type: "bitbucket" },
- spec: "bitbucket:user/foo-js#bar/baz/bin",
- raw: "bitbucket:user/foo-js#bar/baz/bin"
- },
-
- "foo@bitbucket:user/foo-js": {
- name: "foo",
- type: "hosted",
- hosted: { type: "bitbucket" },
- spec: "bitbucket:user/foo-js",
- raw: "foo@bitbucket:user/foo-js"
- },
-
- "git+ssh://git@bitbucket.org/user/foo#1.2.3": {
- name: null,
- type: "hosted",
- hosted: { type: "bitbucket" },
- spec: "git+ssh://git@bitbucket.org/user/foo.git#1.2.3",
- raw: "git+ssh://git@bitbucket.org/user/foo#1.2.3"
- },
-
- "https://bitbucket.org/user/foo.git": {
- name: null,
- type: "hosted",
- hosted: { type: "bitbucket" },
- spec: "git+https:bitbucket.org/user/foo.git",
- raw: "https://bitbucket.org/user/foo.git"
- },
-
- "@foo/bar@git+ssh://bitbucket.org/user/foo": {
- name: "@foo/bar",
- scope: "@foo",
- type: "hosted",
- hosted: { type: "bitbucket" },
- spec: "git+ssh://git@bitbucket.org/user/foo.git",
- rawSpec: "git+ssh://bitbucket.org/user/foo",
- raw: "@foo/bar@git+ssh://bitbucket.org/user/foo"
- }
- }
-
- Object.keys(tests).forEach(function (arg) {
- var res = npa(arg)
- t.type(res, "Result", arg + " is a result")
- t.has(res, tests[arg], arg + " matches expectations")
- })
-
- t.end()
-})
diff --git a/node_modules/npm-package-arg/test/github.js~ b/node_modules/npm-package-arg/test/github.js~
deleted file mode 100644
index 080b7c1d3..000000000
--- a/node_modules/npm-package-arg/test/github.js~
+++ /dev/null
@@ -1,106 +0,0 @@
-var npa = require("../npa.js")
-var path = require("path")
-
-require("tap").test("basic", function (t) {
- t.setMaxListeners(999)
-
- var tests = {
- "user/foo-js": {
- name: null,
- type: "hosted",
- hosted: { type: "github" },
- spec: "github:user/foo-js",
- raw: "user/foo-js"
- },
-
- "user/foo-js#bar/baz": {
- name: null,
- type: "hosted",
- hosted: { type: "github" },
- spec: "github:user/foo-js#bar/baz",
- raw: "user/foo-js#bar/baz"
- },
-
- "user..blerg--/..foo-js# . . . . . some . tags / / /": {
- name: null,
- type: "hosted",
- hosted: { type: "github" },
- spec: "github:user..blerg--/..foo-js# . . . . . some . tags / / /",
- raw: "user..blerg--/..foo-js# . . . . . some . tags / / /"
- },
-
- "user/foo-js#bar/baz/bin": {
- name: null,
- type: "hosted",
- hosted: { type: "github" },
- raw: "github:user/foo-js#bar/baz/bin",
- raw: "user/foo-js#bar/baz/bin"
- },
-
- "foo@user/foo-js": {
- name: "foo",
- type: "hosted",
- hosted: { type: "github" },
- spec: "github:user/foo-js",
- raw: "foo@user/foo-js"
- },
-
- "github:user/foo-js": {
- name: null,
- type: "hosted",
- hosted: { type: "github" },
- spec: "github:user/foo-js",
- raw: "github:user/foo-js"
- },
-
- "git+ssh://git@github.com/user/foo#1.2.3": {
- name: null,
- type: "hosted",
- hosted: { type: "github" },
- spec: "git+ssh://git@github.com/user/foo.git#1.2.3",
- raw: "git+ssh://git@github.com/user/foo#1.2.3"
- },
-
- "git://github.com/user/foo": {
- name: null,
- type: "hosted",
- hosted: { type: "github" },
- spec: "git://github.com/user/foo.git",
- raw: "git://github.com/user/foo"
- },
-
- "https://github.com/user/foo.git": {
- name: null,
- type: "hosted",
- hosted: { type: "github" },
- spec: "git+https:github.com/user/foo.git",
- raw: "https://github.com/user/foo.git"
- },
-
- "@foo/bar@git+ssh://github.com/user/foo": {
- name: "@foo/bar",
- scope: "@foo",
- type: "hosted",
- hosted: { type: "github" },
- spec: "git+ssh://git@github.com/user/foo.git",
- rawSpec: "git+ssh://github.com/user/foo",
- raw: "@foo/bar@git+ssh://github.com/user/foo"
- },
-
- "foo@bar/foo": {
- name: "foo",
- type: "hosted",
- hosted: { type: "github" },
- spec: "github:bar/foo",
- raw: "foo@bar/foo"
- }
- }
-
- Object.keys(tests).forEach(function (arg) {
- var res = npa(arg)
- t.type(res, "Result", arg + " is a result")
- t.has(res, tests[arg], arg + " matches expectations")
- })
-
- t.end()
-})
diff --git a/node_modules/npm-package-arg/test/gitlab.js~ b/node_modules/npm-package-arg/test/gitlab.js~
deleted file mode 100644
index 08b962dfd..000000000
--- a/node_modules/npm-package-arg/test/gitlab.js~
+++ /dev/null
@@ -1,82 +0,0 @@
-var npa = require("../npa.js")
-var path = require("path")
-
-require("tap").test("basic", function (t) {
- t.setMaxListeners(999)
-
- var tests = {
- "gitlab:user/foo-js": {
- name: null,
- type: "hosted",
- hosted: { type: "gitlab" },
- raw: "gitlab:user/foo-js",
- raw: "gitlab:user/foo-js"
- },
-
- "gitlab:user/foo-js#bar/baz": {
- name: null,
- type: "hosted",
- hosted: { type: "gitlab" },
- raw: "gitlab:user/foo-js#bar/baz",
- raw: "gitlab:user/foo-js#bar/baz"
- },
-
- "gitlab:user..blerg--/..foo-js# . . . . . some . tags / / /": {
- name: null,
- type: "hosted",
- hosted: { type: "gitlab" },
- spec: "gitlab:user..blerg--/..foo-js# . . . . . some . tags / / /",
- raw: "gitlab:user..blerg--/..foo-js# . . . . . some . tags / / /"
- },
-
- "gitlab:user/foo-js#bar/baz/bin": {
- name: null,
- type: "hosted",
- hosted: { type: "gitlab" },
- spec: "gitlab:user/foo-js#bar/baz/bin",
- raw: "gitlab:user/foo-js#bar/baz/bin"
- },
-
- "foo@gitlab:user/foo-js": {
- name: "foo",
- type: "hosted",
- hosted: { type: "gitlab" },
- spec: "gitlab:user/foo-js",
- raw: "foo@gitlab:user/foo-js"
- },
-
- "git+ssh://git@gitlab.com/user/foo#1.2.3": {
- name: null,
- type: "hosted",
- hosted: { type: "gitlab" },
- spec: "git+ssh://git@gitlab.com/user/foo.git#1.2.3",
- raw: "git+ssh://git@gitlab.com/user/foo#1.2.3"
- },
-
- "https://gitlab.com/user/foo.git": {
- name: null,
- type: "hosted",
- hosted: { type: "gitlab" },
- spec: "git+https:gitlab.com/user/foo.git",
- raw: "https://gitlab.com/user/foo.git"
- },
-
- "@foo/bar@git+ssh://gitlab.com/user/foo": {
- name: "@foo/bar",
- scope: "@foo",
- type: "hosted",
- hosted: { type: "gitlab" },
- spec: "git+ssh://git@gitlab.com/user/foo.git",
- rawSpec: "git+ssh://gitlab.com/user/foo",
- raw: "@foo/bar@git+ssh://gitlab.com/user/foo"
- }
- }
-
- Object.keys(tests).forEach(function (arg) {
- var res = npa(arg)
- t.type(res, "Result", arg + " is a result")
- t.has(res, tests[arg], arg + " matches expectations")
- })
-
- t.end()
-})