New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vim-format

Package Overview
Dependencies
Maintainers
5
Versions
341
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vim-format - npm Package Compare versions

Comparing version 1.0.6-dev.134 to 1.0.6-dev.135

4

dist/remoteGeometry.d.ts

@@ -9,2 +9,3 @@ import { BFast } from "./bfast";

scene: RemoteValue<G3dMeshIndex>;
sceneRaw: RemoteValue<G3dMeshIndex>;
constructor(bfast: BFast);

@@ -24,3 +25,5 @@ static fromPath(path: string): Promise<RemoteGeometry>;

private requestIndex;
private requestIndexRaw;
getIndex(): Promise<G3dMeshIndex>;
getIndexRaw(): Promise<G3dMeshIndex>;
/**

@@ -34,3 +37,2 @@ * Fetches and returns the vimx G3dMaterials

getMesh(mesh: number): Promise<G3dMesh>;
getIndexRaw(): Promise<G3dMeshIndex>;
/**

@@ -37,0 +39,0 @@ * Fetches and returns the vimx G3dMaterials

@@ -14,2 +14,3 @@ "use strict";

this.scene = new remoteValue_1.RemoteValue(() => this.requestIndex());
this.sceneRaw = new remoteValue_1.RemoteValue(() => this.requestIndexRaw());
}

@@ -40,5 +41,12 @@ static async fromPath(path) {

}
async requestIndexRaw() {
const index = await this.bfast.getLocalBfastRaw('index', true);
return g3dMeshIndex_1.G3dMeshIndex.createFromBfast(index);
}
async getIndex() {
return this.scene.get();
}
async getIndexRaw() {
return this.sceneRaw.get();
}
/**

@@ -62,6 +70,2 @@ * Fetches and returns the vimx G3dMaterials

}
async getIndexRaw() {
const index = await this.bfast.getLocalBfast('index', true);
return g3dMeshIndex_1.G3dMeshIndex.createFromBfast(index);
}
/**

@@ -79,5 +83,9 @@ * Fetches and returns the vimx G3dMaterials

const m = await this.bfast.getLocalBfastRaw(`mesh_${mesh}`, true);
return g3dMesh_1.G3dMesh.createFromBfast(m);
const result = await g3dMesh_1.G3dMesh.createFromBfast(m);
const scene = await this.sceneRaw.get();
result.scene = scene;
result.meshIndex = mesh;
return result;
}
}
exports.RemoteGeometry = RemoteGeometry;

@@ -9,2 +9,3 @@ import { BFast } from "./bfast";

scene: RemoteValue<G3dMeshIndex>;
sceneRaw: RemoteValue<G3dMeshIndex>;
constructor(bfast: BFast);

@@ -24,3 +25,5 @@ static fromPath(path: string): Promise<RemoteGeometry>;

private requestIndex;
private requestIndexRaw;
getIndex(): Promise<G3dMeshIndex>;
getIndexRaw(): Promise<G3dMeshIndex>;
/**

@@ -34,3 +37,2 @@ * Fetches and returns the vimx G3dMaterials

getMesh(mesh: number): Promise<G3dMesh>;
getIndexRaw(): Promise<G3dMeshIndex>;
/**

@@ -37,0 +39,0 @@ * Fetches and returns the vimx G3dMaterials

{
"name": "vim-format",
"version": "1.0.6-dev.134",
"version": "1.0.6-dev.135",
"description": "The VIM format is a modern and efficient open 3D data interchange format designed for BIM and manufacturing data optimized for efficient loading and rendering on low-power devices.",

@@ -5,0 +5,0 @@ "directories": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc