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

@types/three

Package Overview
Dependencies
Maintainers
1
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/three - npm Package Compare versions

Comparing version 0.150.1 to 0.150.2

4

three/package.json
{
"name": "@types/three",
"version": "0.150.1",
"version": "0.150.2",
"description": "TypeScript definitions for three",

@@ -33,3 +33,3 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three",

},
"typesPublisherContentHash": "c7ff42de666a86340964d8f399b86ddfa5b1abfa546b40ede1e3385f993d5903",
"typesPublisherContentHash": "c2191d62aed43403a160d31f1eda315dcee3ba0c3154b0cd4cd4fed4226f8434",
"typeScriptVersion": "4.4",

@@ -36,0 +36,0 @@ "exports": {

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sun, 02 Apr 2023 10:33:00 GMT
* Last updated: Tue, 18 Apr 2023 23:32:45 GMT
* Dependencies: [@types/fflate](https://npmjs.com/package/@types/fflate), [@types/lil-gui](https://npmjs.com/package/@types/lil-gui), [@types/stats.js](https://npmjs.com/package/@types/stats.js), [@types/webxr](https://npmjs.com/package/@types/webxr)

@@ -14,0 +14,0 @@ * Global values: `THREE`

@@ -5,3 +5,3 @@ import { Vector3 } from './../math/Vector3';

import { Object3D } from './../core/Object3D';
import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';

@@ -8,0 +8,0 @@ // Extras / Helpers /////////////////////////////////////////////////////////////////////

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

import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';
import { Object3D } from './../core/Object3D';

@@ -3,0 +3,0 @@ import { LineSegments } from './../objects/LineSegments';

@@ -5,3 +5,3 @@ import { DirectionalLight } from './../lights/DirectionalLight';

import { Object3D } from './../core/Object3D';
import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';

@@ -8,0 +8,0 @@ export class DirectionalLightHelper extends Object3D {

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

import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';
import { LineSegments } from './../objects/LineSegments';

@@ -3,0 +3,0 @@

import { HemisphereLight } from './../lights/HemisphereLight';
import { Color } from './../math/Color';
import { Matrix4 } from './../math/Matrix4';
import { MeshBasicMaterial } from './../materials/MeshBasicMaterial';
import { Object3D } from './../core/Object3D';
import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';

@@ -8,0 +7,0 @@ export class HemisphereLightHelper extends Object3D {

import { PointLight } from './../lights/PointLight';
import { Matrix4 } from './../math/Matrix4';
import { Object3D } from './../core/Object3D';
import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';

@@ -6,0 +6,0 @@ export class PointLightHelper extends Object3D {

import { LineSegments } from '../objects/LineSegments';
import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';

@@ -4,0 +4,0 @@ export class PolarGridHelper extends LineSegments {

@@ -5,3 +5,3 @@ import { Light } from './../lights/Light';

import { LineSegments } from '../objects/LineSegments';
import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';

@@ -8,0 +8,0 @@ export class SpotLightHelper extends Object3D {

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

import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';
import { Light } from './Light';

@@ -3,0 +3,0 @@

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

import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';
import { LightProbe } from './LightProbe';

@@ -3,0 +3,0 @@

@@ -5,3 +5,3 @@ import { Object3D } from './../core/Object3D';

import { Vector3 } from '../math/Vector3';
import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';

@@ -8,0 +8,0 @@ /**

@@ -1,5 +0,4 @@

import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';
import { Vector3 } from '../math/Vector3';
import { Light } from './Light';
import { ColorRepresentation } from '../utils';

@@ -6,0 +5,0 @@ export class HemisphereLight extends Light {

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

import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';
import { LightProbe } from './LightProbe';

@@ -3,0 +3,0 @@

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

import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';
import { Light } from './Light';

@@ -3,0 +3,0 @@ import { PointLightShadow } from './PointLightShadow';

import { Light } from './Light';
import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';

@@ -4,0 +4,0 @@ export class RectAreaLight extends Light {

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

import { Color } from './../math/Color';
import { Vector3 } from '../math/Vector3';

@@ -6,3 +5,3 @@ import { Object3D } from './../core/Object3D';

import { Light } from './Light';
import { ColorRepresentation } from '../utils';
import { ColorRepresentation } from '../math/Color';
import { Texture } from '../textures/Texture';

@@ -9,0 +8,0 @@

@@ -1,3 +0,2 @@

import { ColorRepresentation } from '../utils';
import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';
import { MaterialParameters, Material } from './Material';

@@ -4,0 +3,0 @@

@@ -1,6 +0,5 @@

import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';
import { Texture } from './../textures/Texture';
import { MaterialParameters, Material } from './Material';
import { Combine } from '../constants';
import { ColorRepresentation } from '../utils';
/**

@@ -7,0 +6,0 @@ * parameters is an object with one or more properties defining the material's appearance.

@@ -1,6 +0,5 @@

import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';
import { Texture } from './../textures/Texture';
import { MaterialParameters, Material } from './Material';
import { Combine, NormalMapTypes } from '../constants';
import { ColorRepresentation } from '../utils';
import { Vector2 } from '../Three';

@@ -7,0 +6,0 @@

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

import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';
import { Texture } from './../textures/Texture';

@@ -6,3 +6,2 @@ import { Vector2 } from './../math/Vector2';

import { NormalMapTypes } from '../constants';
import { ColorRepresentation } from '../utils';

@@ -9,0 +8,0 @@ export interface MeshMatcapMaterialParameters extends MaterialParameters {

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

import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';
import { Texture } from './../textures/Texture';

@@ -6,3 +6,2 @@ import { Vector2 } from './../math/Vector2';

import { Combine, NormalMapTypes } from '../constants';
import { ColorRepresentation } from '../utils';

@@ -9,0 +8,0 @@ export interface MeshPhongMaterialParameters extends MaterialParameters {

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

import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';
import { Texture } from './../textures/Texture';

@@ -6,3 +6,2 @@ import { Vector2 } from './../math/Vector2';

import { NormalMapTypes } from '../constants';
import { ColorRepresentation } from '../utils';

@@ -9,0 +8,0 @@ export interface MeshStandardMaterialParameters extends MaterialParameters {

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

import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';
import { Texture } from './../textures/Texture';

@@ -6,3 +6,2 @@ import { Vector2 } from './../math/Vector2';

import { NormalMapTypes } from '../constants';
import { ColorRepresentation } from '../utils';

@@ -9,0 +8,0 @@ export interface MeshToonMaterialParameters extends MaterialParameters {

import { Material, MaterialParameters } from './Material';
import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';
import { Texture } from './../textures/Texture';
import { ColorRepresentation } from '../utils';

@@ -6,0 +5,0 @@ export interface PointsMaterialParameters extends MaterialParameters {

@@ -1,3 +0,2 @@

import { ColorRepresentation } from '../utils';
import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';
import { MaterialParameters, Material } from './Material';

@@ -4,0 +3,0 @@

@@ -1,3 +0,2 @@

import { ColorRepresentation } from '../utils';
import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';
import { Texture } from './../textures/Texture';

@@ -4,0 +3,0 @@ import { MaterialParameters, Material } from './Material';

import { ColorSpace } from '../constants';
import { ColorRepresentation } from '../utils';

@@ -160,3 +159,3 @@ import { BufferAttribute } from './../core/BufferAttribute';

export type ColorKeyword = keyof typeof _colorKeywords;
export type ColorRepresentation = Color | string | number;

@@ -240,3 +239,3 @@ export interface HSL {

*/
setColorName(style: ColorKeyword, colorSpace?: ColorSpace): Color;
setColorName(style: string, colorSpace?: ColorSpace): Color;

@@ -243,0 +242,0 @@ /**

@@ -12,3 +12,3 @@ import { Scene } from './../scenes/Scene';

import { Vector4 } from './../math/Vector4';
import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';
import { WebGLRenderTarget } from './WebGLRenderTarget';

@@ -26,3 +26,2 @@ import { WebGLMultipleRenderTargets } from './WebGLMultipleRenderTargets';

import { DataArrayTexture } from '../textures/DataArrayTexture';
import { ColorRepresentation } from '../utils';

@@ -29,0 +28,0 @@ export interface Renderer {

@@ -1,3 +0,2 @@

import { ColorRepresentation } from '../utils';
import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';

@@ -4,0 +3,0 @@ export interface FogBase {

@@ -1,3 +0,2 @@

import { ColorRepresentation } from '../utils';
import { Color } from './../math/Color';
import { Color, ColorRepresentation } from './../math/Color';
import { FogBase } from './Fog';

@@ -4,0 +3,0 @@

@@ -6,3 +6,2 @@ /**

export * from './Three.Legacy';
export * from './utils';
/**

@@ -9,0 +8,0 @@ * Animation

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