Update external libraries.
This commit is contained in:
parent
c975059a78
commit
3729889905
Binary file not shown.
2
libs/three.min.js
vendored
2
libs/three.min.js
vendored
File diff suppressed because one or more lines are too long
@ -53,7 +53,7 @@
|
||||
|
||||
if ( node.nodeType !== 1 ) return;
|
||||
const transform = getNodeTransform( node );
|
||||
let traverseChildNodes = true;
|
||||
let isDefsNode = false;
|
||||
let path = null;
|
||||
|
||||
switch ( node.nodeName ) {
|
||||
@ -105,7 +105,7 @@
|
||||
break;
|
||||
|
||||
case 'defs':
|
||||
traverseChildNodes = false;
|
||||
isDefsNode = true;
|
||||
break;
|
||||
|
||||
case 'use':
|
||||
@ -147,16 +147,23 @@
|
||||
|
||||
}
|
||||
|
||||
if ( traverseChildNodes ) {
|
||||
const childNodes = node.childNodes;
|
||||
|
||||
const nodes = node.childNodes;
|
||||
for ( let i = 0; i < childNodes.length; i ++ ) {
|
||||
|
||||
for ( let i = 0; i < nodes.length; i ++ ) {
|
||||
const node = childNodes[ i ];
|
||||
|
||||
parseNode( nodes[ i ], style );
|
||||
if ( isDefsNode && node.nodeName !== 'style' && node.nodeName !== 'defs' ) {
|
||||
|
||||
// Ignore everything in defs except CSS style definitions
|
||||
// and nested defs, because it is OK by the standard to have
|
||||
// <style/> there.
|
||||
continue;
|
||||
|
||||
}
|
||||
|
||||
parseNode( node, style );
|
||||
|
||||
}
|
||||
|
||||
if ( transform ) {
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
"clean-css-cli": "^5.5.2",
|
||||
"docdash": "^1.2.0",
|
||||
"esbuild": "^0.14.23",
|
||||
"eslint": "^8.9.0",
|
||||
"eslint": "^8.10.0",
|
||||
"eslint-plugin-unused-imports": "^2.0.0",
|
||||
"fantasticon": "^1.2.2",
|
||||
"http-server": "^14.0.0",
|
||||
@ -40,8 +40,8 @@
|
||||
"@simonwep/pickr": "1.8.2",
|
||||
"draco3d": "1.5.2",
|
||||
"fflate": "0.7.3",
|
||||
"rhino3dm": "7.11.1",
|
||||
"three": "0.138.0",
|
||||
"rhino3dm": "7.14.0",
|
||||
"three": "0.138.2",
|
||||
"web-ifc": "0.0.33",
|
||||
"occt-import-js" : "0.0.4"
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user