chore: upgrade deps

This commit is contained in:
tiddlygit-test 2020-10-09 23:31:57 +08:00
parent a6764dc141
commit 317ad97a4a
10 changed files with 628 additions and 1009 deletions

View file

@ -1,5 +1,5 @@
// flow-typed signature: ff7a6a6a2432a0ed3eb1f84c542c0b71
// flow-typed version: <<STUB>>/flow-typed_v2.6.2/flow_v0.135.0
// flow-typed signature: 38cf9368b01c6ad0fd222d614d4e673b
// flow-typed version: <<STUB>>/flow-typed_v3.2.1/flow_v0.135.0
/**
* This is an autogenerated libdef stub for:

View file

@ -1,5 +1,5 @@
// flow-typed signature: fd1f4913b1e98b56d2cce8e457acf847
// flow-typed version: <<STUB>>/i18next-electron-fs-backend_v^1.3.4/flow_v0.135.0
// flow-typed signature: 4ca773ba0d8b41b8ff85b21848189b3e
// flow-typed version: <<STUB>>/i18next-electron-fs-backend_v^1.3.5/flow_v0.135.0
/**
* This is an autogenerated libdef stub for:

View file

@ -1,5 +1,5 @@
// flow-typed signature: 4384fe04a50d7d20931d715ada283464
// flow-typed version: <<STUB>>/i18next_v^19.8.0/flow_v0.135.0
// flow-typed signature: e025b537c18204ce8b57aaf5f6eb6c34
// flow-typed version: <<STUB>>/i18next_v^19.8.2/flow_v0.135.0
/**
* This is an autogenerated libdef stub for:

View file

@ -1,39 +0,0 @@
// flow-typed signature: ae7f062cf954b4896fbea1274de3a992
// flow-typed version: <<STUB>>/if-env_v^1.0.4/flow_v0.135.0
/**
* This is an autogenerated libdef stub for:
*
* 'if-env'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/
declare module 'if-env' {
declare module.exports: any;
}
/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'if-env/bin/if-env' {
declare module.exports: any;
}
declare module 'if-env/test/if-env.test' {
declare module.exports: any;
}
// Filename aliases
declare module 'if-env/bin/if-env.js' {
declare module.exports: $Exports<'if-env/bin/if-env'>;
}
declare module 'if-env/test/if-env.test.js' {
declare module.exports: $Exports<'if-env/test/if-env.test'>;
}

View file

@ -1,188 +0,0 @@
// flow-typed signature: 0c2e4c3e4d81c7583a0da54360c241da
// flow-typed version: <<STUB>>/patch-package_v6.2.2/flow_v0.135.0
/**
* This is an autogenerated libdef stub for:
*
* 'patch-package'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/
declare module 'patch-package' {
declare module.exports: any;
}
/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'patch-package/dist/applyPatches' {
declare module.exports: any;
}
declare module 'patch-package/dist/assertNever' {
declare module.exports: any;
}
declare module 'patch-package/dist/detectPackageManager' {
declare module.exports: any;
}
declare module 'patch-package/dist/filterFiles' {
declare module.exports: any;
}
declare module 'patch-package/dist/getAppRootPath' {
declare module.exports: any;
}
declare module 'patch-package/dist/getPackageResolution' {
declare module.exports: any;
}
declare module 'patch-package/dist' {
declare module.exports: any;
}
declare module 'patch-package/dist/makePatch' {
declare module.exports: any;
}
declare module 'patch-package/dist/makeRegExp' {
declare module.exports: any;
}
declare module 'patch-package/dist/PackageDetails' {
declare module.exports: any;
}
declare module 'patch-package/dist/PackageDetails.test' {
declare module.exports: any;
}
declare module 'patch-package/dist/packageIsDevDependency' {
declare module.exports: any;
}
declare module 'patch-package/dist/packageIsDevDependency.test' {
declare module.exports: any;
}
declare module 'patch-package/dist/patch/apply' {
declare module.exports: any;
}
declare module 'patch-package/dist/patch/parse' {
declare module.exports: any;
}
declare module 'patch-package/dist/patch/read' {
declare module.exports: any;
}
declare module 'patch-package/dist/patch/reverse' {
declare module.exports: any;
}
declare module 'patch-package/dist/patchFs' {
declare module.exports: any;
}
declare module 'patch-package/dist/path' {
declare module.exports: any;
}
declare module 'patch-package/dist/resolveRelativeFileDependencies' {
declare module.exports: any;
}
declare module 'patch-package/dist/resolveRelativeFileDependencies.test' {
declare module.exports: any;
}
declare module 'patch-package/dist/spawnSafe' {
declare module.exports: any;
}
// Filename aliases
declare module 'patch-package/dist/applyPatches.js' {
declare module.exports: $Exports<'patch-package/dist/applyPatches'>;
}
declare module 'patch-package/dist/assertNever.js' {
declare module.exports: $Exports<'patch-package/dist/assertNever'>;
}
declare module 'patch-package/dist/detectPackageManager.js' {
declare module.exports: $Exports<'patch-package/dist/detectPackageManager'>;
}
declare module 'patch-package/dist/filterFiles.js' {
declare module.exports: $Exports<'patch-package/dist/filterFiles'>;
}
declare module 'patch-package/dist/getAppRootPath.js' {
declare module.exports: $Exports<'patch-package/dist/getAppRootPath'>;
}
declare module 'patch-package/dist/getPackageResolution.js' {
declare module.exports: $Exports<'patch-package/dist/getPackageResolution'>;
}
declare module 'patch-package/dist/index' {
declare module.exports: $Exports<'patch-package/dist'>;
}
declare module 'patch-package/dist/index.js' {
declare module.exports: $Exports<'patch-package/dist'>;
}
declare module 'patch-package/dist/makePatch.js' {
declare module.exports: $Exports<'patch-package/dist/makePatch'>;
}
declare module 'patch-package/dist/makeRegExp.js' {
declare module.exports: $Exports<'patch-package/dist/makeRegExp'>;
}
declare module 'patch-package/dist/PackageDetails.js' {
declare module.exports: $Exports<'patch-package/dist/PackageDetails'>;
}
declare module 'patch-package/dist/PackageDetails.test.js' {
declare module.exports: $Exports<'patch-package/dist/PackageDetails.test'>;
}
declare module 'patch-package/dist/packageIsDevDependency.js' {
declare module.exports: $Exports<'patch-package/dist/packageIsDevDependency'>;
}
declare module 'patch-package/dist/packageIsDevDependency.test.js' {
declare module.exports: $Exports<'patch-package/dist/packageIsDevDependency.test'>;
}
declare module 'patch-package/dist/patch/apply.js' {
declare module.exports: $Exports<'patch-package/dist/patch/apply'>;
}
declare module 'patch-package/dist/patch/parse.js' {
declare module.exports: $Exports<'patch-package/dist/patch/parse'>;
}
declare module 'patch-package/dist/patch/read.js' {
declare module.exports: $Exports<'patch-package/dist/patch/read'>;
}
declare module 'patch-package/dist/patch/reverse.js' {
declare module.exports: $Exports<'patch-package/dist/patch/reverse'>;
}
declare module 'patch-package/dist/patchFs.js' {
declare module.exports: $Exports<'patch-package/dist/patchFs'>;
}
declare module 'patch-package/dist/path.js' {
declare module.exports: $Exports<'patch-package/dist/path'>;
}
declare module 'patch-package/dist/resolveRelativeFileDependencies.js' {
declare module.exports: $Exports<'patch-package/dist/resolveRelativeFileDependencies'>;
}
declare module 'patch-package/dist/resolveRelativeFileDependencies.test.js' {
declare module.exports: $Exports<'patch-package/dist/resolveRelativeFileDependencies.test'>;
}
declare module 'patch-package/dist/spawnSafe.js' {
declare module.exports: $Exports<'patch-package/dist/spawnSafe'>;
}
declare module 'patch-package/index' {
declare module.exports: $Exports<'patch-package'>;
}
declare module 'patch-package/index.js' {
declare module.exports: $Exports<'patch-package'>;
}

View file

@ -1,5 +1,5 @@
// flow-typed signature: 03ef50f3dd50edb267d34999a9a8f986
// flow-typed version: <<STUB>>/proxy-agent_v3.1.1/flow_v0.135.0
// flow-typed signature: a09e676723a6497a38e4cb8c96b7bfa2
// flow-typed version: <<STUB>>/proxy-agent_v4.0.0/flow_v0.135.0
/**
* This is an autogenerated libdef stub for:

110
flow-typed/npm/react-dom_v16.x.x.js vendored Normal file
View file

@ -0,0 +1,110 @@
// flow-typed signature: a333d1cdbb5a4103d0be63a412070e22
// flow-typed version: b2693c1879/react-dom_v16.x.x/flow_>=v0.117.x
declare module 'react-dom' {
declare function findDOMNode(
componentOrElement: Element | ?React$Component<any, any>,
): null | Element | Text;
declare function render<ElementType: React$ElementType>(
element: React$Element<ElementType>,
container: Element,
callback?: () => void,
): React$ElementRef<ElementType>;
declare function hydrate<ElementType: React$ElementType>(
element: React$Element<ElementType>,
container: Element,
callback?: () => void,
): React$ElementRef<ElementType>;
declare function createPortal(
node: React$Node,
container: Element,
): React$Portal;
declare function unmountComponentAtNode(container: any): boolean;
declare var version: string;
declare function unstable_batchedUpdates<A, B, C, D, E>(
callback: (a: A, b: B, c: C, d: D, e: E) => mixed,
a: A,
b: B,
c: C,
d: D,
e: E,
): void;
declare function unstable_renderSubtreeIntoContainer<
ElementType: React$ElementType,
>(
parentComponent: React$Component<any, any>,
nextElement: React$Element<ElementType>,
container: any,
callback?: () => void,
): React$ElementRef<ElementType>;
}
declare module 'react-dom/server' {
declare function renderToString(element: React$Node): string;
declare function renderToStaticMarkup(element: React$Node): string;
declare function renderToNodeStream(element: React$Node): stream$Readable;
declare function renderToStaticNodeStream(
element: React$Node,
): stream$Readable;
declare var version: string;
}
type Thenable = { then(resolve: () => mixed, reject?: () => mixed): mixed, ... };
declare module 'react-dom/test-utils' {
declare var Simulate: { [eventName: string]: (element: Element, eventData?: Object) => void, ... };
declare function renderIntoDocument(
instance: React$Element<any>,
): React$Component<any, any>;
declare function mockComponent(
componentClass: React$ElementType,
mockTagName?: string,
): Object;
declare function isElement(element: React$Element<any>): boolean;
declare function isElementOfType(
element: React$Element<any>,
componentClass: React$ElementType,
): boolean;
declare function isDOMComponent(instance: any): boolean;
declare function isCompositeComponent(
instance: React$Component<any, any>,
): boolean;
declare function isCompositeComponentWithType(
instance: React$Component<any, any>,
componentClass: React$ElementType,
): boolean;
declare function findAllInRenderedTree(
tree: React$Component<any, any>,
test: (child: React$Component<any, any>) => boolean,
): Array<React$Component<any, any>>;
declare function scryRenderedDOMComponentsWithClass(
tree: React$Component<any, any>,
className: string,
): Array<Element>;
declare function findRenderedDOMComponentWithClass(
tree: React$Component<any, any>,
className: string,
): ?Element;
declare function scryRenderedDOMComponentsWithTag(
tree: React$Component<any, any>,
tagName: string,
): Array<Element>;
declare function findRenderedDOMComponentWithTag(
tree: React$Component<any, any>,
tagName: string,
): ?Element;
declare function scryRenderedComponentsWithType(
tree: React$Component<any, any>,
componentClass: React$ElementType,
): Array<React$Component<any, any>>;
declare function findRenderedComponentWithType(
tree: React$Component<any, any>,
componentClass: React$ElementType,
): ?React$Component<any, any>;
declare function act(callback: () => void | Thenable): Thenable;
}

View file

@ -1,5 +1,5 @@
// flow-typed signature: 08ca16c13fa8dff8fad01dd0c1a9a59a
// flow-typed version: <<STUB>>/typeface-roboto_v0.0.75/flow_v0.135.0
// flow-typed signature: 74baf179750bd624a6c35032c121ba93
// flow-typed version: <<STUB>>/typeface-roboto_v1.1.13/flow_v0.135.0
/**
* This is an autogenerated libdef stub for:

1261
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -31,19 +31,19 @@
"electron-updater": "4.3.5",
"electron-window-state": "5.0.3",
"fs-extra": "9.0.1",
"i18next": "^19.8.0",
"i18next-electron-fs-backend": "^1.3.4",
"i18next": "^19.8.2",
"i18next-electron-fs-backend": "^1.3.5",
"i18next-fs-backend": "^1.0.7",
"is-url": "1.2.4",
"jimp": "0.16.1",
"lodash": "4.17.20",
"menubar": "9.0.1",
"node-fetch": "2.6.1",
"proxy-agent": "3.1.1",
"proxy-agent": "4.0.0",
"regedit": "3.0.3",
"semver": "7.3.2",
"tmp": "0.2.1",
"uuid": "8.3.0",
"uuid": "8.3.1",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.0",
"winston-transport": "^4.4.0"
@ -84,10 +84,8 @@
"eslint-plugin-standard": "4.0.1",
"eslint-plugin-unicorn": "22.0.0",
"flow-bin": "0.135.0",
"flow-typed": "2.6.2",
"flow-typed": "3.2.1",
"graphql-hooks": "5.0.0",
"if-env": "^1.0.4",
"patch-package": "6.2.2",
"prop-types": "15.7.2",
"react": "16.13.1",
"react-ace": "9.1.4",
@ -106,7 +104,7 @@
"simplebar-react": "3.0.0-beta.5",
"styled-components": "5.2.0",
"styled-is": "1.3.0",
"typeface-roboto": "0.0.75",
"typeface-roboto": "1.1.13",
"wait-on": "5.2.0"
},
"homepage": "./",
@ -115,9 +113,6 @@
"disable-eslint"
],
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
"last 1 electron version"
]
}