Skip to content

Commit

Permalink
Bump @ngneat/transloco from 2.18.3 to 2.18.4 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot-preview[bot] authored Aug 10, 2020
1 parent b9917fd commit 4d790a5
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^5.3.1",
"@ionic/pwa-elements": "^3.0.1",
"@ngneat/transloco": "^2.18.3",
"@ngneat/transloco": "^2.18.4",
"@ngneat/until-destroy": "^8.0.1",
"rxjs": "~6.6.2",
"tslib": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, TestBed } from '@angular/core/testing';
import { Platform } from '@ionic/angular';
import { AppComponent } from './app.component';
import { getTranslocoModule } from './transloco-module.spec';
import { getTranslocoModule } from './transloco/transloco-root.module.spec';

describe('AppComponent', () => {

Expand Down
2 changes: 1 addition & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { StatusBar } from '@ionic-native/status-bar/ngx';
import { IonicModule, IonicRouteStrategy } from '@ionic/angular';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { TranslocoRootModule } from './transloco-root.module';
import { TranslocoRootModule } from './transloco/transloco-root.module';

@NgModule({
declarations: [AppComponent],
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/proof/proof.page.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { IonicModule } from '@ionic/angular';
import { getTranslocoModule } from 'src/app/transloco-module.spec';
import { getTranslocoModule } from 'src/app/transloco/transloco-root.module.spec';
import { ProofPage } from './proof.page';

describe('ProofPage', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/settings/settings.page.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { IonicModule } from '@ionic/angular';
import { getTranslocoModule } from 'src/app/transloco-module.spec';
import { getTranslocoModule } from 'src/app/transloco/transloco-root.module.spec';
import { SettingsPage } from './settings.page';

describe('SettingsPage', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/storage/storage.page.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { IonicModule } from '@ionic/angular';
import { getTranslocoModule } from 'src/app/transloco-module.spec';
import { getTranslocoModule } from 'src/app/transloco/transloco-root.module.spec';
import { StoragePage } from './storage.page';

describe('StoragePage', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/services/collector/collector.service.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TestBed } from '@angular/core/testing';
import { getTranslocoModule } from 'src/app/transloco-module.spec';
import { getTranslocoModule } from 'src/app/transloco/transloco-root.module.spec';
import { CollectorService } from './collector.service';

describe('CollectorService', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TestBed } from '@angular/core/testing';
import { getTranslocoModule } from 'src/app/transloco-module.spec';
import { getTranslocoModule } from 'src/app/transloco/transloco-root.module.spec';
import { ConfirmAlert } from './confirm-alert.service';

describe('ConfirmAlert', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/services/language/language.service.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TestBed } from '@angular/core/testing';
import { getTranslocoModule } from 'src/app/transloco-module.spec';
import { getTranslocoModule } from 'src/app/transloco/transloco-root.module.spec';
import { LanguageService } from './language.service';

describe('LanguageService', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/services/language/language.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Injectable } from '@angular/core';
import { TranslocoService } from '@ngneat/transloco';
import { mapTo, switchMap } from 'rxjs/operators';
import { defaultLanguage, languages } from 'src/app/transloco-root.module';
import { defaultLanguage, languages } from 'src/app/transloco/transloco-root.module';
import { PreferenceManager } from '../../utils/preferences/preference-manager';

@Injectable({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TestBed } from '@angular/core/testing';
import { getTranslocoModule } from 'src/app/transloco-module.spec';
import { getTranslocoModule } from 'src/app/transloco/transloco-root.module.spec';
import { PublishersAlert } from './publishers-alert.service';

describe('PublishersAlert', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TranslocoConfig, TranslocoTestingModule } from '@ngneat/transloco';
import enUs from '../assets/i18n/en-us.json';
import zhTw from '../assets/i18n/zh-tw.json';
import enUs from '../../assets/i18n/en-us.json';
import zhTw from '../../assets/i18n/zh-tw.json';
import { defaultLanguage, languages } from './transloco-root.module';

export function getTranslocoModule(config: Partial<TranslocoConfig> = {}) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { HttpClient } from '@angular/common/http';
import { Injectable, NgModule } from '@angular/core';
import { Translation, translocoConfig, TranslocoLoader, TranslocoModule, TRANSLOCO_CONFIG, TRANSLOCO_LOADER } from '@ngneat/transloco';
import { environment } from '../environments/environment';
import { environment } from '../../environments/environment';

export const languages: { [key: string]: string; } = {
'en-us': 'English (United State)',
Expand Down

0 comments on commit 4d790a5

Please sign in to comment.