From 77bc62e8e7a8e1cf54287f37eddaca27162552b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=94?= Date: Tue, 18 Jul 2023 18:44:33 +0200 Subject: [PATCH 01/14] print out size --- src/gltfjsx.js | 25 +++++++++++++++++++++++-- src/utils/parser.js | 27 ++++++++++++++++----------- 2 files changed, 39 insertions(+), 13 deletions(-) diff --git a/src/gltfjsx.js b/src/gltfjsx.js index beb646a..1366261 100755 --- a/src/gltfjsx.js +++ b/src/gltfjsx.js @@ -18,6 +18,21 @@ function toArrayBuffer(buf) { return ab } +function roundOff(value) { + return Math.round(value * 100) / 100 +} + +function getFileSize(file) { + const stats = fs.statSync(file) + let fileSize = stats.size + let fileSizeKB = roundOff(fileSize * 0.001) + let fileSizeMB = roundOff(fileSizeKB * 0.001) + return { + size: fileSizeKB > 1000 ? `${fileSizeMB}MB` : `${fileSizeKB}KB`, + sizeKB: fileSizeKB, + } +} + export default function (file, output, options) { function getRelativeFilePath(file) { const filePath = path.resolve(file) @@ -33,11 +48,17 @@ export default function (file, output, options) { if (!fs.existsSync(file)) { reject(file + ' does not exist.') } else { + let size = '' // Process GLTF if (options.transform || options.instance || options.instanceall) { const { name } = path.parse(file) const transformOut = path.join(name + '-transformed.glb') await transform(file, transformOut, options) + const { size: sizeOriginal, sizeKB: sizeKBOriginal } = getFileSize(file) + const { size: sizeTransformed, sizeKB: sizeKBTransformed } = getFileSize(transformOut) + size = `${file} [${sizeOriginal}] > ${transformOut} [${sizeTransformed}] (${Math.round( + 100 - (sizeKBTransformed / sizeKBOriginal) * 100 + )}%)` file = transformOut } resolve() @@ -49,11 +70,11 @@ export default function (file, output, options) { arrayBuffer, '', (gltf) => { - stream.write(parse(gltf, { fileName: filePath, ...options })) + stream.write(parse(gltf, { fileName: filePath, size, ...options })) stream.end() resolve() }, - reason => { + (reason) => { console.log(reason) } ) diff --git a/src/utils/parser.js b/src/utils/parser.js index e0bfacd..4d2bc25 100644 --- a/src/utils/parser.js +++ b/src/utils/parser.js @@ -230,7 +230,7 @@ function parse(gltf, { fileName = 'model', ...options } = {}) { * */ if (result === oldResult || obj.children.length === 0) { - if (!silent) console.log(`group ${obj.name} removed (empty)`) + if (options.debug && !silent) console.log(`group ${obj.name} removed (empty)`) obj.__removed = true return children } @@ -252,7 +252,7 @@ function parse(gltf, { fileName = 'model', ...options } = {}) { */ if (obj.children.length === 1 && getType(first) === type && equalOrNegated(obj.rotation, first.rotation)) { if (keys1.length === 1 && keys2.length === 1 && keys1[0] === 'rotation' && keys2[0] === 'rotation') { - if (!silent) console.log(`group ${obj.name} removed (aggressive: double negative rotation)`) + if (options.debug && !silent) console.log(`group ${obj.name} removed (aggressive: double negative rotation)`) obj.__removed = first.__removed = true children = '' if (first.children) first.children.forEach((child) => (children += print(child, true))) @@ -270,7 +270,7 @@ function parse(gltf, { fileName = 'model', ...options } = {}) { */ if (obj.children.length === 1 && getType(first) === type && equalOrNegated(obj.rotation, first.rotation)) { if (keys1.length === 1 && keys2.length > 1 && keys1[0] === 'rotation' && keys2.includes('rotation')) { - if (!silent) console.log(`group ${obj.name} removed (aggressive: double negative rotation w/ props)`) + if (options.debug && !silent) console.log(`group ${obj.name} removed (aggressive: double negative rotation w/ props)`) obj.__removed = true // Remove rotation from first child first.rotation.set(0, 0, 0) @@ -288,7 +288,7 @@ function parse(gltf, { fileName = 'model', ...options } = {}) { const isChildTransformed = keys2.includes('position') || keys2.includes('rotation') || keys2.includes('scale') const hasOtherProps = keys1.some((key) => !['position', 'scale', 'rotation'].includes(key)) if (obj.children.length === 1 && !first.__removed && !isChildTransformed && !hasOtherProps) { - if (!silent) console.log(`group ${obj.name} removed (aggressive: ${keys1.join(' ')} overlap)`) + if (options.debug && !silent) console.log(`group ${obj.name} removed (aggressive: ${keys1.join(' ')} overlap)`) // Move props over from the to-be-deleted object to the child // This ensures that the child will have the correct transform when pruning is being repeated keys1.forEach((key) => obj.children[0][key].copy(obj[key])) @@ -311,7 +311,7 @@ function parse(gltf, { fileName = 'model', ...options } = {}) { if (type !== 'group' && type !== 'object3D') empty.push(o) }) if (!empty.length) { - if (!silent) console.log(`group ${obj.name} removed (aggressive: lack of content)`) + if (options.debug && !silent) console.log(`group ${obj.name} removed (aggressive: lack of content)`) empty.forEach((child) => (child.__removed = true)) return '' } @@ -341,7 +341,7 @@ function parse(gltf, { fileName = 'model', ...options } = {}) { result = ` Date: Tue, 18 Jul 2023 18:44:37 +0200 Subject: [PATCH 02/14] 6.2.9 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9bd10f6..df438c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gltfjsx", - "version": "6.2.8", + "version": "6.2.9", "description": "GLTF to JSX converter", "scripts": { "build": "rollup -c", From 5f342c70c6430b093b3d2e2cf00433391c43d3ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=94?= Date: Wed, 19 Jul 2023 09:21:59 +0200 Subject: [PATCH 03/14] fix interleavedbuffer attribute (count) --- src/bin/GLTFLoader.js | 4 +++- src/utils/parser.js | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/bin/GLTFLoader.js b/src/bin/GLTFLoader.js index f4cc38d..7a410ff 100644 --- a/src/bin/GLTFLoader.js +++ b/src/bin/GLTFLoader.js @@ -1672,7 +1672,9 @@ GLTFParser.prototype.loadAccessor = function (accessorIndex) { } } - bufferAttribute.count = accessorDef.count + try { + bufferAttribute.count = accessorDef.count + } catch (e) {} return bufferAttribute }) } diff --git a/src/utils/parser.js b/src/utils/parser.js index 4d2bc25..9888764 100644 --- a/src/utils/parser.js +++ b/src/utils/parser.js @@ -270,7 +270,8 @@ function parse(gltf, { fileName = 'model', ...options } = {}) { */ if (obj.children.length === 1 && getType(first) === type && equalOrNegated(obj.rotation, first.rotation)) { if (keys1.length === 1 && keys2.length > 1 && keys1[0] === 'rotation' && keys2.includes('rotation')) { - if (options.debug && !silent) console.log(`group ${obj.name} removed (aggressive: double negative rotation w/ props)`) + if (options.debug && !silent) + console.log(`group ${obj.name} removed (aggressive: double negative rotation w/ props)`) obj.__removed = true // Remove rotation from first child first.rotation.set(0, 0, 0) @@ -344,7 +345,7 @@ function parse(gltf, { fileName = 'model', ...options } = {}) { if (obj.isInstancedMesh) { const geo = `${node}.geometry` const mat = obj.material.name ? `materials${sanitizeName(obj.material.name)}` : `${node}.material` - result = ` Date: Wed, 19 Jul 2023 09:22:06 +0200 Subject: [PATCH 04/14] 6.2.10 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index df438c4..563e498 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gltfjsx", - "version": "6.2.9", + "version": "6.2.10", "description": "GLTF to JSX converter", "scripts": { "build": "rollup -c", From 95f840dbaca061f3cd5fc7b35af49eefc35a0357 Mon Sep 17 00:00:00 2001 From: Jesse Abramson Date: Thu, 17 Aug 2023 07:21:04 -0400 Subject: [PATCH 05/14] Basic typing for instanced gltf (#218) --- src/utils/parser.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/utils/parser.js b/src/utils/parser.js index 9888764..6d699ba 100644 --- a/src/utils/parser.js +++ b/src/utils/parser.js @@ -104,6 +104,11 @@ function parse(gltf, { fileName = 'model', ...options } = {}) { type GLTFActions = Record;\n` } + const types = [...new Set([...meshes, ...bones].map((o) => getType(o)))] + const contextType = `type ContextType = Record `JSX.IntrinsicElements['${type}']`).join(' | ')} + >>`; + return `\ntype GLTFResult = GLTF & { nodes: { ${meshes.map(({ name, type }) => (isVarName(name) ? name : `['${name}']`) + ': THREE.' + type).join(',')} @@ -112,7 +117,7 @@ function parse(gltf, { fileName = 'model', ...options } = {}) { materials: { ${materials.map(({ name, type }) => (isVarName(name) ? name : `['${name}']`) + ': THREE.' + type).join(',')} } - }\n${animationTypes}` + }\n${animationTypes}\n${contextType}` } function getType(obj) { @@ -449,8 +454,8 @@ ${parseExtras(gltf.parser.json.asset && gltf.parser.json.asset.extras)}*/` ${ hasInstances ? ` - const context = createContext() - export function Instances({ children, ...props }) { + const context = createContext(${options.types ? '{} as ContextType' : ''}) + export function Instances({ children, ...props }${options.types ? ': JSX.IntrinsicElements["group"]' : ''}) { const { nodes } = useGLTF('${url}'${options.draco ? `, ${JSON.stringify(options.draco)}` : ''})${ options.types ? ' as GLTFResult' : '' } @@ -461,7 +466,7 @@ ${parseExtras(gltf.parser.json.asset && gltf.parser.json.asset.extras)}*/` }), [nodes]) return ( - {(instances) => } + {(instances${options.types ? ': ContextType' : ''}) => } ) } From f5df035f9df63013199fb820e956706728a3a8e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=94?= Date: Thu, 17 Aug 2023 13:21:35 +0200 Subject: [PATCH 06/14] 6.2.11 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 563e498..1cd0bed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gltfjsx", - "version": "6.2.10", + "version": "6.2.11", "description": "GLTF to JSX converter", "scripts": { "build": "rollup -c", From 80076009412e9837f6136bf279e1e202a5575c91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=94?= Date: Wed, 23 Aug 2023 16:28:26 +0200 Subject: [PATCH 07/14] fix: morph target crash --- src/bin/GLTFLoader.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/GLTFLoader.js b/src/bin/GLTFLoader.js index 7a410ff..5b4512e 100644 --- a/src/bin/GLTFLoader.js +++ b/src/bin/GLTFLoader.js @@ -2214,6 +2214,7 @@ GLTFParser.prototype.loadMesh = function (meshIndex) { primitive.mode === undefined ) { // .isSkinnedMesh isn't in glTF spec. See ._markDefs() + geometry.morphAttributes = {} mesh = meshDef.isSkinnedMesh === true ? new THREE.SkinnedMesh(geometry, material) From 71fffa65ef682716d3c6c128630f7bf53a784350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=94?= Date: Wed, 23 Aug 2023 16:28:29 +0200 Subject: [PATCH 08/14] 6.2.12 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1cd0bed..7b7385e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gltfjsx", - "version": "6.2.11", + "version": "6.2.12", "description": "GLTF to JSX converter", "scripts": { "build": "rollup -c", From 26f3822cd353f20f2d476468b9258bd88640230a Mon Sep 17 00:00:00 2001 From: Bjorn Stromberg Date: Tue, 29 Aug 2023 17:34:03 +0800 Subject: [PATCH 09/14] Add read-pkg-up to dependencies (#220) * Add read-pkg-up (Fixes #219)? * Begin performing Continuous Integration (CI) --- .github/workflows/main.yml | 22 +++++++++++++ package.json | 1 + src/test.js | 4 +++ yarn.lock | 66 ++++++++++++++++++++++++++++++++++++-- 4 files changed, 91 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/main.yml create mode 100644 src/test.js diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..f4905b7 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,22 @@ +name: CI +on: + - push + - pull_request +jobs: + test: + name: Node.js ${{ matrix.node-version }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node-version: + - 20 + - 18 + - 16 + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: yarn install --frozen-lockfile + - run: npm test diff --git a/package.json b/package.json index 7b7385e..f167cb3 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "meow": "^12.0.1", "meshoptimizer": "^0.19.0", "prettier": "2.8.7", + "read-pkg-up": "^10.0.0", "three": "0.152.2", "three-stdlib": "^2.22.4" }, diff --git a/src/test.js b/src/test.js new file mode 100644 index 0000000..15e48ab --- /dev/null +++ b/src/test.js @@ -0,0 +1,4 @@ +import assert from 'node:assert' +const cli = await import('../cli.js') + +assert(cli) diff --git a/yarn.lock b/yarn.lock index b486c0a..1ce9530 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16,6 +16,14 @@ dependencies: "@babel/highlight" "^7.22.5" +"@babel/code-frame@^7.21.4": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.10.tgz#1c20e612b768fefa75f6e90d6ecb86329247f0a3" + integrity sha512-/KKIMG4UEL35WmI9OlvMhurwtytjvXoFcGNrOvyG9zIzA8YmPjVtIZUf7b05+TPO7G7/GEmLHDaoCgACHl9hhA== + dependencies: + "@babel/highlight" "^7.22.10" + chalk "^2.4.2" + "@babel/compat-data@^7.13.11", "@babel/compat-data@^7.16.0", "@babel/compat-data@^7.20.5", "@babel/compat-data@^7.22.6": version "7.22.6" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.6.tgz#15606a20341de59ba02cd2fcc5086fcbe73bf544" @@ -266,6 +274,15 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@babel/highlight@^7.22.10": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.10.tgz#02a3f6d8c1cb4521b2fd0ab0da8f4739936137d7" + integrity sha512-78aUtVcT7MUscr0K5mIEnkwxPE0MaxkR5RxRwuHaQ+JuU5AmTPhY+do2mdzVTnIJJpyBglql2pehuBIWHug+WQ== + dependencies: + "@babel/helper-validator-identifier" "^7.22.5" + chalk "^2.4.2" + js-tokens "^4.0.0" + "@babel/highlight@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.5.tgz#aa6c05c5407a67ebce408162b7ede789b4d22031" @@ -1957,7 +1974,7 @@ chalk@5.2.0, chalk@^5.2.0: resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.2.0.tgz#249623b7d66869c673699fb66d65723e54dfcfb3" integrity sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA== -chalk@^2.0.0: +chalk@^2.0.0, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -2521,7 +2538,7 @@ errno@^0.1.3, errno@~0.1.7: dependencies: prr "~1.0.1" -error-ex@^1.3.1: +error-ex@^1.3.1, error-ex@^1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== @@ -3411,6 +3428,11 @@ json-parse-even-better-errors@^2.3.0: resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== +json-parse-even-better-errors@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.0.tgz#2cb2ee33069a78870a0c7e3da560026b89669cf7" + integrity sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA== + json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" @@ -3486,6 +3508,11 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== +lines-and-columns@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-2.0.3.tgz#b2f0badedb556b747020ab8ea7f0373e22efac1b" + integrity sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w== + lint-staged@^13.2.2: version "13.2.2" resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-13.2.2.tgz#5e711d3139c234f73402177be2f8dd312e6508ca" @@ -4155,6 +4182,17 @@ parse-json@^5.2.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" +parse-json@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-7.0.0.tgz#51c0713f233b804eb5adee3ef1e75d3243e0ff06" + integrity sha512-kP+TQYAzAiVnzOlWOe0diD6L35s9bJh0SCn95PIbZFKrOYuIRQsQkeWEYxzVDuHTt9V9YqvYCJ2Qo4z9wdfZPw== + dependencies: + "@babel/code-frame" "^7.21.4" + error-ex "^1.3.2" + json-parse-even-better-errors "^3.0.0" + lines-and-columns "^2.0.3" + type-fest "^3.8.0" + parse5@^7.1.2: version "7.1.2" resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.1.2.tgz#0736bebbfd77793823240a23b7fc5e010b7f8e32" @@ -4432,6 +4470,15 @@ react-is@^17.0.1: resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== +read-pkg-up@^10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-10.0.0.tgz#0542d21ff1001d2bfff1f6eac8b4d1d1dc486617" + integrity sha512-jgmKiS//w2Zs+YbX039CorlkOp8FIVbSAN8r8GJHDsGlmNPXo+VeHkqAwCiQVTTx5/LwLZTcEw59z3DvcLbr0g== + dependencies: + find-up "^6.3.0" + read-pkg "^8.0.0" + type-fest "^3.12.0" + read-pkg-up@^9.1.0: version "9.1.0" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-9.1.0.tgz#38ca48e0bc6c6b260464b14aad9bcd4e5b1fbdc3" @@ -4451,6 +4498,16 @@ read-pkg@^7.1.0: parse-json "^5.2.0" type-fest "^2.0.0" +read-pkg@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-8.0.0.tgz#78b93774c15a3f151b56d5790d5127a5cb9fc507" + integrity sha512-Ajb9oSjxXBw0YyOiwtQ2dKbAA/vMnUPnY63XcCk+mXo0BwIdQEMgZLZiMWGttQHcUhUgbK0mH85ethMPKXxziw== + dependencies: + "@types/normalize-package-data" "^2.4.1" + normalize-package-data "^5.0.0" + parse-json "^7.0.0" + type-fest "^3.8.0" + "readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" @@ -5372,6 +5429,11 @@ type-fest@^3.1.0: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-3.4.0.tgz#64a35b7748ab4a96b3e0c324475ea66643c5f9df" integrity sha512-PEPg6RHlB9cFwoTMNENNrQFL0cXX04voWr2UPwQBJ3pVs7Mt8Y1oLWdUeMdGEwZE8HFFlujq8gS9enmyiQ8pLg== +type-fest@^3.12.0, type-fest@^3.8.0: + version "3.13.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-3.13.1.tgz#bb744c1f0678bea7543a2d1ec24e83e68e8c8706" + integrity sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g== + type-fest@^3.9.0: version "3.11.0" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-3.11.0.tgz#e78ea6b50d6a6b1e4609035fb9ea8f1e3c328194" From 4ca405814f389a235a2d67790401ab1c26cc1edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=94?= Date: Tue, 29 Aug 2023 11:35:10 +0200 Subject: [PATCH 10/14] 6.2.13 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f167cb3..bbb711b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gltfjsx", - "version": "6.2.12", + "version": "6.2.13", "description": "GLTF to JSX converter", "scripts": { "build": "rollup -c", From b08feb5e5cbb75c64890d79e5045f137f68b14d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=94?= Date: Sun, 22 Oct 2023 19:33:26 +0200 Subject: [PATCH 11/14] update dependencies --- package.json | 12 +-- yarn.lock | 295 ++++++++++----------------------------------------- 2 files changed, 64 insertions(+), 243 deletions(-) diff --git a/package.json b/package.json index bbb711b..1c53a7f 100644 --- a/package.json +++ b/package.json @@ -38,14 +38,14 @@ "node": ">=16" }, "dependencies": { - "@gltf-transform/core": "3.4.8", + "@gltf-transform/core": "3.7.3", "@gltf-transform/extensions": "3.4.8", - "@gltf-transform/functions": "3.4.8", + "@gltf-transform/functions": "3.7.3", "@node-loader/babel": "^2.0.1", "draco3dgltf": "^1.5.6", "is-var-name": "^2.0.0", "keyframe-resample": "^0.0.15", - "meow": "^12.0.1", + "meow": "^12.1.1", "meshoptimizer": "^0.19.0", "prettier": "2.8.7", "read-pkg-up": "^10.0.0", @@ -53,9 +53,9 @@ "three-stdlib": "^2.22.4" }, "optionalDependencies": { - "jsdom": "^22.0.0", + "jsdom": "^22.1.0", "jsdom-global": "^3.0.2", - "sharp": "^0.32.3" + "sharp": "^0.32.6" }, "devDependencies": { "@babel/core": "7.16.0", @@ -69,7 +69,7 @@ "@babel/preset-typescript": "^7.16.0", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-node-resolve": "^13.0.6", - "chalk": "^5.2.0", + "chalk": "^5.3.0", "fast-glob": "^3.2.12", "fs-extra": "^11.1.1", "lint-staged": "^13.2.2", diff --git a/yarn.lock b/yarn.lock index 1ce9530..0cf1327 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,13 +2,6 @@ # yarn lockfile v1 -"@babel/code-frame@^7.0.0": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" - integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== - dependencies: - "@babel/highlight" "^7.18.6" - "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.16.0", "@babel/code-frame@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.5.tgz#234d98e1551960604f1246e6475891a570ad5658" @@ -231,11 +224,6 @@ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw== -"@babel/helper-validator-identifier@^7.18.6": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" - integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== - "@babel/helper-validator-identifier@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193" @@ -265,15 +253,6 @@ "@babel/traverse" "^7.22.6" "@babel/types" "^7.22.5" -"@babel/highlight@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" - integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== - dependencies: - "@babel/helper-validator-identifier" "^7.18.6" - chalk "^2.0.0" - js-tokens "^4.0.0" - "@babel/highlight@^7.22.10": version "7.22.10" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.10.tgz#02a3f6d8c1cb4521b2fd0ab0da8f4739936137d7" @@ -1087,14 +1066,21 @@ resolved "https://registry.yarnpkg.com/@chevrotain/utils/-/utils-10.5.0.tgz#0ee36f65b49b447fbac71b9e5af5c5c6c98ac057" integrity sha512-hBzuU5+JjB2cqNZyszkDHZgOSrUUT8V3dhgRl8Q9Gp6dAj/H5+KILGjbhDpc3Iy9qmqlm/akuOI2ut9VUtzJxQ== -"@gltf-transform/core@3.4.8", "@gltf-transform/core@^3.4.8": +"@gltf-transform/core@3.7.3", "@gltf-transform/core@^3.7.3": + version "3.7.3" + resolved "https://registry.yarnpkg.com/@gltf-transform/core/-/core-3.7.3.tgz#7a86856349d462d9111fedc1b70312187f0c2670" + integrity sha512-lH+l+3omuo+Y4xkI27a0BqG/0DddlrSzx5OetfXwgVZp4DIScUmaanp+m8DqEeYLbJ47Umt+qJQGzIE7sRcQLw== + dependencies: + property-graph "^1.3.1" + +"@gltf-transform/core@^3.4.8": version "3.4.8" resolved "https://registry.yarnpkg.com/@gltf-transform/core/-/core-3.4.8.tgz#ba4f51b66a3aee4a2c60370d804a4cd70911e422" integrity sha512-3TcI9wbEvn3pxNwAJsKx/dBr8G+j3nWBffirPKClRTblM5iQtjlfxh3F09pS3pAKtFmODttpzSNSIQHQy1m3Rg== dependencies: property-graph "^1.3.1" -"@gltf-transform/extensions@3.4.8", "@gltf-transform/extensions@^3.4.8": +"@gltf-transform/extensions@3.4.8": version "3.4.8" resolved "https://registry.yarnpkg.com/@gltf-transform/extensions/-/extensions-3.4.8.tgz#1ced27b47e3133bf32a52db3fd60372259d6a10a" integrity sha512-156BRDzTMbLRqJzbzJdTbWeflz5vXDKipVp3ggDW+6qPj0+M2qAs6gGIS/srnevaenYE3OqN5JysmB377L/7Kw== @@ -1102,14 +1088,22 @@ "@gltf-transform/core" "^3.4.8" ktx-parse "^0.5.0" -"@gltf-transform/functions@3.4.8": - version "3.4.8" - resolved "https://registry.yarnpkg.com/@gltf-transform/functions/-/functions-3.4.8.tgz#b4f64b4ab08d915c82d27306553b9dd23a1c965f" - integrity sha512-RPNJedniUba+svTrGWF+EIBtYkTQEqxkOHys1SwRpb1TEhkMNav0+0aW68qwqx48meKfTOlsp61ESmVXxRfncQ== +"@gltf-transform/extensions@^3.7.3": + version "3.7.3" + resolved "https://registry.yarnpkg.com/@gltf-transform/extensions/-/extensions-3.7.3.tgz#1e2cadf4cb187851b087b7c8e2b389061f260fb4" + integrity sha512-530RRqUyY98xrZ+5rg01nyNrJK52/ukuXZ/LIxMxSFC45A0Y6U5DrfoSQ5+2vMK4eXSS72gGRYfkV2jLoZ6enw== dependencies: - "@gltf-transform/core" "^3.4.8" - "@gltf-transform/extensions" "^3.4.8" - ktx-parse "^0.5.0" + "@gltf-transform/core" "^3.7.3" + ktx-parse "^0.6.0" + +"@gltf-transform/functions@3.7.3": + version "3.7.3" + resolved "https://registry.yarnpkg.com/@gltf-transform/functions/-/functions-3.7.3.tgz#3bb5c7de9bdd8ba11b6494c5a4ab1c126653e116" + integrity sha512-Ubz23zVa0PPUzwikGBYDvd4blDEwvJEGdA++73gLUo3bEmZTXLRVSnwWKibx2z/tbI9G4q+YQuZcfpAiYmbKQg== + dependencies: + "@gltf-transform/core" "^3.7.3" + "@gltf-transform/extensions" "^3.7.3" + ktx-parse "^0.6.0" ndarray "^1.0.19" ndarray-lanczos "^0.3.0" ndarray-pixels "^3.0.4" @@ -1267,11 +1261,6 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/minimist@^1.2.2": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" - integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== - "@types/ndarray@^1.0.11": version "1.0.11" resolved "https://registry.yarnpkg.com/@types/ndarray/-/ndarray-1.0.11.tgz#a78730ac1fd10ea01cda6954dba7b3bf4fa126f4" @@ -1603,11 +1592,6 @@ array-unique@^0.3.2: resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" integrity sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ== -arrify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" - integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA== - asn1.js@^5.2.0: version "5.4.1" resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" @@ -1949,27 +1933,12 @@ call-bind@^1.0.0, call-bind@^1.0.2: function-bind "^1.1.1" get-intrinsic "^1.0.2" -camelcase-keys@^8.0.2: - version "8.0.2" - resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-8.0.2.tgz#a7140ba7c797aea32161d4ce5cdbda11d09eb414" - integrity sha512-qMKdlOfsjlezMqxkUGGMaWWs17i2HoL15tM+wtx8ld4nLrUwU58TFdvyGOz/piNP842KeO8yXvggVQSdQ828NA== - dependencies: - camelcase "^7.0.0" - map-obj "^4.3.0" - quick-lru "^6.1.1" - type-fest "^2.13.0" - -camelcase@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-7.0.1.tgz#f02e50af9fd7782bc8b88a3558c32fd3a388f048" - integrity sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw== - caniuse-lite@^1.0.30001503: version "1.0.30001515" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001515.tgz#418aefeed9d024cd3129bfae0ccc782d4cb8f12b" integrity sha512-eEFDwUOZbE24sb+Ecsx3+OvNETqjWIdabMy52oOkIgcUtAsQifjUG9q4U9dgTHJM2mfk4uEPxc0+xuFdJ629QA== -chalk@5.2.0, chalk@^5.2.0: +chalk@5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.2.0.tgz#249623b7d66869c673699fb66d65723e54dfcfb3" integrity sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA== @@ -1991,6 +1960,11 @@ chalk@^4.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" +chalk@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385" + integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== + chevrotain@^10.1.2: version "10.5.0" resolved "https://registry.yarnpkg.com/chevrotain/-/chevrotain-10.5.0.tgz#9c1dc62ef0753bb562dbe521b5f72d041bad624e" @@ -2331,21 +2305,6 @@ debug@^2.2.0, debug@^2.3.3: dependencies: ms "2.0.0" -decamelize-keys@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-2.0.1.tgz#32115e60cc5eeaea11d6692fd73de3b92e34502f" - integrity sha512-nrNeSCtU2gV3Apcmn/EZ+aR20zKDuNDStV67jPiupokD3sOAFeMzslLMCFdKv1sPqzwoe5ZUhsSW9IAVgKSL/Q== - dependencies: - decamelize "^6.0.0" - map-obj "^4.3.0" - quick-lru "^6.1.1" - type-fest "^3.1.0" - -decamelize@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-6.0.0.tgz#8cad4d916fde5c41a264a43d0ecc56fe3d31749e" - integrity sha512-Fv96DCsdOgB6mdGl67MT5JaTNKRzrzill5OH5s8bjYJXVlcXyPYGyPsUkWyGV5p1TXI5esYIYMMeDJL0hEIwaA== - decimal.js@^10.4.3: version "10.4.3" resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23" @@ -2421,6 +2380,11 @@ detect-libc@^2.0.0, detect-libc@^2.0.1: resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.1.tgz#e1897aa88fa6ad197862937fbc0441ef352ee0cd" integrity sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w== +detect-libc@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.2.tgz#8ccf2ba9315350e1241b88d0ac3b0e1fbd99605d" + integrity sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw== + diff-sequences@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.6.2.tgz#48ba99157de1923412eed41db6b6d4aa9ca7c0b1" @@ -2538,7 +2502,7 @@ errno@^0.1.3, errno@~0.1.7: dependencies: prr "~1.0.1" -error-ex@^1.3.1, error-ex@^1.3.2: +error-ex@^1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== @@ -2918,11 +2882,6 @@ gzip-size@^5.1.1: duplexer "^0.1.1" pify "^4.0.1" -hard-rejection@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" - integrity sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA== - has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -3014,13 +2973,6 @@ hmac-drbg@^1.0.1: minimalistic-assert "^1.0.0" minimalistic-crypto-utils "^1.0.1" -hosted-git-info@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224" - integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== - dependencies: - lru-cache "^6.0.0" - hosted-git-info@^6.0.0: version "6.1.1" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-6.1.1.tgz#629442c7889a69c05de604d52996b74fe6f26d58" @@ -3089,11 +3041,6 @@ indent-string@^4.0.0: resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== -indent-string@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-5.0.0.tgz#4fd2980fccaf8622d14c64d694f4cf33c81951a5" - integrity sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg== - infer-owner@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" @@ -3189,7 +3136,7 @@ is-core-module@^2.11.0: dependencies: has "^1.0.3" -is-core-module@^2.5.0, is-core-module@^2.8.1: +is-core-module@^2.8.1: version "2.11.0" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== @@ -3286,11 +3233,6 @@ is-number@^7.0.0: resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== -is-plain-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" - integrity sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg== - is-plain-object@^2.0.3, is-plain-object@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" @@ -3379,10 +3321,10 @@ jsdom-global@^3.0.2: resolved "https://registry.yarnpkg.com/jsdom-global/-/jsdom-global-3.0.2.tgz#6bd299c13b0c4626b2da2c0393cd4385d606acb9" integrity sha512-t1KMcBkz/pT5JrvcJbpUR2u/w1kO9jXctaaGJ0vZDzwFnIvGWw9IDSRciT83kIs8Bnw4qpOl8bQK08V01YgMPg== -jsdom@^22.0.0: - version "22.0.0" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-22.0.0.tgz#3295c6992c70089c4b8f5cf060489fddf7ee9816" - integrity sha512-p5ZTEb5h+O+iU02t0GfEjAnkdYPrQSkfuTSMkMYyIoMvUNEHsbG0bHHbfXIcfTqD2UfvjQX7mmgiFsyRwGscVw== +jsdom@^22.1.0: + version "22.1.0" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-22.1.0.tgz#0fca6d1a37fbeb7f4aac93d1090d782c56b611c8" + integrity sha512-/9AVW7xNbsBv6GfWho4TTNjEo9fe6Zhf9O7s0Fhhr3u+awPwAJMKwAMXnkk5vBxflqLW9hTHX/0cs+P3gW+cQw== dependencies: abab "^2.0.6" cssstyle "^3.0.0" @@ -3423,11 +3365,6 @@ json-parse-better-errors@^1.0.2: resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== -json-parse-even-better-errors@^2.3.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" - integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== - json-parse-even-better-errors@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.0.tgz#2cb2ee33069a78870a0c7e3da560026b89669cf7" @@ -3483,7 +3420,7 @@ kind-of@^5.0.0: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== -kind-of@^6.0.0, kind-of@^6.0.2, kind-of@^6.0.3: +kind-of@^6.0.0, kind-of@^6.0.2: version "6.0.3" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== @@ -3498,16 +3435,16 @@ ktx-parse@^0.5.0: resolved "https://registry.yarnpkg.com/ktx-parse/-/ktx-parse-0.5.0.tgz#b4025bbc73ac5386ac37e869de455eab915261bc" integrity sha512-5IZrv5s1byUeDTIee1jjJQBiD5LPDB0w9pJJ0oT9BCKKJf16Tuj123vm1Ps0GOHSHmeWPgKM0zuViCVuTRpqaA== +ktx-parse@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/ktx-parse/-/ktx-parse-0.6.0.tgz#69e12a511cf345546da27b5b046182f5f31f68f9" + integrity sha512-hYOJUI86N9+YPm0M3t8hVzW9t5FnFFibRalZCrqHs/qM2eNziqQzBtAaF0ErgkXm8F+5uE8CjPUYr32vWlXLkQ== + lilconfig@2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52" integrity sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ== -lines-and-columns@^1.1.6: - version "1.2.4" - resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" - integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== - lines-and-columns@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-2.0.3.tgz#b2f0badedb556b747020ab8ea7f0373e22efac1b" @@ -3634,11 +3571,6 @@ map-cache@^0.2.2: resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" integrity sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg== -map-obj@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" - integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== - map-visit@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" @@ -3671,23 +3603,10 @@ memory-fs@^0.5.0: errno "^0.1.3" readable-stream "^2.0.1" -meow@^12.0.1: - version "12.0.1" - resolved "https://registry.yarnpkg.com/meow/-/meow-12.0.1.tgz#b158fee6e319da4c54835f4c6c98f193978199fd" - integrity sha512-/QOqMALNoKQcJAOOdIXjNLtfcCdLXbMFyB1fOOPdm6RzfBTlsuodOCTBDjVbeUSmgDQb8UI2oONqYGtq1PKKKA== - dependencies: - "@types/minimist" "^1.2.2" - camelcase-keys "^8.0.2" - decamelize "^6.0.0" - decamelize-keys "^2.0.1" - hard-rejection "^2.1.0" - minimist-options "4.1.0" - normalize-package-data "^5.0.0" - read-pkg-up "^9.1.0" - redent "^4.0.0" - trim-newlines "^5.0.0" - type-fest "^3.9.0" - yargs-parser "^21.1.1" +meow@^12.1.1: + version "12.1.1" + resolved "https://registry.yarnpkg.com/meow/-/meow-12.1.1.tgz#e558dddbab12477b69b2e9a2728c327f191bace6" + integrity sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw== merge-stream@^2.0.0: version "2.0.0" @@ -3766,11 +3685,6 @@ mimic-response@^3.1.0: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== -min-indent@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" - integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== - minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" @@ -3788,15 +3702,6 @@ minimatch@^3.1.1: dependencies: brace-expansion "^1.1.7" -minimist-options@4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" - integrity sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A== - dependencies: - arrify "^1.0.1" - is-plain-obj "^1.1.0" - kind-of "^6.0.3" - minimist@^1.2.0, minimist@^1.2.3: version "1.2.7" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" @@ -3981,16 +3886,6 @@ node-releases@^2.0.12: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d" integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ== -normalize-package-data@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-3.0.3.tgz#dbcc3e2da59509a0983422884cd172eefdfa525e" - integrity sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA== - dependencies: - hosted-git-info "^4.0.1" - is-core-module "^2.5.0" - semver "^7.3.4" - validate-npm-package-license "^3.0.1" - normalize-package-data@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-5.0.0.tgz#abcb8d7e724c40d88462b84982f7cbf6859b4588" @@ -4172,16 +4067,6 @@ parse-asn1@^5.0.0, parse-asn1@^5.1.5: pbkdf2 "^3.0.3" safe-buffer "^5.1.1" -parse-json@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" - integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== - dependencies: - "@babel/code-frame" "^7.0.0" - error-ex "^1.3.1" - json-parse-even-better-errors "^2.3.0" - lines-and-columns "^1.1.6" - parse-json@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-7.0.0.tgz#51c0713f233b804eb5adee3ef1e75d3243e0ff06" @@ -4435,11 +4320,6 @@ queue-tick@^1.0.1: resolved "https://registry.yarnpkg.com/queue-tick/-/queue-tick-1.0.1.tgz#f6f07ac82c1fd60f82e098b417a80e52f1f4c142" integrity sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag== -quick-lru@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-6.1.1.tgz#f8e5bf9010376c126c80c1a62827a526c0e60adf" - integrity sha512-S27GBT+F0NTRiehtbrgaSE1idUAJ5bX8dPAQTdylEyNlrdcH5X4Lz7Edz3DYzecbsCluD5zO8ZNEe04z3D3u6Q== - randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" @@ -4479,25 +4359,6 @@ read-pkg-up@^10.0.0: read-pkg "^8.0.0" type-fest "^3.12.0" -read-pkg-up@^9.1.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-9.1.0.tgz#38ca48e0bc6c6b260464b14aad9bcd4e5b1fbdc3" - integrity sha512-vaMRR1AC1nrd5CQM0PhlRsO5oc2AAigqr7cCrZ/MW/Rsaflz4RlgzkpL4qoU/z1F6wrbd85iFv1OQj/y5RdGvg== - dependencies: - find-up "^6.3.0" - read-pkg "^7.1.0" - type-fest "^2.5.0" - -read-pkg@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-7.1.0.tgz#438b4caed1ad656ba359b3e00fd094f3c427a43e" - integrity sha512-5iOehe+WF75IccPc30bWTbpdDQLOCc3Uu8bi3Dte3Eueij81yx1Mrufk8qBx/YAbR4uL1FdUr+7BKXDwEtisXg== - dependencies: - "@types/normalize-package-data" "^2.4.1" - normalize-package-data "^3.0.2" - parse-json "^5.2.0" - type-fest "^2.0.0" - read-pkg@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-8.0.0.tgz#78b93774c15a3f151b56d5790d5127a5cb9fc507" @@ -4555,14 +4416,6 @@ readdirp@~3.6.0: dependencies: picomatch "^2.2.1" -redent@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/redent/-/redent-4.0.0.tgz#0c0ba7caabb24257ab3bb7a4fd95dd1d5c5681f9" - integrity sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag== - dependencies: - indent-string "^5.0.0" - strip-indent "^4.0.0" - regenerate-unicode-properties@^10.1.0: version "10.1.0" resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz#7c3192cab6dd24e21cb4461e5ddd7dd24fa8374c" @@ -4797,7 +4650,7 @@ semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.3.4, semver@^7.3.5: +semver@^7.3.5: version "7.3.8" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== @@ -4862,13 +4715,13 @@ sharp@^0.32.1: tar-fs "^2.1.1" tunnel-agent "^0.6.0" -sharp@^0.32.3: - version "0.32.3" - resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.32.3.tgz#fd6f5227c5a6cb2a020836617243effe68ceb731" - integrity sha512-i1gFPiNqyqxC4ouVvCKj5G8WfPIMeeSxpKcMrjic6NY4e8zktW7bIdqHPc3FCG+pNKU/XCEabKA57hhvZi8UmQ== +sharp@^0.32.6: + version "0.32.6" + resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.32.6.tgz#6ad30c0b7cd910df65d5f355f774aa4fce45732a" + integrity sha512-KyLTWwgcR9Oe4d9HwCwNM2l7+J0dUQwn/yf7S0EnTtb0eVS4RxO0eUSvxPtzT4F3SY+C4K6fqdv/DO27sJ/v/w== dependencies: color "^4.2.3" - detect-libc "^2.0.1" + detect-libc "^2.0.2" node-addon-api "^6.1.0" prebuild-install "^7.1.1" semver "^7.5.4" @@ -5172,13 +5025,6 @@ strip-final-newline@^3.0.0: resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== -strip-indent@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-4.0.0.tgz#b41379433dd06f5eae805e21d631e07ee670d853" - integrity sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA== - dependencies: - min-indent "^1.0.1" - strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" @@ -5392,11 +5238,6 @@ tr46@^4.1.1: dependencies: punycode "^2.3.0" -trim-newlines@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-5.0.0.tgz#fbe350dc9d5fe15e80793b86c09bc7436a3da383" - integrity sha512-kstfs+hgwmdsOadN3KgA+C68wPJwnZq4DN6WMDCvZapDWEF34W2TyPKN2v2+BJnZgIz5QOfxFeldLyYvdgRAwg== - tslib@^2.1.0: version "2.4.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e" @@ -5419,26 +5260,11 @@ type-fest@^0.21.3: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== -type-fest@^2.0.0, type-fest@^2.13.0, type-fest@^2.5.0: - version "2.19.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.19.0.tgz#88068015bb33036a598b952e55e9311a60fd3a9b" - integrity sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA== - -type-fest@^3.1.0: - version "3.4.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-3.4.0.tgz#64a35b7748ab4a96b3e0c324475ea66643c5f9df" - integrity sha512-PEPg6RHlB9cFwoTMNENNrQFL0cXX04voWr2UPwQBJ3pVs7Mt8Y1oLWdUeMdGEwZE8HFFlujq8gS9enmyiQ8pLg== - type-fest@^3.12.0, type-fest@^3.8.0: version "3.13.1" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-3.13.1.tgz#bb744c1f0678bea7543a2d1ec24e83e68e8c8706" integrity sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g== -type-fest@^3.9.0: - version "3.11.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-3.11.0.tgz#e78ea6b50d6a6b1e4609035fb9ea8f1e3c328194" - integrity sha512-JaPw5U9ixP0XcpUbQoVSbxSDcK/K4nww20C3kjm9yE6cDRRhptU28AH60VWf9ltXmCrIfIbtt9J+2OUk2Uqiaw== - typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" @@ -5579,7 +5405,7 @@ util@^0.11.0: dependencies: inherits "2.0.3" -validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: +validate-npm-package-license@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== @@ -5756,11 +5582,6 @@ yaml@^2.2.2: resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b" integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ== -yargs-parser@^21.1.1: - version "21.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" - integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== - yocto-queue@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251" From db93d09de7a065c1c2ec8e1d4d021b487c3ac4aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=94?= Date: Sun, 22 Oct 2023 19:33:30 +0200 Subject: [PATCH 12/14] 6.2.14 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1c53a7f..05f891b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gltfjsx", - "version": "6.2.13", + "version": "6.2.14", "description": "GLTF to JSX converter", "scripts": { "build": "rollup -c", From 8bf87e1913b941ae16a1c57817d08e865f8568f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=94?= Date: Fri, 10 Nov 2023 21:57:31 +0100 Subject: [PATCH 13/14] 6.2.15 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 05f891b..bea7cee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gltfjsx", - "version": "6.2.14", + "version": "6.2.15", "description": "GLTF to JSX converter", "scripts": { "build": "rollup -c", From ab31a96009217ade69d5e19badad4258bf7b3683 Mon Sep 17 00:00:00 2001 From: Mohamed Refaay <69407428+Mohmed-Refaay@users.noreply.github.com> Date: Thu, 21 Dec 2023 22:47:03 +0200 Subject: [PATCH 14/14] Update readme.md (#234) Fix a typo in the shadow option. --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 19a0dbb..0f08100 100644 --- a/readme.md +++ b/readme.md @@ -34,7 +34,7 @@ Options --keepnames, -k Keep original names --keepgroups, -K Keep (empty) groups, disable pruning --meta, -m Include metadata (as userData) - --shadows, s Let meshes cast and receive shadows + --shadows, -s Let meshes cast and receive shadows --printwidth, w Prettier printWidth (default: 120) --precision, -p Number of fractional digits (default: 3) --draco, -d Draco binary path