@11ty/client 4.0.0-alpha.4 → 4.0.0-alpha.6

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.
@@ -1,4 +1,4 @@
1
- /*! Eleventy v4.0.0-alpha.4 (i18n Plugin) */
1
+ /*! Eleventy v4.0.0-alpha.6 (i18n Plugin) */
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1758,7 +1758,7 @@ var GLOBAL_FS_NAME, fs, mkdir, existsSync, mkdirSync, readFileSync, statSync, wr
1758
1758
  var init_shim_consume_fs = __esm({
1759
1759
  "../../node_modules/@11ty/package-bundler/shims/shim-consume-fs.js"() {
1760
1760
  GLOBAL_FS_NAME = "eleventyFileSystem";
1761
- fs = window[GLOBAL_FS_NAME] || globalThis[GLOBAL_FS_NAME];
1761
+ fs = typeof window !== "undefined" && window[GLOBAL_FS_NAME] || typeof globalThis !== "undefined" && globalThis[GLOBAL_FS_NAME];
1762
1762
  if (!fs) {
1763
1763
  let noopError = function() {
1764
1764
  throw new Error("This function was not included in your Eleventy bundle. Make sure you load memfs.js before using the virtual file system.");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@11ty/client",
3
3
  "description": "Run Eleventy in your browser.",
4
- "version": "4.0.0-alpha.4",
4
+ "version": "4.0.0-alpha.6",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "provenance": true
@@ -37,9 +37,10 @@
37
37
  "bugs": "https://github.com/11ty/eleventy/issues",
38
38
  "homepage": "https://www.11ty.dev/",
39
39
  "devDependencies": {
40
- "@11ty/package-bundler": "^0.4.2",
41
- "@vitest/browser": "^3.2.4",
42
- "playwright": "^1.54.1",
43
- "vitest": "^3.2.4"
40
+ "@11ty/package-bundler": "^0.5.1",
41
+ "@vitest/browser": "^4.0.5",
42
+ "@vitest/browser-playwright": "^4.0.5",
43
+ "playwright": "^1.56.1",
44
+ "vitest": "^4.0.5"
44
45
  }
45
46
  }