@vue/runtime-core 3.3.0-beta.1 → 3.3.0-beta.3

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.
@@ -7322,14 +7322,6 @@ function getSlotsProxy(instance) {
7322
7322
  get(target, key) {
7323
7323
  reactivity.track(instance, "get", "$slots");
7324
7324
  return target[key];
7325
- },
7326
- set() {
7327
- warn(`setupContext.slots is readonly.`);
7328
- return false;
7329
- },
7330
- deleteProperty() {
7331
- warn(`setupContext.slots is readonly.`);
7332
- return false;
7333
7325
  }
7334
7326
  }));
7335
7327
  }
@@ -7662,7 +7654,7 @@ function isMemoSame(cached, memo) {
7662
7654
  return true;
7663
7655
  }
7664
7656
 
7665
- const version = "3.3.0-beta.1";
7657
+ const version = "3.3.0-beta.3";
7666
7658
  const _ssrUtils = {
7667
7659
  createComponentInstance,
7668
7660
  setupComponent,
@@ -6005,7 +6005,7 @@ function isMemoSame(cached, memo) {
6005
6005
  return true;
6006
6006
  }
6007
6007
 
6008
- const version = "3.3.0-beta.1";
6008
+ const version = "3.3.0-beta.3";
6009
6009
  const _ssrUtils = {
6010
6010
  createComponentInstance,
6011
6011
  setupComponent,
@@ -662,7 +662,7 @@ type OptionTypesType<P = {}, B = {}, D = {}, C extends ComputedOptions = {}, M e
662
662
 
663
663
  export interface InjectionKey<T> extends Symbol {
664
664
  }
665
- export declare function provide<T>(key: InjectionKey<T> | string | number, value: T): void;
665
+ export declare function provide<T extends InjectionKey<any>>(key: T | string | number, value: T extends InjectionKey<infer V> ? V : any): void;
666
666
  export declare function inject<T>(key: InjectionKey<T> | string): T | undefined;
667
667
  export declare function inject<T>(key: InjectionKey<T> | string, defaultValue: T, treatDefaultAsFactory?: false): T;
668
668
  export declare function inject<T>(key: InjectionKey<T> | string, defaultValue: T | (() => T), treatDefaultAsFactory: true): T;
@@ -7373,14 +7373,6 @@ function getSlotsProxy(instance) {
7373
7373
  get(target, key) {
7374
7374
  track(instance, "get", "$slots");
7375
7375
  return target[key];
7376
- },
7377
- set() {
7378
- warn(`setupContext.slots is readonly.`);
7379
- return false;
7380
- },
7381
- deleteProperty() {
7382
- warn(`setupContext.slots is readonly.`);
7383
- return false;
7384
7376
  }
7385
7377
  }));
7386
7378
  }
@@ -7722,7 +7714,7 @@ function isMemoSame(cached, memo) {
7722
7714
  return true;
7723
7715
  }
7724
7716
 
7725
- const version = "3.3.0-beta.1";
7717
+ const version = "3.3.0-beta.3";
7726
7718
  const _ssrUtils = {
7727
7719
  createComponentInstance,
7728
7720
  setupComponent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/runtime-core",
3
- "version": "3.3.0-beta.1",
3
+ "version": "3.3.0-beta.3",
4
4
  "description": "@vue/runtime-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-core.esm-bundler.js",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
34
34
  "dependencies": {
35
- "@vue/shared": "3.3.0-beta.1",
36
- "@vue/reactivity": "3.3.0-beta.1"
35
+ "@vue/shared": "3.3.0-beta.3",
36
+ "@vue/reactivity": "3.3.0-beta.3"
37
37
  }
38
38
  }