create-cloudflare 0.0.0-89350a01 → 0.0.0-89355269

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/dist/cli.js CHANGED
@@ -3814,7 +3814,7 @@ var init_args = __esm({
3814
3814
  var version, devDependencies;
3815
3815
  var init_package = __esm({
3816
3816
  "package.json"() {
3817
- version = "0.0.0-89350a01";
3817
+ version = "0.0.0-89355269";
3818
3818
  devDependencies = {
3819
3819
  "@babel/parser": "^7.21.3",
3820
3820
  "@babel/types": "^7.21.4",
@@ -10597,7 +10597,7 @@ var require_symbols2 = __commonJS({
10597
10597
  var require_webidl = __commonJS({
10598
10598
  "../../node_modules/.pnpm/undici@5.28.3/node_modules/undici/lib/fetch/webidl.js"(exports2, module2) {
10599
10599
  "use strict";
10600
- var { types: types5 } = require("util");
10600
+ var { types: types6 } = require("util");
10601
10601
  var { hasOwn, toUSVString } = require_util2();
10602
10602
  var webidl = {};
10603
10603
  webidl.converters = {};
@@ -10762,7 +10762,7 @@ var require_webidl = __commonJS({
10762
10762
  });
10763
10763
  }
10764
10764
  const result = {};
10765
- if (!types5.isProxy(O2)) {
10765
+ if (!types6.isProxy(O2)) {
10766
10766
  const keys2 = Object.keys(O2);
10767
10767
  for (const key of keys2) {
10768
10768
  const typedKey = keyConverter(key);
@@ -10888,14 +10888,14 @@ var require_webidl = __commonJS({
10888
10888
  return x2;
10889
10889
  };
10890
10890
  webidl.converters.ArrayBuffer = function(V2, opts = {}) {
10891
- if (webidl.util.Type(V2) !== "Object" || !types5.isAnyArrayBuffer(V2)) {
10891
+ if (webidl.util.Type(V2) !== "Object" || !types6.isAnyArrayBuffer(V2)) {
10892
10892
  throw webidl.errors.conversionFailed({
10893
10893
  prefix: `${V2}`,
10894
10894
  argument: `${V2}`,
10895
10895
  types: ["ArrayBuffer"]
10896
10896
  });
10897
10897
  }
10898
- if (opts.allowShared === false && types5.isSharedArrayBuffer(V2)) {
10898
+ if (opts.allowShared === false && types6.isSharedArrayBuffer(V2)) {
10899
10899
  throw webidl.errors.exception({
10900
10900
  header: "ArrayBuffer",
10901
10901
  message: "SharedArrayBuffer is not allowed."
@@ -10904,14 +10904,14 @@ var require_webidl = __commonJS({
10904
10904
  return V2;
10905
10905
  };
10906
10906
  webidl.converters.TypedArray = function(V2, T2, opts = {}) {
10907
- if (webidl.util.Type(V2) !== "Object" || !types5.isTypedArray(V2) || V2.constructor.name !== T2.name) {
10907
+ if (webidl.util.Type(V2) !== "Object" || !types6.isTypedArray(V2) || V2.constructor.name !== T2.name) {
10908
10908
  throw webidl.errors.conversionFailed({
10909
10909
  prefix: `${T2.name}`,
10910
10910
  argument: `${V2}`,
10911
10911
  types: [T2.name]
10912
10912
  });
10913
10913
  }
10914
- if (opts.allowShared === false && types5.isSharedArrayBuffer(V2.buffer)) {
10914
+ if (opts.allowShared === false && types6.isSharedArrayBuffer(V2.buffer)) {
10915
10915
  throw webidl.errors.exception({
10916
10916
  header: "ArrayBuffer",
10917
10917
  message: "SharedArrayBuffer is not allowed."
@@ -10920,13 +10920,13 @@ var require_webidl = __commonJS({
10920
10920
  return V2;
10921
10921
  };
10922
10922
  webidl.converters.DataView = function(V2, opts = {}) {
10923
- if (webidl.util.Type(V2) !== "Object" || !types5.isDataView(V2)) {
10923
+ if (webidl.util.Type(V2) !== "Object" || !types6.isDataView(V2)) {
10924
10924
  throw webidl.errors.exception({
10925
10925
  header: "DataView",
10926
10926
  message: "Object is not a DataView."
10927
10927
  });
10928
10928
  }
10929
- if (opts.allowShared === false && types5.isSharedArrayBuffer(V2.buffer)) {
10929
+ if (opts.allowShared === false && types6.isSharedArrayBuffer(V2.buffer)) {
10930
10930
  throw webidl.errors.exception({
10931
10931
  header: "ArrayBuffer",
10932
10932
  message: "SharedArrayBuffer is not allowed."
@@ -10935,13 +10935,13 @@ var require_webidl = __commonJS({
10935
10935
  return V2;
10936
10936
  };
10937
10937
  webidl.converters.BufferSource = function(V2, opts = {}) {
10938
- if (types5.isAnyArrayBuffer(V2)) {
10938
+ if (types6.isAnyArrayBuffer(V2)) {
10939
10939
  return webidl.converters.ArrayBuffer(V2, opts);
10940
10940
  }
10941
- if (types5.isTypedArray(V2)) {
10941
+ if (types6.isTypedArray(V2)) {
10942
10942
  return webidl.converters.TypedArray(V2, V2.constructor);
10943
10943
  }
10944
- if (types5.isDataView(V2)) {
10944
+ if (types6.isDataView(V2)) {
10945
10945
  return webidl.converters.DataView(V2, opts);
10946
10946
  }
10947
10947
  throw new TypeError(`Could not convert ${V2} to a BufferSource.`);
@@ -11256,7 +11256,7 @@ var require_file = __commonJS({
11256
11256
  "../../node_modules/.pnpm/undici@5.28.3/node_modules/undici/lib/fetch/file.js"(exports2, module2) {
11257
11257
  "use strict";
11258
11258
  var { Blob: Blob2, File: NativeFile } = require("buffer");
11259
- var { types: types5 } = require("util");
11259
+ var { types: types6 } = require("util");
11260
11260
  var { kState } = require_symbols2();
11261
11261
  var { isBlobLike } = require_util2();
11262
11262
  var { webidl } = require_webidl();
@@ -11365,7 +11365,7 @@ var require_file = __commonJS({
11365
11365
  if (isBlobLike(V2)) {
11366
11366
  return webidl.converters.Blob(V2, { strict: false });
11367
11367
  }
11368
- if (ArrayBuffer.isView(V2) || types5.isAnyArrayBuffer(V2)) {
11368
+ if (ArrayBuffer.isView(V2) || types6.isAnyArrayBuffer(V2)) {
11369
11369
  return webidl.converters.BufferSource(V2, opts);
11370
11370
  }
11371
11371
  }
@@ -11409,7 +11409,7 @@ var require_file = __commonJS({
11409
11409
  s = convertLineEndingsNative(s);
11410
11410
  }
11411
11411
  bytes.push(encoder.encode(s));
11412
- } else if (types5.isAnyArrayBuffer(element) || types5.isTypedArray(element)) {
11412
+ } else if (types6.isAnyArrayBuffer(element) || types6.isTypedArray(element)) {
11413
11413
  if (!element.buffer) {
11414
11414
  bytes.push(new Uint8Array(element));
11415
11415
  } else {
@@ -18298,7 +18298,7 @@ var require_response = __commonJS({
18298
18298
  var { URLSerializer } = require_dataURL();
18299
18299
  var { kHeadersList, kConstruct } = require_symbols();
18300
18300
  var assert = require("assert");
18301
- var { types: types5 } = require("util");
18301
+ var { types: types6 } = require("util");
18302
18302
  var ReadableStream = globalThis.ReadableStream || require("stream/web").ReadableStream;
18303
18303
  var textEncoder = new TextEncoder("utf-8");
18304
18304
  var Response = class {
@@ -18601,7 +18601,7 @@ var require_response = __commonJS({
18601
18601
  if (isBlobLike(V2)) {
18602
18602
  return webidl.converters.Blob(V2, { strict: false });
18603
18603
  }
18604
- if (types5.isArrayBuffer(V2) || types5.isTypedArray(V2) || types5.isDataView(V2)) {
18604
+ if (types6.isArrayBuffer(V2) || types6.isTypedArray(V2) || types6.isDataView(V2)) {
18605
18605
  return webidl.converters.BufferSource(V2);
18606
18606
  }
18607
18607
  if (util.isFormDataLike(V2)) {
@@ -20707,7 +20707,7 @@ var require_util4 = __commonJS({
20707
20707
  var { getEncoding } = require_encoding();
20708
20708
  var { DOMException: DOMException2 } = require_constants2();
20709
20709
  var { serializeAMimeType, parseMIMEType } = require_dataURL();
20710
- var { types: types5 } = require("util");
20710
+ var { types: types6 } = require("util");
20711
20711
  var { StringDecoder } = require("string_decoder");
20712
20712
  var { btoa: btoa2 } = require("buffer");
20713
20713
  var staticPropertyDescriptors = {
@@ -20737,7 +20737,7 @@ var require_util4 = __commonJS({
20737
20737
  });
20738
20738
  }
20739
20739
  isFirstChunk = false;
20740
- if (!done && types5.isUint8Array(value)) {
20740
+ if (!done && types6.isUint8Array(value)) {
20741
20741
  bytes.push(value);
20742
20742
  if ((fr[kLastProgressEventFired] === void 0 || Date.now() - fr[kLastProgressEventFired] >= 50) && !fr[kAborted]) {
20743
20743
  fr[kLastProgressEventFired] = Date.now();
@@ -23119,7 +23119,7 @@ var require_websocket = __commonJS({
23119
23119
  var { ByteParser } = require_receiver();
23120
23120
  var { kEnumerableProperty, isBlobLike } = require_util();
23121
23121
  var { getGlobalDispatcher } = require_global2();
23122
- var { types: types5 } = require("util");
23122
+ var { types: types6 } = require("util");
23123
23123
  var experimentalWarned = false;
23124
23124
  var WebSocket = class extends EventTarget {
23125
23125
  #events = {
@@ -23266,7 +23266,7 @@ var require_websocket = __commonJS({
23266
23266
  socket.write(buffer, () => {
23267
23267
  this.#bufferedAmount -= value.byteLength;
23268
23268
  });
23269
- } else if (types5.isArrayBuffer(data)) {
23269
+ } else if (types6.isArrayBuffer(data)) {
23270
23270
  const value = Buffer.from(data);
23271
23271
  const frame = new WebsocketFrameSend(value);
23272
23272
  const buffer = frame.createFrame(opcodes.BINARY);
@@ -23488,7 +23488,7 @@ var require_websocket = __commonJS({
23488
23488
  if (isBlobLike(V2)) {
23489
23489
  return webidl.converters.Blob(V2, { strict: false });
23490
23490
  }
23491
- if (ArrayBuffer.isView(V2) || types5.isAnyArrayBuffer(V2)) {
23491
+ if (ArrayBuffer.isView(V2) || types6.isAnyArrayBuffer(V2)) {
23492
23492
  return webidl.converters.BufferSource(V2);
23493
23493
  }
23494
23494
  }
@@ -24217,13 +24217,13 @@ var init_package2 = __esm({
24217
24217
  ],
24218
24218
  dependencies: {
24219
24219
  "create-astro": "4.7.3",
24220
- "@angular/create": "17.2.1",
24220
+ "@angular/create": "17.2.2",
24221
24221
  "create-docusaurus": "3.1.1",
24222
- "create-hono": "0.4.0",
24222
+ "create-hono": "0.5.0",
24223
24223
  "create-next-app": "14.1.0",
24224
24224
  "create-qwik": "1.4.5",
24225
24225
  "create-react-app": "5.0.1",
24226
- "create-remix": "2.7.2",
24226
+ "create-remix": "2.8.0",
24227
24227
  "create-solid": "0.4.10",
24228
24228
  "create-svelte": "6.0.9",
24229
24229
  "create-vue": "3.9.2",
@@ -32656,7 +32656,7 @@ var require_index_688c5d50 = __commonJS({
32656
32656
  }
32657
32657
  }
32658
32658
  };
32659
- var types5 = createCommonjsModule(function(module3, exports3) {
32659
+ var types6 = createCommonjsModule(function(module3, exports3) {
32660
32660
  exports3.name = /* @__PURE__ */ new Map([
32661
32661
  ["0", "File"],
32662
32662
  // same as File
@@ -32910,14 +32910,14 @@ var require_index_688c5d50 = __commonJS({
32910
32910
  }
32911
32911
  }
32912
32912
  get type() {
32913
- return types5.name.get(this[TYPE]) || this[TYPE];
32913
+ return types6.name.get(this[TYPE]) || this[TYPE];
32914
32914
  }
32915
32915
  get typeKey() {
32916
32916
  return this[TYPE];
32917
32917
  }
32918
32918
  set type(type) {
32919
- if (types5.code.has(type))
32920
- this[TYPE] = types5.code.get(type);
32919
+ if (types6.code.has(type))
32920
+ this[TYPE] = types6.code.get(type);
32921
32921
  else
32922
32922
  this[TYPE] = type;
32923
32923
  }
@@ -36029,7 +36029,7 @@ var require_index_688c5d50 = __commonJS({
36029
36029
  exports3.WriteEntry = writeEntry;
36030
36030
  exports3.Header = header;
36031
36031
  exports3.Pax = pax;
36032
- exports3.types = types5;
36032
+ exports3.types = types6;
36033
36033
  });
36034
36034
  var colorName = {
36035
36035
  "aliceblue": [240, 248, 255],
@@ -42985,9 +42985,9 @@ var require_types = __commonJS({
42985
42985
  /** @class */
42986
42986
  function(_super) {
42987
42987
  (0, tslib_1.__extends)(OrType2, _super);
42988
- function OrType2(types5) {
42988
+ function OrType2(types6) {
42989
42989
  var _this = _super.call(this) || this;
42990
- _this.types = types5;
42990
+ _this.types = types6;
42991
42991
  _this.kind = "OrType";
42992
42992
  return _this;
42993
42993
  }
@@ -43132,11 +43132,11 @@ var require_types = __commonJS({
43132
43132
  function typesPlugin(_fork) {
43133
43133
  var Type = {
43134
43134
  or: function() {
43135
- var types5 = [];
43135
+ var types6 = [];
43136
43136
  for (var _i = 0; _i < arguments.length; _i++) {
43137
- types5[_i] = arguments[_i];
43137
+ types6[_i] = arguments[_i];
43138
43138
  }
43139
- return new OrType(types5.map(function(type) {
43139
+ return new OrType(types6.map(function(type) {
43140
43140
  return Type.from(type);
43141
43141
  }));
43142
43142
  },
@@ -43585,9 +43585,9 @@ var require_path = __commonJS({
43585
43585
  var Op = Object.prototype;
43586
43586
  var hasOwn = Op.hasOwnProperty;
43587
43587
  function pathPlugin(fork) {
43588
- var types5 = fork.use(types_1.default);
43589
- var isArray = types5.builtInTypes.array;
43590
- var isNumber = types5.builtInTypes.number;
43588
+ var types6 = fork.use(types_1.default);
43589
+ var isArray = types6.builtInTypes.array;
43590
+ var isNumber = types6.builtInTypes.number;
43591
43591
  var Path = function Path2(value, parentPath, name2) {
43592
43592
  if (!(this instanceof Path2)) {
43593
43593
  throw new Error("Path constructor cannot be invoked without 'new'");
@@ -43887,13 +43887,13 @@ var require_scope = __commonJS({
43887
43887
  var types_1 = (0, tslib_1.__importDefault)(require_types());
43888
43888
  var hasOwn = Object.prototype.hasOwnProperty;
43889
43889
  function scopePlugin(fork) {
43890
- var types5 = fork.use(types_1.default);
43891
- var Type = types5.Type;
43892
- var namedTypes = types5.namedTypes;
43890
+ var types6 = fork.use(types_1.default);
43891
+ var Type = types6.Type;
43892
+ var namedTypes = types6.namedTypes;
43893
43893
  var Node = namedTypes.Node;
43894
43894
  var Expression = namedTypes.Expression;
43895
- var isArray = types5.builtInTypes.array;
43896
- var b2 = types5.builders;
43895
+ var isArray = types6.builtInTypes.array;
43896
+ var b2 = types6.builders;
43897
43897
  var Scope = function Scope2(path3, parentScope) {
43898
43898
  if (!(this instanceof Scope2)) {
43899
43899
  throw new Error("Scope constructor cannot be invoked without 'new'");
@@ -43961,7 +43961,7 @@ var require_scope = __commonJS({
43961
43961
  ++index;
43962
43962
  }
43963
43963
  var name2 = prefix + index;
43964
- return this.bindings[name2] = types5.builders.identifier(name2);
43964
+ return this.bindings[name2] = types6.builders.identifier(name2);
43965
43965
  };
43966
43966
  Sp.injectTemporary = function(identifier, init) {
43967
43967
  identifier || (identifier = this.declareTemporary());
@@ -44041,7 +44041,7 @@ var require_scope = __commonJS({
44041
44041
  bindings
44042
44042
  );
44043
44043
  } else if (Node.check(node) && !Expression.check(node)) {
44044
- types5.eachField(node, function(name2, child) {
44044
+ types6.eachField(node, function(name2, child) {
44045
44045
  var childPath = path3.get(name2);
44046
44046
  if (!pathHasValue(childPath, child)) {
44047
44047
  throw new Error("");
@@ -44120,24 +44120,24 @@ var require_scope = __commonJS({
44120
44120
  addPattern(patternPath.get("argument"), bindings);
44121
44121
  }
44122
44122
  }
44123
- function addTypePattern(patternPath, types6) {
44123
+ function addTypePattern(patternPath, types7) {
44124
44124
  var pattern = patternPath.value;
44125
44125
  namedTypes.Pattern.assert(pattern);
44126
44126
  if (namedTypes.Identifier.check(pattern)) {
44127
- if (hasOwn.call(types6, pattern.name)) {
44128
- types6[pattern.name].push(patternPath);
44127
+ if (hasOwn.call(types7, pattern.name)) {
44128
+ types7[pattern.name].push(patternPath);
44129
44129
  } else {
44130
- types6[pattern.name] = [patternPath];
44130
+ types7[pattern.name] = [patternPath];
44131
44131
  }
44132
44132
  }
44133
44133
  }
44134
- function addTypeParameter(parameterPath, types6) {
44134
+ function addTypeParameter(parameterPath, types7) {
44135
44135
  var parameter = parameterPath.value;
44136
44136
  FlowOrTSTypeParameterType.assert(parameter);
44137
- if (hasOwn.call(types6, parameter.name)) {
44138
- types6[parameter.name].push(parameterPath);
44137
+ if (hasOwn.call(types7, parameter.name)) {
44138
+ types7[parameter.name].push(parameterPath);
44139
44139
  } else {
44140
- types6[parameter.name] = [parameterPath];
44140
+ types7[parameter.name] = [parameterPath];
44141
44141
  }
44142
44142
  }
44143
44143
  Sp.lookup = function(name2) {
@@ -44175,11 +44175,11 @@ var require_node_path = __commonJS({
44175
44175
  var path_1 = (0, tslib_1.__importDefault)(require_path());
44176
44176
  var scope_1 = (0, tslib_1.__importDefault)(require_scope());
44177
44177
  function nodePathPlugin(fork) {
44178
- var types5 = fork.use(types_1.default);
44179
- var n2 = types5.namedTypes;
44180
- var b2 = types5.builders;
44181
- var isNumber = types5.builtInTypes.number;
44182
- var isArray = types5.builtInTypes.array;
44178
+ var types6 = fork.use(types_1.default);
44179
+ var n2 = types6.namedTypes;
44180
+ var b2 = types6.builders;
44181
+ var isNumber = types6.builtInTypes.number;
44182
+ var isArray = types6.builtInTypes.array;
44183
44183
  var Path = fork.use(path_1.default);
44184
44184
  var Scope = fork.use(scope_1.default);
44185
44185
  var NodePath = function NodePath2(value, parentPath, name2) {
@@ -44270,7 +44270,7 @@ var require_node_path = __commonJS({
44270
44270
  return scope || null;
44271
44271
  };
44272
44272
  NPp.getValueProperty = function(name2) {
44273
- return types5.getFieldValue(this.value, name2);
44273
+ return types6.getFieldValue(this.value, name2);
44274
44274
  };
44275
44275
  NPp.needsParens = function(assumeExpressionContext) {
44276
44276
  var pp = this.parentPath;
@@ -44412,7 +44412,7 @@ var require_node_path = __commonJS({
44412
44412
  return node.some(containsCallExpression);
44413
44413
  }
44414
44414
  if (n2.Node.check(node)) {
44415
- return types5.someField(node, function(_name, child) {
44415
+ return types6.someField(node, function(_name, child) {
44416
44416
  return containsCallExpression(child);
44417
44417
  });
44418
44418
  }
@@ -44530,11 +44530,11 @@ var require_path_visitor = __commonJS({
44530
44530
  var node_path_1 = (0, tslib_1.__importDefault)(require_node_path());
44531
44531
  var hasOwn = Object.prototype.hasOwnProperty;
44532
44532
  function pathVisitorPlugin(fork) {
44533
- var types5 = fork.use(types_1.default);
44533
+ var types6 = fork.use(types_1.default);
44534
44534
  var NodePath = fork.use(node_path_1.default);
44535
- var isArray = types5.builtInTypes.array;
44536
- var isObject2 = types5.builtInTypes.object;
44537
- var isFunction2 = types5.builtInTypes.function;
44535
+ var isArray = types6.builtInTypes.array;
44536
+ var isObject2 = types6.builtInTypes.object;
44537
+ var isFunction2 = types6.builtInTypes.function;
44538
44538
  var undefined2;
44539
44539
  var PathVisitor = function PathVisitor2() {
44540
44540
  if (!(this instanceof PathVisitor2)) {
@@ -44554,7 +44554,7 @@ var require_path_visitor = __commonJS({
44554
44554
  typeNames[methodName.slice("visit".length)] = true;
44555
44555
  }
44556
44556
  }
44557
- var supertypeTable = types5.computeSupertypeLookupTable(typeNames);
44557
+ var supertypeTable = types6.computeSupertypeLookupTable(typeNames);
44558
44558
  var methodNameTable = /* @__PURE__ */ Object.create(null);
44559
44559
  var typeNameKeys = Object.keys(supertypeTable);
44560
44560
  var typeNameCount = typeNameKeys.length;
@@ -44673,7 +44673,7 @@ var require_path_visitor = __commonJS({
44673
44673
  path3.each(visitor.visitWithoutReset, visitor);
44674
44674
  } else if (!isObject2.check(value)) {
44675
44675
  } else {
44676
- var childNames = types5.getFieldNames(value);
44676
+ var childNames = types6.getFieldNames(value);
44677
44677
  if (visitor._shouldVisitComments && value.comments && childNames.indexOf("comments") < 0) {
44678
44678
  childNames.push("comments");
44679
44679
  }
@@ -44682,7 +44682,7 @@ var require_path_visitor = __commonJS({
44682
44682
  for (var i = 0; i < childCount; ++i) {
44683
44683
  var childName = childNames[i];
44684
44684
  if (!hasOwn.call(value, childName)) {
44685
- value[childName] = types5.getFieldValue(value, childName);
44685
+ value[childName] = types6.getFieldValue(value, childName);
44686
44686
  }
44687
44687
  childPaths.push(path3.get(childName));
44688
44688
  }
@@ -44822,13 +44822,13 @@ var require_equiv = __commonJS({
44822
44822
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
44823
44823
  var types_1 = (0, tslib_1.__importDefault)(require_types());
44824
44824
  function default_1(fork) {
44825
- var types5 = fork.use(types_1.default);
44826
- var getFieldNames = types5.getFieldNames;
44827
- var getFieldValue = types5.getFieldValue;
44828
- var isArray = types5.builtInTypes.array;
44829
- var isObject2 = types5.builtInTypes.object;
44830
- var isDate = types5.builtInTypes.Date;
44831
- var isRegExp = types5.builtInTypes.RegExp;
44825
+ var types6 = fork.use(types_1.default);
44826
+ var getFieldNames = types6.getFieldNames;
44827
+ var getFieldValue = types6.getFieldValue;
44828
+ var isArray = types6.builtInTypes.array;
44829
+ var isObject2 = types6.builtInTypes.object;
44830
+ var isDate = types6.builtInTypes.Date;
44831
+ var isRegExp = types6.builtInTypes.RegExp;
44832
44832
  var hasOwn = Object.prototype.hasOwnProperty;
44833
44833
  function astNodesAreEquivalent(a, b2, problemPath) {
44834
44834
  if (isArray.check(problemPath)) {
@@ -44978,24 +44978,24 @@ var require_fork = __commonJS({
44978
44978
  var node_path_1 = (0, tslib_1.__importDefault)(require_node_path());
44979
44979
  function default_1(plugins) {
44980
44980
  var fork = createFork();
44981
- var types5 = fork.use(types_1.default);
44981
+ var types6 = fork.use(types_1.default);
44982
44982
  plugins.forEach(fork.use);
44983
- types5.finalize();
44983
+ types6.finalize();
44984
44984
  var PathVisitor = fork.use(path_visitor_1.default);
44985
44985
  return {
44986
- Type: types5.Type,
44987
- builtInTypes: types5.builtInTypes,
44988
- namedTypes: types5.namedTypes,
44989
- builders: types5.builders,
44990
- defineMethod: types5.defineMethod,
44991
- getFieldNames: types5.getFieldNames,
44992
- getFieldValue: types5.getFieldValue,
44993
- eachField: types5.eachField,
44994
- someField: types5.someField,
44995
- getSupertypeNames: types5.getSupertypeNames,
44996
- getBuilderName: types5.getBuilderName,
44986
+ Type: types6.Type,
44987
+ builtInTypes: types6.builtInTypes,
44988
+ namedTypes: types6.namedTypes,
44989
+ builders: types6.builders,
44990
+ defineMethod: types6.defineMethod,
44991
+ getFieldNames: types6.getFieldNames,
44992
+ getFieldValue: types6.getFieldValue,
44993
+ eachField: types6.eachField,
44994
+ someField: types6.someField,
44995
+ getSupertypeNames: types6.getSupertypeNames,
44996
+ getBuilderName: types6.getBuilderName,
44997
44997
  astNodesAreEquivalent: fork.use(equiv_1.default),
44998
- finalize: types5.finalize,
44998
+ finalize: types6.finalize,
44999
44999
  Path: fork.use(path_1.default),
45000
45000
  NodePath: fork.use(node_path_1.default),
45001
45001
  PathVisitor,
@@ -45031,9 +45031,9 @@ var require_shared = __commonJS({
45031
45031
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
45032
45032
  var types_1 = (0, tslib_1.__importDefault)(require_types());
45033
45033
  function default_1(fork) {
45034
- var types5 = fork.use(types_1.default);
45035
- var Type = types5.Type;
45036
- var builtin = types5.builtInTypes;
45034
+ var types6 = fork.use(types_1.default);
45035
+ var Type = types6.Type;
45036
+ var builtin = types6.builtInTypes;
45037
45037
  var isNumber = builtin.number;
45038
45038
  function geq(than) {
45039
45039
  return Type.from(function(value) {
@@ -45212,8 +45212,8 @@ var require_core2 = __commonJS({
45212
45212
  var types_1 = (0, tslib_1.__importDefault)(require_types());
45213
45213
  var shared_1 = (0, tslib_1.__importDefault)(require_shared());
45214
45214
  function default_1(fork) {
45215
- var types5 = fork.use(types_1.default);
45216
- var Type = types5.Type;
45215
+ var types6 = fork.use(types_1.default);
45216
+ var Type = types6.Type;
45217
45217
  var def = Type.def;
45218
45218
  var or = Type.or;
45219
45219
  var shared = fork.use(shared_1.default);
@@ -45303,9 +45303,9 @@ var require_es6 = __commonJS({
45303
45303
  var shared_1 = (0, tslib_1.__importDefault)(require_shared());
45304
45304
  function default_1(fork) {
45305
45305
  fork.use(core_1.default);
45306
- var types5 = fork.use(types_1.default);
45307
- var def = types5.Type.def;
45308
- var or = types5.Type.or;
45306
+ var types6 = fork.use(types_1.default);
45307
+ var def = types6.Type.def;
45308
+ var or = types6.Type.or;
45309
45309
  var defaults = fork.use(shared_1.default).defaults;
45310
45310
  def("Function").field("generator", Boolean, defaults["false"]).field("expression", Boolean, defaults["false"]).field("defaults", [or(def("Expression"), null)], defaults.emptyArray).field("rest", or(def("Identifier"), null), defaults["null"]);
45311
45311
  def("RestElement").bases("Pattern").build("argument").field("argument", def("Pattern")).field(
@@ -45391,8 +45391,8 @@ var require_es2017 = __commonJS({
45391
45391
  var shared_1 = (0, tslib_1.__importDefault)(require_shared());
45392
45392
  function default_1(fork) {
45393
45393
  fork.use(es2016_1.default);
45394
- var types5 = fork.use(types_1.default);
45395
- var def = types5.Type.def;
45394
+ var types6 = fork.use(types_1.default);
45395
+ var def = types6.Type.def;
45396
45396
  var defaults = fork.use(shared_1.default).defaults;
45397
45397
  def("Function").field("async", Boolean, defaults["false"]);
45398
45398
  def("AwaitExpression").bases("Expression").build("argument").field("argument", def("Expression"));
@@ -45413,9 +45413,9 @@ var require_es2018 = __commonJS({
45413
45413
  var shared_1 = (0, tslib_1.__importDefault)(require_shared());
45414
45414
  function default_1(fork) {
45415
45415
  fork.use(es2017_1.default);
45416
- var types5 = fork.use(types_1.default);
45417
- var def = types5.Type.def;
45418
- var or = types5.Type.or;
45416
+ var types6 = fork.use(types_1.default);
45417
+ var def = types6.Type.def;
45418
+ var or = types6.Type.or;
45419
45419
  var defaults = fork.use(shared_1.default).defaults;
45420
45420
  def("ForOfStatement").field("await", Boolean, defaults["false"]);
45421
45421
  def("SpreadProperty").bases("Node").build("argument").field("argument", def("Expression"));
@@ -45445,9 +45445,9 @@ var require_es2019 = __commonJS({
45445
45445
  var shared_1 = (0, tslib_1.__importDefault)(require_shared());
45446
45446
  function default_1(fork) {
45447
45447
  fork.use(es2018_1.default);
45448
- var types5 = fork.use(types_1.default);
45449
- var def = types5.Type.def;
45450
- var or = types5.Type.or;
45448
+ var types6 = fork.use(types_1.default);
45449
+ var def = types6.Type.def;
45450
+ var or = types6.Type.or;
45451
45451
  var defaults = fork.use(shared_1.default).defaults;
45452
45452
  def("CatchClause").field("param", or(def("Pattern"), null), defaults["null"]);
45453
45453
  }
@@ -45469,9 +45469,9 @@ var require_es20202 = __commonJS({
45469
45469
  function default_1(fork) {
45470
45470
  fork.use(es2020_1.default);
45471
45471
  fork.use(es2019_1.default);
45472
- var types5 = fork.use(types_1.default);
45473
- var def = types5.Type.def;
45474
- var or = types5.Type.or;
45472
+ var types6 = fork.use(types_1.default);
45473
+ var def = types6.Type.def;
45474
+ var or = types6.Type.or;
45475
45475
  var shared = fork.use(shared_1.default);
45476
45476
  var defaults = shared.defaults;
45477
45477
  def("ImportExpression").bases("Expression").build("source").field("source", def("Expression"));
@@ -45515,8 +45515,8 @@ var require_es2022 = __commonJS({
45515
45515
  var types_1 = (0, tslib_1.__importDefault)(require_types());
45516
45516
  function default_1(fork) {
45517
45517
  fork.use(es2021_1.default);
45518
- var types5 = fork.use(types_1.default);
45519
- var def = types5.Type.def;
45518
+ var types6 = fork.use(types_1.default);
45519
+ var def = types6.Type.def;
45520
45520
  def("StaticBlock").bases("Declaration").build("body").field("body", [def("Statement")]);
45521
45521
  }
45522
45522
  exports2.default = default_1;
@@ -45535,9 +45535,9 @@ var require_es_proposals = __commonJS({
45535
45535
  var es2022_1 = (0, tslib_1.__importDefault)(require_es2022());
45536
45536
  function default_1(fork) {
45537
45537
  fork.use(es2022_1.default);
45538
- var types5 = fork.use(types_1.default);
45539
- var Type = types5.Type;
45540
- var def = types5.Type.def;
45538
+ var types6 = fork.use(types_1.default);
45539
+ var Type = types6.Type;
45540
+ var def = types6.Type.def;
45541
45541
  var or = Type.or;
45542
45542
  var shared = fork.use(shared_1.default);
45543
45543
  var defaults = shared.defaults;
@@ -45575,9 +45575,9 @@ var require_jsx = __commonJS({
45575
45575
  var shared_1 = (0, tslib_1.__importDefault)(require_shared());
45576
45576
  function default_1(fork) {
45577
45577
  fork.use(es_proposals_1.default);
45578
- var types5 = fork.use(types_1.default);
45579
- var def = types5.Type.def;
45580
- var or = types5.Type.or;
45578
+ var types6 = fork.use(types_1.default);
45579
+ var def = types6.Type.def;
45580
+ var or = types6.Type.or;
45581
45581
  var defaults = fork.use(shared_1.default).defaults;
45582
45582
  def("JSXAttribute").bases("Node").build("name", "value").field("name", or(def("JSXIdentifier"), def("JSXNamespacedName"))).field("value", or(
45583
45583
  def("Literal"),
@@ -45639,9 +45639,9 @@ var require_type_annotations = __commonJS({
45639
45639
  var types_1 = (0, tslib_1.__importDefault)(require_types());
45640
45640
  var shared_1 = (0, tslib_1.__importDefault)(require_shared());
45641
45641
  function default_1(fork) {
45642
- var types5 = fork.use(types_1.default);
45643
- var def = types5.Type.def;
45644
- var or = types5.Type.or;
45642
+ var types6 = fork.use(types_1.default);
45643
+ var def = types6.Type.def;
45644
+ var or = types6.Type.or;
45645
45645
  var defaults = fork.use(shared_1.default).defaults;
45646
45646
  var TypeAnnotation = or(def("TypeAnnotation"), def("TSTypeAnnotation"), null);
45647
45647
  var TypeParamDecl = or(def("TypeParameterDeclaration"), def("TSTypeParameterDeclaration"), null);
@@ -45674,9 +45674,9 @@ var require_flow = __commonJS({
45674
45674
  function default_1(fork) {
45675
45675
  fork.use(es_proposals_1.default);
45676
45676
  fork.use(type_annotations_1.default);
45677
- var types5 = fork.use(types_1.default);
45678
- var def = types5.Type.def;
45679
- var or = types5.Type.or;
45677
+ var types6 = fork.use(types_1.default);
45678
+ var def = types6.Type.def;
45679
+ var or = types6.Type.or;
45680
45680
  var defaults = fork.use(shared_1.default).defaults;
45681
45681
  def("Flow").bases("Node");
45682
45682
  def("FlowType").bases("Flow");
@@ -45791,10 +45791,10 @@ var require_esprima = __commonJS({
45791
45791
  var shared_1 = (0, tslib_1.__importDefault)(require_shared());
45792
45792
  function default_1(fork) {
45793
45793
  fork.use(es_proposals_1.default);
45794
- var types5 = fork.use(types_1.default);
45794
+ var types6 = fork.use(types_1.default);
45795
45795
  var defaults = fork.use(shared_1.default).defaults;
45796
- var def = types5.Type.def;
45797
- var or = types5.Type.or;
45796
+ var def = types6.Type.def;
45797
+ var or = types6.Type.or;
45798
45798
  def("VariableDeclaration").field("declarations", [or(
45799
45799
  def("VariableDeclarator"),
45800
45800
  def("Identifier")
@@ -45851,11 +45851,11 @@ var require_babel_core = __commonJS({
45851
45851
  function default_1(fork) {
45852
45852
  var _a2, _b2, _c2, _d, _e;
45853
45853
  fork.use(es_proposals_1.default);
45854
- var types5 = fork.use(types_1.default);
45854
+ var types6 = fork.use(types_1.default);
45855
45855
  var defaults = fork.use(shared_1.default).defaults;
45856
- var def = types5.Type.def;
45857
- var or = types5.Type.or;
45858
- var isUndefined = types5.builtInTypes.undefined;
45856
+ var def = types6.Type.def;
45857
+ var or = types6.Type.or;
45858
+ var isUndefined = types6.builtInTypes.undefined;
45859
45859
  def("Noop").bases("Statement").build();
45860
45860
  def("DoExpression").bases("Expression").build("body").field("body", [def("Statement")]);
45861
45861
  def("BindExpression").bases("Expression").build("object", "callee").field("object", or(def("Expression"), null)).field("callee", def("Expression"));
@@ -45890,7 +45890,7 @@ var require_babel_core = __commonJS({
45890
45890
  raw: String
45891
45891
  },
45892
45892
  function getDefault() {
45893
- var value = types5.getFieldValue(this, "value");
45893
+ var value = types6.getFieldValue(this, "value");
45894
45894
  return {
45895
45895
  rawValue: value,
45896
45896
  raw: toRaw ? toRaw(value) : String(value)
@@ -45981,8 +45981,8 @@ var require_babel = __commonJS({
45981
45981
  var babel_core_1 = (0, tslib_1.__importDefault)(require_babel_core());
45982
45982
  var flow_1 = (0, tslib_1.__importDefault)(require_flow());
45983
45983
  function default_1(fork) {
45984
- var types5 = fork.use(types_1.default);
45985
- var def = types5.Type.def;
45984
+ var types6 = fork.use(types_1.default);
45985
+ var def = types6.Type.def;
45986
45986
  fork.use(babel_core_1.default);
45987
45987
  fork.use(flow_1.default);
45988
45988
  def("V8IntrinsicIdentifier").bases("Expression").build("name").field("name", String);
@@ -46006,12 +46006,12 @@ var require_typescript = __commonJS({
46006
46006
  function default_1(fork) {
46007
46007
  fork.use(babel_core_1.default);
46008
46008
  fork.use(type_annotations_1.default);
46009
- var types5 = fork.use(types_1.default);
46010
- var n2 = types5.namedTypes;
46011
- var def = types5.Type.def;
46012
- var or = types5.Type.or;
46009
+ var types6 = fork.use(types_1.default);
46010
+ var n2 = types6.namedTypes;
46011
+ var def = types6.Type.def;
46012
+ var or = types6.Type.or;
46013
46013
  var defaults = fork.use(shared_1.default).defaults;
46014
- var StringLiteral = types5.Type.from(function(value, deep) {
46014
+ var StringLiteral = types6.Type.from(function(value, deep) {
46015
46015
  if (n2.StringLiteral && n2.StringLiteral.check(value, deep)) {
46016
46016
  return true;
46017
46017
  }
@@ -47989,8 +47989,8 @@ var require_util9 = __commonJS({
47989
47989
  exports2.isTrailingCommaEnabled = exports2.getParentExportDeclaration = exports2.isExportDeclaration = exports2.fixFaultyLocations = exports2.getTrueLoc = exports2.composeSourceMaps = exports2.copyPos = exports2.comparePos = exports2.getUnionOfKeys = exports2.getOption = exports2.isBrowser = exports2.getLineTerminator = void 0;
47990
47990
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
47991
47991
  var assert_1 = tslib_1.__importDefault(require("assert"));
47992
- var types5 = tslib_1.__importStar(require_main2());
47993
- var n2 = types5.namedTypes;
47992
+ var types6 = tslib_1.__importStar(require_main2());
47993
+ var n2 = types6.namedTypes;
47994
47994
  var source_map_1 = tslib_1.__importDefault(require_source_map());
47995
47995
  var SourceMapConsumer = source_map_1.default.SourceMapConsumer;
47996
47996
  var SourceMapGenerator = source_map_1.default.SourceMapGenerator;
@@ -55403,10 +55403,10 @@ var require_comments = __commonJS({
55403
55403
  exports2.printComments = exports2.attach = void 0;
55404
55404
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
55405
55405
  var assert_1 = tslib_1.__importDefault(require("assert"));
55406
- var types5 = tslib_1.__importStar(require_main2());
55407
- var n2 = types5.namedTypes;
55408
- var isArray = types5.builtInTypes.array;
55409
- var isObject2 = types5.builtInTypes.object;
55406
+ var types6 = tslib_1.__importStar(require_main2());
55407
+ var n2 = types6.namedTypes;
55408
+ var isArray = types6.builtInTypes.array;
55409
+ var isObject2 = types6.builtInTypes.object;
55410
55410
  var lines_1 = require_lines();
55411
55411
  var util_1 = require_util9();
55412
55412
  var childNodesCache = /* @__PURE__ */ new WeakMap();
@@ -55437,7 +55437,7 @@ var require_comments = __commonJS({
55437
55437
  if (isArray.check(node)) {
55438
55438
  names = Object.keys(node);
55439
55439
  } else if (isObject2.check(node)) {
55440
- names = types5.getFieldNames(node);
55440
+ names = types6.getFieldNames(node);
55441
55441
  } else {
55442
55442
  return resultArray;
55443
55443
  }
@@ -55617,7 +55617,7 @@ var require_comments = __commonJS({
55617
55617
  function printComments(path3, print2) {
55618
55618
  var value = path3.getValue();
55619
55619
  var innerLines = print2(path3);
55620
- var comments = n2.Node.check(value) && types5.getFieldValue(value, "comments");
55620
+ var comments = n2.Node.check(value) && types6.getFieldValue(value, "comments");
55621
55621
  if (!comments || comments.length === 0) {
55622
55622
  return innerLines;
55623
55623
  }
@@ -55625,8 +55625,8 @@ var require_comments = __commonJS({
55625
55625
  var trailingParts = [innerLines];
55626
55626
  path3.each(function(commentPath) {
55627
55627
  var comment = commentPath.getValue();
55628
- var leading = types5.getFieldValue(comment, "leading");
55629
- var trailing = types5.getFieldValue(comment, "trailing");
55628
+ var leading = types6.getFieldValue(comment, "leading");
55629
+ var trailing = types6.getFieldValue(comment, "trailing");
55630
55630
  if (leading || trailing && !(n2.Statement.check(value) || comment.type === "Block" || comment.type === "CommentBlock")) {
55631
55631
  leadingParts.push(printLeadingComment(commentPath, print2));
55632
55632
  } else if (trailing) {
@@ -55648,10 +55648,10 @@ var require_parser2 = __commonJS({
55648
55648
  exports2.parse = void 0;
55649
55649
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
55650
55650
  var assert_1 = tslib_1.__importDefault(require("assert"));
55651
- var types5 = tslib_1.__importStar(require_main2());
55652
- var b2 = types5.builders;
55653
- var isObject2 = types5.builtInTypes.object;
55654
- var isArray = types5.builtInTypes.array;
55651
+ var types6 = tslib_1.__importStar(require_main2());
55652
+ var b2 = types6.builders;
55653
+ var isObject2 = types6.builtInTypes.object;
55654
+ var isArray = types6.builtInTypes.array;
55655
55655
  var options_1 = require_options();
55656
55656
  var lines_1 = require_lines();
55657
55657
  var comments_1 = require_comments();
@@ -55838,11 +55838,11 @@ var require_fast_path = __commonJS({
55838
55838
  Object.defineProperty(exports2, "__esModule", { value: true });
55839
55839
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
55840
55840
  var assert_1 = tslib_1.__importDefault(require("assert"));
55841
- var types5 = tslib_1.__importStar(require_main2());
55841
+ var types6 = tslib_1.__importStar(require_main2());
55842
55842
  var util = tslib_1.__importStar(require_util9());
55843
- var n2 = types5.namedTypes;
55844
- var isArray = types5.builtInTypes.array;
55845
- var isNumber = types5.builtInTypes.number;
55843
+ var n2 = types6.namedTypes;
55844
+ var isArray = types6.builtInTypes.array;
55845
+ var isNumber = types6.builtInTypes.number;
55846
55846
  var PRECEDENCE = {};
55847
55847
  [
55848
55848
  ["??"],
@@ -55871,7 +55871,7 @@ var require_fast_path = __commonJS({
55871
55871
  if (obj instanceof FastPath) {
55872
55872
  return obj.copy();
55873
55873
  }
55874
- if (obj instanceof types5.NodePath) {
55874
+ if (obj instanceof types6.NodePath) {
55875
55875
  var copy = Object.create(FastPath.prototype);
55876
55876
  var stack = [obj.value];
55877
55877
  for (var pp = void 0; pp = obj.parentPath; obj = pp)
@@ -56182,7 +56182,7 @@ var require_fast_path = __commonJS({
56182
56182
  return node.some(containsCallExpression);
56183
56183
  }
56184
56184
  if (n2.Node.check(node)) {
56185
- return types5.someField(node, function(_name, child) {
56185
+ return types6.someField(node, function(_name, child) {
56186
56186
  return containsCallExpression(child);
56187
56187
  });
56188
56188
  }
@@ -56272,16 +56272,16 @@ var require_patcher = __commonJS({
56272
56272
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
56273
56273
  var assert_1 = tslib_1.__importDefault(require("assert"));
56274
56274
  var linesModule = tslib_1.__importStar(require_lines());
56275
- var types5 = tslib_1.__importStar(require_main2());
56276
- var Printable = types5.namedTypes.Printable;
56277
- var Expression = types5.namedTypes.Expression;
56278
- var ReturnStatement = types5.namedTypes.ReturnStatement;
56279
- var SourceLocation = types5.namedTypes.SourceLocation;
56275
+ var types6 = tslib_1.__importStar(require_main2());
56276
+ var Printable = types6.namedTypes.Printable;
56277
+ var Expression = types6.namedTypes.Expression;
56278
+ var ReturnStatement = types6.namedTypes.ReturnStatement;
56279
+ var SourceLocation = types6.namedTypes.SourceLocation;
56280
56280
  var util_1 = require_util9();
56281
56281
  var fast_path_1 = tslib_1.__importDefault(require_fast_path());
56282
- var isObject2 = types5.builtInTypes.object;
56283
- var isArray = types5.builtInTypes.array;
56284
- var isString = types5.builtInTypes.string;
56282
+ var isObject2 = types6.builtInTypes.object;
56283
+ var isArray = types6.builtInTypes.array;
56284
+ var isString = types6.builtInTypes.string;
56285
56285
  var riskyAdjoiningCharExp = /[0-9a-z_$]/i;
56286
56286
  var Patcher = function Patcher2(lines) {
56287
56287
  assert_1.default.ok(this instanceof Patcher2);
@@ -56560,8 +56560,8 @@ var require_patcher = __commonJS({
56560
56560
  if (k2.charAt(0) === "_") {
56561
56561
  continue;
56562
56562
  }
56563
- newPath.stack.push(k2, types5.getFieldValue(newNode, k2));
56564
- oldPath.stack.push(k2, types5.getFieldValue(oldNode, k2));
56563
+ newPath.stack.push(k2, types6.getFieldValue(newNode, k2));
56564
+ oldPath.stack.push(k2, types6.getFieldValue(oldNode, k2));
56565
56565
  var canReprint = findAnyReprints(newPath, oldPath, reprints);
56566
56566
  newPath.stack.length -= 2;
56567
56567
  oldPath.stack.length -= 2;
@@ -56589,10 +56589,10 @@ var require_printer = __commonJS({
56589
56589
  var lines_1 = require_lines();
56590
56590
  var options_1 = require_options();
56591
56591
  var patcher_1 = require_patcher();
56592
- var types5 = tslib_1.__importStar(require_main2());
56593
- var namedTypes = types5.namedTypes;
56594
- var isString = types5.builtInTypes.string;
56595
- var isObject2 = types5.builtInTypes.object;
56592
+ var types6 = tslib_1.__importStar(require_main2());
56593
+ var namedTypes = types6.namedTypes;
56594
+ var isString = types6.builtInTypes.string;
56595
+ var isObject2 = types6.builtInTypes.object;
56596
56596
  var fast_path_1 = tslib_1.__importDefault(require_fast_path());
56597
56597
  var util = tslib_1.__importStar(require_util9());
56598
56598
  var PrintResult = function PrintResult2(code, sourceMap) {
@@ -56766,7 +56766,7 @@ var require_printer = __commonJS({
56766
56766
  case "OptionalMemberExpression": {
56767
56767
  parts.push(path3.call(print2, "object"));
56768
56768
  var property = path3.call(print2, "property");
56769
- var optional = types5.getFieldValue(n2, "optional");
56769
+ var optional = types6.getFieldValue(n2, "optional");
56770
56770
  if (n2.computed) {
56771
56771
  parts.push(optional ? "?.[" : "[", property, "]");
56772
56772
  } else {
@@ -57037,7 +57037,7 @@ var require_printer = __commonJS({
57037
57037
  if (n2.typeArguments) {
57038
57038
  parts.push(path3.call(print2, "typeArguments"));
57039
57039
  }
57040
- if (types5.getFieldValue(n2, "optional")) {
57040
+ if (types6.getFieldValue(n2, "optional")) {
57041
57041
  parts.push("?.");
57042
57042
  }
57043
57043
  parts.push(printArgumentsList(path3, options, print2));
@@ -58669,8 +58669,8 @@ var require_printer = __commonJS({
58669
58669
  });
58670
58670
  }
58671
58671
  function getPossibleRaw(node) {
58672
- var value = types5.getFieldValue(node, "value");
58673
- var extra = types5.getFieldValue(node, "extra");
58672
+ var value = types6.getFieldValue(node, "value");
58673
+ var extra = types6.getFieldValue(node, "extra");
58674
58674
  if (extra && typeof extra.raw === "string" && value == extra.rawValue) {
58675
58675
  return extra.raw;
58676
58676
  }
@@ -58718,8 +58718,8 @@ var require_main3 = __commonJS({
58718
58718
  exports2.run = exports2.prettyPrint = exports2.print = exports2.visit = exports2.types = exports2.parse = void 0;
58719
58719
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
58720
58720
  var fs_1 = tslib_1.__importDefault(require("fs"));
58721
- var types5 = tslib_1.__importStar(require_main2());
58722
- exports2.types = types5;
58721
+ var types6 = tslib_1.__importStar(require_main2());
58722
+ exports2.types = types6;
58723
58723
  var parser_1 = require_parser2();
58724
58724
  Object.defineProperty(exports2, "parse", { enumerable: true, get: function() {
58725
58725
  return parser_1.parse;
@@ -59583,14 +59583,14 @@ var require_lib = __commonJS({
59583
59583
  this.preserveSpace = !!preserveSpace;
59584
59584
  }
59585
59585
  };
59586
- var types5 = {
59586
+ var types6 = {
59587
59587
  brace: new TokContext("{"),
59588
59588
  j_oTag: new TokContext("<tag"),
59589
59589
  j_cTag: new TokContext("</tag"),
59590
59590
  j_expr: new TokContext("<tag>...</tag>", true)
59591
59591
  };
59592
59592
  {
59593
- types5.template = new TokContext("`", true);
59593
+ types6.template = new TokContext("`", true);
59594
59594
  }
59595
59595
  var beforeExpr = true;
59596
59596
  var startsExpr = true;
@@ -60122,17 +60122,17 @@ var require_lib = __commonJS({
60122
60122
  context.pop();
60123
60123
  };
60124
60124
  tokenTypes[5].updateContext = tokenTypes[7].updateContext = tokenTypes[23].updateContext = (context) => {
60125
- context.push(types5.brace);
60125
+ context.push(types6.brace);
60126
60126
  };
60127
60127
  tokenTypes[22].updateContext = (context) => {
60128
- if (context[context.length - 1] === types5.template) {
60128
+ if (context[context.length - 1] === types6.template) {
60129
60129
  context.pop();
60130
60130
  } else {
60131
- context.push(types5.template);
60131
+ context.push(types6.template);
60132
60132
  }
60133
60133
  };
60134
60134
  tokenTypes[140].updateContext = (context) => {
60135
- context.push(types5.j_expr, types5.j_oTag);
60135
+ context.push(types6.j_expr, types6.j_oTag);
60136
60136
  };
60137
60137
  }
60138
60138
  var nonASCIIidentifierStartChars = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC";
@@ -60738,7 +60738,7 @@ var require_lib = __commonJS({
60738
60738
  this.lastTokEndLoc = null;
60739
60739
  this.lastTokStartLoc = null;
60740
60740
  this.lastTokStart = 0;
60741
- this.context = [types5.brace];
60741
+ this.context = [types6.brace];
60742
60742
  this.canStartJSXElement = true;
60743
60743
  this.containsEsc = false;
60744
60744
  this.firstInvalidTemplateEscapePos = null;
@@ -64629,7 +64629,7 @@ var require_lib = __commonJS({
64629
64629
  context
64630
64630
  } = this.state;
64631
64631
  const currentContext = context[context.length - 1];
64632
- if (currentContext === types5.j_oTag || currentContext === types5.j_expr) {
64632
+ if (currentContext === types6.j_oTag || currentContext === types6.j_expr) {
64633
64633
  context.pop();
64634
64634
  }
64635
64635
  }
@@ -65687,9 +65687,9 @@ var require_lib = __commonJS({
65687
65687
  switch (this.state.type) {
65688
65688
  case 5:
65689
65689
  node = this.startNode();
65690
- this.setContext(types5.brace);
65690
+ this.setContext(types6.brace);
65691
65691
  this.next();
65692
- node = this.jsxParseExpressionContainer(node, types5.j_oTag);
65692
+ node = this.jsxParseExpressionContainer(node, types6.j_oTag);
65693
65693
  if (node.expression.type === "JSXEmptyExpression") {
65694
65694
  this.raise(JsxErrors.AttributeIsEmpty, {
65695
65695
  at: node
@@ -65712,7 +65712,7 @@ var require_lib = __commonJS({
65712
65712
  jsxParseSpreadChild(node) {
65713
65713
  this.next();
65714
65714
  node.expression = this.parseExpression();
65715
- this.setContext(types5.j_expr);
65715
+ this.setContext(types6.j_expr);
65716
65716
  this.state.canStartJSXElement = true;
65717
65717
  this.expect(8);
65718
65718
  return this.finishNode(node, "JSXSpreadChild");
@@ -65732,11 +65732,11 @@ var require_lib = __commonJS({
65732
65732
  jsxParseAttribute() {
65733
65733
  const node = this.startNode();
65734
65734
  if (this.match(5)) {
65735
- this.setContext(types5.brace);
65735
+ this.setContext(types6.brace);
65736
65736
  this.next();
65737
65737
  this.expect(21);
65738
65738
  node.argument = this.parseMaybeAssignAllowIn();
65739
- this.setContext(types5.j_oTag);
65739
+ this.setContext(types6.j_oTag);
65740
65740
  this.state.canStartJSXElement = true;
65741
65741
  this.expect(8);
65742
65742
  return this.finishNode(node, "JSXSpreadAttribute");
@@ -65795,12 +65795,12 @@ var require_lib = __commonJS({
65795
65795
  break;
65796
65796
  case 5: {
65797
65797
  const node2 = this.startNode();
65798
- this.setContext(types5.brace);
65798
+ this.setContext(types6.brace);
65799
65799
  this.next();
65800
65800
  if (this.match(21)) {
65801
65801
  children.push(this.jsxParseSpreadChild(node2));
65802
65802
  } else {
65803
- children.push(this.jsxParseExpressionContainer(node2, types5.j_expr));
65803
+ children.push(this.jsxParseExpressionContainer(node2, types6.j_expr));
65804
65804
  }
65805
65805
  break;
65806
65806
  }
@@ -65871,11 +65871,11 @@ var require_lib = __commonJS({
65871
65871
  }
65872
65872
  getTokenFromCode(code) {
65873
65873
  const context = this.curContext();
65874
- if (context === types5.j_expr) {
65874
+ if (context === types6.j_expr) {
65875
65875
  this.jsxReadToken();
65876
65876
  return;
65877
65877
  }
65878
- if (context === types5.j_oTag || context === types5.j_cTag) {
65878
+ if (context === types6.j_oTag || context === types6.j_cTag) {
65879
65879
  if (isIdentifierStart(code)) {
65880
65880
  this.jsxReadWord();
65881
65881
  return;
@@ -65885,7 +65885,7 @@ var require_lib = __commonJS({
65885
65885
  this.finishToken(141);
65886
65886
  return;
65887
65887
  }
65888
- if ((code === 34 || code === 39) && context === types5.j_oTag) {
65888
+ if ((code === 34 || code === 39) && context === types6.j_oTag) {
65889
65889
  this.jsxReadString(code);
65890
65890
  return;
65891
65891
  }
@@ -65903,17 +65903,17 @@ var require_lib = __commonJS({
65903
65903
  type
65904
65904
  } = this.state;
65905
65905
  if (type === 56 && prevType === 140) {
65906
- context.splice(-2, 2, types5.j_cTag);
65906
+ context.splice(-2, 2, types6.j_cTag);
65907
65907
  this.state.canStartJSXElement = false;
65908
65908
  } else if (type === 140) {
65909
- context.push(types5.j_oTag);
65909
+ context.push(types6.j_oTag);
65910
65910
  } else if (type === 141) {
65911
65911
  const out = context[context.length - 1];
65912
- if (out === types5.j_oTag && prevType === 56 || out === types5.j_cTag) {
65912
+ if (out === types6.j_oTag && prevType === 56 || out === types6.j_cTag) {
65913
65913
  context.pop();
65914
- this.state.canStartJSXElement = context[context.length - 1] === types5.j_expr;
65914
+ this.state.canStartJSXElement = context[context.length - 1] === types6.j_expr;
65915
65915
  } else {
65916
- this.setContext(types5.j_expr);
65916
+ this.setContext(types6.j_expr);
65917
65917
  this.state.canStartJSXElement = true;
65918
65918
  }
65919
65919
  } else {
@@ -67357,14 +67357,14 @@ var require_lib = __commonJS({
67357
67357
  tsParseUnionOrIntersectionType(kind, parseConstituentType, operator) {
67358
67358
  const node = this.startNode();
67359
67359
  const hasLeadingOperator = this.eat(operator);
67360
- const types6 = [];
67360
+ const types7 = [];
67361
67361
  do {
67362
- types6.push(parseConstituentType());
67362
+ types7.push(parseConstituentType());
67363
67363
  } while (this.eat(operator));
67364
- if (types6.length === 1 && !hasLeadingOperator) {
67365
- return types6[0];
67364
+ if (types7.length === 1 && !hasLeadingOperator) {
67365
+ return types7[0];
67366
67366
  }
67367
- node.types = types6;
67367
+ node.types = types7;
67368
67368
  return this.finishNode(node, kind);
67369
67369
  }
67370
67370
  tsParseIntersectionTypeOrHigher() {
@@ -67938,7 +67938,7 @@ var require_lib = __commonJS({
67938
67938
  this.raise(TSErrors.EmptyTypeArguments, {
67939
67939
  at: node
67940
67940
  });
67941
- } else if (!this.state.inType && this.curContext() === types5.brace) {
67941
+ } else if (!this.state.inType && this.curContext() === types6.brace) {
67942
67942
  this.reScan_lt_gt();
67943
67943
  }
67944
67944
  this.expect(48);
@@ -68615,7 +68615,7 @@ var require_lib = __commonJS({
68615
68615
  context
68616
68616
  } = this.state;
68617
68617
  const currentContext = context[context.length - 1];
68618
- if (currentContext === types5.j_oTag || currentContext === types5.j_expr) {
68618
+ if (currentContext === types6.j_oTag || currentContext === types6.j_expr) {
68619
68619
  context.pop();
68620
68620
  }
68621
68621
  }
@@ -74233,38 +74233,74 @@ var c3_exports11 = {};
74233
74233
  __export(c3_exports11, {
74234
74234
  default: () => c3_default11
74235
74235
  });
74236
- var npm11, generate11, config10, c3_default11;
74236
+ var recast5, npm11, generate11, configure7, config10, c3_default11;
74237
74237
  var init_c311 = __esm({
74238
74238
  "templates/solid/c3.ts"() {
74239
74239
  init_cli();
74240
+ init_colors();
74241
+ init_codemod();
74240
74242
  init_command();
74241
74243
  init_files();
74242
74244
  init_packages();
74245
+ recast5 = __toESM(require_main3());
74243
74246
  ({ npm: npm11 } = detectPackageManager());
74244
74247
  generate11 = async (ctx) => {
74245
74248
  await runFrameworkGenerator(ctx, [ctx.project.name]);
74246
74249
  logRaw("");
74247
74250
  };
74251
+ configure7 = async (ctx) => {
74252
+ usesTypescript(ctx);
74253
+ const filePath = `app.config.${usesTypescript(ctx) ? "ts" : "js"}`;
74254
+ updateStatus(`Updating configuration in ${blue(filePath)}`);
74255
+ transformFile(filePath, {
74256
+ visitCallExpression: function(n2) {
74257
+ const callee = n2.node.callee;
74258
+ if (callee.name !== "defineConfig") {
74259
+ return this.traverse(n2);
74260
+ }
74261
+ const b2 = recast5.types.builders;
74262
+ n2.node.arguments = [
74263
+ b2.objectExpression([
74264
+ b2.objectProperty(
74265
+ b2.identifier("server"),
74266
+ b2.objectExpression([
74267
+ b2.objectProperty(
74268
+ b2.identifier("preset"),
74269
+ b2.stringLiteral("cloudflare-pages")
74270
+ ),
74271
+ b2.objectProperty(
74272
+ b2.identifier("rollupConfig"),
74273
+ b2.objectExpression([
74274
+ b2.objectProperty(
74275
+ b2.identifier("external"),
74276
+ b2.arrayExpression([b2.stringLiteral("node:async_hooks")])
74277
+ )
74278
+ ])
74279
+ )
74280
+ ])
74281
+ )
74282
+ ])
74283
+ ];
74284
+ return false;
74285
+ }
74286
+ });
74287
+ };
74248
74288
  config10 = {
74249
74289
  configVersion: 1,
74250
74290
  id: "solid",
74251
74291
  displayName: "Solid",
74252
74292
  platform: "pages",
74253
- copyFiles: {
74254
- variants: {
74255
- js: { path: "./js" },
74256
- ts: { path: "./ts" }
74257
- }
74258
- },
74259
74293
  generate: generate11,
74294
+ configure: configure7,
74260
74295
  transformPackageJson: async () => ({
74261
74296
  scripts: {
74262
- "pages:preview": `${npm11} run build && npx wrangler pages dev dist ${await compatDateFlag()} --compatibility-flag nodejs_compat`,
74263
- "pages:deploy": `${npm11} run build && wrangler pages deploy ./dist`
74297
+ preview: `${npm11} run build && npx wrangler pages dev dist ${await compatDateFlag()} --compatibility-flag nodejs_compat`,
74298
+ deploy: `${npm11} run build && wrangler pages deploy ./dist`
74264
74299
  }
74265
74300
  }),
74266
74301
  devScript: "dev",
74267
- previewScript: "pages:preview",
74302
+ deployScript: "deploy",
74303
+ previewScript: "preview",
74268
74304
  compatibilityFlags: ["nodejs_compat"]
74269
74305
  };
74270
74306
  c3_default11 = config10;
@@ -74276,7 +74312,7 @@ var c3_exports12 = {};
74276
74312
  __export(c3_exports12, {
74277
74313
  default: () => c3_default12
74278
74314
  });
74279
- var import_node_os, recast5, npm12, generate12, configure7, updateSvelteConfig, updateTypeDefinitions, config11, c3_default12;
74315
+ var import_node_os, recast6, npm12, generate12, configure8, updateSvelteConfig, updateTypeDefinitions, config11, c3_default12;
74280
74316
  var init_c312 = __esm({
74281
74317
  "templates/svelte/c3.ts"() {
74282
74318
  import_node_os = require("node:os");
@@ -74286,13 +74322,13 @@ var init_c312 = __esm({
74286
74322
  init_command();
74287
74323
  init_files();
74288
74324
  init_packages();
74289
- recast5 = __toESM(require_main3());
74325
+ recast6 = __toESM(require_main3());
74290
74326
  ({ npm: npm12 } = detectPackageManager());
74291
74327
  generate12 = async (ctx) => {
74292
74328
  await runFrameworkGenerator(ctx, [ctx.project.name]);
74293
74329
  logRaw("");
74294
74330
  };
74295
- configure7 = async (ctx) => {
74331
+ configure8 = async (ctx) => {
74296
74332
  const pkg = `@sveltejs/adapter-cloudflare`;
74297
74333
  await installPackages([pkg], {
74298
74334
  dev: true,
@@ -74319,7 +74355,7 @@ var init_c312 = __esm({
74319
74355
  return;
74320
74356
  }
74321
74357
  updateStatus(`Updating global type definitions in ${blue("app.d.ts")}`);
74322
- const b2 = recast5.types.builders;
74358
+ const b2 = recast6.types.builders;
74323
74359
  transformFile("src/app.d.ts", {
74324
74360
  visitTSModuleDeclaration(n2) {
74325
74361
  if (n2.value.id.name === "App" && n2.node.body) {
@@ -74363,7 +74399,7 @@ var init_c312 = __esm({
74363
74399
  }
74364
74400
  },
74365
74401
  generate: generate12,
74366
- configure: configure7,
74402
+ configure: configure8,
74367
74403
  transformPackageJson: async (original, ctx) => {
74368
74404
  let scripts = {
74369
74405
  preview: `${npm12} run build && wrangler pages dev .svelte-kit/cloudflare`,
@@ -80060,7 +80096,7 @@ var runCli = async (args) => {
80060
80096
  };
80061
80097
  var runTemplate = async (ctx) => {
80062
80098
  await create(ctx);
80063
- await configure8(ctx);
80099
+ await configure9(ctx);
80064
80100
  await deploy(ctx);
80065
80101
  await printSummary(ctx);
80066
80102
  };
@@ -80076,7 +80112,7 @@ var create = async (ctx) => {
80076
80112
  await rectifyPmMismatch(ctx);
80077
80113
  endSection(`Application created`);
80078
80114
  };
80079
- var configure8 = async (ctx) => {
80115
+ var configure9 = async (ctx) => {
80080
80116
  startSection("Configuring your application for Cloudflare", "Step 2 of 3");
80081
80117
  await installWrangler();
80082
80118
  await installWorkersTypes(ctx);