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

ng2-truncate

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-truncate - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

dist/index.metadata.json

2

dist/index.d.ts

@@ -1,1 +0,1 @@

export * from './truncate.module';
export { TruncateModule, TRUNCATE_PIPES } from './truncate.module';

@@ -1,2 +0,2 @@

export * from './truncate.module';
export { TruncateModule, TRUNCATE_PIPES } from './truncate.module';
//# sourceMappingURL=index.js.map

@@ -1,7 +0,1 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { Pipe } from '@angular/core';

@@ -24,8 +18,10 @@ var TruncateCharactersPipe = (function () {

}());
TruncateCharactersPipe = __decorate([
Pipe({
name: 'truncate'
})
], TruncateCharactersPipe);
export { TruncateCharactersPipe };
TruncateCharactersPipe.decorators = [
{ type: Pipe, args: [{
name: 'truncate'
},] },
];
/** @nocollapse */
TruncateCharactersPipe.ctorParameters = function () { return []; };
//# sourceMappingURL=truncate-characters.pipe.js.map

@@ -1,7 +0,1 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { Pipe } from '@angular/core';

@@ -31,8 +25,10 @@ var TruncateWordsPipe = (function () {

}());
TruncateWordsPipe = __decorate([
Pipe({
name: 'words'
})
], TruncateWordsPipe);
export { TruncateWordsPipe };
TruncateWordsPipe.decorators = [
{ type: Pipe, args: [{
name: 'words'
},] },
];
/** @nocollapse */
TruncateWordsPipe.ctorParameters = function () { return []; };
//# sourceMappingURL=truncate-words.pipe.js.map

@@ -1,7 +0,1 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { NgModule } from '@angular/core';

@@ -16,9 +10,11 @@ import { TruncateCharactersPipe } from './truncate-characters.pipe';

}());
TruncateModule = __decorate([
NgModule({
declarations: [TRUNCATE_PIPES],
exports: [TRUNCATE_PIPES]
})
], TruncateModule);
export { TruncateModule };
TruncateModule.decorators = [
{ type: NgModule, args: [{
declarations: [TRUNCATE_PIPES],
exports: [TRUNCATE_PIPES]
},] },
];
/** @nocollapse */
TruncateModule.ctorParameters = function () { return []; };
//# sourceMappingURL=truncate.module.js.map
{
"name": "ng2-truncate",
"version": "1.3.4",
"version": "1.3.5",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -21,5 +21,4 @@ {

"angularCompilerOptions": {
"genDir": "aot",
"skipMetadataEmit" : true
"genDir": "aot"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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