ng2-truncate
Advanced tools
Comparing version 1.3.0-16 to 1.3.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
20
0
142258
27
1268
1
Updated@angular/core@^2.4.2