@valaxyjs/devtools 0.25.5 → 0.25.7

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.
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-DmfbP7Er.js';
1
+ import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-D04rK1A8.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = { };
4
4
 
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-DmfbP7Er.js';
1
+ import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-D04rK1A8.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = { };
4
4
 
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-plTkktUE.js","./splitpanes.es-CboP2JXA.js","./index-DKnSvpEK.css","./migration-ffLQs4f6.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-eWpLLrGQ.js","./splitpanes.es-COac6FR0.js","./index-DKnSvpEK.css","./migration-DwhFh8Ka.js"])))=>i.map(i=>d[i]);
2
2
  true &&(function polyfill() {
3
3
  const relList = document.createElement("link").relList;
4
4
  if (relList && relList.supports && relList.supports("modulepreload")) return;
@@ -10600,31 +10600,31 @@ const routes = [
10600
10600
  {
10601
10601
  path: "/",
10602
10602
  name: "/",
10603
- component: () => __vitePreload(() => import('./index-plTkktUE.js'),true ?__vite__mapDeps([0,1,2]):void 0,import.meta.url)
10603
+ component: () => __vitePreload(() => import('./index-eWpLLrGQ.js'),true ?__vite__mapDeps([0,1,2]):void 0,import.meta.url)
10604
10604
  /* no children */
10605
10605
  },
10606
10606
  {
10607
10607
  path: "/about",
10608
10608
  name: "/about",
10609
- component: () => __vitePreload(() => import('./about-CrVqlMW-.js'),true ?[]:void 0,import.meta.url)
10609
+ component: () => __vitePreload(() => import('./about-9C0GfY54.js'),true ?[]:void 0,import.meta.url)
10610
10610
  /* no children */
10611
10611
  },
10612
10612
  {
10613
10613
  path: "/categories",
10614
10614
  name: "/categories",
10615
- component: () => __vitePreload(() => import('./categories-DOlFwtup.js'),true ?[]:void 0,import.meta.url)
10615
+ component: () => __vitePreload(() => import('./categories-Dt9vK8jg.js'),true ?[]:void 0,import.meta.url)
10616
10616
  /* no children */
10617
10617
  },
10618
10618
  {
10619
10619
  path: "/migration",
10620
10620
  name: "/migration",
10621
- component: () => __vitePreload(() => import('./migration-ffLQs4f6.js'),true ?__vite__mapDeps([3,1]):void 0,import.meta.url)
10621
+ component: () => __vitePreload(() => import('./migration-DwhFh8Ka.js'),true ?__vite__mapDeps([3,1]):void 0,import.meta.url)
10622
10622
  /* no children */
10623
10623
  },
10624
10624
  {
10625
10625
  path: "/tags",
10626
10626
  name: "/tags",
10627
- component: () => __vitePreload(() => import('./tags-CRAe0j4g.js'),true ?[]:void 0,import.meta.url)
10627
+ component: () => __vitePreload(() => import('./tags-BfW_98mZ.js'),true ?[]:void 0,import.meta.url)
10628
10628
  /* no children */
10629
10629
  }
10630
10630
  ];
@@ -10651,10 +10651,18 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
10651
10651
  /* Injected with object hook! */
10652
10652
 
10653
10653
  /*!
10654
- * shared v11.1.9
10654
+ * shared v11.1.10
10655
10655
  * (c) 2025 kazuya kawaguchi
10656
10656
  * Released under the MIT License.
10657
10657
  */
10658
+ function warn(msg, err) {
10659
+ if (typeof console !== "undefined") {
10660
+ console.warn(`[intlify] ` + msg);
10661
+ if (err) {
10662
+ console.warn(err.stack);
10663
+ }
10664
+ }
10665
+ }
10658
10666
  const inBrowser = typeof window !== "undefined";
10659
10667
  const makeSymbol = (name, shareable = false) => !shareable ? Symbol(name) : Symbol.for(name);
10660
10668
  const generateFormatCacheKey = (locale, key, source) => friendlyJSONstringify({ l: locale, k: key, s: source });
@@ -10671,7 +10679,28 @@ const getGlobalThis = () => {
10671
10679
  return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : create());
10672
10680
  };
10673
10681
  function escapeHtml(rawText) {
10674
- return rawText.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
10682
+ return rawText.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
10683
+ }
10684
+ function escapeAttributeValue(value) {
10685
+ return value.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
10686
+ }
10687
+ function sanitizeTranslatedHtml(html) {
10688
+ html = html.replace(/(\w+)\s*=\s*"([^"]*)"/g, (_, attrName, attrValue) => `${attrName}="${escapeAttributeValue(attrValue)}"`);
10689
+ html = html.replace(/(\w+)\s*=\s*'([^']*)'/g, (_, attrName, attrValue) => `${attrName}='${escapeAttributeValue(attrValue)}'`);
10690
+ const eventHandlerPattern = /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi;
10691
+ if (eventHandlerPattern.test(html)) {
10692
+ html = html.replace(/(\s+)(on)(\w+\s*=)/gi, "$1&#111;n$3");
10693
+ }
10694
+ const javascriptUrlPattern = [
10695
+ // In href, src, action, formaction attributes
10696
+ /(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
10697
+ // In style attributes within url()
10698
+ /(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi
10699
+ ];
10700
+ javascriptUrlPattern.forEach((pattern) => {
10701
+ html = html.replace(pattern, "$1javascript&#58;");
10702
+ });
10703
+ return html;
10675
10704
  }
10676
10705
  const hasOwnProperty = Object.prototype.hasOwnProperty;
10677
10706
  function hasOwn(obj, key) {
@@ -10694,14 +10723,6 @@ const toDisplayString = (val) => {
10694
10723
  function join(items, separator = "") {
10695
10724
  return items.reduce((str, item, index) => index === 0 ? str + item : str + separator + item, "");
10696
10725
  }
10697
- function warn(msg, err) {
10698
- if (typeof console !== "undefined") {
10699
- console.warn(`[intlify] ` + msg);
10700
- if (err) {
10701
- console.warn(err.stack);
10702
- }
10703
- }
10704
- }
10705
10726
  const isNotObjectOrIsArray = (val) => !isObject$1(val) || isArray(val);
10706
10727
  function deepCopy(src, des) {
10707
10728
  if (isNotObjectOrIsArray(src) || isNotObjectOrIsArray(des)) {
@@ -10729,7 +10750,7 @@ function deepCopy(src, des) {
10729
10750
  /* Injected with object hook! */
10730
10751
 
10731
10752
  /*!
10732
- * message-compiler v11.1.9
10753
+ * message-compiler v11.1.10
10733
10754
  * (c) 2025 kazuya kawaguchi
10734
10755
  * Released under the MIT License.
10735
10756
  */
@@ -12152,7 +12173,7 @@ function baseCompile$1(source, options = {}) {
12152
12173
  /* Injected with object hook! */
12153
12174
 
12154
12175
  /*!
12155
- * core-base v11.1.9
12176
+ * core-base v11.1.10
12156
12177
  * (c) 2025 kazuya kawaguchi
12157
12178
  * Released under the MIT License.
12158
12179
  */
@@ -12919,7 +12940,7 @@ function resolveValue(obj, path) {
12919
12940
  }
12920
12941
  return last;
12921
12942
  }
12922
- const VERSION$1 = "11.1.9";
12943
+ const VERSION$1 = "11.1.10";
12923
12944
  const NOT_REOSLVED = -1;
12924
12945
  const DEFAULT_LOCALE = "en-US";
12925
12946
  const MISSING_RESOLVE_VALUE = "";
@@ -13434,7 +13455,10 @@ function translate(context, ...args) {
13434
13455
  const ctxOptions = getMessageContextOptions(context, targetLocale, message, options);
13435
13456
  const msgContext = createMessageContext(ctxOptions);
13436
13457
  const messaged = evaluateMessage(context, msg, msgContext);
13437
- const ret = postTranslation ? postTranslation(messaged, key) : messaged;
13458
+ let ret = postTranslation ? postTranslation(messaged, key) : messaged;
13459
+ if (escapeParameter && isString(ret)) {
13460
+ ret = sanitizeTranslatedHtml(ret);
13461
+ }
13438
13462
  if (__INTLIFY_PROD_DEVTOOLS__) {
13439
13463
  const payloads = {
13440
13464
  timestamp: Date.now(),
@@ -13610,11 +13634,11 @@ function getMessageContextOptions(context, locale, message, options) {
13610
13634
  /* Injected with object hook! */
13611
13635
 
13612
13636
  /*!
13613
- * vue-i18n v11.1.9
13637
+ * vue-i18n v11.1.10
13614
13638
  * (c) 2025 kazuya kawaguchi
13615
13639
  * Released under the MIT License.
13616
13640
  */
13617
- const VERSION = "11.1.9";
13641
+ const VERSION = "11.1.10";
13618
13642
  function initFeatureFlags() {
13619
13643
  if (typeof __INTLIFY_PROD_DEVTOOLS__ !== "boolean") {
13620
13644
  getGlobalThis().__INTLIFY_PROD_DEVTOOLS__ = false;
@@ -1,5 +1,5 @@
1
- import { g as getAppWindow, s, B as BaseStyle, r as resolveDirective, w as withDirectives, c as createElementBlock, o as openBlock, a as createBaseVNode, b as renderSlot, n as normalizeClass, d as createCommentVNode, m as mergeProps, t as toDisplayString, k, e as c, f as resolveComponent, F as Fragment, h as renderList, i as createBlock, j as createSlots, l as withCtx, p as defineComponent, u as useModel, q as ref, v as watch, x as createVNode, y as unref, _ as _export_sfc, z as createTextVNode, A as B, C as At, D as s$1, E as tt, T as Teleport, K as Kt, W, G as b, Y, H as z, I as Ht, Q, J as I, L as v, M as D, N as Yt, S, O as normalizeStyle, P as resolveDynamicComponent, R as Transition, U as vShow, V as withKeys, X as pt, Z as Mt, $ as toHandlers, a0 as useI18n, a1 as dayjs, a2 as clientPageData, a3 as toRaw, a4 as pageData, a5 as activePath, a6 as onMounted, a7 as rpc, a8 as getDefaultExportFromCjs, a9 as computed, aa as devtoolsRouter, ab as useScroll, ac as postList, ad as isStaticMode } from './index-DmfbP7Er.js';
2
- import { s as script$n, R as Ripple, f, a as script$o, b as script$p, c as axios, P as Pe, g as ge } from './splitpanes.es-CboP2JXA.js';
1
+ import { g as getAppWindow, s, B as BaseStyle, r as resolveDirective, w as withDirectives, c as createElementBlock, o as openBlock, a as createBaseVNode, b as renderSlot, n as normalizeClass, d as createCommentVNode, m as mergeProps, t as toDisplayString, k, e as c, f as resolveComponent, F as Fragment, h as renderList, i as createBlock, j as createSlots, l as withCtx, p as defineComponent, u as useModel, q as ref, v as watch, x as createVNode, y as unref, _ as _export_sfc, z as createTextVNode, A as B, C as At, D as s$1, E as tt, T as Teleport, K as Kt, W, G as b, Y, H as z, I as Ht, Q, J as I, L as v, M as D, N as Yt, S, O as normalizeStyle, P as resolveDynamicComponent, R as Transition, U as vShow, V as withKeys, X as pt, Z as Mt, $ as toHandlers, a0 as useI18n, a1 as dayjs, a2 as clientPageData, a3 as toRaw, a4 as pageData, a5 as activePath, a6 as onMounted, a7 as rpc, a8 as getDefaultExportFromCjs, a9 as computed, aa as devtoolsRouter, ab as useScroll, ac as postList, ad as isStaticMode } from './index-D04rK1A8.js';
2
+ import { s as script$n, R as Ripple, f, a as script$o, b as script$p, c as axios, P as Pe, g as ge } from './splitpanes.es-COac6FR0.js';
3
3
 
4
4
  function g(){let r=[],i=(e,n,t=999)=>{let s=u(e,n,t),o=s.value+(s.key===e?0:t)+1;return r.push({key:e,value:o}),o},d=e=>{r=r.filter(n=>n.value!==e);},a=(e,n)=>u(e).value,u=(e,n,t=0)=>[...r].reverse().find(s=>true)||{key:e,value:t},l=e=>e&&parseInt(e.style.zIndex,10)||0;return {get:l,set:(e,n,t)=>{n&&(n.style.zIndex=String(i(e,true,t)));},clear:e=>{e&&(d(l(e)),e.style.zIndex="");},getCurrent:e=>a(e)}}var x=g();
5
5
  /* Injected with object hook! */
@@ -1,5 +1,5 @@
1
- import { p as defineComponent, q as ref, i as createBlock, l as withCtx, y as unref, x as createVNode, a as createBaseVNode, z as createTextVNode, c as createElementBlock, h as renderList, w as withDirectives, ae as vModelCheckbox, t as toDisplayString, ac as postList, F as Fragment, af as vModelText, o as openBlock } from './index-DmfbP7Er.js';
2
- import { P as Pe, b as script, g as ge, c as axios } from './splitpanes.es-CboP2JXA.js';
1
+ import { p as defineComponent, q as ref, i as createBlock, l as withCtx, y as unref, x as createVNode, a as createBaseVNode, z as createTextVNode, c as createElementBlock, h as renderList, w as withDirectives, ae as vModelCheckbox, t as toDisplayString, ac as postList, F as Fragment, af as vModelText, o as openBlock } from './index-D04rK1A8.js';
2
+ import { P as Pe, b as script, g as ge, c as axios } from './splitpanes.es-COac6FR0.js';
3
3
 
4
4
  const _hoisted_1 = {
5
5
  flex: "~ gap-2",
@@ -1,4 +1,4 @@
1
- import { ag as F, m as mergeProps, ah as l, ai as v, aj as R, ak as g, B as BaseStyle, al as p, am as g$1, an as m, ao as i, ap as a, aq as PrimeVueService, ar as b, Q, as as O, at as Tt, au as Rt, L as v$1, av as C, aw as K, ax as W, ay as U, az as useId, s as s$1, H as z, aA as c, c as createElementBlock, o as openBlock, a as createBaseVNode, b as renderSlot, z as createTextVNode, t as toDisplayString, f as resolveComponent, r as resolveDirective, w as withDirectives, i as createBlock, l as withCtx, d as createCommentVNode, n as normalizeClass, P as resolveDynamicComponent, aB as useSlots, q as ref, a9 as computed, v as watch, a6 as onMounted, aC as onBeforeUnmount, aD as provide, aE as inject, aF as getCurrentInstance, O as normalizeStyle, y as unref, aG as h, aH as nextTick } from './index-DmfbP7Er.js';
1
+ import { ag as F, m as mergeProps, ah as l, ai as v, aj as R, ak as g, B as BaseStyle, al as p, am as g$1, an as m, ao as i, ap as a, aq as PrimeVueService, ar as b, Q, as as O, at as Tt, au as Rt, L as v$1, av as C, aw as K, ax as W, ay as U, az as useId, s as s$1, H as z, aA as c, c as createElementBlock, o as openBlock, a as createBaseVNode, b as renderSlot, z as createTextVNode, t as toDisplayString, f as resolveComponent, r as resolveDirective, w as withDirectives, i as createBlock, l as withCtx, d as createCommentVNode, n as normalizeClass, P as resolveDynamicComponent, aB as useSlots, q as ref, a9 as computed, v as watch, a6 as onMounted, aC as onBeforeUnmount, aD as provide, aE as inject, aF as getCurrentInstance, O as normalizeStyle, y as unref, aG as h, aH as nextTick } from './index-D04rK1A8.js';
2
2
 
3
3
  function f(...e){if(e){let t=[];for(let i=0;i<e.length;i++){let n=e[i];if(!n)continue;let s=typeof n;if(s==="string"||s==="number")t.push(n);else if(s==="object"){let c=Array.isArray(n)?[f(...n)]:Object.entries(n).map(([r,o])=>o?r:void 0);t=c.length?t.concat(c.filter(r=>!!r)):t;}}return t.join(" ").trim()}}
4
4
  /* Injected with object hook! */
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-DmfbP7Er.js';
1
+ import { _ as _export_sfc, c as createElementBlock, o as openBlock } from './index-D04rK1A8.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = { };
4
4
 
@@ -16,7 +16,7 @@
16
16
  document.documentElement.classList.toggle('dark', true)
17
17
  })()
18
18
  </script>
19
- <script type="module" crossorigin src="./assets/index-DmfbP7Er.js"></script>
19
+ <script type="module" crossorigin src="./assets/index-D04rK1A8.js"></script>
20
20
  <link rel="stylesheet" crossorigin href="./assets/index-CJU8Ji_S.css">
21
21
  </head>
22
22
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valaxyjs/devtools",
3
3
  "type": "module",
4
- "version": "0.25.5",
4
+ "version": "0.25.7",
5
5
  "repository": {
6
6
  "url": "https://github.com/YunYouJun/valaxy"
7
7
  },
@@ -47,7 +47,7 @@
47
47
  "unbuild": "^3.5.0",
48
48
  "unplugin-vue-router": "^0.14.0",
49
49
  "vite": "^7.0.4",
50
- "vue-i18n": "^11.1.9"
50
+ "vue-i18n": "^11.1.10"
51
51
  },
52
52
  "scripts": {
53
53
  "clean": "rimraf dist",