@jscad/x3d-deserializer 3.0.1-alpha.0 → 3.0.3-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jscad/x3d-deserializer",
3
- "version": "3.0.1-alpha.0",
3
+ "version": "3.0.3-alpha.0",
4
4
  "description": "X3D Deserializer for JSCAD",
5
5
  "homepage": "https://openjscad.xyz/",
6
6
  "repository": "https://github.com/jscad/OpenJSCAD.org/",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@jscad/array-utils": "3.0.1-alpha.0",
36
- "@jscad/io-utils": "3.0.1-alpha.0",
37
- "@jscad/modeling": "3.0.1-alpha.0",
36
+ "@jscad/io-utils": "3.0.3-alpha.0",
37
+ "@jscad/modeling": "3.0.3-alpha.0",
38
38
  "saxes": "^6.0.0"
39
39
  },
40
40
  "devDependencies": {
@@ -47,5 +47,5 @@
47
47
  "rollup-plugin-banner": "^0.2.1",
48
48
  "rollup-plugin-version-injector": "^1.3.3"
49
49
  },
50
- "gitHead": "0660b5c1f1a5faf54d4cfae1cb85bb94182a8d32"
50
+ "gitHead": "b0a83db054ec02ccddd9e19e51f86bf30f72a69e"
51
51
  }
@@ -54,7 +54,7 @@ const createObjects${object.id} = (options) => {
54
54
  ${polysAsStrings.join(',\n ')}
55
55
  ]
56
56
  `
57
- primitive = 'geom3.fromPoints(polygons)'
57
+ primitive = 'geom3.fromVertices(polygons)'
58
58
  }
59
59
  }
60
60
  }
@@ -46,7 +46,7 @@ test('deserialize X3D 3D components to JSCAD script', (t) => {
46
46
  t.is(countOf('createObjects', observed), 20)
47
47
  t.is(countOf('cylinder', observed), 2)
48
48
  t.is(countOf('sphere', observed), 1)
49
- t.is(countOf('geom3.fromPoints', observed), 1)
49
+ t.is(countOf('geom3.fromVertices', observed), 1)
50
50
  t.is(countOf('transform', observed), 10)
51
51
  })
52
52