Skip to content

Commit

Permalink
chore(deps-dev): bump prettier from 2.7.1 to 3.2.5 (#775)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump prettier from 2.7.1 to 3.2.5

Bumps [prettier](https://github.com/prettier/prettier) from 2.7.1 to 3.2.5.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.7.1...3.2.5)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* (chore): run prettier

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ilan-gold <[email protected]>
  • Loading branch information
dependabot[bot] and ilan-gold authored Mar 12, 2024
1 parent 0901b82 commit 325fd59
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"esno": "^4.0.0",
"gl": "^6.0.2",
"gray-matter": "^4.0.3",
"prettier": "^2.6.2",
"prettier": "^3.2.5",
"tap-spec": "^5.0.0",
"tape": "^5.5.3",
"tape-catch": "^1.0.6",
Expand Down
4 changes: 3 additions & 1 deletion packages/loaders/src/tiff/lib/indexers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ export type OmeTiffIndexer = (
* bioformats case we need to return the GeoTIFF object and the IFD index.
*/
export type OmeTiffResolver = {
(sel: OmeTiffSelection):
(
sel: OmeTiffSelection
):
| { tiff: GeoTIFF; ifdIndex: number }
| Promise<{ tiff: GeoTIFF; ifdIndex: number }>;
};
Expand Down
10 changes: 5 additions & 5 deletions packages/types/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Matrix4 } from 'math.gl';

export type SupportedDtype = keyof typeof DTYPE_VALUES;
export type SupportedTypedArray = InstanceType<
typeof globalThis[`${SupportedDtype}Array`]
(typeof globalThis)[`${SupportedDtype}Array`]
>;

export interface PixelData {
Expand Down Expand Up @@ -63,7 +63,7 @@ type ColorPaletteExtensionProps = {
};

type AdditiveColormapExtensionProps = {
colormap: typeof COLORMAPS[number];
colormap: (typeof COLORMAPS)[number];
opacity: number;
useTransparentColor: boolean;
};
Expand All @@ -82,7 +82,7 @@ type ColorPalette3DExtensionProps = {
};

type AdditiveColormap3DExtensionProps = {
colormap: typeof COLORMAPS[number];
colormap: (typeof COLORMAPS)[number];
};

// types to be refined _if_ on LayerProps
Expand All @@ -101,8 +101,8 @@ type ExtractLoader<LayerProps, S extends string[]> = LayerProps extends {
}
? { loader: PixelSource<S>[] }
: LayerProps extends { loader: object }
? { loader: PixelSource<S> }
: unknown;
? { loader: PixelSource<S> }
: unknown;

// Add optional extention props to layer if 'extensions' is defined on LayerProps.
type WithExtensionProps<LayerProps> = LayerProps extends { extensions: unknown }
Expand Down
10 changes: 8 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sites/avivator/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down

0 comments on commit 325fd59

Please sign in to comment.