@hpcc-js/esbuild-plugins 1.8.5 → 1.8.8

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/esbuild-plugins",
3
- "version": "1.8.5",
3
+ "version": "1.8.8",
4
4
  "description": "Various esbuild plugins",
5
5
  "type": "module",
6
6
  "exports": {
@@ -38,17 +38,18 @@
38
38
  "update-major": "npx --yes npm-check-updates -u"
39
39
  },
40
40
  "dependencies": {
41
- "esbuild": "0.27.4",
41
+ "esbuild": "0.28.0",
42
42
  "esbuild-copy-static-files": "0.1.0",
43
43
  "esbuild-plugin-inline-css": "0.0.1",
44
44
  "esbuild-plugin-umd-wrapper": "3.0.0",
45
45
  "fzstd": "0.1.1",
46
+ "vite": "7.3.2",
46
47
  "vite-plugin-css-injected-by-js": "3.5.2",
47
- "vite-plugin-static-copy": "3.3.0"
48
+ "vite-plugin-static-copy": "3.4.0"
48
49
  },
49
50
  "devDependencies": {
50
- "@hpcc-js/wasm-base91": "1.13.2",
51
- "@hpcc-js/wasm-zstd": "1.12.2"
51
+ "@hpcc-js/wasm-base91": "1.13.4",
52
+ "@hpcc-js/wasm-zstd": "1.12.4"
52
53
  },
53
54
  "keywords": [
54
55
  "esbuild",
@@ -64,5 +65,5 @@
64
65
  },
65
66
  "homepage": "https://hpcc-systems.github.io/hpcc-js-wasm/",
66
67
  "license": "Apache-2.0",
67
- "gitHead": "eab3a48367063ed368bdd82c05de6a822ee308aa"
68
+ "gitHead": "630e839917f1cc38f6e3324db5a9ac991234599a"
68
69
  }
package/src/vite-utils.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { configDefaults, defineConfig, ViteUserConfig } from "vitest/config";
2
+ import { playwright } from "@vitest/browser-playwright";
2
3
  import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js";
3
4
  import { viteStaticCopy } from "vite-plugin-static-copy";
4
5
  import { packageVersionPlugin } from "./package-version-plugin.ts";
@@ -151,15 +152,15 @@ export const browserConfig = defineConfig({
151
152
  ],
152
153
  browser: {
153
154
  enabled: true,
154
- provider: "playwright",
155
+ provider: playwright({
156
+ launchOptions: {
157
+ args: ["--disable-web-security"],
158
+ }
159
+ }),
155
160
  instances: [{
156
161
  name: "chromium",
157
162
  browser: "chromium",
158
163
  headless: true,
159
- //@ts-expect-error
160
- launch: {
161
- args: ["--disable-web-security"],
162
- }
163
164
  }],
164
165
  screenshotFailures: false,
165
166
  },
@@ -29,5 +29,5 @@ export interface ViteHpccConfigOptions {
29
29
  configOverrides?: Partial<ViteUserConfig>;
30
30
  }
31
31
  export declare const nodeConfig: ViteUserConfig;
32
- export declare const browserConfig: ViteUserConfig & Promise<ViteUserConfig> & (import("vitest/config").UserConfigFnObject & import("vitest/config").UserConfigExport);
32
+ export declare const browserConfig: ViteUserConfig;
33
33
  export declare function createHpccViteConfig(pkg: any, options?: ViteHpccConfigOptions): ViteUserConfig;