@sveltejs/kit 2.5.14 → 2.5.15

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": "2.5.14",
3
+ "version": "2.5.15",
4
4
  "description": "The fastest way to build Svelte apps",
5
5
  "keywords": [
6
6
  "framework",
@@ -53,9 +53,9 @@ export function read(asset) {
53
53
  });
54
54
  }
55
55
 
56
- const file = DEV
57
- ? decodeURIComponent(asset.startsWith('/@fs') ? asset : asset.slice(base.length + 1))
58
- : asset.slice(base.length + 1);
56
+ const file = decodeURIComponent(
57
+ DEV && asset.startsWith('/@fs') ? asset : asset.slice(base.length + 1)
58
+ );
59
59
 
60
60
  if (file in manifest._.server_assets) {
61
61
  const length = manifest._.server_assets[file];
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // generated during release, do not modify
2
2
 
3
3
  /** @type {string} */
4
- export const VERSION = '2.5.14';
4
+ export const VERSION = '2.5.15';