@vue/runtime-core 3.4.0-rc.1 → 3.4.0-rc.2

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.
@@ -5,9 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var reactivity = require('@vue/reactivity');
6
6
  var shared = require('@vue/shared');
7
7
 
8
- function warn$1(msg, ...args) {
9
- return;
10
- }
11
8
  function assertNumber(val, type) {
12
9
  return;
13
10
  }
@@ -236,38 +233,6 @@ function flushJobs(seen) {
236
233
  }
237
234
  }
238
235
 
239
- exports.devtools = void 0;
240
- let buffer = [];
241
- function setDevtoolsHook(hook, target) {
242
- var _a, _b;
243
- exports.devtools = hook;
244
- if (exports.devtools) {
245
- exports.devtools.enabled = true;
246
- buffer.forEach(({ event, args }) => exports.devtools.emit(event, ...args));
247
- buffer = [];
248
- } else if (
249
- // handle late devtools injection - only do this if we are in an actual
250
- // browser environment to avoid the timer handle stalling test runner exit
251
- // (#4815)
252
- typeof window !== "undefined" && // some envs mock window but not fully
253
- window.HTMLElement && // also exclude jsdom
254
- !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes("jsdom"))
255
- ) {
256
- const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];
257
- replay.push((newHook) => {
258
- setDevtoolsHook(newHook, target);
259
- });
260
- setTimeout(() => {
261
- if (!exports.devtools) {
262
- target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;
263
- buffer = [];
264
- }
265
- }, 3e3);
266
- } else {
267
- buffer = [];
268
- }
269
- }
270
-
271
236
  function emit(instance, event, ...rawArgs) {
272
237
  if (instance.isUnmounted)
273
238
  return;
@@ -6232,8 +6197,11 @@ function isMemoSame(cached, memo) {
6232
6197
  return true;
6233
6198
  }
6234
6199
 
6235
- const version = "3.4.0-rc.1";
6200
+ const version = "3.4.0-rc.2";
6201
+ const warn$1 = shared.NOOP;
6236
6202
  const ErrorTypeStrings = null;
6203
+ const devtools = void 0;
6204
+ const setDevtoolsHook = shared.NOOP;
6237
6205
  const _ssrUtils = {
6238
6206
  createComponentInstance,
6239
6207
  setupComponent,
@@ -6320,6 +6288,7 @@ exports.defineModel = defineModel;
6320
6288
  exports.defineOptions = defineOptions;
6321
6289
  exports.defineProps = defineProps;
6322
6290
  exports.defineSlots = defineSlots;
6291
+ exports.devtools = devtools;
6323
6292
  exports.getCurrentInstance = getCurrentInstance;
6324
6293
  exports.getTransitionRawChildren = getTransitionRawChildren;
6325
6294
  exports.guardReactiveProps = guardReactiveProps;
@@ -1404,7 +1404,7 @@ export declare function h<P>(type: string | Component<P>, props?: (RawProps & P)
1404
1404
  export declare const ssrContextKey: unique symbol;
1405
1405
  export declare const useSSRContext: <T = Record<string, any>>() => T | undefined;
1406
1406
 
1407
- export declare function warn(msg: string, ...args: any[]): void;
1407
+ declare function warn$1(msg: string, ...args: any[]): void;
1408
1408
 
1409
1409
  export declare enum ErrorCodes {
1410
1410
  SETUP_FUNCTION = 0,
@@ -1449,8 +1449,7 @@ interface DevtoolsHook {
1449
1449
  */
1450
1450
  cleanupBuffer?: (matchArg: unknown) => boolean;
1451
1451
  }
1452
- export declare let devtools: DevtoolsHook;
1453
- export declare function setDevtoolsHook(hook: DevtoolsHook, target: any): void;
1452
+ declare function setDevtoolsHook$1(hook: DevtoolsHook, target: any): void;
1454
1453
 
1455
1454
  type HMRComponent = ComponentOptions | ClassComponent;
1456
1455
  export interface HMRRuntime {
@@ -1618,6 +1617,11 @@ export type CompatVue = Pick<App, 'version' | 'component' | 'directive'> & {
1618
1617
 
1619
1618
  export declare const version: string;
1620
1619
 
1620
+ export declare const warn: typeof warn$1;
1621
+
1622
+ export declare const devtools: DevtoolsHook;
1623
+ export declare const setDevtoolsHook: typeof setDevtoolsHook$1;
1624
+
1621
1625
  declare module '@vue/reactivity' {
1622
1626
  interface RefUnwrapBailTypes {
1623
1627
  runtimeCoreBailTypes: VNode | {