netlify-cli 27.12.0 → 27.13.0

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 (41) hide show
  1. package/dist/commands/agents/agents-stop.js +2 -2
  2. package/dist/commands/base-command.js +7 -3
  3. package/dist/commands/deploy/deploy.js +51 -94
  4. package/dist/commands/sites/sites-create.js +3 -2
  5. package/dist/lib/spinner.d.ts +2 -2
  6. package/dist/lib/spinner.js +1 -1
  7. package/dist/utils/deploy/deploy-site.d.ts +32 -12
  8. package/dist/utils/deploy/deploy-site.js +18 -40
  9. package/dist/utils/deploy/drop-api.d.ts +7 -1
  10. package/dist/utils/deploy/drop-api.js +3 -4
  11. package/dist/utils/deploy/file.d.ts +4 -2
  12. package/dist/utils/deploy/hash-config.d.ts +5 -6
  13. package/dist/utils/deploy/hash-config.js +1 -4
  14. package/dist/utils/deploy/hash-files.d.ts +9 -8
  15. package/dist/utils/deploy/hash-fns.d.ts +45 -10
  16. package/dist/utils/deploy/hasher-segments.d.ts +10 -6
  17. package/dist/utils/deploy/hasher-segments.js +0 -1
  18. package/dist/utils/deploy/process-files.d.ts +1 -1
  19. package/dist/utils/deploy/process-files.js +1 -0
  20. package/dist/utils/deploy/types.d.ts +17 -0
  21. package/dist/utils/deploy/types.js +2 -0
  22. package/dist/utils/deploy/upload-files.d.ts +8 -3
  23. package/dist/utils/deploy/upload-files.js +4 -3
  24. package/dist/utils/deploy/upload-source-zip.js +4 -7
  25. package/dist/utils/deploy/util.d.ts +6 -3
  26. package/dist/utils/deploy/util.js +4 -16
  27. package/dist/utils/team.d.ts +1 -0
  28. package/dist/utils/team.js +10 -5
  29. package/dist/utils/telemetry/report-error.js +2 -3
  30. package/dist/utils/telemetry/telemetry.js +9 -5
  31. package/dist/utils/telemetry/utils.d.ts +1 -0
  32. package/dist/utils/telemetry/utils.js +4 -0
  33. package/functions-templates/javascript/scheduled-function/package.json +1 -1
  34. package/functions-templates/typescript/database/package-lock.json +8 -8
  35. package/functions-templates/typescript/database/package.json +1 -1
  36. package/functions-templates/typescript/database-drizzle/package-lock.json +8 -8
  37. package/functions-templates/typescript/database-drizzle/package.json +1 -1
  38. package/functions-templates/typescript/hello-world/package-lock.json +15 -17
  39. package/functions-templates/typescript/hello-world/package.json +1 -1
  40. package/functions-templates/typescript/scheduled-function/package.json +1 -1
  41. package/package.json +4 -4
@@ -9,28 +9,26 @@
9
9
  "version": "1.0.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@netlify/functions": "^6.0.0",
12
+ "@netlify/functions": "^6.0.2",
13
13
  "@types/node": "^22.0.0",
14
14
  "typescript": "^4.0.0"
15
15
  }
16
16
  },
17
17
  "node_modules/@netlify/functions": {
18
- "version": "6.0.0",
19
- "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-6.0.0.tgz",
20
- "integrity": "sha512-Pee+FoFnAtdejTkl62a7mZxj6Wx4eqVNuYyDc5T4XPJN9GaAWaUf4cZQFlf2m4Fqq0HoghjtcPKo+BZviVPPKA==",
21
- "license": "MIT",
18
+ "version": "6.0.2",
19
+ "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-6.0.2.tgz",
20
+ "integrity": "sha512-JqbPgAOt2GAwzCEitdEWAHOn6AkZ0Rna401wdAyuDIBiDv9M03b3Cu5mGH7/eHOmIXfZIcN1pG35flHjfu6asQ==",
22
21
  "dependencies": {
23
- "@netlify/types": "3.0.0"
22
+ "@netlify/types": "3.2.0"
24
23
  },
25
24
  "engines": {
26
25
  "node": ">=22.12.0"
27
26
  }
28
27
  },
