potree-core 2.0.3 → 2.0.4

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.
@@ -37,27 +37,24 @@ export declare class PointCloudOctreeGeometryNode extends EventDispatcher implem
37
37
  constructor(name: string, pcoGeometry: PointCloudOctreeGeometry, boundingBox: Box3);
38
38
  dispose(): void;
39
39
  /**
40
- * Gets the url of the binary file for this node.
41
- */
40
+ * Gets the url of the binary file for this node.
41
+ */
42
42
  getUrl(): string;
43
43
  /**
44
- * Gets the url of the hierarchy file for this node.
45
- */
44
+ * Gets the url of the hierarchy file for this node.
45
+ */
46
46
  getHierarchyUrl(): string;
47
47
  /**
48
- * Adds the specified node as a child of the current node.
49
- *
50
- * @param child
51
- * The node which is to be added as a child.
52
- */
48
+ * Adds the specified node as a child of the current node.
49
+ *
50
+ * @param child - The node which is to be added as a child.
51
+ */
53
52
  addChild(child: PointCloudOctreeGeometryNode): void;
54
53
  /**
55
- * Calls the specified callback for the current node (if includeSelf is set to true) and all its
56
- * children.
57
- *
58
- * @param cb
59
- * The function which is to be called for each node.
60
- */
54
+ * Calls the specified callback for the current node (if includeSelf is set to true) and all its children.
55
+ *
56
+ * @param cb - The function which is to be called for each node.
57
+ */
61
58
  traverse(cb: (node: PointCloudOctreeGeometryNode) => void, includeSelf?: boolean): void;
62
59
  load(): Promise<void>;
63
60
  private canLoad;
package/package.json CHANGED
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "name": "potree-core",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Potree wrapper for three.js applications",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/tentone/potree-core.git"
8
8
  },
9
- "files": ["dist"],
9
+ "files": [
10
+ "dist"
11
+ ],
10
12
  "type": "module",
11
13
  "main": "dist/index.js",
12
14
  "scripts": {
@@ -30,21 +32,23 @@
30
32
  "three": ">0.120.0"
31
33
  },
32
34
  "devDependencies": {
33
- "@typescript-eslint/eslint-plugin": "5.48.1",
34
- "@typescript-eslint/parser": "5.48.1",
35
35
  "@types/node": "18.11.18",
36
36
  "@types/three": "^0.148.0",
37
+ "@typescript-eslint/eslint-plugin": "5.48.1",
38
+ "@typescript-eslint/parser": "5.48.1",
39
+ "copy-webpack-plugin": "11.0.0",
37
40
  "css-loader": "6.7.3",
41
+ "brotli": "1.3.3",
42
+ "eslint": "8.30.0",
43
+ "eslint-plugin-import": "2.26.0",
44
+ "eslint-plugin-tsdoc": "0.2.17",
45
+ "eslint-plugin-typescript": "0.14.0",
38
46
  "html-loader": "4.2.0",
39
47
  "html-webpack-plugin": "5.5.0",
40
48
  "raw-loader": "4.0.2",
41
49
  "style-loader": "3.3.1",
42
50
  "three": "^0.148.0",
43
51
  "ts-loader": "9.4.2",
44
- "eslint": "8.30.0",
45
- "eslint-plugin-import": "2.26.0",
46
- "eslint-plugin-tsdoc": "0.2.17",
47
- "eslint-plugin-typescript": "0.14.0",
48
52
  "typescript": "4.9.4",
49
53
  "webpack": "5.75.0",
50
54
  "webpack-bundle-analyzer": "4.7.0",