Socket
Socket
Sign inDemoInstall

@vue/reactivity

Package Overview
Dependencies
Maintainers
2
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/reactivity - npm Package Compare versions

Comparing version 3.4.18 to 3.4.19

6

dist/reactivity.cjs.js
/**
* @vue/reactivity v3.4.18
* @vue/reactivity v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -989,2 +989,3 @@ * @license MIT

const COMPUTED_SIDE_EFFECT_WARN = `Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free`;
class ComputedRefImpl {

@@ -1014,2 +1015,3 @@ constructor(getter, _setter, isReadonly, isSSR) {

if (self.effect._dirtyLevel >= 2) {
warn(COMPUTED_SIDE_EFFECT_WARN);
triggerRefValue(self, 2);

@@ -1038,3 +1040,3 @@ }

setter = () => {
console.warn("Write operation failed: computed value is readonly");
warn("Write operation failed: computed value is readonly");
} ;

@@ -1041,0 +1043,0 @@ } else {

/**
* @vue/reactivity v3.4.18
* @vue/reactivity v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -4,0 +4,0 @@ * @license MIT

/**
* @vue/reactivity v3.4.18
* @vue/reactivity v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -1024,2 +1024,3 @@ * @license MIT

const COMPUTED_SIDE_EFFECT_WARN = `Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free`;
class ComputedRefImpl {

@@ -1049,2 +1050,3 @@ constructor(getter, _setter, isReadonly, isSSR) {

if (self.effect._dirtyLevel >= 2) {
warn(COMPUTED_SIDE_EFFECT_WARN);
triggerRefValue(self, 2);

@@ -1073,3 +1075,3 @@ }

setter = () => {
console.warn("Write operation failed: computed value is readonly");
warn("Write operation failed: computed value is readonly");
} ;

@@ -1076,0 +1078,0 @@ } else {

/**
* @vue/reactivity v3.4.18
* @vue/reactivity v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -4,0 +4,0 @@ * @license MIT

/**
* @vue/reactivity v3.4.18
* @vue/reactivity v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -985,2 +985,3 @@ * @license MIT

const COMPUTED_SIDE_EFFECT_WARN = `Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free`;
class ComputedRefImpl {

@@ -1010,2 +1011,3 @@ constructor(getter, _setter, isReadonly, isSSR) {

if (self.effect._dirtyLevel >= 2) {
!!(process.env.NODE_ENV !== "production") && warn(COMPUTED_SIDE_EFFECT_WARN);
triggerRefValue(self, 2);

@@ -1034,3 +1036,3 @@ }

setter = !!(process.env.NODE_ENV !== "production") ? () => {
console.warn("Write operation failed: computed value is readonly");
warn("Write operation failed: computed value is readonly");
} : NOOP;

@@ -1037,0 +1039,0 @@ } else {

/**
* @vue/reactivity v3.4.18
* @vue/reactivity v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -1027,2 +1027,3 @@ * @license MIT

const COMPUTED_SIDE_EFFECT_WARN = `Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free`;
class ComputedRefImpl {

@@ -1052,2 +1053,3 @@ constructor(getter, _setter, isReadonly, isSSR) {

if (self.effect._dirtyLevel >= 2) {
warn(COMPUTED_SIDE_EFFECT_WARN);
triggerRefValue(self, 2);

@@ -1076,3 +1078,3 @@ }

setter = () => {
console.warn("Write operation failed: computed value is readonly");
warn("Write operation failed: computed value is readonly");
} ;

@@ -1079,0 +1081,0 @@ } else {

/**
* @vue/reactivity v3.4.18
* @vue/reactivity v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -4,0 +4,0 @@ * @license MIT

{
"name": "@vue/reactivity",
"version": "3.4.18",
"version": "3.4.19",
"description": "@vue/reactivity",

@@ -53,4 +53,4 @@ "main": "index.js",

"dependencies": {
"@vue/shared": "3.4.18"
"@vue/shared": "3.4.19"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc