@nowline/embed 0.0.0-dev.20261106000822.g2041c05 → 0.0.0-dev.20261106001410.g1edbaa1
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 +31 -8
- package/dist/nowline.esm.js +19 -11
- package/dist/nowline.esm.js.map +4 -4
- package/dist/nowline.min.js +53 -53
- package/dist/nowline.min.js.map +4 -4
- package/package.json +6 -6
package/dist/meta.json
CHANGED
|
@@ -4871,8 +4871,13 @@
|
|
|
4871
4871
|
],
|
|
4872
4872
|
"format": "esm"
|
|
4873
4873
|
},
|
|
4874
|
+
"../core/dist/util/langium-retention.js": {
|
|
4875
|
+
"bytes": 729,
|
|
4876
|
+
"imports": [],
|
|
4877
|
+
"format": "esm"
|
|
4878
|
+
},
|
|
4874
4879
|
"../core/dist/internal.js": {
|
|
4875
|
-
"bytes":
|
|
4880
|
+
"bytes": 495,
|
|
4876
4881
|
"imports": [
|
|
4877
4882
|
{
|
|
4878
4883
|
"path": "../core/dist/language/ast-walk.js",
|
|
@@ -4894,6 +4899,11 @@
|
|
|
4894
4899
|
"kind": "import-statement",
|
|
4895
4900
|
"original": "./language/value-tables.js"
|
|
4896
4901
|
},
|
|
4902
|
+
{
|
|
4903
|
+
"path": "../core/dist/util/langium-retention.js",
|
|
4904
|
+
"kind": "import-statement",
|
|
4905
|
+
"original": "./util/langium-retention.js"
|
|
4906
|
+
},
|
|
4897
4907
|
{
|
|
4898
4908
|
"path": "../core/dist/util/props.js",
|
|
4899
4909
|
"kind": "import-statement",
|
|
@@ -5849,6 +5859,11 @@
|
|
|
5849
5859
|
],
|
|
5850
5860
|
"format": "esm"
|
|
5851
5861
|
},
|
|
5862
|
+
"../core/dist/language/transient-document.js": {
|
|
5863
|
+
"bytes": 1773,
|
|
5864
|
+
"imports": [],
|
|
5865
|
+
"format": "esm"
|
|
5866
|
+
},
|
|
5852
5867
|
"../core/dist/language/waves-plan.js": {
|
|
5853
5868
|
"bytes": 2488,
|
|
5854
5869
|
"imports": [
|
|
@@ -5881,7 +5896,7 @@
|
|
|
5881
5896
|
"format": "esm"
|
|
5882
5897
|
},
|
|
5883
5898
|
"../core/dist/index.js": {
|
|
5884
|
-
"bytes":
|
|
5899
|
+
"bytes": 1531,
|
|
5885
5900
|
"imports": [
|
|
5886
5901
|
{
|
|
5887
5902
|
"path": "../core/dist/convert/parse-json.js",
|
|
@@ -5938,6 +5953,11 @@
|
|
|
5938
5953
|
"kind": "import-statement",
|
|
5939
5954
|
"original": "./language/nowline-validator.js"
|
|
5940
5955
|
},
|
|
5956
|
+
{
|
|
5957
|
+
"path": "../core/dist/language/transient-document.js",
|
|
5958
|
+
"kind": "import-statement",
|
|
5959
|
+
"original": "./language/transient-document.js"
|
|
5960
|
+
},
|
|
5941
5961
|
{
|
|
5942
5962
|
"path": "../core/dist/language/waves.js",
|
|
5943
5963
|
"kind": "import-statement",
|
|
@@ -10133,7 +10153,7 @@
|
|
|
10133
10153
|
"format": "esm"
|
|
10134
10154
|
},
|
|
10135
10155
|
"../renderer/dist/stage.js": {
|
|
10136
|
-
"bytes":
|
|
10156
|
+
"bytes": 3941,
|
|
10137
10157
|
"imports": [
|
|
10138
10158
|
{
|
|
10139
10159
|
"path": "../core/dist/index.js",
|
|
@@ -10559,7 +10579,7 @@
|
|
|
10559
10579
|
"format": "esm"
|
|
10560
10580
|
},
|
|
10561
10581
|
"../browser/dist/pipeline.js": {
|
|
10562
|
-
"bytes":
|
|
10582
|
+
"bytes": 9000,
|
|
10563
10583
|
"imports": [
|
|
10564
10584
|
{
|
|
10565
10585
|
"path": "../core/dist/index.js",
|
|
@@ -10722,7 +10742,7 @@
|
|
|
10722
10742
|
"imports": [],
|
|
10723
10743
|
"exports": [],
|
|
10724
10744
|
"inputs": {},
|
|
10725
|
-
"bytes":
|
|
10745
|
+
"bytes": 3738402
|
|
10726
10746
|
},
|
|
10727
10747
|
"dist/nowline.min.js": {
|
|
10728
10748
|
"imports": [],
|
|
@@ -11671,6 +11691,9 @@
|
|
|
11671
11691
|
"../core/dist/language/nowline-module.js": {
|
|
11672
11692
|
"bytesInOutput": 831
|
|
11673
11693
|
},
|
|
11694
|
+
"../core/dist/language/transient-document.js": {
|
|
11695
|
+
"bytesInOutput": 242
|
|
11696
|
+
},
|
|
11674
11697
|
"../core/dist/language/waves-plan.js": {
|
|
11675
11698
|
"bytesInOutput": 624
|
|
11676
11699
|
},
|
|
@@ -11870,7 +11893,7 @@
|
|
|
11870
11893
|
"bytesInOutput": 777
|
|
11871
11894
|
},
|
|
11872
11895
|
"../renderer/dist/stage.js": {
|
|
11873
|
-
"bytesInOutput":
|
|
11896
|
+
"bytesInOutput": 1179
|
|
11874
11897
|
},
|
|
11875
11898
|
"../renderer/dist/index.js": {
|
|
11876
11899
|
"bytesInOutput": 0
|
|
@@ -11924,7 +11947,7 @@
|
|
|
11924
11947
|
"bytesInOutput": 1506
|
|
11925
11948
|
},
|
|
11926
11949
|
"../browser/dist/pipeline.js": {
|
|
11927
|
-
"bytesInOutput":
|
|
11950
|
+
"bytesInOutput": 2018
|
|
11928
11951
|
},
|
|
11929
11952
|
"../browser/dist/index.js": {
|
|
11930
11953
|
"bytesInOutput": 0
|
|
@@ -11948,7 +11971,7 @@
|
|
|
11948
11971
|
"bytesInOutput": 257
|
|
11949
11972
|
}
|
|
11950
11973
|
},
|
|
11951
|
-
"bytes":
|
|
11974
|
+
"bytes": 680348
|
|
11952
11975
|
}
|
|
11953
11976
|
}
|
|
11954
11977
|
}
|
package/dist/nowline.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @nowline/embed 0.0.0-dev.
|
|
1
|
+
/*! @nowline/embed 0.0.0-dev.20261106001410.g1edbaa1 sha=1edbaa1 built=2026-11-06T00:04:05Z */
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -30795,6 +30795,20 @@ function createNowlineServices(context = {}) {
|
|
|
30795
30795
|
return { shared, Nowline };
|
|
30796
30796
|
}
|
|
30797
30797
|
|
|
30798
|
+
// ../core/dist/language/transient-document.js
|
|
30799
|
+
async function buildTransientDocument(shared, source, uri, options = { validation: true }) {
|
|
30800
|
+
const { DocumentBuilder, LangiumDocumentFactory, LangiumDocuments } = shared.workspace;
|
|
30801
|
+
const document2 = LangiumDocumentFactory.fromString(source, uri);
|
|
30802
|
+
try {
|
|
30803
|
+
await DocumentBuilder.build([document2], options);
|
|
30804
|
+
} finally {
|
|
30805
|
+
if (!LangiumDocuments.hasDocument(uri))
|
|
30806
|
+
LangiumDocuments.addDocument(document2);
|
|
30807
|
+
await DocumentBuilder.update([], [uri]);
|
|
30808
|
+
}
|
|
30809
|
+
return document2;
|
|
30810
|
+
}
|
|
30811
|
+
|
|
30798
30812
|
// ../core/dist/language/waves-plan.js
|
|
30799
30813
|
function localizeResolveDiagnostic(locale, d) {
|
|
30800
30814
|
if (d.code === void 0)
|
|
@@ -38264,10 +38278,7 @@ function freshUri() {
|
|
|
38264
38278
|
async function buildDocument(inputs) {
|
|
38265
38279
|
if (inputs.document)
|
|
38266
38280
|
return inputs.document;
|
|
38267
|
-
|
|
38268
|
-
const document2 = workspace.LangiumDocumentFactory.fromString(inputs.source, freshUri());
|
|
38269
|
-
await workspace.DocumentBuilder.build([document2], { validation: true });
|
|
38270
|
-
return document2;
|
|
38281
|
+
return buildTransientDocument(inputs.services.shared, inputs.source, freshUri());
|
|
38271
38282
|
}
|
|
38272
38283
|
function isErrorDiagnostic(raw) {
|
|
38273
38284
|
return raw.origin !== "validation" || raw.diagnostic.severity === SEVERITY_ERROR;
|
|
@@ -40252,10 +40263,7 @@ function freshUri2() {
|
|
|
40252
40263
|
}
|
|
40253
40264
|
async function parseSource(source, options = {}) {
|
|
40254
40265
|
const filePath = options.filePath ?? DEFAULT_SYNTHETIC_PATH;
|
|
40255
|
-
const
|
|
40256
|
-
const docFactory = services.shared.workspace.LangiumDocumentFactory;
|
|
40257
|
-
const doc = docFactory.fromString(source, freshUri2());
|
|
40258
|
-
await services.shared.workspace.DocumentBuilder.build([doc], { validation: true });
|
|
40266
|
+
const doc = await buildTransientDocument(getServices().shared, source, freshUri2());
|
|
40259
40267
|
return { ast: doc.parseResult.value, diagnostics: documentRows(doc, filePath) };
|
|
40260
40268
|
}
|
|
40261
40269
|
function documentRows(doc, filePath) {
|
|
@@ -41091,8 +41099,8 @@ function effectiveTheme(theme, systemTheme) {
|
|
|
41091
41099
|
}
|
|
41092
41100
|
|
|
41093
41101
|
// src/index.ts
|
|
41094
|
-
var version = true ? "0.0.0-dev.
|
|
41095
|
-
var sha = true ? "
|
|
41102
|
+
var version = true ? "0.0.0-dev.20261106001410.g1edbaa1" : "0.0.0";
|
|
41103
|
+
var sha = true ? "1edbaa1" : "unknown";
|
|
41096
41104
|
var DEFAULT_SELECTOR = "pre code.language-nowline, code.language-nowline";
|
|
41097
41105
|
var initialConfig = {
|
|
41098
41106
|
theme: "auto",
|