@nowline/embed 0.0.0-dev.20261013040615.g2749fc3 → 0.0.0-dev.20261013161844.gff8eb8b

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/meta.json CHANGED
@@ -5702,7 +5702,7 @@
5702
5702
  "format": "esm"
5703
5703
  },
5704
5704
  "../core/dist/i18n/codes.js": {
5705
- "bytes": 2637,
5705
+ "bytes": 2642,
5706
5706
  "imports": [],
5707
5707
  "format": "esm"
5708
5708
  },
@@ -9647,7 +9647,7 @@
9647
9647
  "format": "esm"
9648
9648
  },
9649
9649
  "../renderer/dist/svg/sanitize.js": {
9650
- "bytes": 20884,
9650
+ "bytes": 21182,
9651
9651
  "imports": [],
9652
9652
  "format": "esm"
9653
9653
  },
@@ -9925,7 +9925,7 @@
9925
9925
  "imports": [],
9926
9926
  "exports": [],
9927
9927
  "inputs": {},
9928
- "bytes": 3888568
9928
+ "bytes": 3888856
9929
9929
  },
9930
9930
  "dist/nowline.min.js": {
9931
9931
  "imports": [],
@@ -11064,7 +11064,7 @@
11064
11064
  "bytesInOutput": 1295
11065
11065
  },
11066
11066
  "../renderer/dist/svg/sanitize.js": {
11067
- "bytesInOutput": 8518
11067
+ "bytesInOutput": 8523
11068
11068
  },
11069
11069
  "../renderer/dist/logo.js": {
11070
11070
  "bytesInOutput": 749
@@ -11112,7 +11112,7 @@
11112
11112
  "bytesInOutput": 257
11113
11113
  }
11114
11114
  },
11115
- "bytes": 757746
11115
+ "bytes": 757751
11116
11116
  }
11117
11117
  }
11118
11118
  }
@@ -1,4 +1,4 @@
1
- /*! @nowline/embed 0.0.0-dev.20261013040615.g2749fc3 sha=2749fc3 built=2026-10-13T03:54:46Z */
1
+ /*! @nowline/embed 0.0.0-dev.20261013161844.gff8eb8b sha=ff8eb8b built=2026-10-13T16:13:32Z */
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -40898,7 +40898,6 @@ var ALLOWED_ATTRIBUTES = /* @__PURE__ */ new Set([
40898
40898
  "transform",
40899
40899
  "points",
40900
40900
  "id",
40901
- "class",
40902
40901
  "clip-path",
40903
40902
  "mask",
40904
40903
  "filter",
@@ -41258,6 +41257,8 @@ function sanitizeSvg(input, options = {}) {
41258
41257
  }
41259
41258
  if (isMetadataAttribute(key))
41260
41259
  continue;
41260
+ if (key === "class")
41261
+ continue;
41261
41262
  if (!ALLOWED_ATTRIBUTES.has(key)) {
41262
41263
  warn(`sanitizer: dropping attribute ${key}`);
41263
41264
  continue;
@@ -44188,8 +44189,8 @@ function effectiveTheme(theme, systemTheme) {
44188
44189
  }
44189
44190
 
44190
44191
  // src/index.ts
44191
- var version = true ? "0.0.0-dev.20261013040615.g2749fc3" : "0.0.0";
44192
- var sha = true ? "2749fc3" : "unknown";
44192
+ var version = true ? "0.0.0-dev.20261013161844.gff8eb8b" : "0.0.0";
44193
+ var sha = true ? "ff8eb8b" : "unknown";
44193
44194
  var DEFAULT_SELECTOR = "pre code.language-nowline, code.language-nowline";
44194
44195
  var initialConfig = {
44195
44196
  theme: "auto",