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.205 to 1.0.6-dev.206

2

dist/vimLoader.d.ts

@@ -6,5 +6,5 @@ /**

export declare class VimLoader {
static loadFromBfast(bfast: BFast, ignoreStrings: boolean): Promise<[BFast | undefined, string[] | undefined]>;
static loadFromBfast(bfast: BFast, download: boolean, ignoreStrings: boolean): Promise<[BFast | undefined, string[] | undefined]>;
private static requestStrings;
private static requestEntities;
}

@@ -8,5 +8,5 @@ "use strict";

class VimLoader {
static async loadFromBfast(bfast, ignoreStrings) {
static async loadFromBfast(bfast, download, ignoreStrings) {
const [entity, strings] = await Promise.all([
VimLoader.requestEntities(bfast),
VimLoader.requestEntities(bfast, download),
ignoreStrings ? Promise.resolve(undefined) : VimLoader.requestStrings(bfast)

@@ -25,4 +25,6 @@ ]);

}
static async requestEntities(bfast) {
const entities = await bfast.getBfast('entities');
static async requestEntities(bfast, download) {
const entities = download
? await bfast.getLocalBfast('entities')
: await bfast.getBfast('entities');
if (!entities) {

@@ -29,0 +31,0 @@ console.error('Could not get String Data from VIM file. Bim features will be disabled.');

{
"name": "vim-format",
"version": "1.0.6-dev.205",
"version": "1.0.6-dev.206",
"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": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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