@utiliread/primitives 1.0.0-52 → 1.0.0-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/dist/index.d.ts CHANGED
@@ -72,7 +72,7 @@ export class PrecisionNumber {
72
72
  export type Repository = "some/repo";
73
73
  export function Repository(repo: string): Repository;
74
74
  export function Repository(team: string, name: string): Repository;
75
- declare export namespace Repository {
75
+ export declare namespace Repository {
76
76
  function split(repo: Repository): {
77
77
  team: string;
78
78
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utiliread/primitives",
3
- "version": "1.0.0-52",
3
+ "version": "1.0.0-53",
4
4
  "source": "src/index.ts",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/repository.ts CHANGED
@@ -15,7 +15,7 @@ export function Repository(repoOrTeam: string, name?: string): Repository {
15
15
 
16
16
  export namespace Repository {
17
17
  export function split(repo: Repository) {
18
- const parts = repo.split("/")[0];
18
+ const parts = repo.split("/");
19
19
  return {
20
20
  team: parts[0],
21
21
  name: parts[1],