Update nested-property (#6720)

This commit is contained in:
MeiMei 2020-10-01 19:51:34 +09:00 committed by GitHub
parent ea7504f564
commit e9284930df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 26 deletions

View File

@ -181,7 +181,7 @@
"moji": "0.5.1",
"ms": "2.1.2",
"multer": "1.4.2",
"nested-property": "2.0.1",
"nested-property": "4.0.0",
"node-fetch": "2.6.0",
"nodemailer": "6.4.11",
"nprogress": "0.2.0",

View File

@ -1,21 +0,0 @@
type Obj = { [key: string]: any };
declare module 'nested-property' {
interface IHasNestedPropertyOptions {
own?: boolean;
}
interface IIsInNestedPropertyOptions {
validPath?: boolean;
}
export function set<T>(object: T, property: string, value: any): T;
export function get(object: Obj, property: string): any;
export function has(object: Obj, property: string, options?: IHasNestedPropertyOptions): boolean;
export function hasOwn(object: Obj, property: string, options?: IHasNestedPropertyOptions): boolean;
export function isIn(object: Obj, property: string, objectInPath: Obj, options?: IIsInNestedPropertyOptions): boolean;
}

View File

@ -6266,10 +6266,10 @@ neo-async@^2.6.2:
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==
nested-property@2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/nested-property/-/nested-property-2.0.1.tgz#52d569825f0cfd2c2d68170d7facedd4466614a5"
integrity sha512-oOs/zwh5Rw4vBDJxxFrEW066Su+VxLmIUkZkJB4d3pi6hjm/Kn97vWW1f+uGbLiBI8MeiATBj88OTgNpNq7/QA==
nested-property@4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/nested-property/-/nested-property-4.0.0.tgz#a67b5a31991e701e03cdbaa6453bc5b1011bb88d"
integrity sha512-yFehXNWRs4cM0+dz7QxCd06hTbWbSkV0ISsqBfkntU6TOY4Qm3Q88fRRLOddkGh2Qq6dZvnKVAahfhjcUvLnyA==
next-line@^1.1.0:
version "1.1.0"