bimplus-renderer 1.8.27-remove-moment-timezone-dep-02 → 1.8.27-web-ifc-update-02

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.
@@ -36,7 +36,7 @@ files: [
36
36
  ### For Tests
37
37
  1. Karma loads the moment-timezone injector first
38
38
  2. The injector imports moment-timezone (available as dev dependency)
39
- 3. Injects it into global scope (`globalThis.MomentTZ`, `window.moment`)
39
+ 3. Injects it into global scope (`window.moment`)
40
40
  4. All tests run with moment-timezone available
41
41
  5. Sun calculation tests pass with accurate timezone handling
42
42
 
@@ -47,21 +47,6 @@ files: [
47
47
  3. Build process excludes moment-timezone from production bundle
48
48
  4. Users can inject moment-timezone via BimExplorer app if needed
49
49
 
50
- ## Benefits
51
-
52
- ✅ **Clean Production Code**: No moment-timezone dependency in production builds
53
- ✅ **Complete Test Coverage**: All timezone-dependent tests pass with accurate calculations
54
- ✅ **Flexible Integration**: External apps can inject moment-timezone when needed
55
- ✅ **Clear Error Messages**: Descriptive errors when timezone features are used without moment-timezone
56
- ✅ **Backwards Compatible**: Existing code continues to work
57
-
58
- ## Test Results
59
-
60
- - **Before**: 12 failed tests due to incorrect timezone handling with native Date fallback
61
- - **After**: All 41 tests pass with accurate moment-timezone calculations
62
- - **Production Build**: ✅ Successful without moment-timezone dependency
63
- - **ESLint**: ✅ Clean code quality checks
64
-
65
50
  ## File Changes
66
51
 
67
52
  ### New Files