@spyglassmc/java-edition 0.3.11 → 0.3.13

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/index.js CHANGED
@@ -22,7 +22,7 @@ export const initialize = async (ctx) => {
22
22
  catch (e) {
23
23
  if (!externals.error.isKind(e, 'ENOENT')) {
24
24
  // `pack.mcmeta` exists but broken. Log an error.
25
- logger.error(`[je.initialize] Failed loading pack.mcmeta “${uri}”`, e);
25
+ logger.error(`[je.initialize] Failed loading pack.mcmeta ${uri}`, e);
26
26
  }
27
27
  }
28
28
  return undefined;
@@ -39,7 +39,7 @@ export const initialize = async (ctx) => {
39
39
  searched.add(uri);
40
40
  const data = await readPackMcmeta(uri);
41
41
  if (data) {
42
- logger.info(`[je.initialize] Found a valid pack.mcmeta “${uri} with pack_format “${data.pack.pack_format}”`);
42
+ logger.info(`[je.initialize] Found a valid pack.mcmeta ${uri} with pack_format ${data.pack.pack_format}`);
43
43
  return data;
44
44
  }
45
45
  }
@@ -1,6 +1,6 @@
1
1
  import * as core from '@spyglassmc/core';
2
2
  import * as mcdoc from '@spyglassmc/mcdoc';
3
- import { dissectUri } from '../binder';
3
+ import { dissectUri } from '../binder/index.js';
4
4
  const validator = mcdoc.runtime.attribute.validator;
5
5
  const criterionValidator = validator.alternatives(validator.tree({
6
6
  definition: validator.boolean,
@@ -1,6 +1,6 @@
1
1
  import * as core from '@spyglassmc/core';
2
2
  import * as mcf from '@spyglassmc/mcfunction';
3
- import type { RootTreeNode } from '../dependency';
3
+ import type { RootTreeNode } from '../dependency/index.js';
4
4
  /**
5
5
  * Only command options that can be satisfied by the current command node will be listed in `signatures`.
6
6
  * Only parameters at and immediately after the `offset` will be listed in `parameters`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spyglassmc/java-edition",
3
- "version": "0.3.11",
3
+ "version": "0.3.13",
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 --dry-run"
18
18
  },
19
19
  "dependencies": {
20
- "@spyglassmc/core": "0.4.8",
21
- "@spyglassmc/json": "0.3.10",
20
+ "@spyglassmc/core": "0.4.10",
21
+ "@spyglassmc/json": "0.3.12",
22
22
  "@spyglassmc/locales": "0.3.8",
23
- "@spyglassmc/mcfunction": "0.2.10",
24
- "@spyglassmc/mcdoc": "0.3.11",
25
- "@spyglassmc/nbt": "0.3.11"
23
+ "@spyglassmc/mcfunction": "0.2.12",
24
+ "@spyglassmc/mcdoc": "0.3.13",
25
+ "@spyglassmc/nbt": "0.3.13"
26
26
  },
27
27
  "devDependencies": {
28
28
  "fast-glob": "^3.2.5"