@sveltejs/kit 2.31.0 → 2.31.1

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.31.0",
3
+ "version": "2.31.1",
4
4
  "description": "SvelteKit is the fastest way to build Svelte apps",
5
5
  "keywords": [
6
6
  "framework",
@@ -558,9 +558,9 @@ async function kit({ svelte_config }) {
558
558
  // are added to the module graph
559
559
  enforce: 'pre',
560
560
 
561
- async resolveId(id, importer) {
561
+ async resolveId(id, importer, options) {
562
562
  if (importer && !importer.endsWith('index.html')) {
563
- const resolved = await this.resolve(id, importer, { skipSelf: true });
563
+ const resolved = await this.resolve(id, importer, { ...options, skipSelf: true });
564
564
 
565
565
  if (resolved) {
566
566
  const normalized = normalize_id(resolved.id, normalized_lib, normalized_cwd);
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.31.0';
4
+ export const VERSION = '2.31.1';