Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Deps #63

Merged
merged 2 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"pub": "npm version patch && npm run build && cp package.json README.md dist && cd dist && npm publish --registry https://registry.npmjs.org/"
},
"dependencies": {
"typescript": "^4.5.2"
"typescript": "^5.2.2"
},
"devDependencies": {
"prettier": "^2.8.4"
"prettier": "^3.0.3"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/bl-api-error/bl-api-permission-denied-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class BlApiPermissionDeniedError extends BlApiError {
msg?: string,
code?: number,
permission?: UserPermission,
permissionRequired?: UserPermission
permissionRequired?: UserPermission,
) {
super(msg, code);

Expand Down
2 changes: 1 addition & 1 deletion src/bl-api-error/bl-api-user-already-exists-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class BlApiUserAlreadyExistsError extends BlApiError {
msg?: string,
code?: number,
permission?: UserPermission,
permissionRequired?: UserPermission
permissionRequired?: UserPermission,
) {
super(msg, code);

Expand Down
2 changes: 1 addition & 1 deletion src/bl-api-error/bl-api-username-and-password-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class BlApiUsernameAndPasswordError extends BlApiError {
msg?: string,
code?: number,
permission?: UserPermission,
permissionRequired?: UserPermission
permissionRequired?: UserPermission,
) {
super(msg, code);

Expand Down
6 changes: 3 additions & 3 deletions src/branch/branch-payment-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class BranchPaymentInfo {
percentageBuyoutUsed: number; // same as percentageBuyout but for when the item is used
percentageUpFront: number; // item.price * this desides what the customer needs to pay upfront
percentageUpFrontUsed: number; // same as percentageUpFront but for when teh item is used
}
},
];
loanPeriods?: {
type: Period;
Expand All @@ -29,7 +29,7 @@ export class BranchPaymentInfo {
date: Date;
maxNumberOfPeriods: number; // max number of periods of this type one item can be rented
percentage: number; //the percentage of the item.price the rent price is
}
},
];
extendPeriods: [
{
Expand All @@ -38,7 +38,7 @@ export class BranchPaymentInfo {
maxNumberOfPeriods: number; // the max number of periods this item can be extended
price: number; // the price of the extend period
percentage?: number; //if set then use percentage of item
}
},
];
buyout?: {
// buyout needs only to be described when rent is possible
Expand Down
2 changes: 1 addition & 1 deletion src/branch/branch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Branch extends BlDocument {
// the item categories
name: string; // the name of the category
items: string[]; // the items this category have
}
},
];
location?: {
region: string;
Expand Down
4 changes: 2 additions & 2 deletions src/match/match.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class UserMatch extends MatchBase {
public receiver: string,
// items which are expected to be handed over from sender to receiver
public expectedItems: string[],
meetingInfo: MatchBase["meetingInfo"]
meetingInfo: MatchBase["meetingInfo"],
) {
super(meetingInfo);
}
Expand All @@ -53,7 +53,7 @@ export class StandMatch extends MatchBase {
public expectedHandoffItems: string[],
// items which are expected to be picked up from stand
public expectedPickupItems: string[],
meetingInfo: MatchBase["meetingInfo"]
meetingInfo: MatchBase["meetingInfo"],
) {
super(meetingInfo);
}
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# yarn lockfile v1


prettier@^2.8.4:
version "2.8.4"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.4.tgz#34dd2595629bfbb79d344ac4a91ff948694463c3"
integrity sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==
prettier@^3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643"
integrity sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==

typescript@^4.5.2:
version "4.5.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.2.tgz#8ac1fba9f52256fdb06fb89e4122fa6a346c2998"
integrity sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==
typescript@^5.2.2:
version "5.2.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
Loading