@thi.ng/geom-io-obj 0.3.7 → 0.3.10

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2021-12-13T10:26:00Z
3
+ - **Last updated**: 2022-04-07T14:17:30Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [0.3.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-io-obj@0.3.9) (2022-04-07)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - replace deprecated .substr() w/ .substring() ([0710509](https://github.com/thi-ng/umbrella/commit/0710509))
17
+
12
18
  ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-io-obj@0.3.0) (2021-11-17)
13
19
 
14
20
  #### 🚀 Features
package/README.md CHANGED
@@ -180,4 +180,4 @@ If this project contributes to an academic publication, please cite it as:
180
180
 
181
181
  ## License
182
182
 
183
- © 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
183
+ © 2016 - 2022 Karsten Schmidt // Apache Software License 2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-io-obj",
3
- "version": "0.3.7",
3
+ "version": "0.3.10",
4
4
  "description": "Wavefront OBJ parser (& exporter soon)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,17 +34,17 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.3.3",
38
- "@thi.ng/errors": "^2.1.3",
39
- "@thi.ng/vectors": "^7.4.3"
37
+ "@thi.ng/api": "^8.3.5",
38
+ "@thi.ng/errors": "^2.1.5",
39
+ "@thi.ng/vectors": "^7.5.2"
40
40
  },
41
41
  "devDependencies": {
42
- "@microsoft/api-extractor": "^7.19.2",
43
- "@thi.ng/testament": "^0.2.3",
42
+ "@microsoft/api-extractor": "^7.19.4",
43
+ "@thi.ng/testament": "^0.2.5",
44
44
  "rimraf": "^3.0.2",
45
45
  "tools": "^0.0.1",
46
- "typedoc": "^0.22.10",
47
- "typescript": "^4.5.3"
46
+ "typedoc": "^0.22.13",
47
+ "typescript": "^4.6.2"
48
48
  },
49
49
  "keywords": [
50
50
  "3d",
@@ -70,13 +70,13 @@
70
70
  ],
71
71
  "exports": {
72
72
  ".": {
73
- "import": "./index.js"
73
+ "default": "./index.js"
74
74
  },
75
75
  "./api": {
76
- "import": "./api.js"
76
+ "default": "./api.js"
77
77
  },
78
78
  "./parser": {
79
- "import": "./parser.js"
79
+ "default": "./parser.js"
80
80
  }
81
81
  },
82
82
  "thi.ng": {
@@ -84,5 +84,5 @@
84
84
  "status": "alpha",
85
85
  "year": 2016
86
86
  },
87
- "gitHead": "1ba92c6b9509e74e509b4c0b875fc380a97bbbc1\n"
87
+ "gitHead": "542bf14bd0c7a56b4e6297718189eea772a824b7\n"
88
88
  }
package/parser.js CHANGED
@@ -90,7 +90,7 @@ export const parseOBJ = (src, opts) => {
90
90
  if (!l.length)
91
91
  continue;
92
92
  if (l[0] === "#") {
93
- comments && result.comments.push(l.substr(1).trim());
93
+ comments && result.comments.push(l.substring(1).trim());
94
94
  continue;
95
95
  }
96
96
  const items = l.trim().split(/\s+/g);