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.10 to 1.3.11-alpha.1

typings/browser.d.ts

18

dist/truncate-characters.pipe.js

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

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';

@@ -19,9 +25,7 @@ var TruncateCharactersPipe = (function () {

};
TruncateCharactersPipe.decorators = [
{ type: Pipe, args: [{
name: 'truncate'
},] },
];
/** @nocollapse */
TruncateCharactersPipe.ctorParameters = function () { return []; };
TruncateCharactersPipe = __decorate([
Pipe({
name: 'truncate'
})
], TruncateCharactersPipe);
return TruncateCharactersPipe;

@@ -28,0 +32,0 @@ }());

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

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';

@@ -23,9 +29,7 @@ var TruncateWordsPipe = (function () {

};
TruncateWordsPipe.decorators = [
{ type: Pipe, args: [{
name: 'words'
},] },
];
/** @nocollapse */
TruncateWordsPipe.ctorParameters = function () { return []; };
TruncateWordsPipe = __decorate([
Pipe({
name: 'words'
})
], TruncateWordsPipe);
return TruncateWordsPipe;

@@ -32,0 +36,0 @@ }());

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

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';

@@ -8,10 +14,8 @@ import { TruncateCharactersPipe } from './truncate-characters.pipe';

}
TruncateModule.decorators = [
{ type: NgModule, args: [{
declarations: [TRUNCATE_PIPES],
exports: [TRUNCATE_PIPES]
},] },
];
/** @nocollapse */
TruncateModule.ctorParameters = function () { return []; };
TruncateModule = __decorate([
NgModule({
declarations: [TRUNCATE_PIPES],
exports: [TRUNCATE_PIPES]
})
], TruncateModule);
return TruncateModule;

@@ -18,0 +22,0 @@ }());

{
"name": "ng2-truncate",
"version": "1.3.10",
"version": "1.3.11-alpha.1",
"license": "MIT",

@@ -29,7 +29,14 @@ "main": "./dist/index.js",

"homepage": "https://github.com/yellowspot/ng2-truncate#readme",
"peerDependencies": {
"@angular/core": ">= 4.0.0"
},
"devDependencies": {
"@angular/common": "^4.3.5",
"@angular/compiler": "^4.3.5",
"@angular/compiler-cli": "^4.3.5",
"@angular/core": "^4.3.5",
"@angular/platform-browser": "^4.3.5",
"@angular/platform-browser-dynamic": "^4.3.5",
"@angular/platform-server": "^4.3.5",
"typings": "^1.0.4",
"codelyzer": "~2.0.0",

@@ -58,9 +65,3 @@ "es6-shim": "0.35.1",

"zone.js": "0.8.4"
},
"dependencies": {
"@angular/compiler-cli": "^4.3.5",
"@angular/core": "^4.3.5",
"@angular/platform-server": "^4.3.5",
"typings": "^1.0.4"
}
}

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