Last commit july 5th

This commit is contained in:
2024-07-05 13:46:23 +02:00
parent dad0d86e8c
commit b0e4dfbb76
24982 changed files with 2621219 additions and 413 deletions

16
spa/node_modules/stringify-package/CHANGELOG.md generated vendored Normal file
View File

@@ -0,0 +1,16 @@
# 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/npm/stringify-package/compare/v1.0.0...v1.0.1) (2019-09-30)
### Bug Fixes
* strict comparison ([0c5675f](https://github.com/npm/stringify-package/commit/0c5675f)), closes [#2](https://github.com/npm/stringify-package/issues/2)
<a name="1.0.0"></a>
# 1.0.0 (2018-07-18)

13
spa/node_modules/stringify-package/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,13 @@
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.

55
spa/node_modules/stringify-package/README.md generated vendored Normal file
View File

@@ -0,0 +1,55 @@
# stringify-package [![npm version](https://img.shields.io/npm/v/stringify-package.svg)](https://npm.im/stringify-package) [![license](https://img.shields.io/npm/l/stringify-package.svg)](https://npm.im/stringify-package) [![Travis](https://img.shields.io/travis/npm/stringify-package/latest.svg)](https://travis-ci.org/npm/stringify-package) [![AppVeyor](https://img.shields.io/appveyor/ci/npm/stringify-package/latest.svg)](https://ci.appveyor.com/project/npm/stringify-package) [![Coverage Status](https://coveralls.io/repos/github/npm/stringify-package/badge.svg?branch=latest)](https://coveralls.io/github/npm/stringify-package?branch=latest)
[`stringify-package`](https://github.com/npm/stringify-package) is a standalone
library for writing out package data as a JSON file. It is extracted from npm.
## Install
`$ npm install stringify-package`
## Table of Contents
* [Example](#example)
* [Features](#features)
* [Contributing](#contributing)
* [API](#api)
* [`stringifyPackage`](#stringifypackage)
### Example
```javascript
const fs = require('fs')
const pkg = { /* ... */ }
fs.writeFile('package.json', stringifyPackage(pkg), 'utf8', cb(err) => {
// ...
})
```
### Features
* Ensures consistent file indentation
To match existing file indentation,
[`detect-indent`](https://npm.im/detect-indent) is recommended.
* Ensures consistent newlines
To match existing newline characters,
[`detect-newline`](https://npm.im/detect-newline) is recommended.
### Contributing
The npm 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.
### API
### <a name="stringifypackage"></a> `> stringifyPackage(data, indent, newline) -> String`
#### Arguments
* `data` - the package data as an object to be stringified
* `indent` - the number of spaces to use for each level of indentation (defaults to 2)
* `newline` - the character(s) to be used as a line terminator

18
spa/node_modules/stringify-package/index.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
'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
}

38
spa/node_modules/stringify-package/package.json generated vendored Normal file
View File

@@ -0,0 +1,38 @@
{
"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"
}
}