From 325fd59ab396c3148b177b630aeed958293c6930 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 11:40:35 +0100 Subject: [PATCH] chore(deps-dev): bump prettier from 2.7.1 to 3.2.5 (#775) * 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](https://github.com/prettier/prettier/compare/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] * (chore): run prettier --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ilan-gold --- package.json | 2 +- packages/loaders/src/tiff/lib/indexers.ts | 4 +++- packages/types/src/index.d.ts | 10 +++++----- pnpm-lock.yaml | 10 ++++++++-- sites/avivator/index.html | 2 +- 5 files changed, 18 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index c41838488..1e55bf087 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/loaders/src/tiff/lib/indexers.ts b/packages/loaders/src/tiff/lib/indexers.ts index 573cfbe2c..e876c1788 100644 --- a/packages/loaders/src/tiff/lib/indexers.ts +++ b/packages/loaders/src/tiff/lib/indexers.ts @@ -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 }>; }; diff --git a/packages/types/src/index.d.ts b/packages/types/src/index.d.ts index c1aab7d19..474188942 100644 --- a/packages/types/src/index.d.ts +++ b/packages/types/src/index.d.ts @@ -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 { @@ -63,7 +63,7 @@ type ColorPaletteExtensionProps = { }; type AdditiveColormapExtensionProps = { - colormap: typeof COLORMAPS[number]; + colormap: (typeof COLORMAPS)[number]; opacity: number; useTransparentColor: boolean; }; @@ -82,7 +82,7 @@ type ColorPalette3DExtensionProps = { }; type AdditiveColormap3DExtensionProps = { - colormap: typeof COLORMAPS[number]; + colormap: (typeof COLORMAPS)[number]; }; // types to be refined _if_ on LayerProps @@ -101,8 +101,8 @@ type ExtractLoader = LayerProps extends { } ? { loader: PixelSource[] } : LayerProps extends { loader: object } - ? { loader: PixelSource } - : unknown; + ? { loader: PixelSource } + : unknown; // Add optional extention props to layer if 'extensions' is defined on LayerProps. type WithExtensionProps = LayerProps extends { extensions: unknown } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 977ab9833..d0df6fe31 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -94,8 +94,8 @@ importers: specifier: ^4.0.3 version: 4.0.3 prettier: - specifier: ^2.6.2 - version: 2.7.1 + specifier: ^3.2.5 + version: 3.2.5 tap-spec: specifier: ^5.0.0 version: 5.0.0 @@ -7938,6 +7938,12 @@ packages: hasBin: true dev: true + /prettier@3.2.5: + resolution: {integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==} + engines: {node: '>=14'} + hasBin: true + dev: true + /pretty-bytes@5.6.0: resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} engines: {node: '>=6'} diff --git a/sites/avivator/index.html b/sites/avivator/index.html index ce521e209..fb34589d2 100644 --- a/sites/avivator/index.html +++ b/sites/avivator/index.html @@ -1,4 +1,4 @@ - +