- 25 Apr, 2022 16 commits
-
-
dependabot[bot] authored
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 21.1.0 to 22.0.0. - [Release notes](https://github.com/rollup/plugins/releases) - [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/commonjs-v22.0.0/packages/commonjs) --- updated-dependencies: - dependency-name: "@rollup/plugin-commonjs" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@sentry/cli](https://github.com/getsentry/sentry-cli) from 2.0.2 to 2.0.3. - [Release notes](https://github.com/getsentry/sentry-cli/releases) - [Changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-cli/compare/2.0.2...2.0.3) --- updated-dependencies: - dependency-name: "@sentry/cli" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [npm-packlist](https://github.com/npm/npm-packlist) from 5.0.0 to 5.0.2. - [Release notes](https://github.com/npm/npm-packlist/releases) - [Changelog](https://github.com/npm/npm-packlist/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/npm-packlist/compare/v5.0.0...v5.0.2) --- updated-dependencies: - dependency-name: npm-packlist dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1116.0 to 2.1120.0. - [Release notes](https://github.com/aws/aws-sdk-js/releases) - [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1116.0...v2.1120.0) --- updated-dependencies: - dependency-name: aws-sdk dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [core-js](https://github.com/zloirock/core-js) from 3.22.0 to 3.22.2. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.22.0...v3.22.2) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.4 to 10.4.5. - [Release notes](https://github.com/postcss/autoprefixer/releases) - [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/autoprefixer/compare/10.4.4...10.4.5) --- updated-dependencies: - dependency-name: autoprefixer dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [showdown](https://github.com/showdownjs/showdown) from 2.0.3 to 2.1.0. - [Release notes](https://github.com/showdownjs/showdown/releases) - [Changelog](https://github.com/showdownjs/showdown/blob/2.1.0/CHANGELOG.md) - [Commits](https://github.com/showdownjs/showdown/compare/2.0.3...2.1.0) --- updated-dependencies: - dependency-name: showdown dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.5.2 to 13.6.0. - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md) - [Commits](https://github.com/puppeteer/puppeteer/compare/v13.5.2...v13.6.0) --- updated-dependencies: - dependency-name: puppeteer dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.18 to 6.3.19. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v6.3.18...v6.3.19) --- updated-dependencies: - dependency-name: karma dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [eslint](https://github.com/eslint/eslint) from 8.13.0 to 8.14.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.13.0...v8.14.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
Robert Knight authored
Co-authored-by: Lyza Gardner <439947+lyzadanger@users.noreply.github.com>
-
Robert Knight authored
Split the `useStoreProxy` hook into a generic/base `useStore` hook that handles wrapping a store created with `createStore`, and a `useSidebarStore` hook that handles looking up the sidebar's main store via `useService('store')` and passing it to the base hook. This follows the existing separation of responsibilities between `createStore` vs `createSidebarStore`, and would potentially allow us to split the generic store infrastructure code into a separate package for use in other projects in future.
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
Show Notebook option in UserMenu regardless of feature-flag status.
-
- 22 Apr, 2022 2 commits
-
-
Robert Knight authored
The reference to "config fragment" may be unclear here, so just leave it out. Someone interested in the details of how configuration is passed to applications on launch can read the code that uses this config type.
-
Robert Knight authored
Various functions and constructors in the annotator code accepted a `config` parameter with an uninformative `Record<string, any>` type. Replace these types with more specific ones that specify required / known optional properties directly and use `Record<string, unknown>` for properties which are forwarded to other contexts. Also improve the documentation for the `getConfig` function which serves as the entry point for reading configuration in the annotator.
-
- 21 Apr, 2022 20 commits
-
-
Robert Knight authored
Use the suffix "Response" rather than "Result" for consistency with other API response types.
-
Robert Knight authored
Make `fetchJSON` return `Promise<unknown>` rather than `Promise<any>` and add appropriate types and casts for the remaining API / OAuth responses that didn't have them.
-
Robert Knight authored
When declaring a prop or parameter callback whose result is unused, the return type should be `void` rather than `any`. In this context the return type specifies what the callee _requires_, not what the caller _provides_.
-
Robert Knight authored
-
Robert Knight authored
Add spec link and mark `params` as optional.
-
Robert Knight authored
This option is enabled by default when `strict` is set [1], so just remove the override in src/tsconfig.json that turned it off. Also remove the `tsconfig.no-any.json` auxilliary configuration that was used during the migration. Fixes https://github.com/hypothesis/client/issues/3918 [1] https://www.typescriptlang.org/tsconfig#noImplicitAny
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Robert Knight authored
- Add missing types in MarkdownEditor implementation - Simplify `onEditText` prop to take a single `text` string argument instead of an object with a `text` property
-
- 20 Apr, 2022 2 commits
-
-
Robert Knight authored
When traversing the RouteMap there are three possibilities: - There is no route that matches the path segment - There is a child `RouteMap` that matches the path segment - There is a child `RouteMetadata` that matches the path segment, in which case we should only return it if we reached the end of the path Rewrite `findRouteMetadata` to handle these possibilities more explicitly. We already had tests that covered the expected behavior, this rewrite just avoid a cast which is technically incorrect.
-
Robert Knight authored
Fix remaining errors needed to make this directory typecheck with `noImplicitAny`. - Add missing types - Use `Object.entries` instead of `for..in` for record iteration in several places. Add an `entries` utility to make iteration over `Record<Key, Value>` types more convenient where `Key` is more specific than just a string. - Change localStorage fallback to use a Map rather than object for temporary data storage
-