@jscad/web 2.5.4 → 2.5.5

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.
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.3.2](https://github.com/jscad/OpenJSCAD.org/compare/@jscad/examples@2.3.1...@jscad/examples@2.3.2) (2022-02-19)
7
+
8
+ **Note:** Version bump only for package @jscad/examples
9
+
10
+
11
+
12
+
13
+
6
14
  ## [2.3.1](https://github.com/jscad/OpenJSCAD.org/compare/@jscad/examples@2.3.0...@jscad/examples@2.3.1) (2021-09-27)
7
15
 
8
16
  **Note:** Version bump only for package @jscad/examples
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jscad/examples",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Example Files for JSCAD",
5
5
  "repository": "https://github.com/jscad/OpenJSCAD.org",
6
6
  "scripts": {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jscad/web",
3
- "version": "2.5.4",
3
+ "version": "2.5.5",
4
4
  "description": "Web Application for JSCAD",
5
5
  "repository": "https://github.com/jscad/OpenJSCAD.org",
6
6
  "main": "src/index.js",
@@ -34,12 +34,12 @@
34
34
  ],
35
35
  "license": "MIT",
36
36
  "dependencies": {
37
- "@jscad/array-utils": "2.1.1",
38
- "@jscad/core": "2.5.4",
37
+ "@jscad/array-utils": "2.1.2",
38
+ "@jscad/core": "2.5.5",
39
39
  "@jscad/examples": "2.3.2",
40
- "@jscad/io": "2.2.4",
41
- "@jscad/modeling": "2.7.2",
42
- "@jscad/regl-renderer": "2.5.4",
40
+ "@jscad/io": "2.2.5",
41
+ "@jscad/modeling": "2.8.0",
42
+ "@jscad/regl-renderer": "2.5.5",
43
43
  "@most/create": "2.0.1",
44
44
  "brace": "0.11.1",
45
45
  "codemirror": "5.57.0",
@@ -66,5 +66,5 @@
66
66
  "url": "https://opencollective.com/openjscad",
67
67
  "logo": "https://opencollective.com/openjscad/logo.txt"
68
68
  },
69
- "gitHead": "b6c5675d2d9a292e0ba24896bf22d0e9dc5d4270"
69
+ "gitHead": "92fb9c75eb070fca5f5ee8c2bab6614b1f54514e"
70
70
  }
@@ -143,7 +143,7 @@ const viewer = (state, i18n) => {
143
143
  } else {
144
144
  // only generate entities when the solids change
145
145
  // themes, options, etc also change the viewer state
146
- const solids = state.design.solids
146
+ const solids = state.design.solids.filter((solid) => solid && (solid instanceof Object))
147
147
  if (prevSolids) {
148
148
  const theme = state.themes.themeSettings.viewer
149
149
  const color = theme.rendering.meshColor
@@ -18,7 +18,7 @@ const makeLogger = (params) => {
18
18
 
19
19
  const warning = (...params) => {
20
20
  if (enabled) {
21
- console.warning(...params)
21
+ console.warn(...params)
22
22
  }
23
23
  }
24
24
  const error = (...params) => {