Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@emartech/angular-translate

Package Overview
Dependencies
Maintainers
114
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emartech/angular-translate - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

dist/lib/index.d.ts

3

dist/index.d.ts

@@ -6,4 +6,3 @@ import { ModuleWithProviders, Provider } from '@angular/core';

import * as i3 from "./lib/translate-chunk.pipe";
export * from './lib/service';
export * from './lib/pipe';
export * from './lib';
export declare type Translations = {

@@ -10,0 +9,0 @@ [name: string]: string;

@@ -15,16 +15,17 @@ "use strict";

const core_1 = require("@angular/core");
const pipe_1 = require("./lib/pipe");
const translate_part_pipe_1 = require("./lib/translate-part.pipe");
const translate_chunk_pipe_1 = require("./lib/translate-chunk.pipe");
const service_1 = require("./lib/service");
const lib_1 = require("./lib");
const i0 = require("@angular/core");
__exportStar(require("./lib/service"), exports);
__exportStar(require("./lib/pipe"), exports);
function translationsFactory() { return {}; }
__exportStar(require("./lib"), exports);
function translationsFactory() {
return {};
}
exports.translationsFactory = translationsFactory;
class TranslateModule {
static forRoot(providedTranslations = { provide: 'translations', useFactory: translationsFactory }) {
static forRoot(providedTranslations = {
provide: 'translations',
useFactory: translationsFactory,
}) {
return {
ngModule: TranslateModule,
providers: [service_1.TranslateService, providedTranslations]
providers: [lib_1.TranslateService, providedTranslations],
};

@@ -37,9 +38,9 @@ }

TranslateModule.ɵinj = i0.ɵɵdefineInjector({});
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TranslateModule, { declarations: [pipe_1.TranslatePipe, translate_part_pipe_1.TranslatePartPipe, translate_chunk_pipe_1.TranslateChunkPipe], exports: [pipe_1.TranslatePipe, translate_part_pipe_1.TranslatePartPipe, translate_chunk_pipe_1.TranslateChunkPipe] }); })();
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TranslateModule, { declarations: [lib_1.TranslatePipe, lib_1.TranslatePartPipe, lib_1.TranslateChunkPipe], exports: [lib_1.TranslatePipe, lib_1.TranslatePartPipe, lib_1.TranslateChunkPipe] }); })();
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TranslateModule, [{
type: core_1.NgModule,
args: [{
declarations: [pipe_1.TranslatePipe, translate_part_pipe_1.TranslatePartPipe, translate_chunk_pipe_1.TranslateChunkPipe],
exports: [pipe_1.TranslatePipe, translate_part_pipe_1.TranslatePartPipe, translate_chunk_pipe_1.TranslateChunkPipe]
declarations: [lib_1.TranslatePipe, lib_1.TranslatePartPipe, lib_1.TranslateChunkPipe],
exports: [lib_1.TranslatePipe, lib_1.TranslatePartPipe, lib_1.TranslateChunkPipe],
}]
}], null, null); })();

@@ -56,3 +56,3 @@ {

},
"version": "3.0.0"
"version": "3.1.0"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc