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:
authorRebecca Turner <me@re-becca.org>2016-10-07 02:19:03 +0300
committerRebecca Turner <me@re-becca.org>2016-10-07 05:34:20 +0300
commitdea48487a9d03492edc68670d05776d32d9ee8cf (patch)
tree11269b9d4c8b81dbcc20a64f7df0cefa1596c57a /node_modules/path-is-inside
parent9d209107ce49a7424c50459284280cd2e6e215d1 (diff)
path-is-inside@1.0.2
License & doc updates. Credit: @domenic
Diffstat (limited to 'node_modules/path-is-inside')
-rw-r--r--node_modules/path-is-inside/LICENSE.txt30
-rw-r--r--node_modules/path-is-inside/README.md35
-rw-r--r--node_modules/path-is-inside/package.json114
3 files changed, 117 insertions, 62 deletions
diff --git a/node_modules/path-is-inside/LICENSE.txt b/node_modules/path-is-inside/LICENSE.txt
index ae20051ff..0bdbb61c9 100644
--- a/node_modules/path-is-inside/LICENSE.txt
+++ b/node_modules/path-is-inside/LICENSE.txt
@@ -1,4 +1,8 @@
-Copyright © 2013–2014 Domenic Denicola <domenic@domenicdenicola.com>
+Dual licensed under WTFPL and MIT:
+
+---
+
+Copyright © 2013–2016 Domenic Denicola <d@domenic.me>
This work is free. You can redistribute it and/or modify it under the
terms of the Do What The Fuck You Want To Public License, Version 2,
@@ -17,3 +21,27 @@ as published by Sam Hocevar. See below for more details.
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
+
+---
+
+The MIT License (MIT)
+
+Copyright © 2013–2016 Domenic Denicola <d@domenic.me>
+
+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.
diff --git a/node_modules/path-is-inside/README.md b/node_modules/path-is-inside/README.md
deleted file mode 100644
index d42e6aa73..000000000
--- a/node_modules/path-is-inside/README.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# Is This Path Inside This Other Path?
-
-It turns out this question isn't trivial to answer using Node's built-in path APIs. A naive `indexOf`-based solution will fail sometimes on Windows, which is case-insensitive (see e.g. [isaacs/npm#4214][]). You might then think to be clever with `path.resolve`, but you have to be careful to account for situations whether the paths have different drive letters, or else you'll cause bugs like [isaacs/npm#4313][]. And let's not even get started on trailing slashes.
-
-The **path-is-inside** package will give you a robust, cross-platform way of detecting whether a given path is inside another path.
-
-## Usage
-
-Pretty simple. First the path being tested; then the potential parent. Like so:
-
-```js
-var pathIsInside = require("path-is-inside");
-
-pathIsInside("/x/y/z", "/x/y") // true
-pathIsInside("/x/y", "/x/y/z") // false
-```
-
-## OS-Specific Behavior
-
-Like Node's built-in path module, path-is-inside treats all file paths on Windows as case-insensitive, whereas it treats all file paths on *-nix operating systems as case-sensitive. Keep this in mind especially when working on a Mac, where, despite Node's defaults, the OS usually treats paths case-insensitively.
-
-In practice, this means:
-
-```js
-// On Windows
-
-pathIsInside("C:\\X\\Y\\Z", "C:\\x\\y") // true
-
-// On *-nix, including Mac OS X
-
-pathIsInside("/X/Y/Z", "/x/y") // false
-```
-
-[isaacs/npm#4214]: https://github.com/isaacs/npm/pull/4214
-[isaacs/npm#4313]: https://github.com/isaacs/npm/issues/4313
diff --git a/node_modules/path-is-inside/package.json b/node_modules/path-is-inside/package.json
index deced2578..6564d31a1 100644
--- a/node_modules/path-is-inside/package.json
+++ b/node_modules/path-is-inside/package.json
@@ -1,6 +1,78 @@
{
- "name": "path-is-inside",
+ "_args": [
+ [
+ {
+ "raw": "path-is-inside@1.0.2",
+ "scope": null,
+ "escapedName": "path-is-inside",
+ "name": "path-is-inside",
+ "rawSpec": "1.0.2",
+ "spec": "1.0.2",
+ "type": "version"
+ },
+ "/Users/rebecca/code/npm"
+ ]
+ ],
+ "_from": "path-is-inside@1.0.2",
+ "_id": "path-is-inside@1.0.2",
+ "_inCache": true,
+ "_location": "/path-is-inside",
+ "_nodeVersion": "6.2.2",
+ "_npmOperationalInternal": {
+ "host": "packages-16-east.internal.npmjs.com",
+ "tmp": "tmp/path-is-inside-1.0.2.tgz_1473550509195_0.936812553787604"
+ },
+ "_npmUser": {
+ "name": "domenic",
+ "email": "d@domenic.me"
+ },
+ "_npmVersion": "3.9.5",
+ "_phantomChildren": {},
+ "_requested": {
+ "raw": "path-is-inside@1.0.2",
+ "scope": null,
+ "escapedName": "path-is-inside",
+ "name": "path-is-inside",
+ "rawSpec": "1.0.2",
+ "spec": "1.0.2",
+ "type": "version"
+ },
+ "_requiredBy": [
+ "#USER",
+ "/",
+ "/fs-vacuum",
+ "/standard/eslint",
+ "/standard/eslint/file-entry-cache/flat-cache/del/is-path-in-cwd/is-path-inside"
+ ],
+ "_resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",
+ "_shasum": "365417dede44430d1c11af61027facf074bdfc53",
+ "_shrinkwrap": null,
+ "_spec": "path-is-inside@1.0.2",
+ "_where": "/Users/rebecca/code/npm",
+ "author": {
+ "name": "Domenic Denicola",
+ "email": "d@domenic.me",
+ "url": "https://domenic.me"
+ },
+ "bugs": {
+ "url": "https://github.com/domenic/path-is-inside/issues"
+ },
+ "dependencies": {},
"description": "Tests whether one path is inside another path",
+ "devDependencies": {
+ "jshint": "~2.3.0",
+ "mocha": "~1.15.1"
+ },
+ "directories": {},
+ "dist": {
+ "shasum": "365417dede44430d1c11af61027facf074bdfc53",
+ "tarball": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz"
+ },
+ "files": [
+ "lib"
+ ],
+ "gitHead": "05a9bf7c5e008505539e14e96c4d2fc8b2c6d058",
+ "homepage": "https://github.com/domenic/path-is-inside#readme",
"keywords": [
"path",
"directory",
@@ -8,34 +80,24 @@
"inside",
"relative"
],
- "version": "1.0.1",
- "author": {
- "name": "Domenic Denicola",
- "email": "domenic@domenicdenicola.com",
- "url": "http://domenic.me"
- },
- "license": "WTFPL",
+ "license": "(WTFPL OR MIT)",
+ "main": "lib/path-is-inside.js",
+ "maintainers": [
+ {
+ "name": "domenic",
+ "email": "domenic@domenicdenicola.com"
+ }
+ ],
+ "name": "path-is-inside",
+ "optionalDependencies": {},
+ "readme": "ERROR: No README data found!",
"repository": {
"type": "git",
- "url": "git://github.com/domenic/path-is-inside.git"
+ "url": "git+https://github.com/domenic/path-is-inside.git"
},
- "bugs": {
- "url": "http://github.com/domenic/path-is-inside/issues"
- },
- "main": "lib/path-is-inside.js",
"scripts": {
- "test": "mocha",
- "lint": "jshint lib"
- },
- "devDependencies": {
- "jshint": "~2.3.0",
- "mocha": "~1.15.1"
+ "lint": "jshint lib",
+ "test": "mocha"
},
- "readme": "# Is This Path Inside This Other Path?\n\nIt turns out this question isn't trivial to answer using Node's built-in path APIs. A naive `indexOf`-based solution will fail sometimes on Windows, which is case-insensitive (see e.g. [isaacs/npm#4214][]). You might then think to be clever with `path.resolve`, but you have to be careful to account for situations whether the paths have different drive letters, or else you'll cause bugs like [isaacs/npm#4313][]. And let's not even get started on trailing slashes.\n\nThe **path-is-inside** package will give you a robust, cross-platform way of detecting whether a given path is inside another path.\n\n## Usage\n\nPretty simple. First the path being tested; then the potential parent. Like so:\n\n```js\nvar pathIsInside = require(\"path-is-inside\");\n\npathIsInside(\"/x/y/z\", \"/x/y\") // true\npathIsInside(\"/x/y\", \"/x/y/z\") // false\n```\n\n## OS-Specific Behavior\n\nLike Node's built-in path module, path-is-inside treats all file paths on Windows as case-insensitive, whereas it treats all file paths on *-nix operating systems as case-sensitive. Keep this in mind especially when working on a Mac, where, despite Node's defaults, the OS usually treats paths case-insensitively.\n\nIn practice, this means:\n\n```js\n// On Windows\n\npathIsInside(\"C:\\\\X\\\\Y\\\\Z\", \"C:\\\\x\\\\y\") // true\n\n// On *-nix, including Mac OS X\n\npathIsInside(\"/X/Y/Z\", \"/x/y\") // false\n```\n\n[isaacs/npm#4214]: https://github.com/isaacs/npm/pull/4214\n[isaacs/npm#4313]: https://github.com/isaacs/npm/issues/4313\n",
- "readmeFilename": "README.md",
- "homepage": "https://github.com/domenic/path-is-inside#readme",
- "_id": "path-is-inside@1.0.1",
- "_shasum": "98d8f1d030bf04bd7aeee4a1ba5485d40318fd89",
- "_resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.1.tgz",
- "_from": "path-is-inside@>=1.0.1 <1.1.0"
+ "version": "1.0.2"
}