@knapsack/plugin-changelog-md 4.102.2 → 4.102.3--canary.8164.1698aa1.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.
@@ -108,6 +108,8 @@ var react_development = {exports: {}};
108
108
  return "SuspenseList";
109
109
  case REACT_ACTIVITY_TYPE:
110
110
  return "Activity";
111
+ case REACT_VIEW_TRANSITION_TYPE:
112
+ return "ViewTransition";
111
113
  }
112
114
  if ("object" === typeof type)
113
115
  switch (
@@ -462,8 +464,15 @@ var react_development = {exports: {}};
462
464
  }
463
465
  function lazyInitializer(payload) {
464
466
  if (-1 === payload._status) {
465
- var ioInfo = payload._ioInfo;
466
- null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
467
+ var resolveDebugValue = null,
468
+ rejectDebugValue = null,
469
+ ioInfo = payload._ioInfo;
470
+ null != ioInfo &&
471
+ ((ioInfo.start = ioInfo.end = performance.now()),
472
+ (ioInfo.value = new Promise(function (resolve, reject) {
473
+ resolveDebugValue = resolve;
474
+ rejectDebugValue = reject;
475
+ })));
467
476
  ioInfo = payload._result;
468
477
  var thenable = ioInfo();
469
478
  thenable.then(
@@ -472,7 +481,14 @@ var react_development = {exports: {}};
472
481
  payload._status = 1;
473
482
  payload._result = moduleObject;
474
483
  var _ioInfo = payload._ioInfo;
475
- null != _ioInfo && (_ioInfo.end = performance.now());
484
+ if (null != _ioInfo) {
485
+ _ioInfo.end = performance.now();
486
+ var debugValue =
487
+ null == moduleObject ? void 0 : moduleObject.default;
488
+ resolveDebugValue(debugValue);
489
+ _ioInfo.value.status = "fulfilled";
490
+ _ioInfo.value.value = debugValue;
491
+ }
476
492
  void 0 === thenable.status &&
477
493
  ((thenable.status = "fulfilled"),
478
494
  (thenable.value = moduleObject));
@@ -483,7 +499,12 @@ var react_development = {exports: {}};
483
499
  payload._status = 2;
484
500
  payload._result = error;
485
501
  var _ioInfo2 = payload._ioInfo;
486
- null != _ioInfo2 && (_ioInfo2.end = performance.now());
502
+ null != _ioInfo2 &&
503
+ ((_ioInfo2.end = performance.now()),
504
+ _ioInfo2.value.then(noop, noop),
505
+ rejectDebugValue(error),
506
+ (_ioInfo2.value.status = "rejected"),
507
+ (_ioInfo2.value.reason = error));
487
508
  void 0 === thenable.status &&
488
509
  ((thenable.status = "rejected"), (thenable.reason = error));
489
510
  }
@@ -491,7 +512,6 @@ var react_development = {exports: {}};
491
512
  );
492
513
  ioInfo = payload._ioInfo;
493
514
  if (null != ioInfo) {
494
- ioInfo.value = thenable;
495
515
  var displayName = thenable.displayName;
496
516
  "string" === typeof displayName && (ioInfo.name = displayName);
497
517
  }
@@ -526,6 +546,60 @@ var react_development = {exports: {}};
526
546
  function releaseAsyncTransition() {
527
547
  ReactSharedInternals.asyncTransitions--;
528
548
  }
549
+ function startTransition(scope) {
550
+ var prevTransition = ReactSharedInternals.T,
551
+ currentTransition = {};
552
+ currentTransition.types =
553
+ null !== prevTransition ? prevTransition.types : null;
554
+ currentTransition._updatedFibers = new Set();
555
+ ReactSharedInternals.T = currentTransition;
556
+ try {
557
+ var returnValue = scope(),
558
+ onStartTransitionFinish = ReactSharedInternals.S;
559
+ null !== onStartTransitionFinish &&
560
+ onStartTransitionFinish(currentTransition, returnValue);
561
+ "object" === typeof returnValue &&
562
+ null !== returnValue &&
563
+ "function" === typeof returnValue.then &&
564
+ (ReactSharedInternals.asyncTransitions++,
565
+ returnValue.then(releaseAsyncTransition, releaseAsyncTransition),
566
+ returnValue.then(noop, reportGlobalError));
567
+ } catch (error) {
568
+ reportGlobalError(error);
569
+ } finally {
570
+ null === prevTransition &&
571
+ currentTransition._updatedFibers &&
572
+ ((scope = currentTransition._updatedFibers.size),
573
+ currentTransition._updatedFibers.clear(),
574
+ 10 < scope &&
575
+ console.warn(
576
+ "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
577
+ )),
578
+ null !== prevTransition &&
579
+ null !== currentTransition.types &&
580
+ (null !== prevTransition.types &&
581
+ prevTransition.types !== currentTransition.types &&
582
+ console.error(
583
+ "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
584
+ ),
585
+ (prevTransition.types = currentTransition.types)),
586
+ (ReactSharedInternals.T = prevTransition);
587
+ }
588
+ }
589
+ function addTransitionType(type) {
590
+ var transition = ReactSharedInternals.T;
591
+ if (null !== transition) {
592
+ var transitionTypes = transition.types;
593
+ null === transitionTypes
594
+ ? (transition.types = [type])
595
+ : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
596
+ } else
597
+ 0 === ReactSharedInternals.asyncTransitions &&
598
+ console.error(
599
+ "addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."
600
+ ),
601
+ startTransition(addTransitionType.bind(null, type));
602
+ }
529
603
  function enqueueTask(task) {
530
604
  if (null === enqueueTaskImpl)
531
605
  try {
@@ -626,6 +700,7 @@ var react_development = {exports: {}};
626
700
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
627
701
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
628
702
  REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
703
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
629
704
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
630
705
  didWarnStateUpdateForUnmountedComponent = {},
631
706
  ReactNoopUpdateQueue = {
@@ -803,6 +878,7 @@ var react_development = {exports: {}};
803
878
  exports.PureComponent = PureComponent;
804
879
  exports.StrictMode = REACT_STRICT_MODE_TYPE;
805
880
  exports.Suspense = REACT_SUSPENSE_TYPE;
881
+ exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;
806
882
  exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
807
883
  ReactSharedInternals;
808
884
  exports.__COMPILER_RUNTIME = deprecatedAPIs;
@@ -917,6 +993,7 @@ var react_development = {exports: {}};
917
993
  }
918
994
  };
919
995
  };
996
+ exports.addTransitionType = addTransitionType;
920
997
  exports.cache = function (fn) {
921
998
  return function () {
922
999
  return fn.apply(null, arguments);
@@ -1007,6 +1084,7 @@ var react_development = {exports: {}};
1007
1084
  exports.createElement = function (type, config, children) {
1008
1085
  for (var i = 2; i < arguments.length; i++)
1009
1086
  validateChildKeys(arguments[i]);
1087
+ var propName;
1010
1088
  i = {};
1011
1089
  var key = null;
1012
1090
  if (null != config)
@@ -1047,13 +1125,18 @@ var react_development = {exports: {}};
1047
1125
  ? type.displayName || type.name || "Unknown"
1048
1126
  : type
1049
1127
  );
1050
- var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1128
+ (propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++)
1129
+ ? ((childArray = Error.stackTraceLimit),
1130
+ (Error.stackTraceLimit = 10),
1131
+ (childrenLength = Error("react-stack-top-frame")),
1132
+ (Error.stackTraceLimit = childArray))
1133
+ : (childrenLength = unknownOwnerDebugStack);
1051
1134
  return ReactElement(
1052
1135
  type,
1053
1136
  key,
1054
1137
  i,
1055
1138
  getOwner(),
1056
- propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1139
+ childrenLength,
1057
1140
  propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1058
1141
  );
1059
1142
  };
@@ -1152,44 +1235,7 @@ var react_development = {exports: {}};
1152
1235
  });
