Skip to content

Commit 42e9f17

Browse files
committed
feat: upgrade ts to 5.3.3
1 parent 1f065e2 commit 42e9f17

File tree

3 files changed

+356
-357
lines changed

3 files changed

+356
-357
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,25 @@
5151
},
5252
"license": "MIT",
5353
"devDependencies": {
54-
"@types/fs-extra": "^11.0.1",
55-
"@types/jest": "^29.5.4",
56-
"@types/yargs": "^17.0.24",
54+
"@types/fs-extra": "^11.0.4",
55+
"@types/jest": "^29.5.11",
56+
"@types/yargs": "^17.0.32",
5757
"husky": "^8.0.3",
5858
"jest": "^29.7.0",
5959
"lint-staged": "^14.0.1",
6060
"npm-run-all": "^4.1.5",
61-
"prettier": "^3.0.3",
61+
"prettier": "^3.1.0",
6262
"pretty-quick": "^3.1.3",
6363
"ts-jest": "^29.1.1",
6464
"ts-node": "^10.9.1"
6565
},
6666
"dependencies": {
6767
"chalk": "^4.1.2",
68-
"fs-extra": "^11.1.1",
69-
"glob": "^10.3.4",
68+
"fs-extra": "^11.2.0",
69+
"glob": "^10.3.10",
7070
"ora": "^5.4.1",
7171
"tslib": "^2.6.2",
72-
"typescript": "^5.2.2",
72+
"typescript": "^5.3.3",
7373
"yargs": "^17.7.2"
7474
},
7575
"lint-staged": {

src/utils.spec.ts

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -225,38 +225,5 @@ describe('util', () => {
225225
expect(actual[1]).toMatchObject(['start', 'mid', 'right']);
226226
});
227227
});
228-
229-
describe('When tree has 2 cycles with intersection, different lengths', () => {
230-
const tree = {
231-
start: [dependencyFactory('left1'), dependencyFactory('right1')],
232-
left1: [dependencyFactory('left2')],
233-
left2: [dependencyFactory('intersection')],
234-
right1: [dependencyFactory('intersection')],
235-
intersection: [dependencyFactory('start')],
236-
};
237-
238-
let actual: Array<string[]>;
239-
beforeAll(() => {
240-
actual = parseCircular(tree);
241-
});
242-
243-
it('Should return non-empty array', () => {
244-
expect(actual.length).toBeGreaterThan(0);
245-
});
246-
247-
it('Should count two cycles', () => {
248-
expect(actual.length).toBe(2);
249-
});
250-
251-
it('Should include the ids involved in the cycle', () => {
252-
expect(actual[0]).toMatchObject([
253-
'start',
254-
'left1',
255-
'left2',
256-
'intersection',
257-
]);
258-
expect(actual[1]).toMatchObject(['start', 'right1', 'intersection']);
259-
});
260-
});
261228
});
262229
});

0 commit comments

Comments
 (0)