Skip to content

Commit

Permalink
chore(deps): update lb4 dependencies (#218)
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: Yes
YES

GH-217
  • Loading branch information
arpit1503khanna authored Mar 11, 2024
1 parent 8f5e033 commit e8f0d1b
Show file tree
Hide file tree
Showing 15 changed files with 896 additions and 790 deletions.
1,641 changes: 875 additions & 766 deletions package-lock.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,28 +133,28 @@
"vendor"
],
"peerDependencies": {
"@loopback/boot": "^6.1.5",
"@loopback/rest": "^13.1.5"
"@loopback/boot": "^7.0.0",
"@loopback/rest": "^14.0.0"
},
"dependencies": {
"@loopback/context": "^6.1.5",
"@loopback/core": "^5.1.5",
"@loopback/context": "^7.0.0",
"@loopback/core": "^6.0.0",
"ajv": "^8.11.0",
"https-proxy-agent": "^5.0.0",
"jsonwebtoken": "^9.0.0",
"passport": "^0.7.0",
"passport-http-bearer": "^1.0.1",
"passport-oauth2-client-password": "^0.1.2",
"tslib": "^2.6.2"
"tslib": "^2.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@loopback/boot": "^6.1.5",
"@loopback/build": "^10.1.5",
"@loopback/metadata": "^6.1.5",
"@loopback/testlab": "^6.1.5",
"@loopback/boot": "^7.0.0",
"@loopback/build": "^11.0.0",
"@loopback/metadata": "^7.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 @@ -177,8 +177,8 @@
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^6.3.0",
"cz-customizable-ghooks": "^2.0.0",
"eslint": "^8.51.0",
"fs-extra": "^11.1.1",
"eslint": "^8.57.0",
"fs-extra": "^11.2.0",
"git-release-notes": "^5.0.0",
"husky": "^7.0.4",
"jsdom": "^21.0.0",
Expand Down
1 change: 0 additions & 1 deletion src/strategies/SAML/saml-verify.provider.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {Provider} from '@loopback/context';
import {HttpErrors, Request} from '@loopback/rest';

// eslint-disable-next-line @typescript-eslint/naming-convention
import * as SamlStrategy from '@node-saml/passport-saml';

import {VerifyFunction} from '../../types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {inject, Provider} from '@loopback/core';
import {AnyObject} from '@loopback/repository';
import {HttpErrors, Request} from '@loopback/rest';
import {HttpsProxyAgent} from 'https-proxy-agent';
// eslint-disable-next-line @typescript-eslint/naming-convention

import Strategy, {
AuthenticateOptions,
AuthenticateOptionsWithRequest,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Provider} from '@loopback/context';
import {HttpErrors, Request} from '@loopback/rest';
// eslint-disable-next-line @typescript-eslint/naming-convention

import * as AppleStrategy from 'passport-apple';

import {DecodedIdToken} from 'passport-apple';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Provider} from '@loopback/context';
import {HttpErrors, Request} from '@loopback/rest';
// eslint-disable-next-line @typescript-eslint/naming-convention

import * as AzureADStrategy from 'passport-azure-ad';
import {VerifyFunction} from '../../types';
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {inject, Provider} from '@loopback/core';
import {HttpErrors, Request} from '@loopback/rest';
// eslint-disable-next-line @typescript-eslint/naming-convention

import * as PassportBearer from 'passport-http-bearer';

import {AuthErrorKeys} from '../../../error-keys';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SONAR-IGNORE-ALL
import {inject, Provider} from '@loopback/core';
import {HttpErrors, Request} from '@loopback/rest';
// eslint-disable-next-line @typescript-eslint/naming-convention

import * as ClientPasswordStrategy from './client-password-strategy';

import {AuthErrorKeys} from '../../../error-keys';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {inject, Provider} from '@loopback/core';
import {HttpErrors, Request} from '@loopback/rest';
// eslint-disable-next-line @typescript-eslint/naming-convention

import * as ClientPasswordStrategy from './client-password-strategy';

import {AuthErrorKeys} from '../../../error-keys';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Provider} from '@loopback/context';
import {HttpErrors, Request} from '@loopback/rest';
// eslint-disable-next-line @typescript-eslint/naming-convention

import * as FacebookStrategy from 'passport-facebook';
import {VerifyCallback, VerifyFunction} from '../../types';
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Provider} from '@loopback/context';
import {HttpErrors, Request} from '@loopback/rest';
// eslint-disable-next-line @typescript-eslint/naming-convention

import * as GoogleStrategy from 'passport-google-oauth20';

import {VerifyFunction} from '../../types';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Provider} from '@loopback/context';
import {HttpErrors, Request} from '@loopback/rest';
// eslint-disable-next-line @typescript-eslint/naming-convention

import * as InstagramStrategy from 'passport-instagram';
import {VerifyCallback, VerifyFunction} from '../../types';
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {inject, Provider} from '@loopback/core';
import {HttpErrors, Request} from '@loopback/rest';
// eslint-disable-next-line @typescript-eslint/naming-convention

import * as PassportLocal from 'passport-local';

import {AuthErrorKeys} from '../../../error-keys';
Expand Down
1 change: 0 additions & 1 deletion src/strategies/types/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/naming-convention */
import {AnyObject} from '@loopback/repository';
import {Request} from '@loopback/rest';
import * as SamlStrategy from '@node-saml/passport-saml';
Expand Down
1 change: 0 additions & 1 deletion src/strategies/user-auth-strategy.provider.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/naming-convention */
import {Context, inject, Provider} from '@loopback/core';
import {SamlConfig} from '@node-saml/passport-saml';
import {Strategy} from 'passport';
Expand Down

0 comments on commit e8f0d1b

Please sign in to comment.