1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

New updates and modules

This commit is contained in:
DanieL 2022-07-15 11:08:01 -03:00
parent 4d5d408898
commit 0abf0f90f6
959 changed files with 364301 additions and 17493 deletions

8
node_modules/level-errors/.travis.yml generated vendored Normal file
View file

@ -0,0 +1,8 @@
language: node_js
node_js:
- 6
- 8
- 10
after_success: npm run coverage

127
node_modules/level-errors/CHANGELOG.md generated vendored Normal file
View file

@ -0,0 +1,127 @@
# Changelog
_**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._
## [Unreleased][unreleased]
## [2.0.1] - 2019-04-05
### Changed
- Upgrade `standard` devDependency from `^11.0.0` to `^12.0.0` ([#19](https://github.com/Level/errors/issues/19)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Apply common project tweaks ([#20](https://github.com/Level/errors/issues/20), [#21](https://github.com/Level/errors/issues/21)) ([**@vweevers**](https://github.com/vweevers))
- Tweak license ([`b61e01b`](https://github.com/Level/errors/commit/b61e01b)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Tweak copyright years for less maintenance ([`772e911`](https://github.com/Level/errors/commit/772e911)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Added
- Add `nyc` and `coveralls` ([#18](https://github.com/Level/errors/issues/18), [#22](https://github.com/Level/errors/issues/22)) ([**@ralphtheninja**](https://github.com/ralphtheninja), [**@vweevers**](https://github.com/vweevers))
### Removed
- Remove node 9 from travis ([`9254882`](https://github.com/Level/errors/commit/9254882)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Remove experimental typings ([`0ad3b37`](https://github.com/Level/errors/commit/0ad3b37)) ([**@vweevers**](https://github.com/vweevers))
- Remove contributors from `package.json` ([`29e1ae1`](https://github.com/Level/errors/commit/29e1ae1)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Remove copyright headers from code ([`f5e5e40`](https://github.com/Level/errors/commit/f5e5e40)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [2.0.0] - 2018-05-13
### Changed
- Tweak readme, add npm and node badges ([`f80d1b7`](https://github.com/Level/errors/commit/f80d1b7)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Upgrade `standard` devDependency from `^10.0.3` to `^11.0.0` ([#12](https://github.com/Level/errors/issues/12)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Added
- Add node 10 ([`b002756`](https://github.com/Level/errors/commit/b002756)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- Drop node 0.12, 4, 5 and 7 ([`b002756`](https://github.com/Level/errors/commit/b002756), [`150a3c6`](https://github.com/Level/errors/commit/150a3c6)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [1.1.2] - 2017-11-13
### Changed
- Update README style ([#11](https://github.com/Level/errors/issues/11)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Added
- Add `standard` devDependency ([#10](https://github.com/Level/errors/issues/10)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [1.1.1] - 2017-09-10
### Fixed
- Fix error `cause` argument in typings ([#9](https://github.com/Level/errors/issues/9)) ([**@MeirionHughes**](https://github.com/MeirionHughes))
## [1.1.0] - 2017-09-10
### Changed
- Tweak README ([`64b4842`](https://github.com/Level/errors/commit/64b4842)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Added
- Add basic typings ([#8](https://github.com/Level/errors/issues/8)) ([**@MeirionHughes**](https://github.com/MeirionHughes))
## [1.0.5] - 2017-08-15
### Changed
- Update copyright year from 2015 to 2017 ([#7](https://github.com/Level/errors/issues/7)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Added
- Add node 4, 5, 6, 7 and 8 ([#7](https://github.com/Level/errors/issues/7)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add Greenkeeper ([#3](https://github.com/Level/errors/issues/3), [#6](https://github.com/Level/errors/issues/6)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- Drop node 0.10 and iojs ([#7](https://github.com/Level/errors/issues/7)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [1.0.4] - 2015-08-25
### Added
- Document API ([#2](https://github.com/Level/errors/issues/2)) ([**@juliangruber**](https://github.com/juliangruber))
## [1.0.3] - 2015-03-21
### Fixed
- Add node 0.10 to travis ([`fcc758c`](https://github.com/Level/errors/commit/fcc758c)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [1.0.2] - 2015-03-21
### Changed
- Tweak README to have same style as `codec` ([`d5e0cba`](https://github.com/Level/errors/commit/d5e0cba)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Added
- Add travis ([`5f6d1cd`](https://github.com/Level/errors/commit/5f6d1cd), [`58690fa`](https://github.com/Level/errors/commit/58690fa), [`36c3199`](https://github.com/Level/errors/commit/36c3199)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
## 1.0.1 - 2015-03-20
:seedling: Initial release.
[unreleased]: https://github.com/Level/errors/compare/v2.0.1...HEAD
[2.0.1]: https://github.com/Level/errors/compare/v2.0.0...v2.0.1
[2.0.0]: https://github.com/Level/errors/compare/v1.1.2...v2.0.0
[1.1.2]: https://github.com/Level/errors/compare/v1.1.1...v1.1.2
[1.1.1]: https://github.com/Level/errors/compare/v1.1.0...v1.1.1
[1.1.0]: https://github.com/Level/errors/compare/v1.0.5...v1.1.0
[1.0.5]: https://github.com/Level/errors/compare/v1.0.4...v1.0.5
[1.0.4]: https://github.com/Level/errors/compare/v1.0.3...v1.0.4
[1.0.3]: https://github.com/Level/errors/compare/v1.0.2...v1.0.3
[1.0.2]: https://github.com/Level/errors/compare/v1.0.1...v1.0.2

8
node_modules/level-errors/CONTRIBUTORS.md generated vendored Normal file
View file

@ -0,0 +1,8 @@
# Contributors
| Name | GitHub | Social |
| :------------------- | :----------------------------------------------------- | :------------------------------------------------------------ |
| **Lars-Magnus Skog** | [**@ralphtheninja**](https://github.com/ralphtheninja) | [**@ralph@social.weho.st**](https://social.weho.st/@ralph) |
| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) |
| **Meirion Hughes** | [**@MeirionHughes**](https://github.com/MeirionHughes) | |
| **Julian Gruber** | [**@juliangruber**](https://github.com/juliangruber) | [**@juliangruber@twitter**](https://twitter.com/juliangruber) |

21
node_modules/level-errors/LICENSE.md generated vendored Normal file
View file

@ -0,0 +1,21 @@
# The MIT License (MIT)
**Copyright © 2012-present [Contributors](CONTRIBUTORS.md).**
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.

78
node_modules/level-errors/README.md generated vendored Normal file
View file

@ -0,0 +1,78 @@
# level-errors
> Error types for [levelup][levelup].
[![level badge][level-badge]](https://github.com/Level/awesome)
[![npm](https://img.shields.io/npm/v/level-errors.svg?label=&logo=npm)](https://www.npmjs.com/package/level-errors)
[![Node version](https://img.shields.io/node/v/level-errors.svg)](https://www.npmjs.com/package/level-errors)
[![Travis](https://img.shields.io/travis/Level/errors.svg?logo=travis&label=)](https://travis-ci.org/Level/errors)
[![Coverage Status](https://coveralls.io/repos/github/Level/errors/badge.svg)](https://coveralls.io/github/Level/errors)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![npm](https://img.shields.io/npm/dm/level-errors.svg?label=dl)](https://www.npmjs.com/package/level-errors)
[![Backers on Open Collective](https://opencollective.com/level/backers/badge.svg?color=orange)](#backers)
[![Sponsors on Open Collective](https://opencollective.com/level/sponsors/badge.svg?color=orange)](#sponsors)
## API
**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md).
### `.LevelUPError()`
Generic error base class.
### `.InitializationError()`
Error initializing the database, like when the database's location argument is missing.
### `.OpenError()`
Error opening the database.
### `.ReadError()`
Error reading from the database.
### `.WriteError()`
Error writing to the database.
### `.NotFoundError()`
Data not found error.
Has extra properties:
- `notFound`: `true`
- `status`: 404
### `.EncodingError()`
Error encoding data.
## Contributing
[`Level/errors`](https://github.com/Level/errors) is an **OPEN Open Source Project**. This means that:
> Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.
See the [Contribution Guide](https://github.com/Level/community/blob/master/CONTRIBUTING.md) for more details.
## Donate
To sustain [`Level`](https://github.com/Level) and its activities, become a backer or sponsor on [Open Collective](https://opencollective.com/level). Your logo or avatar will be displayed on our 28+ [GitHub repositories](https://github.com/Level), [npm](https://www.npmjs.com/) packages and (soon) [our website](http://leveldb.org). 💖
### Backers
[![Open Collective backers](https://opencollective.com/level/backers.svg?width=890)](https://opencollective.com/level)
### Sponsors
[![Open Collective sponsors](https://opencollective.com/level/sponsors.svg?width=890)](https://opencollective.com/level)
## License
[MIT](LICENSE.md) © 2012-present [Contributors](CONTRIBUTORS.md).
[level-badge]: http://leveldb.org/img/badge.svg
[levelup]: https://github.com/Level/levelup

7
node_modules/level-errors/UPGRADING.md generated vendored Normal file
View file

@ -0,0 +1,7 @@
# Upgrade Guide
This document describes breaking changes and how to upgrade. For a complete list of changes including minor and patch releases, please refer to the [changelog](CHANGELOG.md).
## v2
Dropped node 0.12, 4, 5 and 7.

16
node_modules/level-errors/errors.js generated vendored Normal file
View file

@ -0,0 +1,16 @@
var createError = require('errno').create
var LevelUPError = createError('LevelUPError')
var NotFoundError = createError('NotFoundError', LevelUPError)
NotFoundError.prototype.notFound = true
NotFoundError.prototype.status = 404
module.exports = {
LevelUPError: LevelUPError,
InitializationError: createError('InitializationError', LevelUPError),
OpenError: createError('OpenError', LevelUPError),
ReadError: createError('ReadError', LevelUPError),
WriteError: createError('WriteError', LevelUPError),
NotFoundError: NotFoundError,
EncodingError: createError('EncodingError', LevelUPError)
}

44
node_modules/level-errors/package.json generated vendored Normal file
View file

@ -0,0 +1,44 @@
{
"name": "level-errors",
"version": "2.0.1",
"description": "Error types for levelup",
"license": "MIT",
"main": "errors.js",
"scripts": {
"test": "standard && hallmark && nyc node test.js",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"hallmark": "hallmark --fix",
"dependency-check": "dependency-check . test.js",
"prepublishOnly": "npm run dependency-check"
},
"dependencies": {
"errno": "~0.1.1"
},
"devDependencies": {
"coveralls": "^3.0.2",
"dependency-check": "^3.3.0",
"hallmark": "^0.1.0",
"level-community": "^3.0.0",
"nyc": "^13.2.0",
"standard": "^12.0.0",
"tape": "^4.3.0"
},
"hallmark": {
"community": "level-community"
},
"repository": {
"type": "git",
"url": "https://github.com/Level/errors.git"
},
"homepage": "https://github.com/Level/errors",
"keywords": [
"level",
"leveldb",
"levelup",
"leveldown",
"errors"
],
"engines": {
"node": ">=6"
}
}

20
node_modules/level-errors/test.js generated vendored Normal file
View file

@ -0,0 +1,20 @@
var test = require('tape')
var errors = require('./')
test('all errors are instances of LevelUPError', function (t) {
var LevelUPError = errors.LevelUPError
var keys = Object.keys(errors)
keys.forEach(function (key) {
t.ok(new errors[key]() instanceof LevelUPError)
})
t.end()
})
test('NotFoundError has special properties', function (t) {
var error = new errors.NotFoundError()
t.equal(error.notFound, true)
t.equal(error.status, 404)
t.end()
})