Skip to content

Commit

Permalink
feat(deps): update lb4 dependencies
Browse files Browse the repository at this point in the history
Update the lb4 dependencies as lb4 dropped support for node 16 or lower

BREAKING CHANGE:
Loopback package version update

GH-159
  • Loading branch information
arpit1503khanna committed Mar 13, 2024
1 parent 08021b3 commit 59b1ae5
Show file tree
Hide file tree
Showing 7 changed files with 832 additions and 734 deletions.
1,528 changes: 814 additions & 714 deletions package-lock.json

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
"!*/__tests__"
],
"dependencies": {
"@loopback/boot": "^6.1.5",
"@loopback/context": "^6.1.5",
"@loopback/core": "^5.1.5",
"@loopback/repository": "^6.1.5",
"@loopback/rest": "^13.1.5",
"@loopback/boot": "^7.0.0",
"@loopback/context": "^7.0.0",
"@loopback/core": "^6.0.0",
"@loopback/repository": "^7.0.0",
"@loopback/rest": "^14.0.0",
"express-rate-limit": "^6.4.0",
"rate-limit-memcached": "^0.6.0",
"rate-limit-mongo": "^2.3.2",
Expand All @@ -57,9 +57,9 @@
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@loopback/build": "^10.1.5",
"@loopback/eslint-config": "^14.0.5",
"@loopback/testlab": "^6.1.5",
"@loopback/build": "^11.0.0",
"@loopback/eslint-config": "^15.0.0",
"@loopback/testlab": "^7.0.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
Expand All @@ -70,15 +70,15 @@
"@types/node": "^18.11.9",
"@types/proxyquire": "^1.3.28",
"@types/rate-limit-redis": "^1.7.4",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^6.3.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-eslint-plugin": "^5.1.1",
"eslint-plugin-mocha": "^10.2.0",
"fs-extra": "^11.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-plugin": "^5.4.0",
"eslint-plugin-mocha": "^10.3.0",
"fs-extra": "^11.2.0",
"git-release-notes": "^5.0.0",
"husky": "^7.0.4",
"jsdom": "^21.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/unit/ratelimit-action.provider.unit.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Constructor} from '@loopback/core';
import {Request, Response, RestApplication} from '@loopback/rest';
import {expect} from '@loopback/testlab';
// eslint-disable-next-line @typescript-eslint/naming-convention

import * as RateLimit from 'express-rate-limit';
import {IncrementResponse} from 'express-rate-limit';
import proxyquire from 'proxyquire';
Expand Down
2 changes: 1 addition & 1 deletion src/middleware/ratelimit.middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
asMiddleware,
RestMiddlewareGroups,
} from '@loopback/rest';
// eslint-disable-next-line @typescript-eslint/naming-convention

import * as RateLimit from 'express-rate-limit';
import {RateLimitSecurityBindings} from '../keys';
import {RateLimitMetadata, RateLimitOptions} from '../types';
Expand Down
2 changes: 1 addition & 1 deletion src/providers/ratelimit-action.provider.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {CoreBindings, inject, Provider} from '@loopback/core';
import {Getter} from '@loopback/repository';
import {HttpErrors, Request, Response, RestApplication} from '@loopback/rest';
// eslint-disable-next-line @typescript-eslint/naming-convention

import * as RateLimit from 'express-rate-limit';
import {RateLimitSecurityBindings} from '../keys';
import {RateLimitAction, RateLimitMetadata, RateLimitOptions} from '../types';
Expand Down
1 change: 0 additions & 1 deletion src/providers/ratelimit-datasource.provider.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/naming-convention */
import {CoreBindings, inject, Provider} from '@loopback/core';
import {Getter, juggler} from '@loopback/repository';
import {HttpErrors, RestApplication} from '@loopback/rest';
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/naming-convention */
import {Request, Response} from '@loopback/rest';
import {Options} from 'express-rate-limit';
import MemcachedStore from 'rate-limit-memcached';
Expand Down

0 comments on commit 59b1ae5

Please sign in to comment.