@ffflorian/gh-open 3.5.1 → 3.5.3
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/cjs/GitHubClient.js +0 -1
- package/dist/cjs/GitHubClient.test.d.ts +1 -0
- package/dist/cjs/GitHubClient.test.js +60 -0
- package/dist/cjs/RepositoryService.js +0 -1
- package/dist/cjs/RepositoryService.test.d.ts +1 -0
- package/dist/cjs/RepositoryService.test.js +74 -0
- package/dist/cjs/cli.js +0 -1
- package/dist/cjs/index.js +0 -1
- package/dist/{mjs → esm}/GitHubClient.js +0 -1
- package/dist/esm/GitHubClient.test.d.ts +1 -0
- package/dist/esm/GitHubClient.test.js +51 -0
- package/dist/{mjs → esm}/RepositoryService.js +0 -1
- package/dist/esm/RepositoryService.test.d.ts +1 -0
- package/dist/esm/RepositoryService.test.js +74 -0
- package/dist/{mjs → esm}/cli.js +0 -1
- package/dist/{mjs → esm}/index.js +0 -1
- package/package.json +14 -15
- package/dist/cjs/GitHubClient.js.map +0 -1
- package/dist/cjs/RepositoryService.js.map +0 -1
- package/dist/cjs/cli.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/mjs/GitHubClient.js.map +0 -1
- package/dist/mjs/RepositoryService.js.map +0 -1
- package/dist/mjs/cli.js.map +0 -1
- package/dist/mjs/index.js.map +0 -1
- /package/dist/{mjs → esm}/GitHubClient.d.ts +0 -0
- /package/dist/{mjs → esm}/RepositoryService.d.ts +0 -0
- /package/dist/{mjs → esm}/cli.d.ts +0 -0
- /package/dist/{mjs → esm}/index.d.ts +0 -0
- /package/dist/{mjs → esm}/package.json +0 -0
package/dist/cjs/GitHubClient.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { assert, expect, describe, test } from 'vitest';
|
|
11
|
+
import nock from 'nock';
|
|
12
|
+
import { StatusCodes as HTTP_STATUS } from 'http-status-codes';
|
|
13
|
+
import { GitHubClient } from './GitHubClient.js';
|
|
14
|
+
const TEN_SECONDS_IN_MILLIS = 10000;
|
|
15
|
+
const HALF_SECOND_IN_MILLIS = 500;
|
|
16
|
+
describe('GitHubClient', () => {
|
|
17
|
+
describe('getPullRequests', () => {
|
|
18
|
+
test('cancels the request after a given time', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
19
|
+
nock('https://api.github.com')
|
|
20
|
+
.get(/repos\/.*\/.*\/pulls/)
|
|
21
|
+
.query(true)
|
|
22
|
+
.delay(TEN_SECONDS_IN_MILLIS)
|
|
23
|
+
.reply(HTTP_STATUS.OK);
|
|
24
|
+
const gitHubClient = new GitHubClient(HALF_SECOND_IN_MILLIS);
|
|
25
|
+
try {
|
|
26
|
+
yield gitHubClient.getPullRequests('user', 'repository');
|
|
27
|
+
assert.fail('Should not have resolved');
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
expect(error.message).toBe('timeout of 500ms exceeded');
|
|
31
|
+
}
|
|
32
|
+
finally {
|
|
33
|
+
nock.cleanAll();
|
|
34
|
+
}
|
|
35
|
+
}));
|
|
36
|
+
});
|
|
37
|
+
describe('getPullRequestsByBranch', () => {
|
|
38
|
+
test('correctly parses pull requests', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
39
|
+
const exampleData = [
|
|
40
|
+
{
|
|
41
|
+
_links: {
|
|
42
|
+
html: {
|
|
43
|
+
href: 'https://github.com/user/repo/pull/1234',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
head: {
|
|
47
|
+
ref: 'branch-name',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
nock('https://api.github.com')
|
|
52
|
+
.get(/repos\/.*\/.*\/pulls/)
|
|
53
|
+
.query(true)
|
|
54
|
+
.reply(HTTP_STATUS.OK, exampleData);
|
|
55
|
+
const gitHubClient = new GitHubClient();
|
|
56
|
+
const result = yield gitHubClient.getPullRequestByBranch('user', 'repository', 'branch-name');
|
|
57
|
+
expect(result).toEqual(exampleData[0]);
|
|
58
|
+
}));
|
|
59
|
+
});
|
|
60
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { expect, describe, test } from 'vitest';
|
|
2
|
+
import { RepositoryService } from './RepositoryService.js';
|
|
3
|
+
describe('RepositoryService', () => {
|
|
4
|
+
const repositoryService = new RepositoryService();
|
|
5
|
+
describe('getFullUrl', () => {
|
|
6
|
+
const normalizedUrl = 'https://github.com/ffflorian/gh-open';
|
|
7
|
+
const testRegex = (str) => {
|
|
8
|
+
const match = repositoryService['parser'].fullUrl.exec(str);
|
|
9
|
+
expect(match[0]).toEqual(expect.any(String));
|
|
10
|
+
const replaced = str.replace(repositoryService['parser'].fullUrl, 'https://$1/$2');
|
|
11
|
+
expect(replaced).toBe(normalizedUrl);
|
|
12
|
+
};
|
|
13
|
+
test('converts complete git URLs', () => {
|
|
14
|
+
const gitUrl = 'git@github.com:ffflorian/gh-open.git';
|
|
15
|
+
testRegex(gitUrl);
|
|
16
|
+
});
|
|
17
|
+
test('converts git URLs without a suffix', () => {
|
|
18
|
+
const gitUrl = 'git@github.com:ffflorian/gh-open';
|
|
19
|
+
testRegex(gitUrl);
|
|
20
|
+
});
|
|
21
|
+
test('converts git URLs without a user', () => {
|
|
22
|
+
const gitUrl = 'github.com:ffflorian/gh-open.git';
|
|
23
|
+
testRegex(gitUrl);
|
|
24
|
+
});
|
|
25
|
+
test('converts complete https URLs', () => {
|
|
26
|
+
const gitUrl = 'https://github.com/ffflorian/gh-open.git';
|
|
27
|
+
testRegex(gitUrl);
|
|
28
|
+
});
|
|
29
|
+
test('converts https URLs without suffix', () => {
|
|
30
|
+
const gitUrl = 'https://github.com/ffflorian/gh-open';
|
|
31
|
+
testRegex(gitUrl);
|
|
32
|
+
});
|
|
33
|
+
test('converts https URLs with a username', () => {
|
|
34
|
+
const gitUrl = 'https://git@github.com/ffflorian/gh-open.git';
|
|
35
|
+
testRegex(gitUrl);
|
|
36
|
+
});
|
|
37
|
+
test('converts https URLs with a username and password', () => {
|
|
38
|
+
const gitUrl = 'https://git:password@github.com/ffflorian/gh-open.git';
|
|
39
|
+
testRegex(gitUrl);
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
describe('parseGitConfig', () => {
|
|
43
|
+
const rawUrl = 'git@github.com:ffflorian/gh-open.git';
|
|
44
|
+
const testRegex = (str) => {
|
|
45
|
+
const match = repositoryService['parser'].rawUrl.exec(str);
|
|
46
|
+
expect(match.groups.rawUrl).toBe(rawUrl);
|
|
47
|
+
};
|
|
48
|
+
test('converts a normal git config', () => {
|
|
49
|
+
const gitConfig = `[remote "origin"]
|
|
50
|
+
url = git@github.com:ffflorian/gh-open.git
|
|
51
|
+
fetch = +refs/heads/*:refs/remotes/origin/*
|
|
52
|
+
[branch "main"]
|
|
53
|
+
remote = origin
|
|
54
|
+
merge = refs/heads/main`;
|
|
55
|
+
testRegex(gitConfig);
|
|
56
|
+
});
|
|
57
|
+
describe('parseGitBranch', () => {
|
|
58
|
+
const testRegex = (str, result) => {
|
|
59
|
+
const match = repositoryService['parser'].gitBranch.exec(str);
|
|
60
|
+
expect(match.groups.branch).toBe(result);
|
|
61
|
+
};
|
|
62
|
+
test('detects the main branch', () => {
|
|
63
|
+
const rawBranch = 'main';
|
|
64
|
+
const gitHead = 'ref: refs/heads/main\n';
|
|
65
|
+
testRegex(gitHead, rawBranch);
|
|
66
|
+
});
|
|
67
|
+
test('detects a branch with a slash', () => {
|
|
68
|
+
const rawBranch = 'fix/regex';
|
|
69
|
+
const gitHead = 'ref: refs/heads/fix/regex\n';
|
|
70
|
+
testRegex(gitHead, rawBranch);
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
});
|
package/dist/cjs/cli.js
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { assert, expect, describe, test } from 'vitest';
|
|
2
|
+
import nock from 'nock';
|
|
3
|
+
import { StatusCodes as HTTP_STATUS } from 'http-status-codes';
|
|
4
|
+
import { GitHubClient } from './GitHubClient.js';
|
|
5
|
+
const TEN_SECONDS_IN_MILLIS = 10000;
|
|
6
|
+
const HALF_SECOND_IN_MILLIS = 500;
|
|
7
|
+
describe('GitHubClient', () => {
|
|
8
|
+
describe('getPullRequests', () => {
|
|
9
|
+
test('cancels the request after a given time', async () => {
|
|
10
|
+
nock('https://api.github.com')
|
|
11
|
+
.get(/repos\/.*\/.*\/pulls/)
|
|
12
|
+
.query(true)
|
|
13
|
+
.delay(TEN_SECONDS_IN_MILLIS)
|
|
14
|
+
.reply(HTTP_STATUS.OK);
|
|
15
|
+
const gitHubClient = new GitHubClient(HALF_SECOND_IN_MILLIS);
|
|
16
|
+
try {
|
|
17
|
+
await gitHubClient.getPullRequests('user', 'repository');
|
|
18
|
+
assert.fail('Should not have resolved');
|
|
19
|
+
}
|
|
20
|
+
catch (error) {
|
|
21
|
+
expect(error.message).toBe('timeout of 500ms exceeded');
|
|
22
|
+
}
|
|
23
|
+
finally {
|
|
24
|
+
nock.cleanAll();
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
describe('getPullRequestsByBranch', () => {
|
|
29
|
+
test('correctly parses pull requests', async () => {
|
|
30
|
+
const exampleData = [
|
|
31
|
+
{
|
|
32
|
+
_links: {
|
|
33
|
+
html: {
|
|
34
|
+
href: 'https://github.com/user/repo/pull/1234',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
head: {
|
|
38
|
+
ref: 'branch-name',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
];
|
|
42
|
+
nock('https://api.github.com')
|
|
43
|
+
.get(/repos\/.*\/.*\/pulls/)
|
|
44
|
+
.query(true)
|
|
45
|
+
.reply(HTTP_STATUS.OK, exampleData);
|
|
46
|
+
const gitHubClient = new GitHubClient();
|
|
47
|
+
const result = await gitHubClient.getPullRequestByBranch('user', 'repository', 'branch-name');
|
|
48
|
+
expect(result).toEqual(exampleData[0]);
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { expect, describe, test } from 'vitest';
|
|
2
|
+
import { RepositoryService } from './RepositoryService.js';
|
|
3
|
+
describe('RepositoryService', () => {
|
|
4
|
+
const repositoryService = new RepositoryService();
|
|
5
|
+
describe('getFullUrl', () => {
|
|
6
|
+
const normalizedUrl = 'https://github.com/ffflorian/gh-open';
|
|
7
|
+
const testRegex = (str) => {
|
|
8
|
+
const match = repositoryService['parser'].fullUrl.exec(str);
|
|
9
|
+
expect(match[0]).toEqual(expect.any(String));
|
|
10
|
+
const replaced = str.replace(repositoryService['parser'].fullUrl, 'https://$1/$2');
|
|
11
|
+
expect(replaced).toBe(normalizedUrl);
|
|
12
|
+
};
|
|
13
|
+
test('converts complete git URLs', () => {
|
|
14
|
+
const gitUrl = 'git@github.com:ffflorian/gh-open.git';
|
|
15
|
+
testRegex(gitUrl);
|
|
16
|
+
});
|
|
17
|
+
test('converts git URLs without a suffix', () => {
|
|
18
|
+
const gitUrl = 'git@github.com:ffflorian/gh-open';
|
|
19
|
+
testRegex(gitUrl);
|
|
20
|
+
});
|
|
21
|
+
test('converts git URLs without a user', () => {
|
|
22
|
+
const gitUrl = 'github.com:ffflorian/gh-open.git';
|
|
23
|
+
testRegex(gitUrl);
|
|
24
|
+
});
|
|
25
|
+
test('converts complete https URLs', () => {
|
|
26
|
+
const gitUrl = 'https://github.com/ffflorian/gh-open.git';
|
|
27
|
+
testRegex(gitUrl);
|
|
28
|
+
});
|
|
29
|
+
test('converts https URLs without suffix', () => {
|
|
30
|
+
const gitUrl = 'https://github.com/ffflorian/gh-open';
|
|
31
|
+
testRegex(gitUrl);
|
|
32
|
+
});
|
|
33
|
+
test('converts https URLs with a username', () => {
|
|
34
|
+
const gitUrl = 'https://git@github.com/ffflorian/gh-open.git';
|
|
35
|
+
testRegex(gitUrl);
|
|
36
|
+
});
|
|
37
|
+
test('converts https URLs with a username and password', () => {
|
|
38
|
+
const gitUrl = 'https://git:password@github.com/ffflorian/gh-open.git';
|
|
39
|
+
testRegex(gitUrl);
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
describe('parseGitConfig', () => {
|
|
43
|
+
const rawUrl = 'git@github.com:ffflorian/gh-open.git';
|
|
44
|
+
const testRegex = (str) => {
|
|
45
|
+
const match = repositoryService['parser'].rawUrl.exec(str);
|
|
46
|
+
expect(match.groups.rawUrl).toBe(rawUrl);
|
|
47
|
+
};
|
|
48
|
+
test('converts a normal git config', () => {
|
|
49
|
+
const gitConfig = `[remote "origin"]
|
|
50
|
+
url = git@github.com:ffflorian/gh-open.git
|
|
51
|
+
fetch = +refs/heads/*:refs/remotes/origin/*
|
|
52
|
+
[branch "main"]
|
|
53
|
+
remote = origin
|
|
54
|
+
merge = refs/heads/main`;
|
|
55
|
+
testRegex(gitConfig);
|
|
56
|
+
});
|
|
57
|
+
describe('parseGitBranch', () => {
|
|
58
|
+
const testRegex = (str, result) => {
|
|
59
|
+
const match = repositoryService['parser'].gitBranch.exec(str);
|
|
60
|
+
expect(match.groups.branch).toBe(result);
|
|
61
|
+
};
|
|
62
|
+
test('detects the main branch', () => {
|
|
63
|
+
const rawBranch = 'main';
|
|
64
|
+
const gitHead = 'ref: refs/heads/main\n';
|
|
65
|
+
testRegex(gitHead, rawBranch);
|
|
66
|
+
});
|
|
67
|
+
test('detects a branch with a slash', () => {
|
|
68
|
+
const rawBranch = 'fix/regex';
|
|
69
|
+
const gitHead = 'ref: refs/heads/fix/regex\n';
|
|
70
|
+
testRegex(gitHead, rawBranch);
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
});
|
package/dist/{mjs → esm}/cli.js
RENAMED
package/package.json
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "Florian Imdahl <git@ffflorian.de>",
|
|
3
|
-
"bin":
|
|
4
|
-
"gh-open": "dist/cjs/cli.js"
|
|
5
|
-
},
|
|
3
|
+
"bin": "dist/cjs/cli.js",
|
|
6
4
|
"dependencies": {
|
|
7
|
-
"axios": "1.6.
|
|
5
|
+
"axios": "1.6.2",
|
|
8
6
|
"commander": "11.1.0",
|
|
9
|
-
"find-up": "
|
|
7
|
+
"find-up": "7.0.0",
|
|
10
8
|
"logdown": "3.3.1",
|
|
11
9
|
"open": "9.1.0"
|
|
12
10
|
},
|
|
@@ -15,14 +13,15 @@
|
|
|
15
13
|
"http-status-codes": "2.3.0",
|
|
16
14
|
"nock": "13.3.8",
|
|
17
15
|
"rimraf": "5.0.5",
|
|
18
|
-
"typescript": "5.2.2"
|
|
16
|
+
"typescript": "5.2.2",
|
|
17
|
+
"vitest": "0.34.6"
|
|
19
18
|
},
|
|
20
19
|
"engines": {
|
|
21
|
-
"node": ">=
|
|
20
|
+
"node": ">= 18.0"
|
|
22
21
|
},
|
|
23
22
|
"exports": {
|
|
24
23
|
".": {
|
|
25
|
-
"import": "./dist/
|
|
24
|
+
"import": "./dist/esm/index.js",
|
|
26
25
|
"require": "./dist/cjs/index.js"
|
|
27
26
|
}
|
|
28
27
|
},
|
|
@@ -38,20 +37,20 @@
|
|
|
38
37
|
],
|
|
39
38
|
"license": "GPL-3.0",
|
|
40
39
|
"main": "dist/cjs/index.js",
|
|
41
|
-
"module": "dist/
|
|
40
|
+
"module": "dist/esm/index.js",
|
|
42
41
|
"name": "@ffflorian/gh-open",
|
|
43
42
|
"repository": "https://github.com/ffflorian/node-packages/tree/main/packages/gh-open",
|
|
44
43
|
"scripts": {
|
|
45
|
-
"build": "yarn build:cjs && yarn build:
|
|
44
|
+
"build": "yarn build:cjs && yarn build:esm && yarn generate:packagejson",
|
|
46
45
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
47
|
-
"build:
|
|
46
|
+
"build:esm": "tsc -p tsconfig.json",
|
|
48
47
|
"clean": "rimraf dist",
|
|
49
48
|
"dist": "yarn clean && yarn build",
|
|
50
49
|
"generate:packagejson": "../../bin/generate-hybrid-package-json.sh",
|
|
51
|
-
"start": "ts-node
|
|
52
|
-
"test": "
|
|
50
|
+
"start": "node --loader ts-node/esm src/cli.ts -d",
|
|
51
|
+
"test": "vitest run"
|
|
53
52
|
},
|
|
54
53
|
"type": "module",
|
|
55
|
-
"version": "3.5.
|
|
56
|
-
"gitHead": "
|
|
54
|
+
"version": "3.5.3",
|
|
55
|
+
"gitHead": "08a3d819af6c24e44e0bc84380bb4fe9da3f7bbc"
|
|
57
56
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GitHubClient.js","sourceRoot":"","sources":["../../src/GitHubClient.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAa3C,MAAM,qBAAqB,GAAG,IAAI,CAAC;AAEnC,MAAM,OAAO,YAAY;IAGvB,YAAY,UAAkB,qBAAqB;QACjD,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,OAAO,EAAE,wBAAwB,EAAE,OAAO,EAAC,CAAC,CAAC;IAC9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AC"}
|
package/dist/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GitHubClient.js","sourceRoot":"","sources":["../../src/GitHubClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAa3C,MAAM,qBAAqB,GAAG,IAAI,CAAC;AAEnC,MAAM,OAAO,YAAY;IAGvB,YAAY,UAAkB,qBAAqB;QACjD,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,OAAO,EAAE,wBAAwB,EAAE,OAAO,EAAC,CAAC,CAAC;IAC9E,CAAC;IAED,KAAK,CAAC,sBAAsB,CAAC,IAAY,EAAE,UAAkB,EAAE,MAAc;QAC3E,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAClE,OAAO,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,IAAI,CAAC,GAAG,KAAK,MAAM,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,eAAe,CAAC,IAAY,EAAE,UAAkB;QACpD,MAAM,WAAW,GAAG,SAAS,IAAI,IAAI,UAAU,QAAQ,CAAC;QAExD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,EAAE;YACrD,MAAM,EAAE;gBACN,KAAK,EAAE,MAAM;aACd;SACF,CAAC,CAAC;QAEH,OAAO,QAAQ,CAAC,IAAI,CAAC;IACvB,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RepositoryService.js","sourceRoot":"","sources":["../../src/RepositoryService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c,GAAG,MAAM,iBAAiB,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;YAC1E,IAAI,cAAc,EAAE;gBAClB,OAAO,GAAG,cAAc,CAAC;aAC1B;SACF;QAED,IAAI,gBAAgB,CAAC,KAAK,EAAE;YAC1B,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;SACvB;aAAM;YACL,MAAM,IAAI,CAAC,OAAO,CAAC,CAAC;SACrB;QACD,OAAO,CAAC,IAAI,EAAE,CAAC;KAChB;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,CAAC,KAAK,CAAE,KAAe,CAAC,OAAO,CAAC,CAAC;QACxC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;KACjB;AACH,CAAC,CAAC,EAAE,CAAC"}
|
package/dist/mjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|