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>2018-05-24 23:31:26 +0300
committerRebecca Turner <me@re-becca.org>2018-05-24 23:31:38 +0300
commit0483f5c5deaf18c968a128657923103e49f4e67a (patch)
tree210f154da2f60938471d96a844dcb32cbda09e2a /node_modules/read-package-json
parent6c294614d800cb95a49ef1c422fbdde65b0731a2 (diff)
Flatten dependencies and add dev deps to git
Diffstat (limited to 'node_modules/read-package-json')
-rw-r--r--node_modules/read-package-json/node_modules/json-parse-better-errors/CHANGELOG.md36
-rw-r--r--node_modules/read-package-json/node_modules/json-parse-better-errors/LICENSE.md7
-rw-r--r--node_modules/read-package-json/node_modules/json-parse-better-errors/README.md53
-rw-r--r--node_modules/read-package-json/node_modules/json-parse-better-errors/index.js32
-rw-r--r--node_modules/read-package-json/node_modules/json-parse-better-errors/package.json76
-rw-r--r--node_modules/read-package-json/node_modules/slash/index.js11
-rw-r--r--node_modules/read-package-json/node_modules/slash/package.json65
-rw-r--r--node_modules/read-package-json/node_modules/slash/readme.md44
-rw-r--r--node_modules/read-package-json/package.json14
9 files changed, 8 insertions, 330 deletions
diff --git a/node_modules/read-package-json/node_modules/json-parse-better-errors/CHANGELOG.md b/node_modules/read-package-json/node_modules/json-parse-better-errors/CHANGELOG.md
deleted file mode 100644
index 843a0bcb9..000000000
--- a/node_modules/read-package-json/node_modules/json-parse-better-errors/CHANGELOG.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# Change Log
-
-All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
-
-<a name="1.0.1"></a>
-## [1.0.1](https://github.com/zkat/json-parse-better-errors/compare/v1.0.0...v1.0.1) (2017-08-16)
-
-
-### Bug Fixes
-
-* **license:** oops. Forgot to update license.md ([efe2958](https://github.com/zkat/json-parse-better-errors/commit/efe2958))
-
-
-
-<a name="1.0.0"></a>
-# 1.0.0 (2017-08-15)
-
-
-### Features
-
-* **init:** Initial Commit ([562c977](https://github.com/zkat/json-parse-better-errors/commit/562c977))
-
-
-### BREAKING CHANGES
-
-* **init:** This is the first commit!
-
-
-
-<a name="0.1.0"></a>
-# 0.1.0 (2017-08-15)
-
-
-### Features
-
-* **init:** Initial Commit ([9dd1a19](https://github.com/zkat/json-parse-better-errors/commit/9dd1a19))
diff --git a/node_modules/read-package-json/node_modules/json-parse-better-errors/LICENSE.md b/node_modules/read-package-json/node_modules/json-parse-better-errors/LICENSE.md
deleted file mode 100644
index c51842cc4..000000000
--- a/node_modules/read-package-json/node_modules/json-parse-better-errors/LICENSE.md
+++ /dev/null
@@ -1,7 +0,0 @@
-Copyright 2017 Kat Marchán
-
-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/read-package-json/node_modules/json-parse-better-errors/README.md b/node_modules/read-package-json/node_modules/json-parse-better-errors/README.md
deleted file mode 100644
index 667323c77..000000000
--- a/node_modules/read-package-json/node_modules/json-parse-better-errors/README.md
+++ /dev/null
@@ -1,53 +0,0 @@
-# json-parse-better-errors [![npm version](https://img.shields.io/npm/v/json-parse-better-errors.svg)](https://npm.im/json-parse-better-errors) [![license](https://img.shields.io/npm/l/json-parse-better-errors.svg)](https://npm.im/json-parse-better-errors) [![Travis](https://img.shields.io/travis/zkat/json-parse-better-errors.svg)](https://travis-ci.org/zkat/json-parse-better-errors) [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/zkat/json-parse-better-errors?svg=true)](https://ci.appveyor.com/project/zkat/json-parse-better-errors) [![Coverage Status](https://coveralls.io/repos/github/zkat/json-parse-better-errors/badge.svg?branch=latest)](https://coveralls.io/github/zkat/json-parse-better-errors?branch=latest)
-
-[`json-parse-better-errors`](https://github.com/zkat/json-parse-better-errors) is a Node.js library for managing
-local key and content address caches. It's really fast, really good at
-concurrency, and it will never give you corrupted data, even if cache files
-get corrupted or manipulated.
-
-It was originally written to be used as [npm](https://npm.im)'s local cache, but
-can just as easily be used on its own
-
-_Translations: [español](README.es.md)_
-
-## Install
-
-`$ npm install --save json-parse-better-errors`
-
-## Table of Contents
-
-* [Example](#example)
-* [Features](#features)
-* [Contributing](#contributing)
-* [API](#api)
- * [`parse`](#parse)
-
-### Example
-
-```javascript
-const parseJson = require('json-parse-better-errors')
-
-parseJson('"foo"')
-parseJson('garbage') // more useful error message
-```
-
-### Features
-
-* Like JSON.parse, but the errors are better.
-
-### Contributing
-
-The json-parse-better-errors team enthusiastically welcomes contributions and project participation! There's a bunch of things you can do if you want to contribute! The [Contributor Guide](CONTRIBUTING.md) has all the information you need for everything from reporting bugs to contributing entire new features. Please don't hesitate to jump in if you'd like to, or even ask us questions if something isn't clear.
-
-All participants and maintainers in this project are expected to follow [Code of Conduct](CODE_OF_CONDUCT.md), and just generally be excellent to each other.
-
-Please refer to the [Changelog](CHANGELOG.md) for project history details, too.
-
-Happy hacking!
-
-### API
-
-#### <a name="parse"></a> `> parse(txt, ?reviver, ?context=20)`
-
-Works just like `JSON.parse`, but will include a bit more information when an
-error happens.
diff --git a/node_modules/read-package-json/node_modules/json-parse-better-errors/index.js b/node_modules/read-package-json/node_modules/json-parse-better-errors/index.js
deleted file mode 100644
index 32c363586..000000000
--- a/node_modules/read-package-json/node_modules/json-parse-better-errors/index.js
+++ /dev/null
@@ -1,32 +0,0 @@
-'use strict'
-
-module.exports = parseJson
-function parseJson (txt, reviver, context) {
- context = context || 20
- try {
- return JSON.parse(txt, reviver)
- } catch (e) {
- const syntaxErr = e.message.match(/^Unexpected token.*position\s+(\d+)/i)
- const errIdx = syntaxErr
- ? +syntaxErr[1]
- : e.message.match(/^Unexpected end of JSON.*/i)
- ? txt.length - 1
- : null
- if (errIdx != null) {
- const start = errIdx <= context
- ? 0
- : errIdx - context
- const end = errIdx + context >= txt.length
- ? txt.length
- : errIdx + context
- e.message += ` while parsing near '${
- start === 0 ? '' : '...'
- }${txt.slice(start, end)}${
- end === txt.length ? '' : '...'
- }'`
- } else {
- e.message += ` while parsing '${txt.slice(0, context * 2)}'`
- }
- throw e
- }
-}
diff --git a/node_modules/read-package-json/node_modules/json-parse-better-errors/package.json b/node_modules/read-package-json/node_modules/json-parse-better-errors/package.json
deleted file mode 100644
index f1dd5890c..000000000
--- a/node_modules/read-package-json/node_modules/json-parse-better-errors/package.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "_from": "json-parse-better-errors@^1.0.0",
- "_id": "json-parse-better-errors@1.0.1",
- "_inBundle": false,
- "_integrity": "sha512-xyQpxeWWMKyJps9CuGJYeng6ssI5bpqS9ltQpdVQ90t4ql6NdnxFKh95JcRt2cun/DjMVNrdjniLPuMA69xmCw==",
- "_location": "/read-package-json/json-parse-better-errors",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "json-parse-better-errors@^1.0.0",
- "name": "json-parse-better-errors",
- "escapedName": "json-parse-better-errors",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/read-package-json"
- ],
- "_resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.1.tgz",
- "_shasum": "50183cd1b2d25275de069e9e71b467ac9eab973a",
- "_spec": "json-parse-better-errors@^1.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/read-package-json",
- "author": {
- "name": "Kat Marchán",
- "email": "kzm@sykosomatic.org"
- },
- "bugs": {
- "url": "https://github.com/zkat/json-parse-better-errors/issues"
- },
- "bundleDependencies": false,
- "config": {
- "nyc": {
- "exclude": [
- "node_modules/**",
- "test/**"
- ]
- }
- },
- "deprecated": false,
- "description": "JSON.parse with context information on error",
- "devDependencies": {
- "nyc": "^10.3.2",
- "standard": "^9.0.2",
- "standard-version": "^4.1.0",
- "tap": "^10.3.3",
- "weallbehave": "^1.2.0",
- "weallcontribute": "^1.0.8"
- },
- "files": [
- "*.js"
- ],
- "homepage": "https://github.com/zkat/json-parse-better-errors#readme",
- "keywords": [
- "JSON",
- "parser"
- ],
- "license": "MIT",
- "main": "index.js",
- "name": "json-parse-better-errors",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/zkat/json-parse-better-errors.git"
- },
- "scripts": {
- "postrelease": "npm publish && git push --follow-tags",
- "prerelease": "npm t",
- "pretest": "standard",
- "release": "standard-version -s",
- "test": "tap -J --coverage test/*.js",
- "update-coc": "weallbehave -o . && git add CODE_OF_CONDUCT.md && git commit -m 'docs(coc): updated CODE_OF_CONDUCT.md'",
- "update-contrib": "weallcontribute -o . && git add CONTRIBUTING.md && git commit -m 'docs(contributing): updated CONTRIBUTING.md'"
- },
- "version": "1.0.1"
-}
diff --git a/node_modules/read-package-json/node_modules/slash/index.js b/node_modules/read-package-json/node_modules/slash/index.js
deleted file mode 100644
index b946a0841..000000000
--- a/node_modules/read-package-json/node_modules/slash/index.js
+++ /dev/null
@@ -1,11 +0,0 @@
-'use strict';
-module.exports = function (str) {
- var isExtendedLengthPath = /^\\\\\?\\/.test(str);
- var hasNonAscii = /[^\x00-\x80]+/.test(str);
-
- if (isExtendedLengthPath || hasNonAscii) {
- return str;
- }
-
- return str.replace(/\\/g, '/');
-};
diff --git a/node_modules/read-package-json/node_modules/slash/package.json b/node_modules/read-package-json/node_modules/slash/package.json
deleted file mode 100644
index 847f1844d..000000000
--- a/node_modules/read-package-json/node_modules/slash/package.json
+++ /dev/null
@@ -1,65 +0,0 @@
-{
- "_from": "slash@^1.0.0",
- "_id": "slash@1.0.0",
- "_inBundle": false,
- "_integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=",
- "_location": "/read-package-json/slash",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "slash@^1.0.0",
- "name": "slash",
- "escapedName": "slash",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/read-package-json"
- ],
- "_resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
- "_shasum": "c41f2f6c39fc16d1cd17ad4b5d896114ae470d55",
- "_spec": "slash@^1.0.0",
- "_where": "/Users/rebecca/code/npm/node_modules/read-package-json",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "http://sindresorhus.com"
- },
- "bugs": {
- "url": "https://github.com/sindresorhus/slash/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Convert Windows backslash paths to slash paths",
- "devDependencies": {
- "mocha": "*"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/slash#readme",
- "keywords": [
- "path",
- "seperator",
- "sep",
- "slash",
- "backslash",
- "windows",
- "win"
- ],
- "license": "MIT",
- "name": "slash",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/slash.git"
- },
- "scripts": {
- "test": "mocha"
- },
- "version": "1.0.0"
-}
diff --git a/node_modules/read-package-json/node_modules/slash/readme.md b/node_modules/read-package-json/node_modules/slash/readme.md
deleted file mode 100644
index 15672f010..000000000
--- a/node_modules/read-package-json/node_modules/slash/readme.md
+++ /dev/null
@@ -1,44 +0,0 @@
-# slash [![Build Status](https://travis-ci.org/sindresorhus/slash.svg?branch=master)](https://travis-ci.org/sindresorhus/slash)
-
-> Convert Windows backslash paths to slash paths: `foo\\bar` ➔ `foo/bar`
-
-[Forward-slash paths can be used in Windows](http://superuser.com/a/176395/6877) as long as they're not extended-length paths and don't contain any non-ascii characters.
-
-This was created since the `path` methods in Node outputs `\\` paths on Windows.
-
-
-## Install
-
-```sh
-$ npm install --save slash
-```
-
-
-## Usage
-
-```js
-var path = require('path');
-var slash = require('slash');
-
-var str = path.join('foo', 'bar');
-// Unix => foo/bar
-// Windows => foo\\bar
-
-slash(str);
-// Unix => foo/bar
-// Windows => foo/bar
-```
-
-
-## API
-
-### slash(path)
-
-Type: `string`
-
-Accepts a Windows backslash path and returns a slash path.
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/node_modules/read-package-json/package.json b/node_modules/read-package-json/package.json
index b9ce0a9f8..d4b3405c7 100644
--- a/node_modules/read-package-json/package.json
+++ b/node_modules/read-package-json/package.json
@@ -1,4 +1,10 @@
{
+ "_args": [
+ [
+ "read-package-json@2.0.13",
+ "/Users/rebecca/code/npm"
+ ]
+ ],
"_from": "read-package-json@2.0.13",
"_id": "read-package-json@2.0.13",
"_inBundle": false,
@@ -16,7 +22,6 @@
"fetchSpec": "2.0.13"
},
"_requiredBy": [
- "#USER",
"/",
"/init-package-json",
"/libcipm",
@@ -24,9 +29,8 @@
"/read-package-tree"
],
"_resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-2.0.13.tgz",
- "_shasum": "2e82ebd9f613baa6d2ebe3aa72cefe3f68e41f4a",
- "_spec": "read-package-json@2.0.13",
- "_where": "/Users/zkat/Documents/code/npm",
+ "_spec": "2.0.13",
+ "_where": "/Users/rebecca/code/npm",
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
@@ -35,7 +39,6 @@
"bugs": {
"url": "https://github.com/npm/read-package-json/issues"
},
- "bundleDependencies": false,
"dependencies": {
"glob": "^7.1.1",
"graceful-fs": "^4.1.2",
@@ -43,7 +46,6 @@
"normalize-package-data": "^2.0.0",
"slash": "^1.0.0"
},
- "deprecated": false,
"description": "The thing npm uses to read package.json files with semantics and defaults and validation",
"devDependencies": {
"standard": "^11.0.0",