@sveltejs/kit 1.0.0-next.395 → 1.0.0-next.396

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.
@@ -58,7 +58,7 @@ function copy(source, target, opts = {}) {
58
58
  to,
59
59
  data.replace(
60
60
  /** @type {RegExp} */ (regex),
61
- (match, key) => /** @type {Record<string, string>} */ (opts.replace)[key]
61
+ (_match, key) => /** @type {Record<string, string>} */ (opts.replace)[key]
62
62
  )
63
63
  );
64
64
  } else {
@@ -1241,7 +1241,7 @@ function create_module(id, env) {
1241
1241
  continue;
1242
1242
  }
1243
1243
 
1244
- const comment = `/** @type {import('${id}'}').${key}} */`;
1244
+ const comment = `/** @type {import('${id}').${key}} */`;
1245
1245
  const declaration = `export const ${key} = ${JSON.stringify(env[key])};`;
1246
1246
 
1247
1247
  declarations.push(`${comment}\n${declaration}`);
package/dist/cli.js CHANGED
@@ -19,7 +19,7 @@ function handle_error(e) {
19
19
  process.exit(1);
20
20
  }
21
21
 
22
- const prog = sade('svelte-kit').version('1.0.0-next.395');
22
+ const prog = sade('svelte-kit').version('1.0.0-next.396');
23
23
 
24
24
  prog
25
25
  .command('package')
package/dist/vite.js CHANGED
@@ -1993,7 +1993,7 @@ const mutable = (dir) =>
1993
1993
  etag: true,
1994
1994
  maxAge: 0
1995
1995
  })
1996
- : (req, res, next) => next();
1996
+ : (_req, _res, next) => next();
1997
1997
 
1998
1998
  /**
1999
1999
  * @param {string} scope
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/kit",
3
- "version": "1.0.0-next.395",
3
+ "version": "1.0.0-next.396",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -102,7 +102,8 @@ declare module '$app/env' {
102
102
  /**
103
103
  * This module provides access to runtime environment variables, as defined by the platform you're running on. For example
104
104
  * if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/master/packages/adapter-node) (or running
105
- * [`vite preview`](https://kit.svelte.dev/docs/cli)), this is equivalent to `process.env`.
105
+ * [`vite preview`](https://kit.svelte.dev/docs/cli)), this is equivalent to `process.env`. This module only includes
106
+ * variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#kit-env-publicprefix).
106
107
  *
107
108
  * This module cannot be imported into client-side code.
108
109
  *