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

fix(core): all packages updated #214

Merged
merged 3 commits into from
May 26, 2021
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# loopback4-microservice-catalog
# loopback4-microservice-catalog

[![LoopBack](https://github.com/strongloop/loopback-next/raw/master/docs/site/imgs/branding/Powered-by-LoopBack-Badge-(blue)[email protected])](http://loopback.io/)

Expand Down
6 changes: 2 additions & 4 deletions sandbox/auth-multitenant-example/migration.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ try {
} catch (err) {
console.info('\n');
}
if (
isLocal
) {
if (isLocal) {
console.info(`Skipping migrations`);
} else {
const dbmigrate = DBMigrate.getInstance(true, {
config: './migrations/database.json'
config: './migrations/database.json',
});
dbmigrate.up();
}
7 changes: 2 additions & 5 deletions sandbox/auth-multitenant-example/src/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ import {
RestExplorerComponent,
} from '@loopback/rest-explorer';
import {ServiceMixin} from '@loopback/service-proxy';
import {CasbinSecureSequence, SFCoreBindings} from '@sourceloop/core';
import {
AuthenticationServiceComponent,
AuthServiceBindings,
} from '@sourceloop/authentication-service';
import {SFCoreBindings} from '@sourceloop/core';
import {AuthenticationServiceComponent} from '@sourceloop/authentication-service';
import {HelmetSecurityBindings} from 'loopback4-helmet';
import {RateLimitSecurityBindings} from 'loopback4-ratelimiter';
import * as dotenv from 'dotenv';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ const config = {
@lifeCycleObserver('datasource')
export class PgdbDataSource
extends juggler.DataSource
implements LifeCycleObserver {
implements LifeCycleObserver
{
static dataSourceName = AuthDbSourceName;
static readonly defaultConfig = config;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ const config = {
@lifeCycleObserver('datasource')
export class RedisDataSource
extends juggler.DataSource
implements LifeCycleObserver {
implements LifeCycleObserver
{
static dataSourceName = AuthCacheSourceName;
static readonly defaultConfig = config;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import {UserTenant} from './index';
})
export class UserLevelPermission
extends UserModifiableEntity
implements UserPermission<string> {
implements UserPermission<string>
{
@property({
type: 'string',
id: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import {IUserResource} from 'loopback4-authorization';
})
export class UserLevelResource
extends UserModifiableEntity
implements IUserResource<string> {
implements IUserResource<string>
{
@property({
type: 'string',
id: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import {
import * as casbin from 'casbin';

export class CasbinAuthorizationProvider
implements Provider<CasbinAuthorizeFn> {
implements Provider<CasbinAuthorizeFn>
{
constructor(
@inject.getter(AuthorizationBindings.METADATA)
private readonly getCasbinMetadata: Getter<AuthorizationMetadata>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import {
import {UserLevelResourceRepository} from '../repositories';

export class CasbinEnforcerConfigProvider
implements Provider<CasbinEnforcerConfigGetterFn> {
implements Provider<CasbinEnforcerConfigGetterFn>
{
constructor(
@inject.getter(AuthorizationBindings.METADATA)
private readonly getCasbinMetadata: Getter<AuthorizationMetadata>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import {
} from 'loopback4-authorization';

export class CasbinResValModifierProvider
implements Provider<CasbinResourceModifierFn> {
implements Provider<CasbinResourceModifierFn>
{
constructor(
@inject.getter(AuthorizationBindings.METADATA)
private readonly getCasbinMetadata: Getter<AuthorizationMetadata>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ export class UserExtRepository extends DefaultSoftCrudRepository<
}
await this.credentials(user.id).create(creds, options);
} catch (err) {
// eslint-disable-next-line @typescript-eslint/no-floating-promises
super.deleteByIdHard(user.id);
throw new HttpErrors.UnprocessableEntity('Error while hashing password');
}
Expand Down
6 changes: 3 additions & 3 deletions services/audit-service/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion services/audit-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@loopback/build": "^6.4.0",
"@loopback/eslint-config": "^10.2.0",
"@loopback/testlab": "^3.4.0",
"@types/node": "^10.17.59",
"@types/node": "^10.17.60",
"db-migrate": "^0.11.12",
"db-migrate-pg": "^1.2.2",
"eslint": "^7.25.0",
Expand Down
6 changes: 3 additions & 3 deletions services/authentication-service/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion services/authentication-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash": "^4.14.157",
"@types/moment-timezone": "^0.5.13",
"@types/node": "^10.17.59",
"@types/node": "^10.17.60",
"@types/node-fetch": "^2.5.10",
"@types/passport-google-oauth20": "^2.0.3",
"@types/passport-instagram": "^1.0.0",
Expand Down
18 changes: 9 additions & 9 deletions services/bpmn-service/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions services/bpmn-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@loopback/repository": "^3.6.0",
"@loopback/rest": "^9.3.0",
"@sourceloop/core": "^1.0.0",
"ajv": "^8.0.5",
"ajv": "^8.4.0",
"camunda-external-task-client-js": "^2.1.0",
"dotenv": "^8.2.0",
"dotenv-extended": "^2.9.0",
Expand All @@ -71,8 +71,8 @@
"@loopback/eslint-config": "^10.2.0",
"@loopback/testlab": "^3.4.0",
"@types/camunda-external-task-client-js": "^1.3.1",
"@types/lodash": "^4.14.153",
"@types/node": "^10.17.59",
"@types/lodash": "^4.14.169",
"@types/node": "^10.17.60",
"db-migrate": "^0.11.12",
"db-migrate-pg": "^1.2.2",
"eslint": "^7.25.0",
Expand Down
74 changes: 37 additions & 37 deletions services/in-mail-service/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions services/in-mail-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
"@loopback/build": "^6.4.0",
"@loopback/eslint-config": "^10.2.0",
"@loopback/testlab": "^3.4.0",
"@types/node": "^10.17.59",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"@types/node": "^10.17.60",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"axios-mock-adapter": "^1.18.1",
"db-migrate": "^0.11.12",
"db-migrate-pg": "^1.2.2",
Expand Down
18 changes: 9 additions & 9 deletions services/notification-service/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading