ng2-truncate
Advanced tools
Comparing version 1.3.3 to 1.3.4-0
@@ -1,6 +0,2 @@ | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
__export(require("./truncate.module")); | ||
export * from './truncate.module'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,1 @@ | ||
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
@@ -8,3 +7,3 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
}; | ||
var core_1 = require("@angular/core"); | ||
import { Pipe } from '@angular/core'; | ||
var TruncateCharactersPipe = (function () { | ||
@@ -27,7 +26,7 @@ function TruncateCharactersPipe() { | ||
TruncateCharactersPipe = __decorate([ | ||
core_1.Pipe({ | ||
Pipe({ | ||
name: 'truncate' | ||
}) | ||
], TruncateCharactersPipe); | ||
exports.TruncateCharactersPipe = TruncateCharactersPipe; | ||
export { TruncateCharactersPipe }; | ||
//# sourceMappingURL=truncate-characters.pipe.js.map |
@@ -1,2 +0,1 @@ | ||
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
@@ -8,3 +7,3 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
}; | ||
var core_1 = require("@angular/core"); | ||
import { Pipe } from '@angular/core'; | ||
var TruncateWordsPipe = (function () { | ||
@@ -34,7 +33,7 @@ function TruncateWordsPipe() { | ||
TruncateWordsPipe = __decorate([ | ||
core_1.Pipe({ | ||
Pipe({ | ||
name: 'words' | ||
}) | ||
], TruncateWordsPipe); | ||
exports.TruncateWordsPipe = TruncateWordsPipe; | ||
export { TruncateWordsPipe }; | ||
//# sourceMappingURL=truncate-words.pipe.js.map |
@@ -1,2 +0,1 @@ | ||
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
@@ -8,6 +7,6 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
}; | ||
var core_1 = require("@angular/core"); | ||
var truncate_characters_pipe_1 = require("./truncate-characters.pipe"); | ||
var truncate_words_pipe_1 = require("./truncate-words.pipe"); | ||
exports.TRUNCATE_PIPES = [truncate_characters_pipe_1.TruncateCharactersPipe, truncate_words_pipe_1.TruncateWordsPipe]; | ||
import { NgModule } from '@angular/core'; | ||
import { TruncateCharactersPipe } from './truncate-characters.pipe'; | ||
import { TruncateWordsPipe } from './truncate-words.pipe'; | ||
export var TRUNCATE_PIPES = [TruncateCharactersPipe, TruncateWordsPipe]; | ||
var TruncateModule = (function () { | ||
@@ -19,8 +18,8 @@ function TruncateModule() { | ||
TruncateModule = __decorate([ | ||
core_1.NgModule({ | ||
declarations: [exports.TRUNCATE_PIPES], | ||
exports: [exports.TRUNCATE_PIPES] | ||
NgModule({ | ||
declarations: [TRUNCATE_PIPES], | ||
exports: [TRUNCATE_PIPES] | ||
}) | ||
], TruncateModule); | ||
exports.TruncateModule = TruncateModule; | ||
export { TruncateModule }; | ||
//# sourceMappingURL=truncate.module.js.map |
{ | ||
"name": "ng2-truncate", | ||
"version": "1.3.3", | ||
"version": "1.3.4-0", | ||
"license": "MIT", | ||
@@ -8,12 +8,8 @@ "main": "./dist/index.js", | ||
"scripts": { | ||
"build:aot": "ngc -p tsconfig-aot.json", | ||
"prebuild": "rm -r dist", | ||
"build": "npm run ngc", | ||
"prepublish": "ngc -p tsconfig-aot.json", | ||
"lint": "tslint src/**/*.ts", | ||
"test": "karma start", | ||
"test-ci": "karma start --single-run true", | ||
"postinstall": "typings install", | ||
"prepublish": "npm run ngc", | ||
"tsc": "tsc", | ||
"ngc": "ngc", | ||
"typings": "typings" | ||
"test-ci": "karma start --single-run true" | ||
}, | ||
@@ -35,8 +31,7 @@ "repository": { | ||
"devDependencies": { | ||
"@angular/common": "^2.4.3", | ||
"@angular/compiler": "^2.4.3", | ||
"@angular/compiler-cli": "^2.4.3", | ||
"@angular/platform-browser": "^2.4.3", | ||
"@angular/platform-browser-dynamic": "^2.4.3", | ||
"codelyzer": "^2.0.0-beta.4", | ||
"@angular/common": "^4.0.0", | ||
"@angular/compiler": "^4.0.0", | ||
"@angular/platform-browser": "^4.0.0", | ||
"@angular/platform-browser-dynamic": "^4.0.0", | ||
"codelyzer": "~2.0.0", | ||
"es6-shim": "0.35.1", | ||
@@ -54,14 +49,16 @@ "jasmine-core": "2.4.1", | ||
"requirejs": "^2.1.0", | ||
"rxjs": "^5.0.2", | ||
"rxjs": "^5.1.0", | ||
"traceur": "0.0.111", | ||
"ts-loader": "^1.3.3", | ||
"tslint": "^4.3.1", | ||
"typescript": "^2.1.5", | ||
"typescript": "~2.1.0", | ||
"webpack": "^1.14.0", | ||
"zone.js": "^0.7.6" | ||
"zone.js": "0.8.4" | ||
}, | ||
"dependencies": { | ||
"@angular/core": "^2.4.3", | ||
"@angular/compiler-cli": "^4.0.0", | ||
"@angular/core": "^4.0.0", | ||
"@angular/platform-server": "^4.0.0", | ||
"typings": "^1.0.4" | ||
} | ||
} |
@@ -1,2 +0,1 @@ | ||
/// <reference path="globals/es6-shim/index.d.ts" /> | ||
/// <reference path="globals/jasmine/index.d.ts" /> |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
24
0
132897
4
26
657
1
+ Added@angular/compiler-cli@^4.0.0
+ Added@angular/animations@4.4.7(transitive)
+ Added@angular/common@4.4.7(transitive)
+ Added@angular/compiler@4.4.7(transitive)
+ Added@angular/compiler-cli@4.4.7(transitive)
+ Added@angular/core@4.4.7(transitive)
+ Added@angular/platform-browser@4.4.7(transitive)
+ Added@angular/platform-server@4.4.7(transitive)
+ Added@angular/tsc-wrapped@4.4.7(transitive)
+ Added@types/node@22.13.5(transitive)
+ Addedparse5@3.0.3(transitive)
+ Addedreflect-metadata@0.1.14(transitive)
+ Addedsource-map@0.5.7(transitive)
+ Addedsource-map-support@0.4.18(transitive)
+ Addedtsickle@0.21.6(transitive)
+ Addedtslib@1.14.1(transitive)
+ Addedundici-types@6.20.0(transitive)
+ Addedxhr2@0.1.4(transitive)
+ Addedzone.js@0.8.29(transitive)
- Removed@angular/core@2.4.10(transitive)
- Removedzone.js@0.7.8(transitive)
Updated@angular/core@^4.0.0