New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.3 to 1.3.4-0

tsconfig-aot.json

6

dist/index.js

@@ -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

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