Skip to content

Commit

Permalink
dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
willryan committed May 7, 2023
1 parent ed41327 commit 4a42b62
Show file tree
Hide file tree
Showing 4 changed files with 1,669 additions and 1,139 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "factory.ts",
"version": "1.4.0",
"version": "1.4.1",
"license": "MIT",
"description": "A Typescript test data factory similar to factory_bot and rosie",
"scripts": {
Expand Down Expand Up @@ -43,19 +43,19 @@
"@types/istanbul-lib-report": "^3.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"eslint": "^8.10.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.1",
"jest": "^27.5.1",
"@types/jest": "^29.5.1",
"@types/node": "^20.1.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.40.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"jest": "^29.5.0",
"jest-environment-node-debug": "^2.0.0",
"ts-jest": "^27.1.3",
"ts-node": "^10.5.0",
"typescript": "4.5.5"
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "5.0.4"
},
"dependencies": {
"clone-deep": "^4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/async.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class Factory<T, K extends keyof T = keyof T>
const seqNum = this.seqNum;
this.seqNum++;
const base = await buildBase(seqNum, this.builder);
let v = Object.assign({}, base.value); //, item);
let v: T = Object.assign({}, base.value); //, item);
if (item) {
v = recursivePartialOverride(v, item);
}
Expand Down
2 changes: 1 addition & 1 deletion src/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class Factory<T, K extends keyof T = keyof T> implements IFactory<T, K> {
const seqNum = this.seqNum;
this.seqNum++;
const base = buildBase(seqNum, this.expandBuilder());
let v = Object.assign({}, base.value); //, item);
let v: T = Object.assign({}, base.value); //, item);
if (item) {
v = recursivePartialOverride(v, item);
}
Expand Down
Loading

0 comments on commit 4a42b62

Please sign in to comment.