Skip to content

Commit 017f67d

Browse files
committed
Update
1 parent 50e141e commit 017f67d

File tree

3 files changed

+50
-28
lines changed

3 files changed

+50
-28
lines changed

lib/hooks/usePostRevisions.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ declare type DeletePostRevision = {
1919
parent?: number;
2020
force?: boolean;
2121
};
22-
export declare const usePostRevisions: (parent: number, options: UsePostRevisions) => {
22+
export declare const usePostRevisions: (parent: number, options?: UsePostRevisions | undefined) => {
2323
data: object[];
2424
loading: boolean;
2525
error: string | object | null;

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@
3636
"homepage": "https://github.com/JB1905/react-wordpress-hooks#readme",
3737
"devDependencies": {
3838
"@types/react": "^16.9.2",
39-
"@typescript-eslint/parser": "^2.0.0",
40-
"docz": "^1.2.0",
39+
"@typescript-eslint/parser": "^2.1.0",
40+
"docz": "^1.3.1",
4141
"docz-theme-default": "^1.2.0",
4242
"eslint": "^6.3.0",
43-
"eslint-config-prettier": "^6.1.0",
43+
"eslint-config-prettier": "^6.2.0",
4444
"eslint-plugin-prettier": "^3.1.0",
4545
"eslint-plugin-react": "^7.14.3",
4646
"eslint-plugin-react-hooks": "^2.0.1",
4747
"gh-pages": "^2.1.1",
48-
"husky": "^3.0.4",
48+
"husky": "^3.0.5",
4949
"lint-staged": "^9.2.5",
5050
"prettier": "^1.18.2",
5151
"react": "^16.9.0",

yarn.lock

Lines changed: 45 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,30 +1176,32 @@
11761176
"@types/unist" "*"
11771177
"@types/vfile-message" "*"
11781178

1179-
"@typescript-eslint/experimental-utils@2.0.0":
1180-
version "2.0.0"
1181-
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.0.0.tgz#f3d298bb411357f35c4184e24280b256b6321949"
1182-
integrity sha512-XGJG6GNBXIEx/mN4eTRypN/EUmsd0VhVGQ1AG+WTgdvjHl0G8vHhVBHrd/5oI6RRYBRnedNymSYWW1HAdivtmg==
1179+
"@typescript-eslint/experimental-utils@2.1.0":
1180+
version "2.1.0"
1181+
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.1.0.tgz#0837229f0e75a32db0db9bf662ad0eface914453"
1182+
integrity sha512-ZJGLYXa4nxjNzomaEk1qts38B/vludg2LOM7dRc7SppEKsMPTS1swaTKS/pom+x4d/luJGoG00BDIss7PR1NQA==
11831183
dependencies:
11841184
"@types/json-schema" "^7.0.3"
1185-
"@typescript-eslint/typescript-estree" "2.0.0"
1185+
"@typescript-eslint/typescript-estree" "2.1.0"
11861186
eslint-scope "^4.0.0"
11871187

1188-
"@typescript-eslint/parser@^2.0.0":
1189-
version "2.0.0"
1190-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.0.0.tgz#4273bb19d03489daf8372cdaccbc8042e098178f"
1191-
integrity sha512-ibyMBMr0383ZKserIsp67+WnNVoM402HKkxqXGlxEZsXtnGGurbnY90pBO3e0nBUM7chEEOcxUhgw9aPq7fEBA==
1188+
"@typescript-eslint/parser@^2.1.0":
1189+
version "2.1.0"
1190+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.1.0.tgz#ca62b26fa6a5a34ecdec4a000f22baf103791830"
1191+
integrity sha512-0+hzirRJoqE1T4lSSvCfKD+kWjIpDWfbGBiisK5CENcr+22pPkHB2sfV1giON+UxHV4A08SSrQonZk7X2zIQdw==
11921192
dependencies:
11931193
"@types/eslint-visitor-keys" "^1.0.0"
1194-
"@typescript-eslint/experimental-utils" "2.0.0"
1195-
"@typescript-eslint/typescript-estree" "2.0.0"
1194+
"@typescript-eslint/experimental-utils" "2.1.0"
1195+
"@typescript-eslint/typescript-estree" "2.1.0"
11961196
eslint-visitor-keys "^1.0.0"
11971197

1198-
"@typescript-eslint/typescript-estree@2.0.0":
1199-
version "2.0.0"
1200-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.0.0.tgz#c9f6c0efd1b11475540d6a55dc973cc5b9a67e77"
1201-
integrity sha512-NXbmzA3vWrSgavymlzMWNecgNOuiMMp62MO3kI7awZRLRcsA1QrYWo6q08m++uuAGVbXH/prZi2y1AWuhSu63w==
1198+
"@typescript-eslint/typescript-estree@2.1.0":
1199+
version "2.1.0"
1200+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.1.0.tgz#88e676cc9760516711f6fe43958adc31b93de8e5"
1201+
integrity sha512-482ErJJ7QYghBh+KA9G+Fwcuk/PLTy+9NBMz8S+6UFrUUnVvHRNAL7I70kdws2te0FBYEZW7pkDaXoT+y8UARw==
12021202
dependencies:
1203+
glob "^7.1.4"
1204+
is-glob "^4.0.1"
12031205
lodash.unescape "4.0.1"
12041206
semver "^6.2.0"
12051207

@@ -3357,6 +3359,26 @@ docz@^1.2.0:
33573359
ulid "^2.3.0"
33583360
yargs "^13.2.2"
33593361

3362+
docz@^1.3.1:
3363+
version "1.3.1"
3364+
resolved "https://registry.yarnpkg.com/docz/-/docz-1.3.1.tgz#0e2381d1d435af9ef3884c4a79121e301ae3ddbf"
3365+
integrity sha512-Y6MOmuZLDldVoTXw3G3IK/GCvfyCyKF7R0gYW7B4Y0/31CHccx1yeXa1lXVtXWvQ5cCZIgeUM5a7+QWhFCLJ9g==
3366+
dependencies:
3367+
"@loadable/component" "^5.9.0"
3368+
"@mdx-js/react" "^1.0.16"
3369+
"@reach/router" "^1.2.1"
3370+
array-sort "^1.0.0"
3371+
capitalize "^2.0.0"
3372+
docz-core "^1.2.0"
3373+
fast-deep-equal "^2.0.1"
3374+
lodash "^4.17.11"
3375+
match-sorter "^3.0.0"
3376+
prop-types "^15.7.2"
3377+
react "^16.8.6"
3378+
react-dom "^16.8.6"
3379+
ulid "^2.3.0"
3380+
yargs "^13.2.2"
3381+
33603382
dom-iterator@^1.0.0:
33613383
version "1.0.0"
33623384
resolved "https://registry.yarnpkg.com/dom-iterator/-/dom-iterator-1.0.0.tgz#9c09899846ec41c2d257adc4d6015e4759ef05ad"
@@ -3604,10 +3626,10 @@ escodegen@^1.8.1:
36043626
optionalDependencies:
36053627
source-map "~0.6.1"
36063628

3607-
eslint-config-prettier@^6.1.0:
3608-
version "6.1.0"
3609-
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.1.0.tgz#e6f678ba367fbd1273998d5510f76f004e9dce7b"
3610-
integrity sha512-k9fny9sPjIBQ2ftFTesJV21Rg4R/7a7t7LCtZVrYQiHEp8Nnuk3EGaDmsKSAnsPj0BYcgB2zxzHa2NTkIxcOLg==
3629+
eslint-config-prettier@^6.2.0:
3630+
version "6.2.0"
3631+
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.2.0.tgz#80e0b8714e3f6868c4ac2a25fbf39c02e73527a7"
3632+
integrity sha512-VLsgK/D+S/FEsda7Um1+N8FThec6LqE3vhcMyp8mlmto97y3fGf3DX7byJexGuOb1QY0Z/zz222U5t+xSfcZDQ==
36113633
dependencies:
36123634
get-stdin "^6.0.0"
36133635

@@ -4890,10 +4912,10 @@ humanize-url@^1.0.0:
48904912
normalize-url "^1.0.0"
48914913
strip-url-auth "^1.0.0"
48924914

4893-
husky@^3.0.4:
4894-
version "3.0.4"
4895-
resolved "https://registry.yarnpkg.com/husky/-/husky-3.0.4.tgz#10a48ac11ab50859b0939750fa0b4e07ad0bf669"
4896-
integrity sha512-7Rnt8aJfy+MlV28snmYK7O7vWwtOfeVxV6KhLpUFXlmx5ukQ1nQmNUB7QsAwSgdySB5X+bm7q7JIRgazqBUzKA==
4915+
husky@^3.0.5:
4916+
version "3.0.5"
4917+
resolved "https://registry.yarnpkg.com/husky/-/husky-3.0.5.tgz#d7db27c346645a8dc52df02aa534a377ad7925e0"
4918+
integrity sha512-cKd09Jy9cDyNIvAdN2QQAP/oA21sle4FWXjIMDttailpLAYZuBE7WaPmhrkj+afS8Sj9isghAtFvWSQ0JiwOHg==
48974919
dependencies:
48984920
chalk "^2.4.2"
48994921
cosmiconfig "^5.2.1"

0 commit comments

Comments
 (0)