@spyglassmc/java-edition 0.3.52 → 0.3.53
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/lib/binder/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fileUtil, Range, TaggableResourceLocationCategories, } from '@spyglassmc/core';
|
|
1
|
+
import { ErrorSeverity, fileUtil, Range, TaggableResourceLocationCategories, } from '@spyglassmc/core';
|
|
2
2
|
import { localeQuote, localize } from '@spyglassmc/locales';
|
|
3
3
|
import { ReleaseVersion } from '../dependency/index.js';
|
|
4
4
|
const Resources = new Map();
|
|
@@ -275,10 +275,10 @@ export function reportDissectError(realPath, expectedPath, ctx) {
|
|
|
275
275
|
return;
|
|
276
276
|
}
|
|
277
277
|
if (expectedPath) {
|
|
278
|
-
ctx.err.report(localize('java-edition.binder.wrong-folder', localeQuote(realPath), release, localeQuote(expectedPath)), Range.Beginning,
|
|
278
|
+
ctx.err.report(localize('java-edition.binder.wrong-folder', localeQuote(realPath), release, localeQuote(expectedPath)), Range.Beginning, ErrorSeverity.Hint);
|
|
279
279
|
}
|
|
280
280
|
else {
|
|
281
|
-
ctx.err.report(localize('java-edition.binder.wrong-version', localeQuote(realPath), release), Range.Beginning,
|
|
281
|
+
ctx.err.report(localize('java-edition.binder.wrong-version', localeQuote(realPath), release), Range.Beginning, ErrorSeverity.Hint);
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
function uriBuilder(resources) {
|
|
@@ -150,7 +150,7 @@ const itemStack = (node, ctx) => {
|
|
|
150
150
|
for (const [_, group] of groupedComponents) {
|
|
151
151
|
if (group.length > 1) {
|
|
152
152
|
for (const node of group) {
|
|
153
|
-
ctx.err.report(localize('mcfunction.parser.duplicate-components'), node.range,
|
|
153
|
+
ctx.err.report(localize('mcfunction.parser.duplicate-components'), node.range, core.ErrorSeverity.Warning);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spyglassmc/java-edition",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.53",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"release:dry": "npm publish --tag latest --dry-run"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@spyglassmc/core": "0.4.
|
|
21
|
-
"@spyglassmc/json": "0.3.
|
|
22
|
-
"@spyglassmc/locales": "0.3.
|
|
23
|
-
"@spyglassmc/mcfunction": "0.2.
|
|
24
|
-
"@spyglassmc/mcdoc": "0.3.
|
|
25
|
-
"@spyglassmc/nbt": "0.3.
|
|
20
|
+
"@spyglassmc/core": "0.4.41",
|
|
21
|
+
"@spyglassmc/json": "0.3.45",
|
|
22
|
+
"@spyglassmc/locales": "0.3.21",
|
|
23
|
+
"@spyglassmc/mcfunction": "0.2.44",
|
|
24
|
+
"@spyglassmc/mcdoc": "0.3.45",
|
|
25
|
+
"@spyglassmc/nbt": "0.3.47"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {},
|
|
28
28
|
"publishConfig": {
|