Merge pull request #3520 from backstage/dependabot/npm_and_yarn/typescript-json-schema-0.45.0

build(deps): bump typescript-json-schema from 0.43.0 to 0.45.0
This commit is contained in:
Fredrik Adelöw
2020-12-02 16:46:53 +01:00
committed by GitHub
7 changed files with 99 additions and 84 deletions
+12
View File
@@ -97,3 +97,15 @@ declare module '*.module.sass' {
const classes: { readonly [key: string]: string };
export default classes;
}
// NOTE(freben): Both the fix, and the placement of the fix, are not great.
//
// The fix is because the PositionError was renamed to
// GeolocationPositionError outside of our control, and react-use is dependent
// on the old name.
//
// The placement is because it's the one location we have at the moment, where
// a central .d.ts file is imported by the frontend and can be amended.
//
// After both TS and react-use are bumped high enough, this should be removed.
type PositionError = GeolocationPositionError;
+1 -1
View File
@@ -36,7 +36,7 @@
"fs-extra": "^9.0.0",
"json-schema": "^0.2.5",
"json-schema-merge-allof": "^0.7.0",
"typescript-json-schema": "^0.43.0",
"typescript-json-schema": "^0.45.0",
"yaml": "^1.9.2",
"yup": "^0.29.3"
},
@@ -19,7 +19,7 @@ import { Observable } from '../../../types';
type RequestQueueEntry<ResultType> = {
scopes: Set<string>;
resolve: (value?: ResultType | PromiseLike<ResultType> | undefined) => void;
resolve: (value: ResultType | PromiseLike<ResultType>) => void;
reject: (reason: Error) => void;
};