@spyglassmc/java-edition 0.3.51 → 0.3.52
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.d.ts +5 -5
- package/package.json +8 -8
package/lib/binder/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface Resource {
|
|
|
9
9
|
since?: ReleaseVersion;
|
|
10
10
|
until?: ReleaseVersion;
|
|
11
11
|
}
|
|
12
|
-
export declare function getResources(): Generator<Resource, undefined,
|
|
12
|
+
export declare function getResources(): Generator<Resource, undefined, unknown>;
|
|
13
13
|
export declare function getRels(uri: string, rootUris: readonly RootUriString[]): Generator<string, undefined, unknown>;
|
|
14
14
|
export declare function getRoots(uri: string, rootUris: readonly RootUriString[]): Generator<RootUriString, undefined, unknown>;
|
|
15
15
|
export declare function dissectUri(uri: string, ctx: UriBinderContext): {
|
|
@@ -17,11 +17,11 @@ export declare function dissectUri(uri: string, ctx: UriBinderContext): {
|
|
|
17
17
|
namespace: string;
|
|
18
18
|
identifier: string;
|
|
19
19
|
path: string;
|
|
20
|
-
category:
|
|
20
|
+
category: FileCategory;
|
|
21
21
|
ext: `.${string}`;
|
|
22
|
-
pack: "
|
|
23
|
-
since?:
|
|
24
|
-
until?:
|
|
22
|
+
pack: "data" | "assets";
|
|
23
|
+
since?: ReleaseVersion;
|
|
24
|
+
until?: ReleaseVersion;
|
|
25
25
|
ok: boolean;
|
|
26
26
|
} | undefined;
|
|
27
27
|
export declare const uriBinder: UriBinder;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spyglassmc/java-edition",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.52",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"release": "npm publish",
|
|
17
|
-
"release:dry": "npm publish --dry-run"
|
|
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.40",
|
|
21
|
+
"@spyglassmc/json": "0.3.44",
|
|
22
|
+
"@spyglassmc/locales": "0.3.20",
|
|
23
|
+
"@spyglassmc/mcfunction": "0.2.43",
|
|
24
|
+
"@spyglassmc/mcdoc": "0.3.44",
|
|
25
|
+
"@spyglassmc/nbt": "0.3.46"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {},
|
|
28
28
|
"publishConfig": {
|