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.0-16 to 1.3.0

3

dist/truncate-characters.pipe.d.ts

@@ -1,4 +0,3 @@

import { PipeTransform } from '@angular/core';
export declare class TruncateCharactersPipe implements PipeTransform {
export declare class TruncateCharactersPipe {
transform(value: string, limit?: number, trail?: String): string;
}

@@ -1,4 +0,3 @@

import { PipeTransform } from '@angular/core';
export declare class TruncateWordsPipe implements PipeTransform {
export declare class TruncateWordsPipe {
transform(value: string, limit?: number, trail?: String): string;
}

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

import { TruncateCharactersPipe } from './truncate-characters.pipe';
export declare const TRUNCATE_PIPES: typeof TruncateCharactersPipe[];
export declare class TruncateModule {
}

@@ -11,3 +11,2 @@ "use strict";

var truncate_words_pipe_1 = require("./truncate-words.pipe");
exports.TRUNCATE_PIPES = [truncate_characters_pipe_1.TruncateCharactersPipe, truncate_words_pipe_1.TruncateWordsPipe];
var TruncateModule = (function () {

@@ -20,4 +19,4 @@ function TruncateModule() {

core_1.NgModule({
declarations: [exports.TRUNCATE_PIPES],
exports: [exports.TRUNCATE_PIPES]
declarations: [truncate_characters_pipe_1.TruncateCharactersPipe, truncate_words_pipe_1.TruncateWordsPipe],
exports: [truncate_characters_pipe_1.TruncateCharactersPipe, truncate_words_pipe_1.TruncateWordsPipe]
})

@@ -24,0 +23,0 @@ ], TruncateModule);

{
"name": "ng2-truncate",
"version": "1.3.0-16",
"version": "1.3.0",
"license": "MIT",

@@ -8,13 +8,9 @@ "main": "./dist/index.js",

"scripts": {
"prebuild": "rm -r dist",
"build": "npm run ngc",
"build": "rm -rf dist && tsc",
"lint": "tslint src/**/*.ts",
"pretest": "npm run ngc",
"test": "karma start",
"pretest-cli": "npm run ngc",
"test-ci": "karma start --single-run true",
"test": "tsc && karma start",
"test-ci": "tsc && karma start --single-run true",
"postinstall": "typings install",
"prepublish": "npm run ngc",
"prepublish": "tsc",
"tsc": "tsc",
"ngc": "ngc",
"typings": "typings"

@@ -37,8 +33,5 @@ },

"devDependencies": {
"@angular/common": "^2.4.3",
"@angular/compiler": "^2.4.3",
"@angular/compiler-cli": "^2.4.3",
"@angular/platform-browser": "^2.4.3",
"codelyzer": "^2.0.0-beta.4",
"es6-shim": "0.35.1",
"@angular/common": "^2.4.2",
"@angular/compiler": "^2.4.2",
"@angular/platform-browser": "^2.4.2",
"jasmine-core": "2.4.1",

@@ -51,15 +44,17 @@ "jasmine-spec-reporter": "2.5.0",

"karma-typescript-preprocessor": "^0.2.1",
"reflect-metadata": "0.1.3",
"requirejs": "^2.1.0",
"rxjs": "^5.0.2",
"systemjs": "^0.19.31",
"traceur": "0.0.111",
"tslint": "^4.3.1",
"codelyzer": "^2.0.0-beta.4",
"es6-shim": "0.35.1",
"reflect-metadata": "0.1.3",
"rxjs": "^5.0.2",
"tslint": "^3.6.0",
"typescript": "^2.1.5",
"zone.js": "^0.7.6"
"zone.js": "^0.6.21"
},
"dependencies": {
"@angular/core": "^2.4.3",
"@angular/core": "^2.4.2",
"typings": "^1.0.4"
}
}

@@ -7,3 +7,2 @@ {

"experimentalDecorators": true,
"noEmitHelpers": false,
"moduleResolution": "node",

@@ -19,19 +18,6 @@ "sourceMap": true,

],
"lib": [
"es6",
"dom"
],
"types": [
"jasmine",
"node"
],
"exclude": [
"node_modules",
"dist",
"aot"
],
"angularCompilerOptions": {
"genDir": "aot",
"skipMetadataEmit" : false
}
"dist"
]
}

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