fixes and admin data

This commit is contained in:
2021-02-09 18:30:17 +01:00
parent 9dd4d10396
commit 93bff025e9
73 changed files with 1638 additions and 2411 deletions

4
node_modules/dot-prop/index.d.ts generated vendored
View File

@@ -35,6 +35,7 @@ declare const dotProp: {
@param object - Object to set the `path` value.
@param path - Path of the property in the object, using `.` to separate each nested key. Use `\\.` if you have a `.` in the key.
@param value - Value to set at `path`.
@returns The object.
@example
```
@@ -77,6 +78,7 @@ declare const dotProp: {
/**
@param object - Object to delete the `path` value.
@param path - Path of the property in the object, using `.` to separate each nested key. Use `\\.` if you have a `.` in the key.
@returns A boolean of whether the property existed before being deleted.
@example
```
@@ -93,7 +95,7 @@ declare const dotProp: {
//=> {foo: {bar: {y: 'x'}}}
```
*/
delete(object: {[key: string]: any}, path: string): void;
delete(object: {[key: string]: any}, path: string): boolean;
};
export = dotProp;

6
node_modules/dot-prop/index.js generated vendored
View File

@@ -93,7 +93,7 @@ module.exports = {
delete(object, path) {
if (!isObj(object) || typeof path !== 'string') {
return;
return false;
}
const pathArray = getPathSegments(path);
@@ -103,13 +103,13 @@ module.exports = {
if (i === pathArray.length - 1) {
delete object[p];
return;
return true;
}
object = object[p];
if (!isObj(object)) {
return;
return false;
}
}
},

124
node_modules/dot-prop/package.json generated vendored
View File

@@ -1,49 +1,77 @@
{
"name": "dot-prop",
"version": "5.2.0",
"description": "Get, set, or delete a property from a nested object using a dot path",
"license": "MIT",
"repository": "sindresorhus/dot-prop",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=8"
},
"scripts": {
"test": "xo && ava && tsd",
"bench": "node bench.js"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"object",
"prop",
"property",
"dot",
"path",
"get",
"set",
"delete",
"access",
"notation",
"dotty"
],
"dependencies": {
"is-obj": "^2.0.0"
},
"devDependencies": {
"ava": "^2.1.0",
"benchmark": "^2.1.4",
"tsd": "^0.7.2",
"xo": "^0.25.3"
}
,"_resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.2.0.tgz"
,"_integrity": "sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A=="
,"_from": "dot-prop@5.2.0"
}
"_from": "dot-prop@^5.2.0",
"_id": "dot-prop@5.3.0",
"_inBundle": false,
"_integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==",
"_location": "/dot-prop",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "dot-prop@^5.2.0",
"name": "dot-prop",
"escapedName": "dot-prop",
"rawSpec": "^5.2.0",
"saveSpec": null,
"fetchSpec": "^5.2.0"
},
"_requiredBy": [
"/configstore"
],
"_resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz",
"_shasum": "90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88",
"_spec": "dot-prop@^5.2.0",
"_where": "C:\\Users\\Jonasz\\Desktop\\Menui\\menui_backend\\node_modules\\configstore",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/dot-prop/issues"
},
"bundleDependencies": false,
"dependencies": {
"is-obj": "^2.0.0"
},
"deprecated": false,
"description": "Get, set, or delete a property from a nested object using a dot path",
"devDependencies": {
"ava": "^2.1.0",
"benchmark": "^2.1.4",
"tsd": "^0.7.2",
"xo": "^0.25.3"
},
"engines": {
"node": ">=8"
},
"files": [
"index.js",
"index.d.ts"
],
"homepage": "https://github.com/sindresorhus/dot-prop#readme",
"keywords": [
"object",
"prop",
"property",
"dot",
"path",
"get",
"set",
"delete",
"access",
"notation",
"dotty"
],
"license": "MIT",
"name": "dot-prop",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/dot-prop.git"
},
"scripts": {
"bench": "node bench.js",
"test": "xo && ava && tsd"
},
"version": "5.3.0"
}

2
node_modules/dot-prop/readme.md generated vendored
View File

@@ -71,6 +71,8 @@ Returns the object.
### delete(object, path)
Returns a boolean of whether the property existed before being deleted.
#### object
Type: `object`