@sveltejs/adapter-netlify 1.0.0-next.75 → 1.0.0-next.76

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -163,7 +163,7 @@ async function generate_lambda_functions({ builder, publish, split, esm }) {
163
163
  if (esm) {
164
164
  builder.copy(`${files}/esm`, '.netlify', { replace });
165
165
  } else {
166
- glob('**/*.js', { cwd: '.netlify/server' }).forEach((file) => {
166
+ glob('**/*.js', { cwd: '.netlify/server', filesOnly: true }).forEach((file) => {
167
167
  const filepath = `.netlify/server/${file}`;
168
168
  const input = readFileSync(filepath, 'utf8');
169
169
  const output = esbuild.transformSync(input, { format: 'cjs', target: 'node12' }).code;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/adapter-netlify",
3
- "version": "1.0.0-next.75",
3
+ "version": "1.0.0-next.76",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -33,12 +33,12 @@
33
33
  "@rollup/plugin-commonjs": "^22.0.1",
34
34
  "@rollup/plugin-json": "^4.1.0",
35
35
  "@rollup/plugin-node-resolve": "^13.3.0",
36
- "@sveltejs/kit": "1.0.0-next.447",
36
+ "@sveltejs/kit": "1.0.0-next.460",
37
37
  "@types/node": "^16.11.36",
38
38
  "@types/set-cookie-parser": "^2.4.2",
39
39
  "rimraf": "^3.0.2",
40
- "rollup": "^2.75.7",
41
- "typescript": "^4.7.4",
40
+ "rollup": "^2.78.1",
41
+ "typescript": "^4.8.2",
42
42
  "uvu": "^0.5.3"
43
43
  },
44
44
  "scripts": {