@nowline/embed 0.6.0 → 0.7.0
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 +72 -6
- package/dist/nowline.esm.js +4 -4
- package/dist/nowline.esm.js.map +3 -3
- package/dist/nowline.min.js +49 -49
- package/dist/nowline.min.js.map +3 -3
- package/dist/share.d.ts +1 -44
- package/dist/share.d.ts.map +1 -1
- package/dist/share.js +6 -74
- package/dist/share.js.map +1 -1
- package/package.json +6 -6
- package/src/share.ts +13 -108
package/dist/meta.json
CHANGED
|
@@ -25,6 +25,33 @@
|
|
|
25
25
|
"imports": [],
|
|
26
26
|
"format": "esm"
|
|
27
27
|
},
|
|
28
|
+
"../core/dist/convert/schema.js": {
|
|
29
|
+
"bytes": 2490,
|
|
30
|
+
"imports": [],
|
|
31
|
+
"format": "esm"
|
|
32
|
+
},
|
|
33
|
+
"../core/dist/convert/parse-json.js": {
|
|
34
|
+
"bytes": 1339,
|
|
35
|
+
"imports": [
|
|
36
|
+
{
|
|
37
|
+
"path": "../core/dist/convert/schema.js",
|
|
38
|
+
"kind": "import-statement",
|
|
39
|
+
"original": "./schema.js"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"format": "esm"
|
|
43
|
+
},
|
|
44
|
+
"../core/dist/convert/printer.js": {
|
|
45
|
+
"bytes": 11197,
|
|
46
|
+
"imports": [
|
|
47
|
+
{
|
|
48
|
+
"path": "<runtime>",
|
|
49
|
+
"kind": "import-statement",
|
|
50
|
+
"external": true
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"format": "esm"
|
|
54
|
+
},
|
|
28
55
|
"../core/dist/diagnostics/index.js": {
|
|
29
56
|
"bytes": 4615,
|
|
30
57
|
"imports": [],
|
|
@@ -5710,9 +5737,29 @@
|
|
|
5710
5737
|
],
|
|
5711
5738
|
"format": "esm"
|
|
5712
5739
|
},
|
|
5740
|
+
"../core/dist/templates.js": {
|
|
5741
|
+
"bytes": 112,
|
|
5742
|
+
"imports": [],
|
|
5743
|
+
"format": "esm"
|
|
5744
|
+
},
|
|
5713
5745
|
"../core/dist/index.js": {
|
|
5714
|
-
"bytes":
|
|
5746
|
+
"bytes": 926,
|
|
5715
5747
|
"imports": [
|
|
5748
|
+
{
|
|
5749
|
+
"path": "../core/dist/convert/parse-json.js",
|
|
5750
|
+
"kind": "import-statement",
|
|
5751
|
+
"original": "./convert/parse-json.js"
|
|
5752
|
+
},
|
|
5753
|
+
{
|
|
5754
|
+
"path": "../core/dist/convert/printer.js",
|
|
5755
|
+
"kind": "import-statement",
|
|
5756
|
+
"original": "./convert/printer.js"
|
|
5757
|
+
},
|
|
5758
|
+
{
|
|
5759
|
+
"path": "../core/dist/convert/schema.js",
|
|
5760
|
+
"kind": "import-statement",
|
|
5761
|
+
"original": "./convert/schema.js"
|
|
5762
|
+
},
|
|
5716
5763
|
{
|
|
5717
5764
|
"path": "../core/dist/diagnostics/index.js",
|
|
5718
5765
|
"kind": "import-statement",
|
|
@@ -5752,6 +5799,11 @@
|
|
|
5752
5799
|
"path": "../core/dist/language/nowline-validator.js",
|
|
5753
5800
|
"kind": "import-statement",
|
|
5754
5801
|
"original": "./language/nowline-validator.js"
|
|
5802
|
+
},
|
|
5803
|
+
{
|
|
5804
|
+
"path": "../core/dist/templates.js",
|
|
5805
|
+
"kind": "import-statement",
|
|
5806
|
+
"original": "./templates.js"
|
|
5755
5807
|
}
|
|
5756
5808
|
],
|
|
5757
5809
|
"format": "esm"
|
|
@@ -9155,8 +9207,8 @@
|
|
|
9155
9207
|
"imports": [],
|
|
9156
9208
|
"format": "esm"
|
|
9157
9209
|
},
|
|
9158
|
-
"
|
|
9159
|
-
"bytes":
|
|
9210
|
+
"../share-link/dist/index.js": {
|
|
9211
|
+
"bytes": 2935,
|
|
9160
9212
|
"imports": [
|
|
9161
9213
|
{
|
|
9162
9214
|
"path": "../../node_modules/.pnpm/fflate@0.8.3/node_modules/fflate/esm/browser.js",
|
|
@@ -9166,6 +9218,17 @@
|
|
|
9166
9218
|
],
|
|
9167
9219
|
"format": "esm"
|
|
9168
9220
|
},
|
|
9221
|
+
"src/share.ts": {
|
|
9222
|
+
"bytes": 479,
|
|
9223
|
+
"imports": [
|
|
9224
|
+
{
|
|
9225
|
+
"path": "../share-link/dist/index.js",
|
|
9226
|
+
"kind": "import-statement",
|
|
9227
|
+
"original": "@nowline/share-link"
|
|
9228
|
+
}
|
|
9229
|
+
],
|
|
9230
|
+
"format": "esm"
|
|
9231
|
+
},
|
|
9169
9232
|
"src/auto-scan.ts": {
|
|
9170
9233
|
"bytes": 5754,
|
|
9171
9234
|
"imports": [
|
|
@@ -9220,7 +9283,7 @@
|
|
|
9220
9283
|
"imports": [],
|
|
9221
9284
|
"exports": [],
|
|
9222
9285
|
"inputs": {},
|
|
9223
|
-
"bytes":
|
|
9286
|
+
"bytes": 3357583
|
|
9224
9287
|
},
|
|
9225
9288
|
"dist/nowline.min.js": {
|
|
9226
9289
|
"imports": [],
|
|
@@ -10478,9 +10541,12 @@
|
|
|
10478
10541
|
"../../node_modules/.pnpm/fflate@0.8.3/node_modules/fflate/esm/browser.js": {
|
|
10479
10542
|
"bytesInOutput": 6591
|
|
10480
10543
|
},
|
|
10481
|
-
"
|
|
10544
|
+
"../share-link/dist/index.js": {
|
|
10482
10545
|
"bytesInOutput": 665
|
|
10483
10546
|
},
|
|
10547
|
+
"src/share.ts": {
|
|
10548
|
+
"bytesInOutput": 0
|
|
10549
|
+
},
|
|
10484
10550
|
"src/auto-scan.ts": {
|
|
10485
10551
|
"bytesInOutput": 1001
|
|
10486
10552
|
},
|
|
@@ -10488,7 +10554,7 @@
|
|
|
10488
10554
|
"bytesInOutput": 257
|
|
10489
10555
|
}
|
|
10490
10556
|
},
|
|
10491
|
-
"bytes":
|
|
10557
|
+
"bytes": 666048
|
|
10492
10558
|
}
|
|
10493
10559
|
}
|
|
10494
10560
|
}
|
package/dist/nowline.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @nowline/embed 0.
|
|
1
|
+
/*! @nowline/embed 0.7.0 sha=0f07e00 built=2026-06-10T21:34:55-07:00 */
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -39881,7 +39881,7 @@ try {
|
|
|
39881
39881
|
} catch (e) {
|
|
39882
39882
|
}
|
|
39883
39883
|
|
|
39884
|
-
//
|
|
39884
|
+
// ../share-link/dist/index.js
|
|
39885
39885
|
var DEFAULT_SHARE_BASE = "https://free.nowline.io/open";
|
|
39886
39886
|
function _encodePayload(source) {
|
|
39887
39887
|
const bytes = new TextEncoder().encode(source);
|
|
@@ -40019,8 +40019,8 @@ function effectiveTheme(theme, systemTheme) {
|
|
|
40019
40019
|
}
|
|
40020
40020
|
|
|
40021
40021
|
// src/index.ts
|
|
40022
|
-
var version = true ? "0.
|
|
40023
|
-
var sha = true ? "
|
|
40022
|
+
var version = true ? "0.7.0" : "0.0.0";
|
|
40023
|
+
var sha = true ? "0f07e00" : "unknown";
|
|
40024
40024
|
var DEFAULT_SELECTOR = "pre code.language-nowline, code.language-nowline";
|
|
40025
40025
|
var initialConfig = {
|
|
40026
40026
|
theme: "auto",
|