1153
1236
  return compare;
1154
1237
  };
1155
- exports.startTransition = function (scope) {
1156
- var prevTransition = ReactSharedInternals.T,
1157
- currentTransition = {};
1158
- currentTransition._updatedFibers = new Set();
1159
- ReactSharedInternals.T = currentTransition;
1160
- try {
1161
- var returnValue = scope(),
1162
- onStartTransitionFinish = ReactSharedInternals.S;
1163
- null !== onStartTransitionFinish &&
1164
- onStartTransitionFinish(currentTransition, returnValue);
1165
- "object" === typeof returnValue &&
1166
- null !== returnValue &&
1167
- "function" === typeof returnValue.then &&
1168
- (ReactSharedInternals.asyncTransitions++,
1169
- returnValue.then(releaseAsyncTransition, releaseAsyncTransition),
1170
- returnValue.then(noop, reportGlobalError));
1171
- } catch (error) {
1172
- reportGlobalError(error);
1173
- } finally {
1174
- null === prevTransition &&
1175
- currentTransition._updatedFibers &&
1176
- ((scope = currentTransition._updatedFibers.size),
1177
- currentTransition._updatedFibers.clear(),
1178
- 10 < scope &&
1179
- console.warn(
1180
- "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
1181
- )),
1182
- null !== prevTransition &&
1183
- null !== currentTransition.types &&
1184
- (null !== prevTransition.types &&
1185
- prevTransition.types !== currentTransition.types &&
1186
- console.error(
1187
- "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
1188
- ),
1189
- (prevTransition.types = currentTransition.types)),
1190
- (ReactSharedInternals.T = prevTransition);
1191
- }
1192
- };
1238
+ exports.startTransition = startTransition;
1193
1239
  exports.unstable_useCacheRefresh = function () {
1194
1240
  return resolveDispatcher().useCacheRefresh();
1195
1241
  };
