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

@threlte/core

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@threlte/core - npm Package Compare versions

Comparing version 6.0.0-next.2 to 6.0.0-next.3

8

dist/CHANGELOG.md
# @threlte/core
## 6.0.0-next.3
### Major Changes
- fef242de: Removed the stale types of Pass, removed MeshInstance, Object3DInstance, Instance and InstancedMesh from core.
- eb0dc69f: Removed the component TransformableObject, removed stale types from rapier package
- a39ccd68: Removed ViewportAwareObject (replaced in user-land by plugins)
## 6.0.0-next.2

@@ -4,0 +12,0 @@

8

dist/index.d.ts
export { default as Canvas } from './Canvas.svelte';
export { default as InstancedMesh } from './objects/InstancedMesh.svelte';
export { default as Instance } from './objects/Instance.svelte';
export { default as MeshInstance } from './instances/MeshInstance.svelte';
export { default as Object3DInstance } from './instances/Object3DInstance.svelte';
export { default as HierarchicalObject } from './internal/HierarchicalObject.svelte';
export { default as SceneGraphObject } from './internal/SceneGraphObject.svelte';
export { default as TransformableObject } from './internal/TransformableObject.svelte';
export { default as ViewportAwareObject } from './internal/ViewportAwareObject.svelte';
export { default as DisposableObject } from './internal/DisposableObject.svelte';

@@ -29,2 +23,2 @@ export { T, extend } from './components/T/T';

export { useCache } from './lib/cache';
export type { HierarchicalObjectProperties, TransformableObjectProperties, DisposableObjectProperties, ViewportAwareObjectProperties, Object3DInstanceProperties, MeshInstanceProperties, InstancedMeshProperties, InstanceProperties, PassProperties, SceneGraphObjectProperties } from './types/components';
export type { HierarchicalObjectProperties, DisposableObjectProperties, SceneGraphObjectProperties } from './types/components';
// canvas component
export { default as Canvas } from './Canvas.svelte';
// object components
export { default as InstancedMesh } from './objects/InstancedMesh.svelte';
export { default as Instance } from './objects/Instance.svelte';
// object instance components
export { default as MeshInstance } from './instances/MeshInstance.svelte';
export { default as Object3DInstance } from './instances/Object3DInstance.svelte';
// trait components
export { default as HierarchicalObject } from './internal/HierarchicalObject.svelte';
export { default as SceneGraphObject } from './internal/SceneGraphObject.svelte';
export { default as TransformableObject } from './internal/TransformableObject.svelte';
export { default as ViewportAwareObject } from './internal/ViewportAwareObject.svelte';
export { default as DisposableObject } from './internal/DisposableObject.svelte';

@@ -15,0 +7,0 @@ // components (v6)

@@ -1,4 +0,2 @@

import type { BufferGeometry, ColorRepresentation, Material, Mesh, Object3D } from 'three';
import type { Pass } from 'three/examples/jsm/postprocessing/Pass';
import type { LookAt, Position, Rotation, Scale } from './types';
import type { Object3D } from 'three';
export declare type HierarchicalObjectProperties = {

@@ -20,40 +18,1 @@ object?: Object3D;

};
export declare type TransformableObjectProperties = {
object: Object3D;
position?: Position;
scale?: Scale;
rotation?: Rotation;
lookAt?: LookAt;
};
export declare type ViewportAwareObjectProperties = {
object: Object3D;
viewportAware: boolean;
/**
* Use as a binding.
*/
inViewport: boolean;
};
export declare type Object3DInstanceProperties = SceneGraphObjectProperties & TransformableObjectProperties & ViewportAwareObjectProperties & DisposableObjectProperties & {
castShadow?: boolean;
receiveShadow?: boolean;
frustumCulled?: boolean;
renderOrder?: number;
visible?: boolean;
userData?: Record<string, any>;
};
export declare type MeshInstanceProperties = Omit<Object3DInstanceProperties, 'object'> & {
mesh: Mesh;
};
export declare type PassProperties = {
pass: Pass;
};
export declare type InstancedMeshProperties = Omit<MeshInstanceProperties, 'mesh' | 'frustumCulled'> & {
geometry: BufferGeometry;
material: Material | Material[];
count?: number;
id?: string;
};
export declare type InstanceProperties = Omit<TransformableObjectProperties, 'object'> & {
color?: ColorRepresentation;
id?: string;
};
{
"name": "@threlte/core",
"version": "6.0.0-next.2",
"version": "6.0.0-next.3",
"author": "Grischa Erbe <hello@legrisch.com> (https://legrisch.com)",

@@ -5,0 +5,0 @@ "license": "MIT",

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