@xh/hoist 73.0.0-SNAPSHOT.1747359414796 → 73.0.0-SNAPSHOT.1747403409035

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.
@@ -18,7 +18,6 @@ import {
18
18
  import {Icon} from '@xh/hoist/icon';
19
19
  import {action, bindable, makeObservable, when as mobxWhen} from '@xh/hoist/mobx';
20
20
  import {never, wait} from '@xh/hoist/promise';
21
- import numbro from 'numbro';
22
21
  import {ReactNode} from 'react';
23
22
  import {createRoot} from 'react-dom/client';
24
23
  import {
@@ -238,10 +237,6 @@ export class AppContainerModel extends HoistModel {
238
237
  await installServicesAsync(TrackService);
239
238
  await installServicesAsync([EnvironmentService, PrefService, JsonBlobService]);
240
239
 
241
- if (XH.flags.applyBigNumberWorkaround) {
242
- numbro['BigNumber'].clone();
243
- }
244
-
245
240
  // Confirm hoist-core version after environment service loaded.
246
241
  const hcVersion = XH.getEnv('hoistCoreVersion');
247
242
  throwIf(
@@ -11,7 +11,7 @@ import { ToastModel } from '../appcontainer/ToastModel';
11
11
  import '../styles/XH.scss';
12
12
  import { AppSpec, AppState, AppSuspendData, BannerSpec, ExceptionHandler, ExceptionHandlerOptions, HoistAppModel, HoistException, HoistService, HoistServiceClass, HoistUser, MessageSpec, PageState, PlainObject, ReloadAppOptions, SizingMode, TaskObserver, Theme, ToastSpec, TrackOptions } from './';
13
13
  import { HoistModel, ModelSelector, RefreshContextModel } from './model';
14
- export declare const MIN_HOIST_CORE_VERSION = "28.0";
14
+ export declare const MIN_HOIST_CORE_VERSION = "30.1";
15
15
  /**
16
16
  * Top-level Singleton model for Hoist. This is the main entry point for the API.
17
17
  *
@@ -231,12 +231,7 @@ export declare class XHApi {
231
231
  *
232
232
  * Configure via `xhFlags` config.
233
233
  *
234
- * Currently supported (subject to changes without API notice):
235
- *
236
- * - applyBigNumberWorkaround - workaround for mysterious Chromium bug that causes
237
- * BigNumber to lose precision after a certain number of invocations.
238
- * See https://github.com/MikeMcl/bignumber.js/issues/354
239
- * See https://bugs.chromium.org/p/v8/issues/detail?id=14271#c11
234
+ * No flags currently supported (subject to changes without API notice):
240
235
  */
241
236
  get flags(): PlainObject;
242
237
  /** Toggle the theme between light and dark variants. */
package/core/XH.ts CHANGED
@@ -67,7 +67,7 @@ import {instanceManager} from './impl/InstanceManager';
67
67
  import {HoistModel, ModelSelector, RefreshContextModel} from './model';
68
68
  import ShortUniqueId from 'short-unique-id';
69
69
 
70
- export const MIN_HOIST_CORE_VERSION = '28.0';
70
+ export const MIN_HOIST_CORE_VERSION = '30.1';
71
71
 
72
72
  declare const xhAppCode: string;
73
73
  declare const xhAppName: string;
@@ -458,12 +458,7 @@ export class XHApi {
458
458
  *
459
459
  * Configure via `xhFlags` config.
460
460
  *
461
- * Currently supported (subject to changes without API notice):
462
- *
463
- * - applyBigNumberWorkaround - workaround for mysterious Chromium bug that causes
464
- * BigNumber to lose precision after a certain number of invocations.
465
- * See https://github.com/MikeMcl/bignumber.js/issues/354
466
- * See https://bugs.chromium.org/p/v8/issues/detail?id=14271#c11
461
+ * No flags currently supported (subject to changes without API notice):
467
462
  */
468
463
  get flags(): PlainObject {
469
464
  return XH.getConf('xhFlags', {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "73.0.0-SNAPSHOT.1747359414796",
3
+ "version": "73.0.0-SNAPSHOT.1747403409035",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",