Initial
This commit is contained in:
21
resources/app/node_modules/level-supports/LICENSE
generated
vendored
Normal file
21
resources/app/node_modules/level-supports/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019 The contributors to level-supports.
|
||||
|
||||
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.
|
||||
26
resources/app/node_modules/level-supports/index.js
generated
vendored
Normal file
26
resources/app/node_modules/level-supports/index.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
'use strict'
|
||||
|
||||
exports.supports = function supports (...manifests) {
|
||||
const manifest = manifests.reduce((acc, m) => Object.assign(acc, m), {})
|
||||
|
||||
return Object.assign(manifest, {
|
||||
snapshots: manifest.snapshots || false,
|
||||
permanence: manifest.permanence || false,
|
||||
seek: manifest.seek || false,
|
||||
clear: manifest.clear || false,
|
||||
getMany: manifest.getMany || false,
|
||||
keyIterator: manifest.keyIterator || false,
|
||||
valueIterator: manifest.valueIterator || false,
|
||||
iteratorNextv: manifest.iteratorNextv || false,
|
||||
iteratorAll: manifest.iteratorAll || false,
|
||||
status: manifest.status || false,
|
||||
createIfMissing: manifest.createIfMissing || false,
|
||||
errorIfExists: manifest.errorIfExists || false,
|
||||
deferredOpen: manifest.deferredOpen || false,
|
||||
promises: manifest.promises || false,
|
||||
streams: manifest.streams || false,
|
||||
encodings: Object.assign({}, manifest.encodings),
|
||||
events: Object.assign({}, manifest.events),
|
||||
additionalMethods: Object.assign({}, manifest.additionalMethods)
|
||||
})
|
||||
}
|
||||
34
resources/app/node_modules/level-supports/package.json
generated
vendored
Normal file
34
resources/app/node_modules/level-supports/package.json
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "level-supports",
|
||||
"version": "4.0.1",
|
||||
"description": "Create a manifest describing the abilities of an abstract-level database",
|
||||
"license": "MIT",
|
||||
"types": "./index.d.ts",
|
||||
"files": [
|
||||
"test",
|
||||
"CHANGELOG.md",
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@types/node": "^17.0.6",
|
||||
"@voxpelli/tsconfig": "^3.1.0",
|
||||
"airtap": "^4.0.4",
|
||||
"airtap-playwright": "^1.0.1",
|
||||
"faucet": "^0.0.1",
|
||||
"hallmark": "^4.0.0",
|
||||
"nyc": "^15.1.0",
|
||||
"standard": "^16.0.3",
|
||||
"tape": "^5.4.0",
|
||||
"ts-standard": "^11.0.0",
|
||||
"typescript": "^4.5.4"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Level/supports.git"
|
||||
},
|
||||
"homepage": "https://github.com/Level/supports",
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user