Skip to content

Commit

Permalink
updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed Jan 14, 2024
1 parent 416923e commit 549f93d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,27 +48,27 @@
"homepage": "https://github.com/GeoTIFF/geotiff-tile-web-worker#readme",
"dependencies": {
"frame-worker": "^0.3.0",
"geotiff": "^2.1.0",
"geotiff-tile": "^0.18.3",
"geotiff": "^2.1.1",
"geotiff-tile": "^0.19.1",
"get-depth": "^0.0.3",
"microlink": "0.3.0",
"quick-lru": "^7.0.0",
"xdim": "^1.10.1"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@babel/core": "^7.23.7",
"@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
"@babel/plugin-transform-optional-chaining": "^7.23.4",
"@babel/plugin-transform-runtime": "^7.23.4",
"@babel/preset-env": "^7.23.5",
"@babel/runtime": "^7.23.5",
"@babel/plugin-transform-runtime": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@babel/runtime": "^7.23.8",
"babel-loader": "^9.1.3",
"envisage": "^0.1.0",
"flug": "^2.6.0",
"prettier": "^3.1.0",
"flug": "^2.7.2",
"prettier": "^3.2.2",
"rimraf": "^5.0.5",
"srvd": "^0.6.0",
"terser-webpack-plugin": "^5.3.9",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
}
Expand Down
24 changes: 12 additions & 12 deletions test.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// TEST_NAME: "createTile",
// TEST_NAME: "bug",
// TEST_NAME: "function params",
// TEST_NAME: "gadas",
// TEST_NAME: "gadas max",
// TEST_NAME: "simple srs",
// TEST_NAME: 'tile_srs="simple"',
TEST_TIMED: true
Expand Down Expand Up @@ -105,7 +105,7 @@
eq(tile[0][0].constructor.name, "Uint8Array");
const data = three_to_four_bands({ height, width, tile });

displayTile({ tile: data, height, width });
displayTile({ id: "iframe", tile: data, height, width });
} catch (error) {
throw error;
}
Expand All @@ -127,7 +127,7 @@
eq(tile[0][0].length, width);
const data = three_to_four_bands({ height, width, tile });

displayTile({ tile: data, height, width });
displayTile({ id: "basic usage", tile: data, height, width });
});

test("createTile", async ({ eq }) => {
Expand All @@ -140,7 +140,7 @@
eq(tile[0][0].constructor.name, "Uint8Array");
const data = three_to_four_bands({ height, width, tile });

displayTile({ tile: data, height, width });
displayTile({ id: "createTile", tile: data, height, width });
} catch (error) {
throw error;
}
Expand All @@ -161,11 +161,11 @@
})
)
);
created.forEach(({ tile, height, width }) => {
created.forEach(({ tile, height, width }, i) => {
eq(tile[0][0].constructor.name, "Uint8Array");
const data = three_to_four_bands({ height, width, tile });

displayTile({ tile: data, height, width });
displayTile({ id: "repeats" + i, tile: data, height, width });
});

window.createRepeatTile = function () {
Expand All @@ -191,7 +191,7 @@

const data = tile.map(row => row.map(column => [...column, 255])).flat(2);

displayTile({ tile: data, height, width });
displayTile({ id: "[row][column][band]", tile: data, height, width });
} catch (error) {
throw error;
}
Expand Down Expand Up @@ -231,13 +231,13 @@

const data = three_to_four_bands({ height, width, tile });

displayTile({ tile: data, height, width });
displayTile({ id: "bug", tile: data, height, width });
} catch (error) {
throw error;
}
});

test("gadas", async ({ eq }) => {
test("gadas max", async ({ eq }) => {
const worker = await geotiff_tile_web_worker.createWorker();
// worker.addEventListener("message", evt => console.log(evt));

Expand All @@ -263,7 +263,7 @@

eq(tile.constructor.name, "Uint8Array");
eq(tile.length, height * width * 4);
displayTile({ tile, height, width });
displayTile({ id: "gadas max", tile, height, width });
});

test("function params", async ({ eq }) => {
Expand Down Expand Up @@ -300,7 +300,7 @@

eq(tile.constructor.name, "Uint8Array");
eq(tile.length, height * width * 4);
displayTile({ tile, height, width });
displayTile({ id: "function params", tile, height, width });
});

test("simple srs", async ({ eq }) => {
Expand Down Expand Up @@ -329,7 +329,7 @@

eq(tile.constructor.name, "Uint8Array");
eq(tile.length, height * width * 4);
displayTile({ id: "simple", tile, height, width });
displayTile({ id: "simple srs", tile, height, width });
});

test('tile_srs="simple"', async ({ eq }) => {
Expand Down

0 comments on commit 549f93d

Please sign in to comment.