Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babylonjs-gltf2interface

Package Overview
Dependencies
Maintainers
1
Versions
625
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babylonjs-gltf2interface - npm Package Compare versions

Comparing version 4.0.0-alpha.17 to 4.0.0-alpha.18

56

babylon.glTF2Interface.d.ts

@@ -10,2 +10,4 @@ /**

* Module for glTF 2.0 Interface
* @ignoreChildren
* @ignore
*/

@@ -856,2 +858,50 @@ declare module BABYLON.GLTF2 {

}
/**
* Interface for glTF validation results
*/
interface IGLTFValidationResults {
info: {
generator: string;
hasAnimations: boolean;
hasDefaultScene: boolean;
hasMaterials: boolean;
hasMorphTargets: boolean;
hasSkins: boolean;
hasTextures: boolean;
maxAttributesUsed: number;
primitivesCount: number
};
issues: {
messages: Array<string>;
numErrors: number;
numHints: number;
numInfos: number;
numWarnings: number;
truncated: boolean
};
mimeType: string;
uri: string;
validatedAt: string;
validatorVersion: string;
}
/**
* Interface for glTF validation options
*/
interface IGLTFValidationOptions {
uri?: string;
externalResourceFunction?: (uri: string) => Promise<Uint8Array>;
validateAccessorData?: boolean;
maxIssues?: number;
ignoredIssues?: Array<string>;
severityOverrides?: Object;
}
/**
* glTF validator object Tyyings
*/
interface IGLTFValidatorTypings {
validateString: (json: string, options?: IGLTFValidationOptions) => Promise<IGLTFValidationResults>;
}
}

@@ -901,6 +951,6 @@

/**
* glTF validator object
* glTF validator object Tyyings
*/
declare var GLTFValidator: {
interface IGLTFValidatorTypings {
validateString: (json: string, options?: IGLTFValidationOptions) => Promise<IGLTFValidationResults>;
};
}

2

package.json
{
"name": "babylonjs-gltf2interface",
"description": "A typescript declaration of babylon's gltf2 inteface.",
"version": "4.0.0-alpha.17",
"version": "4.0.0-alpha.18",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

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