@sveltejs/kit 1.9.1 → 1.9.2

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": "@sveltejs/kit",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -334,7 +334,7 @@ function kit({ svelte_config }) {
334
334
 
335
335
  async load(id, options) {
336
336
  const browser = !options?.ssr;
337
- const global = `__sveltekit_${version_hash}`;
337
+ const global = `globalThis.__sveltekit_${version_hash}`;
338
338
 
339
339
  if (options?.ssr === false && process.env.TEST !== 'true') {
340
340
  const normalized_cwd = vite.normalizePath(cwd);