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:
authorGar <gar+gh@danger.computer>2022-04-12 03:26:21 +0300
committerGitHub <noreply@github.com>2022-04-12 03:26:21 +0300
commite33aa0f94f87ae4f9d2a73781e84832ef61d1855 (patch)
tree6aaef43dbd6e9209e6a903388bd1ef953f7150a6 /node_modules
parent4d676e31a68f081b8553eff4e79db1f29acf47e1 (diff)
deps: remove stringify-package (#4714)
It was not being used
Diffstat (limited to 'node_modules')
-rw-r--r--node_modules/stringify-package/LICENSE13
-rw-r--r--node_modules/stringify-package/index.js18
-rw-r--r--node_modules/stringify-package/package.json38
3 files changed, 0 insertions, 69 deletions
diff --git a/node_modules/stringify-package/LICENSE b/node_modules/stringify-package/LICENSE
deleted file mode 100644
index 209e4477f..000000000
--- a/node_modules/stringify-package/LICENSE
+++ /dev/null
@@ -1,13 +0,0 @@
-Copyright npm, Inc
-
-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/node_modules/stringify-package/index.js b/node_modules/stringify-package/index.js
deleted file mode 100644
index cd291f295..000000000
--- a/node_modules/stringify-package/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-'use strict'
-
-module.exports = stringifyPackage
-
-const DEFAULT_INDENT = 2
-const CRLF = '\r\n'
-const LF = '\n'
-
-function stringifyPackage (data, indent, newline) {
- indent = indent || (indent === 0 ? 0 : DEFAULT_INDENT)
- const json = JSON.stringify(data, null, indent)
-
- if (newline === CRLF) {
- return json.replace(/\n/g, CRLF) + CRLF
- }
-
- return json + LF
-}
diff --git a/node_modules/stringify-package/package.json b/node_modules/stringify-package/package.json
deleted file mode 100644
index c0e5622b4..000000000
--- a/node_modules/stringify-package/package.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "name": "stringify-package",
- "version": "1.0.1",
- "description": "stringifies npm-written json files",
- "main": "index.js",
- "files": [
- "index.js"
- ],
- "repository": {
- "type": "git",
- "url": "git+https://github.com/npm/stringify-package.git"
- },
- "keywords": [
- "npm",
- "json",
- "stringify",
- "package.json"
- ],
- "author": "Kat Marchán <kzm@zkat.tech>",
- "license": "ISC",
- "bugs": {
- "url": "https://github.com/npm/stringify-package/issues"
- },
- "homepage": "https://github.com/npm/stringify-package",
- "scripts": {
- "prerelease": "npm t",
- "release": "standard-version -s",
- "postrelease": "npm publish",
- "postpublish": "git push --follow-tags",
- "pretest": "standard",
- "test": "tap -J --coverage --100 test/*.js"
- },
- "devDependencies": {
- "standard": "11",
- "standard-version": "4",
- "tap": "12"
- }
-}