@@ -1279,7 +1325,7 @@ var react_development = {exports: {}};
1279
1325
  exports.useTransition = function () {
1280
1326
  return resolveDispatcher().useTransition();
1281
1327
  };
1282
- exports.version = "19.2.8";
1328
+ exports.version = "19.3.0";
1283
1329
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1284
1330
  "function" ===
1285
1331
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/plugin-changelog-md",
3
3
  "description": "Add CHANGELOG.md info to Knapsack",
4
- "version": "4.102.2",
4
+ "version": "4.102.3--canary.8164.1698aa1.0",
5
5
  "main": "dist/server/changelog-md.js",
6
6
  "module": "dist/client/changelog-page.js",
7
7
  "sideEffects": false,
@@ -18,16 +18,16 @@
18
18
  "start:server": "yarn build:server --watch"
19
19
  },
20
20
  "dependencies": {
21
- "@knapsack/app": "4.102.2",
21
+ "@knapsack/app": "4.102.3--canary.8164.1698aa1.0",
22
22
  "fs-extra": "^11.3.4",
23
23
  "marked": "^6.0.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@babel/cli": "^7.28.6",
27
27
  "@babel/core": "^7.29.0",
28
- "@knapsack/babel-config": "4.102.2",
29
- "@knapsack/eslint-config-starter": "4.102.2",
30
- "@knapsack/typescript-config-starter": "4.102.2",
28
+ "@knapsack/babel-config": "4.102.3--canary.8164.1698aa1.0",
29
+ "@knapsack/eslint-config-starter": "4.102.3--canary.8164.1698aa1.0",
30
+ "@knapsack/typescript-config-starter": "4.102.3--canary.8164.1698aa1.0",
31
31
  "@rollup/plugin-babel": "^5.3.1",
32
32
  "@rollup/plugin-commonjs": "^21.1.0",
33
33
  "@rollup/plugin-image": "^2.0.4",
@@ -38,7 +38,7 @@
38
38
  "@types/fs-extra": "^11.0.4",
39
39
  "concurrently": "^7.6.0",
40
40
  "eslint": "^9.20.0",
41
- "react": "^19.2.8",
41
+ "react": "^19.3.0",
42
42
  "rollup": "^2.80.0",
43
43
  "typescript": "^6.0.3"
44
44
  },
@@ -55,5 +55,5 @@
55
55
  "directory": "plugins/plugin-changelog-md",
56
56
  "type": "git"
57
57
  },
58
- "gitHead": "d0af6466ed6a8e81f77f3c976b41e2c5d1533a14"
58
+ "gitHead": "1698aa1ea80120a4d81330747379faa101fac999"
59
59
  }