three-stdlib 2.35.9 → 2.35.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. package/_polyfill/constants.d.cts +1 -1
  2. package/_polyfill/constants.d.ts +1 -1
  3. package/_polyfill/uv1.d.cts +1 -1
  4. package/_polyfill/uv1.d.ts +1 -1
  5. package/controls/EventDispatcher.d.cts +1 -1
  6. package/controls/EventDispatcher.d.ts +1 -1
  7. package/controls/FirstPersonControls.d.cts +1 -1
  8. package/controls/FirstPersonControls.d.ts +1 -1
  9. package/controls/experimental/CameraControls.d.cts +1 -1
  10. package/controls/experimental/CameraControls.d.ts +1 -1
  11. package/exporters/STLExporter.d.cts +1 -1
  12. package/exporters/STLExporter.d.ts +1 -1
  13. package/geometries/TextGeometry.d.cts +1 -1
  14. package/geometries/TextGeometry.d.ts +1 -1
  15. package/libs/lottie.cjs +1 -1
  16. package/libs/lottie.cjs.map +1 -1
  17. package/libs/lottie.js +1 -1
  18. package/libs/lottie.js.map +1 -1
  19. package/libs/zstddec.d.cts +1 -1
  20. package/libs/zstddec.d.ts +1 -1
  21. package/loaders/FontLoader.d.cts +2 -2
  22. package/loaders/FontLoader.d.ts +2 -2
  23. package/math/SimplexNoise.d.cts +1 -1
  24. package/math/SimplexNoise.d.ts +1 -1
  25. package/misc/WebGL.d.cts +5 -5
  26. package/misc/WebGL.d.ts +5 -5
  27. package/modifiers/CurveModifier.d.cts +6 -6
  28. package/modifiers/CurveModifier.d.ts +6 -6
  29. package/objects/GroundProjectedEnv.d.cts +1 -1
  30. package/objects/GroundProjectedEnv.d.ts +1 -1
  31. package/package.json +1 -1
  32. package/shaders/ACESFilmicToneMappingShader.d.cts +1 -1
  33. package/shaders/ACESFilmicToneMappingShader.d.ts +1 -1
  34. package/shaders/AfterimageShader.d.cts +1 -1
  35. package/shaders/AfterimageShader.d.ts +1 -1
  36. package/shaders/BasicShader.d.cts +1 -1
  37. package/shaders/BasicShader.d.ts +1 -1
  38. package/shaders/BleachBypassShader.d.cts +1 -1
  39. package/shaders/BleachBypassShader.d.ts +1 -1
  40. package/shaders/BlendShader.d.cts +1 -1
  41. package/shaders/BlendShader.d.ts +1 -1
  42. package/shaders/BokehShader.d.cts +1 -1
  43. package/shaders/BokehShader.d.ts +1 -1
  44. package/shaders/BokehShader2.d.cts +2 -2
  45. package/shaders/BokehShader2.d.ts +2 -2
  46. package/shaders/BrightnessContrastShader.d.cts +1 -1
  47. package/shaders/BrightnessContrastShader.d.ts +1 -1
  48. package/shaders/ColorCorrectionShader.d.cts +1 -1
  49. package/shaders/ColorCorrectionShader.d.ts +1 -1
  50. package/shaders/ColorifyShader.d.cts +1 -1
  51. package/shaders/ColorifyShader.d.ts +1 -1
  52. package/shaders/ConvolutionShader.d.cts +1 -1
  53. package/shaders/ConvolutionShader.d.ts +1 -1
  54. package/shaders/CopyShader.d.cts +1 -1
  55. package/shaders/CopyShader.d.ts +1 -1
  56. package/shaders/DOFMipMapShader.d.cts +1 -1
  57. package/shaders/DOFMipMapShader.d.ts +1 -1
  58. package/shaders/DepthLimitedBlurShader.d.cts +2 -2
  59. package/shaders/DepthLimitedBlurShader.d.ts +2 -2
  60. package/shaders/DigitalGlitch.d.cts +1 -1
  61. package/shaders/DigitalGlitch.d.ts +1 -1
  62. package/shaders/DotScreenShader.d.cts +1 -1
  63. package/shaders/DotScreenShader.d.ts +1 -1
  64. package/shaders/FXAAShader.d.cts +1 -1
  65. package/shaders/FXAAShader.d.ts +1 -1
  66. package/shaders/FilmShader.d.cts +1 -1
  67. package/shaders/FilmShader.d.ts +1 -1
  68. package/shaders/FocusShader.d.cts +1 -1
  69. package/shaders/FocusShader.d.ts +1 -1
  70. package/shaders/FreiChenShader.d.cts +1 -1
  71. package/shaders/FreiChenShader.d.ts +1 -1
  72. package/shaders/FresnelShader.d.cts +1 -1
  73. package/shaders/FresnelShader.d.ts +1 -1
  74. package/shaders/GammaCorrectionShader.d.cts +1 -1
  75. package/shaders/GammaCorrectionShader.d.ts +1 -1
  76. package/shaders/GodRaysShader.d.cts +4 -4
  77. package/shaders/GodRaysShader.d.ts +4 -4
  78. package/shaders/HalftoneShader.d.cts +1 -1
  79. package/shaders/HalftoneShader.d.ts +1 -1
  80. package/shaders/HorizontalBlurShader.d.cts +1 -1
  81. package/shaders/HorizontalBlurShader.d.ts +1 -1
  82. package/shaders/HorizontalTiltShiftShader.d.cts +1 -1
  83. package/shaders/HorizontalTiltShiftShader.d.ts +1 -1
  84. package/shaders/HueSaturationShader.d.cts +1 -1
  85. package/shaders/HueSaturationShader.d.ts +1 -1
  86. package/shaders/KaleidoShader.d.cts +1 -1
  87. package/shaders/KaleidoShader.d.ts +1 -1
  88. package/shaders/LuminosityHighPassShader.d.cts +1 -1
  89. package/shaders/LuminosityHighPassShader.d.ts +1 -1
  90. package/shaders/LuminosityShader.d.cts +1 -1
  91. package/shaders/LuminosityShader.d.ts +1 -1
  92. package/shaders/MirrorShader.d.cts +1 -1
  93. package/shaders/MirrorShader.d.ts +1 -1
  94. package/shaders/NormalMapShader.d.cts +1 -1
  95. package/shaders/NormalMapShader.d.ts +1 -1
  96. package/shaders/ParallaxShader.d.cts +1 -1
  97. package/shaders/ParallaxShader.d.ts +1 -1
  98. package/shaders/PixelShader.d.cts +1 -1
  99. package/shaders/PixelShader.d.ts +1 -1
  100. package/shaders/RGBShiftShader.d.cts +1 -1
  101. package/shaders/RGBShiftShader.d.ts +1 -1
  102. package/shaders/SAOShader.d.cts +1 -1
  103. package/shaders/SAOShader.d.ts +1 -1
  104. package/shaders/SMAAShader.d.cts +3 -3
  105. package/shaders/SMAAShader.d.ts +3 -3
  106. package/shaders/SSAOShader.d.cts +3 -3
  107. package/shaders/SSAOShader.d.ts +3 -3
  108. package/shaders/SSRShader.d.cts +3 -3
  109. package/shaders/SSRShader.d.ts +3 -3
  110. package/shaders/SepiaShader.d.cts +1 -1
  111. package/shaders/SepiaShader.d.ts +1 -1
  112. package/shaders/SobelOperatorShader.d.cts +1 -1
  113. package/shaders/SobelOperatorShader.d.ts +1 -1
  114. package/shaders/SubsurfaceScatteringShader.d.cts +1 -1
  115. package/shaders/SubsurfaceScatteringShader.d.ts +1 -1
  116. package/shaders/TechnicolorShader.d.cts +1 -1
  117. package/shaders/TechnicolorShader.d.ts +1 -1
  118. package/shaders/ToneMapShader.d.cts +1 -1
  119. package/shaders/ToneMapShader.d.ts +1 -1
  120. package/shaders/ToonShader.d.cts +4 -4
  121. package/shaders/ToonShader.d.ts +4 -4
  122. package/shaders/TriangleBlurShader.d.cts +1 -1
  123. package/shaders/TriangleBlurShader.d.ts +1 -1
  124. package/shaders/UnpackDepthRGBAShader.d.cts +1 -1
  125. package/shaders/UnpackDepthRGBAShader.d.ts +1 -1
  126. package/shaders/VerticalBlurShader.d.cts +1 -1
  127. package/shaders/VerticalBlurShader.d.ts +1 -1
  128. package/shaders/VerticalTiltShiftShader.d.cts +1 -1
  129. package/shaders/VerticalTiltShiftShader.d.ts +1 -1
  130. package/shaders/VignetteShader.d.cts +1 -1
  131. package/shaders/VignetteShader.d.ts +1 -1
  132. package/shaders/VolumeShader.d.cts +1 -1
  133. package/shaders/VolumeShader.d.ts +1 -1
  134. package/shaders/WaterRefractionShader.d.cts +1 -1
  135. package/shaders/WaterRefractionShader.d.ts +1 -1
  136. package/types/helpers.d.cts +1 -1
  137. package/types/helpers.d.ts +1 -1
  138. package/utils/BufferGeometryUtils.d.cts +8 -8
  139. package/utils/BufferGeometryUtils.d.ts +8 -8
  140. package/utils/GeometryUtils.d.cts +1 -1
  141. package/utils/GeometryUtils.d.ts +1 -1
@@ -1 +1 @@
1
- export type declare const version: number;
1
+ export declare const version: number;
@@ -1 +1 @@
1
- export type declare const version: number;
1
+ export declare const version: number;
@@ -2,4 +2,4 @@
2
2
  *
3
3
  * https://github.com/mrdoob/three.js/pull/25943
4
4
  */
5
- export type declare const UV1: string;
5
+ export declare const UV1: string;
@@ -2,4 +2,4 @@
2
2
  *
3
3
  * https://github.com/mrdoob/three.js/pull/25943
4
4
  */
5
- export type declare const UV1: string;
5
+ export declare const UV1: string;
@@ -13,7 +13,7 @@ export interface Event<TEventType extends string = string, TTarget = unknown> {
13
13
  readonly target: TTarget;
14
14
  }
15
15
  export type EventListener<TEventData, TEventType extends string, TTarget> = (event: TEventData & Event<TEventType, TTarget>) => void;
16
- export type declare class EventDispatcher<TEventMap extends {} = {}> {
16
+ export declare class EventDispatcher<TEventMap extends {} = {}> {
17
17
  private _listeners;
18
18
  /**
19
19
  * Adds a listener to an event type.
@@ -13,7 +13,7 @@ export interface Event<TEventType extends string = string, TTarget = unknown> {
13
13
  readonly target: TTarget;
14
14
  }
15
15
  export type EventListener<TEventData, TEventType extends string, TTarget> = (event: TEventData & Event<TEventType, TTarget>) => void;
16
- export type declare class EventDispatcher<TEventMap extends {} = {}> {
16
+ export declare class EventDispatcher<TEventMap extends {} = {}> {
17
17
  private _listeners;
18
18
  /**
19
19
  * Adds a listener to an event type.
@@ -1,6 +1,6 @@
1
1
  import type { Vector3, Camera } from 'three';
2
2
  import type { EventDispatcher } from './EventDispatcher.d.cts';
3
- export type declare class FirstPersonControls extends EventDispatcher<{}> {
3
+ export declare class FirstPersonControls extends EventDispatcher<{}> {
4
4
  object: Camera;
5
5
  domElement?: HTMLElement | null;
6
6
  enabled: boolean;
@@ -1,6 +1,6 @@
1
1
  import type { Vector3, Camera } from 'three';
2
2
  import type { EventDispatcher } from './EventDispatcher.d.ts';
3
- export type declare class FirstPersonControls extends EventDispatcher<{}> {
3
+ export declare class FirstPersonControls extends EventDispatcher<{}> {
4
4
  object: Camera;
5
5
  domElement?: HTMLElement | null;
6
6
  enabled: boolean;
@@ -3,7 +3,7 @@ import type { EventDispatcher } from '../EventDispatcher.d.cts';
3
3
  export type CHANGE_EVENT = {
4
4
  type: 'change' | 'start' | 'end';
5
5
  };
6
- export type declare const STATE: {
6
+ export declare const STATE: {
7
7
  NONE: number;
8
8
  ROTATE: number;
9
9
  DOLLY: number;
@@ -3,7 +3,7 @@ import type { EventDispatcher } from '../EventDispatcher.d.ts';
3
3
  export type CHANGE_EVENT = {
4
4
  type: 'change' | 'start' | 'end';
5
5
  };
6
- export type declare const STATE: {
6
+ export declare const STATE: {
7
7
  NONE: number;
8
8
  ROTATE: number;
9
9
  DOLLY: number;
@@ -8,7 +8,7 @@ export interface STLExporterOptionsString {
8
8
  export interface STLExporterOptions {
9
9
  binary?: boolean;
10
10
  }
11
- export type declare class STLExporter {
11
+ export declare class STLExporter {
12
12
  private binary;
13
13
  private output;
14
14
  private offset;
@@ -8,7 +8,7 @@ export interface STLExporterOptionsString {
8
8
  export interface STLExporterOptions {
9
9
  binary?: boolean;
10
10
  }
11
- export type declare class STLExporter {
11
+ export declare class STLExporter {
12
12
  private binary;
13
13
  private output;
14
14
  private offset;
@@ -12,7 +12,7 @@ export type TextGeometryParameters = {
12
12
  lineHeight?: number;
13
13
  letterSpacing?: number;
14
14
  };
15
- export type declare class TextGeometry extends ExtrudeGeometry {
15
+ export declare class TextGeometry extends ExtrudeGeometry {
16
16
  constructor(text: string, parameters?: TextGeometryParameters);
17
17
  }
18
18
  export type { TextGeometry as TextBufferGeometry };
@@ -12,7 +12,7 @@ export type TextGeometryParameters = {
12
12
  lineHeight?: number;
13
13
  letterSpacing?: number;
14
14
  };
15
- export type declare class TextGeometry extends ExtrudeGeometry {
15
+ export declare class TextGeometry extends ExtrudeGeometry {
16
16
  constructor(text: string, parameters?: TextGeometryParameters);
17
17
  }
18
18
  export type { TextGeometry as TextBufferGeometry };
package/libs/lottie.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const lottie = /* @__PURE__ */ (() => {
3
- if (typeof navigator === "undefined" || typeof document === "undefined")
3
+ if (typeof navigator === "undefined" || typeof document === "undefined" || typeof CanvasRenderingContext2D === "undefined")
4
4
  return {};
5
5
  const svgNS = "http://www.w3.org/2000/svg";
6
6
  let locationHref = "";