Skip to content

Commit

Permalink
chore(deps): Update dependencies (#1575)
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy authored Dec 2, 2024
1 parent 0d6025e commit bcb7a68
Show file tree
Hide file tree
Showing 5 changed files with 1,785 additions and 1,881 deletions.
32 changes: 17 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,44 +32,46 @@
"docs:deploy": "yarn dist && vercel"
},
"devDependencies": {
"@eslint/js": "^9.7.0",
"@tweakpane/core": "^2.0.4",
"@eslint/js": "^9.15.0",
"@tweakpane/core": "^2.0.5",
"@types/command-exists": "1.2.3",
"@types/d3-dsv": "^3.0.7",
"@types/draco3dgltf": "1.4.3",
"@types/jsdom": "^21.1.7",
"@types/ndarray": "1.0.14",
"@types/node": "22.9.0",
"@types/node": "22.10.1",
"@types/node-gzip": "1.1.3",
"@types/semver": "^7",
"@types/three": "^0.170.0",
"@types/wrap-ansi": "^8.1.0",
"ava": "^6.1.3",
"ava": "^6.2.0",
"c8": "^10.1.2",
"d3-dsv": "^3.0.1",
"draco3dgltf": "1.5.7",
"eslint": "9.7.0",
"eslint": "9.15.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-svelte": "^2.43.0",
"eslint-plugin-svelte": "^2.46.0",
"gl-matrix": "^3.4.3",
"gltf-validator": "2.0.0-dev.3.10",
"jsdom": "^25.0.0",
"jsdom": "^25.0.1",
"keyframe-resample": "^0.1.0",
"lerna": "8.1.9",
"meshoptimizer": "0.22.0",
"microbundle": "0.15.1",
"mikktspace": "1.1.1",
"prettier": "3.3.3",
"prettier-plugin-svelte": "^3.2.6",
"prettier": "3.4.1",
"prettier-plugin-svelte": "^3.3.2",
"rimraf": "^6.0.1",
"semver": "^7.6.3",
"simple-dropzone": "^0.8.3",
"three": "^0.170.0",
"tinybench": "^3.0.0",
"tsx": "^4.16.2",
"tweakpane": "^4.0.4",
"three": "^0.171.0",
"tinybench": "^3.0.6",
"tsx": "^4.19.2",
"tweakpane": "^4.0.5",
"tweakpane-plugin-thumbnail-list": "^0.3.0",
"typescript": "5.6.3",
"typescript-eslint": "^7.17.0",
"vite": "^5.3.4"
"typescript-eslint": "^7.18.0",
"vite": "^5.4.11"
},
"ava": {
"extensions": {
Expand Down
14 changes: 6 additions & 8 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,29 +34,27 @@
"@gltf-transform/functions": "^4.1.0",
"@types/language-tags": "~1.0.4",
"@types/micromatch": "~4.0.9",
"@types/node-fetch": "~2.6.11",
"@types/node-fetch": "~2.6.12",
"@types/prompts": "^2.4.9",
"@types/semver": "^7.5.8",
"@types/spdx-correct": "~3.1.3",
"@types/tmp": "~0.2.6",
"cli-table3": "~0.6.5",
"command-exists": "~1.2.9",
"csv-stringify": "~6.5.0",
"csv-stringify": "~6.5.2",
"draco3dgltf": "~1.5.7",
"gltf-validator": "~2.0.0-dev.3.9",
"gltf-validator": "~2.0.0-dev.3.10",
"keyframe-resample": "~0.1.0",
"ktx-parse": "~0.7.1",
"language-tags": "~1.0.9",
"listr2": "~8.2.3",
"listr2": "~8.2.5",
"meshoptimizer": "~0.22.0",
"micromatch": "~4.0.7",
"micromatch": "~4.0.8",
"mikktspace": "~1.1.1",
"node-fetch": "~3.3.2",
"node-gzip": "~1.1.2",
"p-limit": "~6.1.0",
"prompts": "^2.4.2",
"semver": "~7.6.3",
"sharp": "~0.33.4",
"sharp": "~0.33.5",
"spdx-correct": "~3.2.0",
"strip-ansi": "~7.1.0",
"tmp": "~0.2.3"
Expand Down
7 changes: 2 additions & 5 deletions packages/cli/src/transforms/toktx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import fs, { rm } from 'fs/promises';
import { join } from 'path';
import micromatch from 'micromatch';
import os from 'os';
import semver from 'semver';
import tmp from 'tmp';
import pLimit from 'p-limit';
import type sharp from 'sharp';
Expand Down Expand Up @@ -430,17 +429,15 @@ async function checkKTXSoftware(logger: ILogger): Promise<string> {
.replace(/~\d+/, '')
.trim();

if (status !== 0 || !semver.valid(semver.clean(version))) {
if (status !== 0 || !version) {
throw new Error(
`Unable to find "ktx" version. Confirm KTX-Software ${KTX_SOFTWARE_VERSION_MIN}+ is installed.`,
);
} else if (semver.lt(semver.clean(version)!, KTX_SOFTWARE_VERSION_MIN)) {
logger.warn(`ktx: Expected KTX-Software >= v${KTX_SOFTWARE_VERSION_MIN}, found ${version}.`);
} else {
logger.debug(`ktx: Found KTX-Software ${version}.`);
}

return semver.clean(version)!;
return version;
}

function isMultipleOfFour(value: number): boolean {
Expand Down
16 changes: 8 additions & 8 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@
"@gltf-transform/functions": "^4.1.0",
"@greendoc/parse": "^0.4.1",
"@greendoc/svelte": "^0.4.1",
"@sveltejs/adapter-static": "^3.0.2",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/kit": "^2.8.5",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@types/he": "^1.2.3",
"he": "^1.2.0",
"highlight.js": "^11.10.0",
"mdsvex": "^0.12.0",
"svelte": "^4.2.18",
"svelte-check": "^4.0.0",
"mdsvex": "^0.12.3",
"svelte": "^4.2.19",
"svelte-check": "^4.1.0",
"ts-morph": "^22.0.0",
"tslib": "^2.6.3",
"vite": "^5.3.4"
"tslib": "^2.8.1",
"vite": "^5.4.11"
},
"type": "module"
}
Loading

0 comments on commit bcb7a68

Please sign in to comment.