29
28
  "node_modules/@netlify/types": {
30
- "version": "3.0.0",
31
- "resolved": "https://registry.npmjs.org/@netlify/types/-/types-3.0.0.tgz",
32
- "integrity": "sha512-zRCidsQgI4CZWrZB/kmwdPf0QbSNljakfNSLizFvrsSA3UcUrTWSBNMVKmZnob92/8ESeUN0ewXLOlffJU+ATQ==",
33
- "license": "MIT",
29
+ "version": "3.2.0",
30
+ "resolved": "https://registry.npmjs.org/@netlify/types/-/types-3.2.0.tgz",
31
+ "integrity": "sha512-PVvY1EEN9i2Er0LQoiyNG7i/BnwnttLuZqIkBnhL2Jrcj3P5N/NcGkv1i20MJ2ngNGSPQcT7tagDmF3V6BsdWg==",
34
32
  "engines": {
35
33
  "node": ">=22.12.0"
36
34
  }
@@ -63,17 +61,17 @@
63
61
  },
64
62
  "dependencies": {
65
63
  "@netlify/functions": {
66
- "version": "6.0.0",
67
- "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-6.0.0.tgz",
68
- "integrity": "sha512-Pee+FoFnAtdejTkl62a7mZxj6Wx4eqVNuYyDc5T4XPJN9GaAWaUf4cZQFlf2m4Fqq0HoghjtcPKo+BZviVPPKA==",
64
+ "version": "6.0.2",
65
+ "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-6.0.2.tgz",
66
+ "integrity": "sha512-JqbPgAOt2GAwzCEitdEWAHOn6AkZ0Rna401wdAyuDIBiDv9M03b3Cu5mGH7/eHOmIXfZIcN1pG35flHjfu6asQ==",
69
67
  "requires": {
70
- "@netlify/types": "3.0.0"
68
+ "@netlify/types": "3.2.0"
71
69
  }
72
70
  },
73
71
  "@netlify/types": {
74
- "version": "3.0.0",
75
- "resolved": "https://registry.npmjs.org/@netlify/types/-/types-3.0.0.tgz",
76
- "integrity": "sha512-zRCidsQgI4CZWrZB/kmwdPf0QbSNljakfNSLizFvrsSA3UcUrTWSBNMVKmZnob92/8ESeUN0ewXLOlffJU+ATQ=="
72
+ "version": "3.2.0",
73
+ "resolved": "https://registry.npmjs.org/@netlify/types/-/types-3.2.0.tgz",
74
+ "integrity": "sha512-PVvY1EEN9i2Er0LQoiyNG7i/BnwnttLuZqIkBnhL2Jrcj3P5N/NcGkv1i20MJ2ngNGSPQcT7tagDmF3V6BsdWg=="
77
75
  },
78
76
  "@types/node": {
79
77
  "version": "22.18.11",
@@ -14,7 +14,7 @@
14
14
  "test": "echo \"Error: no test specified\" && exit 1"
15
15
  },
16
16
  "dependencies": {
17
- "@netlify/functions": "^6.0.0",
17
+ "@netlify/functions": "^6.0.2",
18
18
  "@types/node": "^22.0.0",
19
19
  "typescript": "^4.0.0"
20
20
  }
@@ -15,7 +15,7 @@
15
15
  "test": "echo \"Error: no test specified\" && exit 1"
16
16
  },
17
17
  "dependencies": {
18
- "@netlify/functions": "^6.0.0",
18
+ "@netlify/functions": "^6.0.2",
19
19
  "@types/node": "^22.0.0",
20
20
  "typescript": "^4.5.5"
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
- "version": "27.12.0",
3
+ "version": "27.13.0",
4
4
  "description": "Netlify command line tool",
5
5
  "keywords": [
6
6
  "api",
@@ -152,7 +152,7 @@
152
152
  "@bugsnag/js": "^8.6.0",
153
153
  "@eslint/compat": "^1.4.1",
154
154
  "@eslint/js": "^9.36.0",
155
- "@netlify/functions": "^6.0.0",
155
+ "@netlify/functions": "^6.0.2",
156
156
  "@netlify/types": "^3.2.0",
157
157
  "@sindresorhus/slugify": "^3.0.0",
158
158
  "@tsconfig/node22": "22.0.5",
@@ -182,7 +182,7 @@
182
182
  "@types/write-file-atomic": "^4.0.3",
183
183
  "@types/ws": "^8.18.1",
184
184
  "@types/yauzl": "^2.10.3",
185
- "@vitest/coverage-v8": "^4.1.11",
185
+ "@vitest/coverage-v8": "^5.0.0",
186
186
  "@vitest/eslint-plugin": "1.3.13",
187
187
  "c8": "^10.1.3",
188
188
  "cheerio": "^1.1.2",
@@ -210,7 +210,7 @@
210
210
  "typescript-eslint": "~8.65.0",
211
211
  "typescript-native": "npm:typescript@~7.0.2",
212
212
  "verdaccio": "^6.3.2",
213
- "vitest": "^4.1.11"
213
+ "vitest": "^5.0.0"
214
214
  },
215
215
  "engines": {
216
216
  "node": ">=22.13.0"