@skaldapp/monaco-sfc 1.1.53 → 1.1.54
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.
- package/dist/vue.worker.js +25 -5
- package/package.json +3 -3
package/dist/vue.worker.js
CHANGED
|
@@ -9870,7 +9870,7 @@ var shared_esm_bundler_exports = /* @__PURE__ */ __exportAll({
|
|
|
9870
9870
|
toTypeString: () => toTypeString
|
|
9871
9871
|
});
|
|
9872
9872
|
/**
|
|
9873
|
-
* @vue/shared v3.5.
|
|
9873
|
+
* @vue/shared v3.5.40
|
|
9874
9874
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9875
9875
|
* @license MIT
|
|
9876
9876
|
**/
|
|
@@ -10022,7 +10022,12 @@ function escapeHtml(string) {
|
|
|
10022
10022
|
return lastIndex !== index ? html + str.slice(lastIndex, index) : html;
|
|
10023
10023
|
}
|
|
10024
10024
|
function escapeHtmlComment(src) {
|
|
10025
|
-
|
|
10025
|
+
let prev;
|
|
10026
|
+
do {
|
|
10027
|
+
prev = src;
|
|
10028
|
+
src = src.replace(commentStripRE, "");
|
|
10029
|
+
} while (src !== prev);
|
|
10030
|
+
return src;
|
|
10026
10031
|
}
|
|
10027
10032
|
function getEscapedCssVarName(key, doubleEscape) {
|
|
10028
10033
|
return key.replace(cssVarNameEscapeSymbolsRE, (s) => doubleEscape ? s === "\"" ? "\\\\\\\"" : `\\\\${s}` : `\\${s}`);
|
|
@@ -10258,7 +10263,7 @@ var init_shared_esm_bundler = __esmMin((() => {
|
|
|
10258
10263
|
isKnownSvgAttr = /* @__PURE__ */ makeMap(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`);
|
|
10259
10264
|
isKnownMathMLAttr = /* @__PURE__ */ makeMap(`accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns`);
|
|
10260
10265
|
escapeRE = /["'&<>]/;
|
|
10261
|
-
commentStripRE =
|
|
10266
|
+
commentStripRE = /^(?:-?>)+|<!--|-->|--!>|<!-$/g;
|
|
10262
10267
|
cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;
|
|
10263
10268
|
isRef = (val) => {
|
|
10264
10269
|
return !!(val && val["__v_isRef"] === true);
|
|
@@ -10285,7 +10290,7 @@ var init_shared_esm_bundler = __esmMin((() => {
|
|
|
10285
10290
|
//#endregion
|
|
10286
10291
|
//#region node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js
|
|
10287
10292
|
/**
|
|
10288
|
-
* @vue/compiler-core v3.5.
|
|
10293
|
+
* @vue/compiler-core v3.5.40
|
|
10289
10294
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
10290
10295
|
* @license MIT
|
|
10291
10296
|
**/
|
|
@@ -10688,6 +10693,7 @@ function getUnnormalizedProps(props, callPath = []) {
|
|
|
10688
10693
|
return [props, callPath];
|
|
10689
10694
|
}
|
|
10690
10695
|
function injectProp(node, prop, context) {
|
|
10696
|
+
if (node.type !== 13 && injectSlotKey(node, prop)) return;
|
|
10691
10697
|
let propsWithInjection;
|
|
10692
10698
|
let props = node.type === 13 ? node.props : node.arguments[2];
|
|
10693
10699
|
let callPath = [];
|
|
@@ -10718,6 +10724,20 @@ function injectProp(node, prop, context) {
|
|
|
10718
10724
|
else if (parentCall) parentCall.arguments[0] = propsWithInjection;
|
|
10719
10725
|
else node.arguments[2] = propsWithInjection;
|
|
10720
10726
|
}
|
|
10727
|
+
function injectSlotKey(node, prop) {
|
|
10728
|
+
var _a, _b, _c;
|
|
10729
|
+
if (prop.key.type !== 4 || prop.key.content !== "key") return false;
|
|
10730
|
+
const props = node.arguments[2];
|
|
10731
|
+
if (props && !isString$1(props)) {
|
|
10732
|
+
const [unnormalizedProps] = getUnnormalizedProps(props);
|
|
10733
|
+
if (unnormalizedProps && !isString$1(unnormalizedProps) && unnormalizedProps.type === 15 && hasProp(prop, unnormalizedProps)) return true;
|
|
10734
|
+
}
|
|
10735
|
+
(_a = node.arguments)[2] || (_a[2] = "{}");
|
|
10736
|
+
(_b = node.arguments)[3] || (_b[3] = "undefined");
|
|
10737
|
+
(_c = node.arguments)[4] || (_c[4] = "undefined");
|
|
10738
|
+
node.arguments[5] = prop.value;
|
|
10739
|
+
return true;
|
|
10740
|
+
}
|
|
10721
10741
|
function hasProp(prop, props) {
|
|
10722
10742
|
let result = false;
|
|
10723
10743
|
if (prop.key.type === 4) {
|
|
@@ -14592,7 +14612,7 @@ var compiler_dom_esm_bundler_exports = /* @__PURE__ */ __exportAll({
|
|
|
14592
14612
|
warnDeprecation: () => warnDeprecation
|
|
14593
14613
|
});
|
|
14594
14614
|
/**
|
|
14595
|
-
* @vue/compiler-dom v3.5.
|
|
14615
|
+
* @vue/compiler-dom v3.5.40
|
|
14596
14616
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
14597
14617
|
* @license MIT
|
|
14598
14618
|
**/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.schemastore.org/package",
|
|
3
3
|
"name": "@skaldapp/monaco-sfc",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.54",
|
|
5
5
|
"description": "A Monaco Editor language server for Vue Single File Components (SFC) providing syntax highlighting, IntelliSense, error detection, and more",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"vue",
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@rollup/plugin-commonjs": "^29.0.3",
|
|
68
|
-
"@skaldapp/configs": "^1.4.
|
|
68
|
+
"@skaldapp/configs": "^1.4.8",
|
|
69
69
|
"@types/markdown-it": "^14.1.2",
|
|
70
70
|
"@types/node": "^26.1.1",
|
|
71
71
|
"eslint": "^10.7.0",
|
|
72
72
|
"jsonc-parser": "^3.3.1",
|
|
73
73
|
"path-browserify": "^1.0.1",
|
|
74
|
-
"vite": "^8.1.
|
|
74
|
+
"vite": "^8.1.5"
|
|
75
75
|
}
|
|
76
76
|
}
|