@sveltejs/adapter-netlify 1.0.0-next.38 → 1.0.0-next.39

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/README.md CHANGED
@@ -51,7 +51,7 @@ During compilation, redirect rules are automatically appended to your `_redirect
51
51
  ### Using Netlify Forms
52
52
 
53
53
  1. Create your Netlify HTML form as described [here](https://docs.netlify.com/forms/setup/#html-forms), e.g. as `/routes/contact.svelte`. (Don't forget to add the hidden `form-name` input element!)
54
- 2. Netlify's build bot parses your HTML files at deploy time, which means your form must be [prerendered](https://kit.svelte.dev/docs#ssr-and-javascript-prerender) as HTML. You can either add `export const prerender = true` to your `contact.svelte` to prerender just that page or set the `kit.prerender.force: true` option to prerender all pages.
54
+ 2. Netlify's build bot parses your HTML files at deploy time, which means your form must be [prerendered](https://kit.svelte.dev/docs#page-options-prerender) as HTML. You can either add `export const prerender = true` to your `contact.svelte` to prerender just that page or set the `kit.prerender.force: true` option to prerender all pages.
55
55
  3. If your Netlify form has a [custom success message](https://docs.netlify.com/forms/setup/#success-messages) like `<form netlify ... action="/success">` then ensure the corresponding `/routes/success.svelte` exists and is prerendered.
56
56
 
57
57
  ### Using Netlify Functions
@@ -4850,7 +4850,7 @@ class Body {
4850
4850
  return formData;
4851
4851
  }
4852
4852
 
4853
- const {toFormData} = await Promise.resolve().then(function () { return require('./multipart-parser-e24c3004.js'); });
4853
+ const {toFormData} = await Promise.resolve().then(function () { return require('./multipart-parser-bdb1e34b.js'); });
4854
4854
  return toFormData(this.body, ct);
4855
4855
  }
4856
4856
 
@@ -6504,18 +6504,22 @@ function __fetch_polyfill() {
6504
6504
  Object.defineProperties(globalThis, {
6505
6505
  fetch: {
6506
6506
  enumerable: true,
6507
+ configurable: true,
6507
6508
  value: fetch
6508
6509
  },
6509
6510
  Response: {
6510
6511
  enumerable: true,
6512
+ configurable: true,
6511
6513
  value: Response
6512
6514
  },
6513
6515
  Request: {
6514
6516
  enumerable: true,
6517
+ configurable: true,
6515
6518
  value: Request
6516
6519
  },
6517
6520
  Headers: {
6518
6521
  enumerable: true,
6522
+ configurable: true,
6519
6523
  value: Headers
6520
6524
  }
6521
6525
  });
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var handler = require('./handler-a3623ede.js');
5
+ var handler = require('./handler-a1088edc.js');
6
6
  require('./server/app.js');
7
7
  require('node:http');
8
8
  require('node:https');
@@ -3,7 +3,7 @@
3
3
  require('node:fs');
4
4
  require('node:path');
5
5
  var node_worker_threads = require('node:worker_threads');
6
- var handler = require('./handler-a3623ede.js');
6
+ var handler = require('./handler-a1088edc.js');
7
7
  require('node:http');
8
8
  require('node:https');
9
9
  require('node:zlib');
@@ -4841,7 +4841,7 @@ class Body {
4841
4841
  return formData;
4842
4842
  }
4843
4843
 
4844
- const {toFormData} = await import('./multipart-parser-b42aadce.js');
4844
+ const {toFormData} = await import('./multipart-parser-30e27ad5.js');
4845
4845
  return toFormData(this.body, ct);
4846
4846
  }
4847
4847
 
@@ -6495,18 +6495,22 @@ function __fetch_polyfill() {
6495
6495
  Object.defineProperties(globalThis, {
6496
6496
  fetch: {
6497
6497
  enumerable: true,
6498
+ configurable: true,
6498
6499
  value: fetch
6499
6500
  },
6500
6501
  Response: {
6501
6502
  enumerable: true,
6503
+ configurable: true,
6502
6504
  value: Response
6503
6505
  },
6504
6506
  Request: {
6505
6507
  enumerable: true,
6508
+ configurable: true,
6506
6509
  value: Request
6507
6510
  },
6508
6511
  Headers: {
6509
6512
  enumerable: true,
6513
+ configurable: true,
6510
6514
  value: Headers
6511
6515
  }
6512
6516
  });
@@ -1,4 +1,4 @@
1
- export { i as init } from './handler-1cae7b39.js';
1
+ export { i as init } from './handler-f0da68a1.js';
2
2
  import './server/app.js';
3
3
  import 'node:http';
4
4
  import 'node:https';
@@ -1,7 +1,7 @@
1
1
  import 'node:fs';
2
2
  import 'node:path';
3
3
  import { MessageChannel } from 'node:worker_threads';
4
- import { F as FormData, a as File } from './handler-1cae7b39.js';
4
+ import { F as FormData, a as File } from './handler-f0da68a1.js';
5
5
  import 'node:http';
6
6
  import 'node:https';
7
7
  import 'node:zlib';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/adapter-netlify",
3
- "version": "1.0.0-next.38",
3
+ "version": "1.0.0-next.39",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -31,7 +31,7 @@
31
31
  "@rollup/plugin-commonjs": "^21.0.0",
32
32
  "@rollup/plugin-json": "^4.1.0",
33
33
  "@rollup/plugin-node-resolve": "^13.0.5",
34
- "@sveltejs/kit": "1.0.0-next.218",
34
+ "@sveltejs/kit": "1.0.0-next.232",
35
35
  "rimraf": "^3.0.2",
36
36
  "rollup": "^2.58.0"
37
37
  },