Skip to content

Commit

Permalink
Merge pull request #1195 from thewtex/itk-wasm-1.0b178
Browse files Browse the repository at this point in the history
itk wasm 1.0b178
  • Loading branch information
thewtex authored Aug 12, 2024
2 parents e7e7e5a + 2e0cda6 commit 2033181
Show file tree
Hide file tree
Showing 61 changed files with 93 additions and 90 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ cypress/videos/
packages/core/typescript/itk-wasm/dist

CMakePresets.json

packages/core/typescript/itk-wasm/test/data/cow.iwm
packages/transform-io/typescript/demo-app/
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.1.1"
__version__ = "5.2.0"

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.1.1"
__version__ = "5.2.0"
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.1.1"
__version__ = "5.2.0"
4 changes: 2 additions & 2 deletions packages/compare-images/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

> Compare images with a tolerance for regression testing.
[👨‍💻 **Live API Demo**](https://insightsoftwareconsortium.github.io/itk-wasm/compare-images/ts/app/ ':include :type=iframe width=100% height=800px')
[👨‍💻 **Live API Demo**](https://insightsoftwareconsortium.github.io/ITK-Wasm/compare-images/ts/app/ ':include :type=iframe width=100% height=800px')

[🕮 **Documentation** 📚](https://insightsoftwareconsortium.github.io/itk-wasm/compare-images/ts/docs/)
[🕮 **Documentation** 📚](https://insightsoftwareconsortium.github.io/ITK-Wasm/compare-images/ts/docs/)


## Installation
Expand Down
2 changes: 1 addition & 1 deletion packages/compare-images/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itk-wasm/compare-images",
"version": "5.1.1",
"version": "5.2.0",
"packageManager": "[email protected]",
"description": "Compare images with a tolerance for regression testing.",
"type": "module",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

import { setPipelineWorkerUrl } from './index.js'
import pipelineWorker from '../node_modules/itk-wasm/dist/pipeline/web-workers/bundles/itk-wasm-pipeline.worker.js'
setPipelineWorkerUrl(pipelineWorker)
setPipelineWorkerUrl(pipelineWorker as string)

export * from './index.js'
export * from './index.js'
2 changes: 1 addition & 1 deletion packages/compare-meshes/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itk-wasm/compare-meshes",
"version": "0.3.0",
"version": "0.4.0",
"packageManager": "[email protected]",
"description": "Compare meshes and polydata for regression testing.",
"type": "module",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

import { setPipelineWorkerUrl } from './index.js'
import pipelineWorker from '../node_modules/itk-wasm/dist/pipeline/web-workers/bundles/itk-wasm-pipeline.worker.js'
setPipelineWorkerUrl(pipelineWorker)
setPipelineWorkerUrl(pipelineWorker as string)

export * from './index.js'
export * from './index.js'
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.2.0"
__version__ = "3.3.0"

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.2.0"
__version__ = "3.3.0"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.2.0"
__version__ = "3.3.0"
4 changes: 2 additions & 2 deletions packages/compress-stringify/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

> Zstandard compression and decompression and base64 encoding and decoding in WebAssembly.
[👨‍💻 **Live API Demo**](https://insightsoftwareconsortium.github.io/itk-wasm/compress-stringify/ts/app/ ':include :type=iframe width=100% height=800px')
[👨‍💻 **Live API Demo**](https://insightsoftwareconsortium.github.io/ITK-Wasm/compress-stringify/ts/app/ ':include :type=iframe width=100% height=800px')

[🕮 **Documentation** 📚](https://insightsoftwareconsortium.github.io/itk-wasm/compress-stringify/ts/docs/)
[🕮 **Documentation** 📚](https://insightsoftwareconsortium.github.io/ITK-Wasm/compress-stringify/ts/docs/)

## Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/compress-stringify/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itk-wasm/compress-stringify",
"version": "3.2.0",
"version": "3.3.0",
"packageManager": "[email protected]",
"description": "Zstandard compression and decompression and base64 encoding and decoding in WebAssembly.",
"type": "module",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

import { setPipelineWorkerUrl } from './index.js'
import pipelineWorker from '../node_modules/itk-wasm/dist/pipeline/web-workers/bundles/itk-wasm-pipeline.worker.js'
setPipelineWorkerUrl(pipelineWorker)
setPipelineWorkerUrl(pipelineWorker as string)

export * from './index.js'
export * from './index.js'
2 changes: 1 addition & 1 deletion packages/core/typescript/create-itk-wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-itk-wasm",
"version": "1.1.0",
"version": "1.2.0",
"description": "CLI to create a new ITK-Wasm project or add a pipeline to an existing project.",
"type": "module",
"exports": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function generatePackageJson(project: ProjectSpec) {
devDependencies: {
'@itk-wasm/dam': '^1.1.1',
'@thewtex/setup-micromamba': '^1.9.7',
'itk-wasm': '1.0.0-b.175'
'itk-wasm': '1.0.0-b.178'
}
}
if (project.author) {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/typescript/itk-wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "itk-wasm",
"version": "1.0.0-b.177",
"version": "1.0.0-b.178",
"packageManager": "[email protected]",
"description": "High-performance spatial analysis in a web browser, Node.js, and reproducible execution across programming languages and hardware architectures.",
"type": "module",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"itk-wasm": "1.0.0-b.175"
"itk-wasm": "1.0.0-b.177"
},
"devDependencies": {
"@itk-wasm/demo-app": "^0.2.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import TransformParameterizations from './transform-parameterizations.js'

class TransformType {
constructor(
constructor (
public readonly inputDimension: number = 3,
public readonly outputDimension: number = 3,
public readonly transformParameterization: (typeof TransformParameterizations)[keyof typeof TransformParameterizations] = TransformParameterizations.Identity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Transform {
parameters: number[]
fixedParameters: number[]

constructor(transformType = new TransformType()) {
constructor (transformType = new TransformType()) {
this.transformType = transformType
this.numberOfFixedParameters = 0
this.numberOfParameters = 0
Expand Down
22 changes: 11 additions & 11 deletions packages/core/typescript/itk-wasm/src/pipeline/pipeline-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ import JsonCompatible from '../interface-types/json-compatible.js'
interface PipelineInput {
type: (typeof InterfaceTypes)[keyof typeof InterfaceTypes]
data:
| string
| Uint8Array
| JsonCompatible
| TextStream
| BinaryStream
| TextFile
| BinaryFile
| Image
| Mesh
| PolyData
| Transform
| string
| Uint8Array
| JsonCompatible
| TextStream
| BinaryStream
| TextFile
| BinaryFile
| Image
| Mesh
| PolyData
| Transform
}

export default PipelineInput
22 changes: 11 additions & 11 deletions packages/core/typescript/itk-wasm/src/pipeline/pipeline-output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ import JsonCompatible from '../interface-types/json-compatible.js'
interface PipelineOutput {
type: (typeof InterfaceTypes)[keyof typeof InterfaceTypes]
data?:
| string
| Uint8Array
| JsonCompatible
| TextStream
| BinaryStream
| TextFile
| BinaryFile
| Image
| Mesh
| PolyData
| Transform
| string
| Uint8Array
| JsonCompatible
| TextStream
| BinaryStream
| TextFile
| BinaryFile
| Image
| Mesh
| PolyData
| Transform
}

export default PipelineOutput
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async function runPipelineNode (
Array.from(mountedDirs)
.filter((x, _, a) => a.every((y) => x === y || !x.includes(y)))
.forEach((dir) => unmountable.add(dir)
)
)
}
if (typeof mountDirs !== 'undefined') {
args = replaceArgumentsWithEmscriptenPaths(args, mountDirs)
Expand Down
2 changes: 1 addition & 1 deletion packages/core/typescript/itk-wasm/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const version = '1.0.0-b.177'
const version = '1.0.0-b.178'

export default version
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ test('runPipelineNode uses input and output text and binary files', (t) => {
'--input-text-file',
testInputTextFile,
'--input-binary-file',
testInputBinFile,
testInputBinFile
]
const desiredOutputs = [
{ type: InterfaceTypes.TextStream },
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "7.0.1"
__version__ = "7.1.0"

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "7.0.1"
__version__ = "7.1.0"
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "7.0.1"
__version__ = "7.1.0"
4 changes: 2 additions & 2 deletions packages/dicom/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

> Read files and images related to DICOM file format.
[💻 **Live API Demo**](https://insightsoftwareconsortium.github.io/itk-wasm/dicom/ts/app/
[💻 **Live API Demo**](https://insightsoftwareconsortium.github.io/ITK-Wasm/dicom/ts/app/
':include :type=iframe width=100% height=800px')

[🕮 **Documentation** 📚](https://insightsoftwareconsortium.github.io/itk-wasm/dicom/ts/docs/)
[🕮 **Documentation** 📚](https://insightsoftwareconsortium.github.io/ITK-Wasm/dicom/ts/docs/)

## Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/dicom/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itk-wasm/dicom",
"version": "7.0.1",
"version": "7.1.0",
"packageManager": "[email protected]",
"description": "Read files and images related to DICOM file format.",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions packages/dicom/typescript/src/index-worker-embedded.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

import { setPipelineWorkerUrl } from './index.js'
import pipelineWorker from '../node_modules/itk-wasm/dist/pipeline/web-workers/bundles/itk-wasm-pipeline.worker.js'
setPipelineWorkerUrl(pipelineWorker)
setPipelineWorkerUrl(pipelineWorker as string)

export * from './index.js'
export * from './index.js'
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.3.0"
__version__ = "1.4.0"

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.3.0"
__version__ = "1.4.0"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.3.0"
__version__ = "1.4.0"
4 changes: 2 additions & 2 deletions packages/downsample/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

> Pipelines for downsampling images.
[💻 **Live API Demo**](https://insightsoftwareconsortium.github.io/itk-wasm/downsample/ts/docs/
[💻 **Live API Demo**](https://insightsoftwareconsortium.github.io/ITK-Wasm/downsample/ts/docs/
':include :type=iframe width=100% height=800px')

[🕮 **Documentation** 📚](https://insightsoftwareconsortium.github.io/itk-wasm/downsample/ts/docs/)
[🕮 **Documentation** 📚](https://insightsoftwareconsortium.github.io/ITK-Wasm/downsample/ts/docs/)

## Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/downsample/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itk-wasm/downsample",
"version": "1.3.0",
"version": "1.4.0",
"packageManager": "[email protected]",
"description": "Pipelines for downsampling images.",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions packages/downsample/typescript/src/index-worker-embedded.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

import { setPipelineWorkerUrl } from './index.js'
import pipelineWorker from '../node_modules/itk-wasm/dist/pipeline/web-workers/bundles/itk-wasm-pipeline.worker.js'
setPipelineWorkerUrl(pipelineWorker)
setPipelineWorkerUrl(pipelineWorker as string)

export * from './index.js'
export * from './index.js'
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.1"
__version__ = "1.3.0"

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.1"
__version__ = "1.3.0"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.1"
__version__ = "1.3.0"
4 changes: 2 additions & 2 deletions packages/image-io/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

> Input and output for scientific and medical image file formats.
[💻 **Live API Demo**](https://insightsoftwareconsortium.github.io/itk-wasm/image-io/ts/app/
[💻 **Live API Demo**](https://insightsoftwareconsortium.github.io/ITK-Wasm/image-io/ts/app/
':include :type=iframe width=100% height=800px')

[🕮 **Documentation** 📚](https://insightsoftwareconsortium.github.io/itk-wasm/image-io/ts/docs/)
[🕮 **Documentation** 📚](https://insightsoftwareconsortium.github.io/ITK-Wasm/image-io/ts/docs/)

## Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/image-io/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itk-wasm/image-io",
"version": "1.2.1",
"version": "1.3.0",
"packageManager": "[email protected]",
"description": "Input and output for scientific and medical image file formats.",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions packages/image-io/typescript/src/index-worker-embedded.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

import { setPipelineWorkerUrl } from './index.js'
import pipelineWorker from '../node_modules/itk-wasm/dist/pipeline/web-workers/bundles/itk-wasm-pipeline.worker.js'
setPipelineWorkerUrl(pipelineWorker)
setPipelineWorkerUrl(pipelineWorker as string)

export * from './index.js'
export * from './index.js'
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.1"
__version__ = "1.3.0"

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.1"
__version__ = "1.3.0"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.1"
__version__ = "1.3.0"
4 changes: 2 additions & 2 deletions packages/mesh-io/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

> Input and output for mesh file formats.
[💻 **Live API Demo**](https://insightsoftwareconsortium.github.io/itk-wasm/mesh-io/ts/docs/
[💻 **Live API Demo**](https://insightsoftwareconsortium.github.io/ITK-Wasm/mesh-io/ts/docs/
':include :type=iframe width=100% height=800px')

[🕮 **Documentation** 📚](https://insightsoftwareconsortium.github.io/itk-wasm/mesh-io/ts/docs/)
[🕮 **Documentation** 📚](https://insightsoftwareconsortium.github.io/ITK-Wasm/mesh-io/ts/docs/)

## Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-io/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itk-wasm/mesh-io",
"version": "1.2.1",
"version": "1.3.0",
"packageManager": "[email protected]",
"description": "Input and output for scientific and medical image file formats.",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions packages/mesh-io/typescript/src/index-worker-embedded.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

import { setPipelineWorkerUrl } from './index.js'
import pipelineWorker from '../node_modules/itk-wasm/dist/pipeline/web-workers/bundles/itk-wasm-pipeline.worker.js'
setPipelineWorkerUrl(pipelineWorker)
setPipelineWorkerUrl(pipelineWorker as string)

export * from './index.js'
export * from './index.js'
Loading

0 comments on commit 2033181

Please sign in to comment.