🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@vue/server-renderer

Package Overview
Dependencies
Maintainers
1
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/server-renderer - npm Package Compare versions

Comparing version

to
3.5.14

2

dist/server-renderer.cjs.js
/**
* @vue/server-renderer v3.5.13
* @vue/server-renderer v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors

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

/**
* @vue/server-renderer v3.5.13
* @vue/server-renderer v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors

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

/**
* @vue/server-renderer v3.5.13
* @vue/server-renderer v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -7,3 +7,3 @@ * @license MIT

import { createVNode, ssrUtils, ssrContextKey, warn as warn$2, Fragment, Static, Comment, Text, mergeProps, createApp, initDirectivesForSSR } from 'vue';
import { isOn, isRenderableAttrValue, isSVGTag, propsToAttrMap, isBooleanAttr, includeBooleanAttr, isSSRSafeAttrName, escapeHtml, normalizeClass, isString, normalizeStyle, stringifyStyle, makeMap, isArray, toDisplayString, extend, isFunction, EMPTY_OBJ, getGlobalThis, NOOP, isObject, looseEqual, looseIndexOf, isPromise, escapeHtmlComment, isVoidTag } from '@vue/shared';
import { makeMap, isOn, isRenderableAttrValue, isSVGTag, propsToAttrMap, isBooleanAttr, includeBooleanAttr, isSSRSafeAttrName, escapeHtml, normalizeClass, isString, normalizeStyle, stringifyStyle, isArray, toDisplayString, isFunction, EMPTY_OBJ, getGlobalThis, NOOP, isObject, looseEqual, looseIndexOf, escapeHtmlComment, isPromise, isVoidTag } from '@vue/shared';
export { includeBooleanAttr as ssrIncludeBooleanAttr } from '@vue/shared';

@@ -181,140 +181,2 @@

let activeSub;
let batchDepth = 0;
let batchedSub;
function startBatch() {
batchDepth++;
}
function endBatch() {
if (--batchDepth > 0) {
return;
}
let error;
while (batchedSub) {
let e = batchedSub;
batchedSub = void 0;
while (e) {
const next = e.next;
e.next = void 0;
e.flags &= ~8;
if (e.flags & 1) {
try {
;
e.trigger();
} catch (err) {
if (!error) error = err;
}
}
e = next;
}
}
if (error) throw error;
}
let shouldTrack = true;
const trackStack = [];
function pauseTracking() {
trackStack.push(shouldTrack);
shouldTrack = false;
}
function resetTracking() {
const last = trackStack.pop();
shouldTrack = last === void 0 ? true : last;
}
class Dep {
constructor(computed) {
this.computed = computed;
this.version = 0;
/**
* Link between this dep and the current active effect
*/
this.activeLink = void 0;
/**
* Doubly linked list representing the subscribing effects (tail)
*/
this.subs = void 0;
/**
* For object property deps cleanup
*/
this.map = void 0;
this.key = void 0;
/**
* Subscriber counter
*/
this.sc = 0;
if (!!(process.env.NODE_ENV !== "production")) {
this.subsHead = void 0;
}
}
track(debugInfo) {
{
return;
}
}
trigger(debugInfo) {
this.version++;
this.notify(debugInfo);
}
notify(debugInfo) {
startBatch();
try {
if (!!(process.env.NODE_ENV !== "production")) {
for (let head = this.subsHead; head; head = head.nextSub) {
if (head.sub.onTrigger && !(head.sub.flags & 8)) {
head.sub.onTrigger(
extend(
{
effect: head.sub
},
debugInfo
)
);
}
}
}
for (let link = this.subs; link; link = link.prevSub) {
if (link.sub.notify()) {
;
link.sub.dep.notify();
}
}
} finally {
endBatch();
}
}
}
const targetMap = /* @__PURE__ */ new WeakMap();
Symbol(
!!(process.env.NODE_ENV !== "production") ? "Object iterate" : ""
);
Symbol(
!!(process.env.NODE_ENV !== "production") ? "Map keys iterate" : ""
);
Symbol(
!!(process.env.NODE_ENV !== "production") ? "Array iterate" : ""
);
function track(target, type, key) {
if (shouldTrack && activeSub) {
let depsMap = targetMap.get(target);
if (!depsMap) {
targetMap.set(target, depsMap = /* @__PURE__ */ new Map());
}
let dep = depsMap.get(key);
if (!dep) {
depsMap.set(key, dep = new Dep());
dep.map = depsMap;
dep.key = key;
}
if (!!(process.env.NODE_ENV !== "production")) {
dep.track({
target,
type,
key
});
} else {
dep.track();
}
}
}
function isProxy(value) {

@@ -343,3 +205,2 @@ return value ? !!value["__v_raw"] : false;

isWarning = true;
pauseTracking();
const instance = stack.length ? stack[stack.length - 1].component : null;

@@ -375,3 +236,2 @@ const appWarnHandler = instance && instance.appContext.config.warnHandler;

}
resetTracking();
isWarning = false;

@@ -506,3 +366,2 @@ }

if (errorHandler) {
pauseTracking();
callWithErrorHandling(errorHandler, null, 10, [

@@ -513,3 +372,2 @@ err,

]);
resetTracking();
return;

@@ -596,20 +454,4 @@ }

!!(process.env.NODE_ENV !== "production") ? {
get(target, key) {
track(target, "get", "");
return target[key];
},
set() {
warn$1(`setupContext.attrs is readonly.`);
return false;
},
deleteProperty() {
warn$1(`setupContext.attrs is readonly.`);
return false;
}
} : {
get(target, key) {
track(target, "get", "");
return target[key];
}
};
} : {
};
const classifyRE = /(?:^|[-_])(\w)/g;

@@ -616,0 +458,0 @@ const classify = (str) => str.replace(classifyRE, (c) => c.toUpperCase()).replace(/[-_]/g, "");

{
"name": "@vue/server-renderer",
"version": "3.5.13",
"version": "3.5.14",
"description": "@vue/server-renderer",

@@ -49,8 +49,8 @@ "main": "index.js",

"peerDependencies": {
"vue": "3.5.13"
"vue": "3.5.14"
},
"dependencies": {
"@vue/shared": "3.5.13",
"@vue/compiler-ssr": "3.5.13"
"@vue/shared": "3.5.14",
"@vue/compiler-ssr": "3.5.14"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display