gl-draw 0.18.17 → 0.18.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1364,6 +1364,12 @@ declare interface CameraParams {
1364
1364
 
1365
1365
  declare function cartographicToCartesian(longitude: number, latitude: number, height?: number, scaleFactor?: number, usePerfectSphere?: boolean): Vector3;
1366
1366
 
1367
+ /**
1368
+ * Clone JSON-like data before mutation.
1369
+ * Native Proxy-backed objects are normalized to plain objects first.
1370
+ */
1371
+ declare function cloneJsonLikeValue<T>(value: T, logScope?: string): T;
1372
+
1367
1373
  /**
1368
1374
  * 标签碰撞检测管理器
1369
1375
  * 参考 Mapbox symbol-placement 实现
@@ -3079,15 +3085,7 @@ declare class SceneSerializer {
3079
3085
  * 根据 objectType 和 registry 创建 BaseObject 实例
3080
3086
  */
3081
3087
  private _createInstance;
3082
- /**
3083
- * 还原前克隆输入,避免修改调用方持有的数据对象。
3084
- * 如果 structuredClone 失败,会输出首个不可复制的属性路径。
3085
- */
3086
- private _cloneRestoreInput;
3087
- private _findStructuredCloneFailure;
3088
- private _appendClonePath;
3089
3088
  private _cloneObject3dUserData;
3090
- private _normalizeStructuredCloneInput;
3091
3089
  /**
3092
3090
  * 安全地克隆 options,过滤掉不可序列化的 Three.js 对象
3093
3091
  */
@@ -3250,6 +3248,7 @@ export declare const utils: {
3250
3248
  analyzeSceneExport: typeof analyzeSceneExport;
3251
3249
  CacheManager: typeof CacheManager;
3252
3250
  cartographicToCartesian: typeof cartographicToCartesian;
3251
+ cloneJsonLikeValue: typeof cloneJsonLikeValue;
3253
3252
  WGS84: {
3254
3253
  a: number;
3255
3254
  b: number;