Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-pipes

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-pipes - npm Package Compare versions

Comparing version 2.7.5 to 2.7.6

14

CHANGELOG.md

@@ -1,5 +0,17 @@

# Change Log
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [2.7.6](https://github.com/danrevah/ngx-pipes/compare/v2.7.0...v2.7.6) (2021-11-06)
### Bug Fixes
* **cross:** export radians and frompipes ([8c48a76](https://github.com/danrevah/ngx-pipes/commit/8c48a76244e2dcf9f17feb7caae6d2e3c31e791f))
* **module:** module issues with angular 9 ([d0240f4](https://github.com/danrevah/ngx-pipes/commit/d0240f4f9339f0ac80c3f187bc274148e863fdd0))
* **proj:** fix spec ([c0a02b0](https://github.com/danrevah/ngx-pipes/commit/c0a02b0d10db2a7dd4acd75686eefe59771ec1a3))
* **proj:** fix spec ([3d4096a](https://github.com/danrevah/ngx-pipes/commit/3d4096af16c46674e380564373e973b0f984821d))
* **proj:** fix spec ([772b672](https://github.com/danrevah/ngx-pipes/commit/772b672875772cfe69b589562541862cfe30c22c))
* **proj:** upgrade ng-packagr to support angular 9 ([9c31798](https://github.com/danrevah/ngx-pipes/commit/9c31798e27a1ef713ad6b1a9645e66d1db02758d))
## [2.7.5](https://github.com/danrevah/ngx-pipes/compare/v2.7.4...v2.7.5) (2020-07-11)

@@ -6,0 +18,0 @@

2

esm2015/src/ng-pipes/pipes/array/diff.js

@@ -14,2 +14,2 @@ import { Pipe } from '@angular/core';

];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlmZi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9uZy1waXBlcy9waXBl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AgIGNvbnN0IHZhbHVlID0gZXh0cmFjdERlZXBQcm9wZXJ0eUJ5TWFwS2V5KG9iaiwgcHJvcCk7XG4gICAgICAgICAgLyogdHNsaW50OmRpc2FibGUgKi9cbiAgICAgICAgICBjb25zdCB7IHByb3BzLCB0YWlsIH0gPSBleHRyYWN0RGVlcFByb3BlcnR5QnlQYXJlbnRNYXBLZXkob2JqLCBwcm9wKTtcblxuICAgICAgICAgIGlmIChpc1VuZGVmaW5lZCh2YWx1ZSkgJiYgIWlzVW5kZWZpbmVkKHByb3BzKSAmJiBBcnJheS5pc0FycmF5KHByb3BzKSkge1xuICAgICAgICAgICAgcmV0dXJuIHByb3BzLnNvbWUocGFyZW50ID0+IHtcbiAgICAgICAgICAgICAgY29uc3Qgc3RyID0gU3RyaW5nKHBhcmVudFt0YWlsXSkudG9Mb3dlckNhc2UoKTtcblxuICAgICAgICAgICAgICByZXR1cm4gc3RyaWN0ID8gc3RyID09PSB0ZXJtIDogISF+c3RyLmluZGV4T2YodGVybSk7XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBpZiAoaXNVbmRlZmluZWQodmFsdWUpKSB7XG4gICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgY29uc3Qgc3RyVmFsdWU6IHN0cmluZyA9IFN0cmluZyh2YWx1ZSkudG9Mb3dlckNhc2UoKTtcblxuICAgICAgICAgIHJldHVybiBzdHJpY3QgPyB0ZXJtID09PSBzdHJWYWx1ZSA6ICEhfnN0clZhbHVlLmluZGV4T2YodGVybSk7XG4gICAgICAgIH0pO1xuICAgICAgfSk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWJ5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL25nLXBpcG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BQyxDQUFDLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLEtBQUssQ0FBQyxDQUFDO0lBQzdFLENBQUM7OztZQVpGLElBQUksU0FBQyxFQUFFLElBQUksRUFBRSxjQUFjLEVBQUUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQaXBlLCBQaXBlVHJhbnNmb3JtIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBQaXBlKHsgbmFtZTogJ2ludGVyc2VjdGlvbicgfSlcbmV4cG9ydCBjbGFzcyBJbnRlcnNlY3Rpb25QaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIHRyYW5zZm9ybTxUPihpbnB1dDogVCwgLi4uYXJnczogYW55W10pOiBUO1xuICB0cmFuc2Zvcm0oaW5wdXQ6IGFueVtdLCAuLi5hcmdzOiBhbnlbXSk6IGFueVtdO1xuXG4gIHRyYW5zZm9ybShpbnB1dDogYW55LCAuLi5hcmdzOiBhbnlbXSk6IGFueSB7XG4gICAgaWYgKCFBcnJheS5pc0FycmF5KGlucHV0KSkge1xuICAgICAgcmV0dXJuIGlucHV0O1xuICAgIH1cblxuICAgIC8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZSBuby1iaXR3aXNlXG4gICAgcmV0dXJuIGFyZ3MucmVkdWNlKChuLCBjKSA9PiBuLmZpbHRlcigoZTogYW55KSA9PiAhIX5jLmluZGV4T2YoZSkpLCBpbnB1dCk7XG4gIH1cbn1cbiJdfQ==

@@ -71,2 +71,2 @@ import { Pipe } from '@angular/core';

];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItYnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbmctcGlwZXMvcGlwZXMvYXJyYXkvb3JkZXItYnkudHMiXSwibmFtZXMiOltdLCJt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1iaXR3aXNlXG4gICAgICAgICAgcmV0dXJuICF+bm9EdXBBcnIuaW5kZXhPZihjdXJyKSAmJiAhfm5ld0Fyci5pbmRleE9mKGN1cnIpID8gbm9EdXBBcnIuY29uY2F0KFtjdXJyXSkgOiBub0R1cEFycjtcbiAgICAgICAgfSwgW10pXG4gICAgICApO1xuICAgIH0sIGlucHV0KTtcbiAgfVxufVxuIl19
{
"name": "ngx-pipes",
"version": "2.7.5",
"version": "2.7.6",
"author": "Dan Revah",
"description": "Useful angular2 pipes",
"description": "Useful angular pipes",
"license": "MIT",

@@ -7,0 +7,0 @@ "keywords": [

import { PipeTransform } from '@angular/core';
export declare class DiffPipe implements PipeTransform {
transform<T>(input: T, ...args: any[]): T;
transform(input: any[], ...args: any[]): any[];
transform<T>(input: T, ...args: any[]): T;
}
import { PipeTransform } from '@angular/core';
export declare class FilterByPipe implements PipeTransform {
transform<T>(input: T, props: Array<string>, search?: any, strict?: boolean): T;
transform(input: any[], props: Array<string>, search?: any, strict?: boolean): any[];
transform<T>(input: T, props: Array<string>, search?: any, strict?: boolean): T;
}
import { PipeTransform } from '@angular/core';
export declare class FlattenPipe implements PipeTransform {
transform<T>(input: T, shallow?: boolean): T;
transform(input: any[], shallow?: boolean): any[];
transform<T>(input: T, shallow?: boolean): T;
private flatten;
}
import { PipeTransform } from '@angular/core';
export declare class IntersectionPipe implements PipeTransform {
transform<T>(input: T, ...args: any[]): T;
transform(input: any[], ...args: any[]): any[];
transform<T>(input: T, ...args: any[]): T;
}
import { PipeTransform } from '@angular/core';
export declare class OrderByPipe implements PipeTransform {
transform<T>(input: T, config?: any): T;
transform(input: any[], config?: any): any[];
transform<T>(input: T, config?: any): T;
private static simpleSort;

@@ -6,0 +6,0 @@ private static orderCompare;

import { PipeTransform } from '@angular/core';
export declare class PluckPipe implements PipeTransform {
transform<T, K extends keyof T>(input: T, map: keyof T): T[K];
transform(input: any[], map: string): any[];
transform(input: any, map: string): any;
transform<T>(input: T, map: string): T;
}
import { PipeTransform } from '@angular/core';
export declare class ShufflePipe implements PipeTransform {
transform<T>(input: T): T;
transform(input: any[]): any[];
transform<T>(input: T): T;
}
import { PipeTransform } from '@angular/core';
export declare class TailPipe implements PipeTransform {
transform<T>(input: T, num?: number): T;
transform(input: any[], num?: number): any[];
transform<T>(input: T, num?: number): T;
}
import { PipeTransform } from '@angular/core';
export declare class UnionPipe implements PipeTransform {
transform<T>(input: T, args?: any[]): T;
transform(input: any[], args?: any[]): any[];
transform<T>(input: T, args?: any[]): T;
}

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