@mastra/deployer-netlify 1.2.38 → 1.2.39-alpha.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.
@@ -62,9 +62,7 @@ export type LogLevel = 'warn' | 'info' | 'debug';
62
62
  export type LogLevelOption = LogLevel | 'silent';
63
63
 
64
64
  export type SourceMapSegment =
65
- | [number]
66
- | [number, number, number, number]
67
- | [number, number, number, number, number];
65
+ [number] | [number, number, number, number] | [number, number, number, number, number];
68
66
 
69
67
  export interface ExistingDecodedSourceMap {
70
68
  file?: string | undefined;
@@ -96,11 +94,11 @@ export type DecodedSourceMapOrMissing =
96
94
  | (ExistingDecodedSourceMap & { missing?: false | undefined });
97
95
 
98
96
  export interface SourceMap {
99
- file: string;
97
+ file?: string | undefined;
100
98
  mappings: string;
101
99
  names: string[];
102
100
  sources: string[];
103
- sourcesContent?: string[] | undefined;
101
+ sourcesContent?: (string | null)[] | undefined;
104
102
  version: number;
105
103
  debugId?: string | undefined;
106
104
  toString(): string;
@@ -613,9 +611,7 @@ export interface Plugin<A = any> extends OutputPlugin, Partial<PluginHooks> {
613
611
  export type JsxPreset = 'react' | 'react-jsx' | 'preserve' | 'preserve-react';
614
612
 
615
613
  export type NormalizedJsxOptions =
616
- | NormalizedJsxPreserveOptions
617
- | NormalizedJsxClassicOptions
618
- | NormalizedJsxAutomaticOptions;
614
+ NormalizedJsxPreserveOptions | NormalizedJsxClassicOptions | NormalizedJsxAutomaticOptions;
619
615
 
620
616
  interface NormalizedJsxPreserveOptions {
621
617
  factory: string | null;
@@ -1085,16 +1081,14 @@ export interface AwaitingEventEmitter<T extends Record<string, (...parameters: a
1085
1081
  off<K extends keyof T>(event: K, listener: AwaitedEventListener<T, K>): this;
1086
1082
  /**
1087
1083
  * Registers an event listener that will be awaited before Rollup continues.
1088
- * All listeners will be awaited in parallel while rejections are tracked via
1089
- * Promise.all.
1084
+ * All listeners are invoked and awaited in parallel. Rollup waits until all
1085
+ * of them have settled and then throws the first rejection, if any.
1090
1086
  */
1091
1087
  on<K extends keyof T>(event: K, listener: AwaitedEventListener<T, K>): this;
1092
1088
  /**
1093
- * Registers an event listener that will be awaited before Rollup continues.
1094
- * All listeners will be awaited in parallel while rejections are tracked via
1095
- * Promise.all.
1096
- * Listeners are removed automatically when removeListenersForCurrentRun is
1097
- * called, which happens automatically after each run.
1089
+ * Registers an event listener like `on`. Listeners are removed automatically
1090
+ * when removeListenersForCurrentRun is called, which happens right before each
1091
+ * rebuild, after the changes that triggered it were announced.
1098
1092
  */
1099
1093
  onCurrentRun<K extends keyof T>(
1100
1094
  event: K,
@@ -1132,12 +1126,7 @@ interface AstNodeLocation {
1132
1126
  }
1133
1127
 
1134
1128
  type OmittedEstreeKeys =
1135
- | 'loc'
1136
- | 'range'
1137
- | 'leadingComments'
1138
- | 'trailingComments'
1139
- | 'innerComments'
1140
- | 'comments';
1129
+ 'loc' | 'range' | 'leadingComments' | 'trailingComments' | 'innerComments' | 'comments';
1141
1130
  type RollupAstNode<T> = Omit<T, OmittedEstreeKeys> & AstNodeLocation;
1142
1131
 
1143
1132
  type ProgramNode = RollupAstNode<estree.Program>;
@@ -1196,15 +1185,7 @@ export interface RollupFsModule {
1196
1185
  }
1197
1186
 
1198
1187
  export type BufferEncoding =
1199
- | 'ascii'
1200
- | 'utf8'
1201
- | 'utf16le'
1202
- | 'ucs2'
1203
- | 'base64'
1204
- | 'base64url'
1205
- | 'latin1'
1206
- | 'binary'
1207
- | 'hex';
1188
+ 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex';
1208
1189
 
1209
1190
  export interface RollupDirectoryEntry {
1210
1191
  isFile(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/deployer-netlify",
3
- "version": "1.2.38",
3
+ "version": "1.2.39-alpha.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -26,20 +26,20 @@
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
28
  "fs-extra": "^11.3.5",
29
- "rollup": "^4.61.1",
30
- "@mastra/deployer": "^1.79.0"
29
+ "rollup": "^4.64.10",
30
+ "@mastra/deployer": "^1.80.0-alpha.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/fs-extra": "^11.0.4",
34
- "@types/node": "22.20.1",
34
+ "@types/node": "22.20.5",
35
35
  "@vitest/coverage-v8": "4.1.11",
36
36
  "@vitest/ui": "4.1.11",
37
- "tsdown": "0.22.9",
37
+ "tsdown": "0.23.1",
38
38
  "typescript": "^7.0.2",
39
39
  "vitest": "4.1.11",
40
- "@internal/types-builder": "0.0.120",
41
40
  "@internal/lint": "0.0.145",
42
- "@mastra/core": "1.79.0"
41
+ "@mastra/core": "1.80.0-alpha.0",
42
+ "@internal/types-builder": "0.0.120"
43
43
  },
44
44
  "homepage": "https://mastra.ai",
45
45
  "repository": {