@hpcc-js/util 3.3.8 → 3.3.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/util",
3
- "version": "3.3.8",
3
+ "version": "3.3.10",
4
4
  "description": "hpcc-js - Utilities",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.cjs",
@@ -23,7 +23,7 @@
23
23
  "scripts": {
24
24
  "clean": "rimraf --glob lib* types dist dist-test *.tsbuildinfo .turbo",
25
25
  "bundle": "vite build",
26
- "bundle-watch": "vite",
26
+ "bundle-watch": "vite --port 5523",
27
27
  "gen-types": "tsc --project tsconfig.json",
28
28
  "gen-types-watch": "npm run gen-types -- --watch",
29
29
  "build": "run-p gen-types bundle",
@@ -41,7 +41,7 @@
41
41
  "@xmldom/xmldom": "0.9.8"
42
42
  },
43
43
  "devDependencies": {
44
- "@hpcc-js/esbuild-plugins": "^1.4.8"
44
+ "@hpcc-js/esbuild-plugins": "^1.5.0"
45
45
  },
46
46
  "repository": {
47
47
  "type": "git",
@@ -54,5 +54,5 @@
54
54
  "url": "https://github.com/hpcc-systems/Visualization/issues"
55
55
  },
56
56
  "homepage": "https://github.com/hpcc-systems/Visualization/tree/trunk/packages/util",
57
- "gitHead": "ef271e12a3730c4503a82f80a37aaaa29643e1e3"
57
+ "gitHead": "e0dd2c2201ba3d9bd92665026ef38e3220065a9c"
58
58
  }
package/src/platform.ts CHANGED
@@ -3,7 +3,7 @@ declare const process: any;
3
3
  export const root: any = typeof globalThis !== "undefined" ? globalThis : window;
4
4
  export const isBrowser: boolean = typeof window !== "undefined" && root === window;
5
5
  export const isNode: boolean = typeof process !== "undefined" && process.versions != null && process.versions.node != null;
6
- export const isCI: boolean = isNode && process.env != null && (process.env.TRAVIS != null || process.env.GITHUB_ACTIONS != null);
6
+ export const isCI: boolean = isNode && process.env != null && (process.env.TRAVIS != null || process.env.GITHUB_ACTIONS != null || process.env.CI != null);
7
7
 
8
8
  export function getScriptSrc(partial: string) {
9
9
  const scripts = document.scripts || [];