New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ng2-pipes

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-pipes - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

2

package.json
{
"name": "ng2-pipes",
"version": "0.4.1",
"version": "0.4.2",
"author": "Dan Revah",

@@ -5,0 +5,0 @@ "description": "Useful angular2 pipes",

@@ -389,3 +389,3 @@ # Angular2 Pipes

Returns boolean value if every elements of the array fits the predicate
Returns true if every elements of the array fits the predicate otherwise false

@@ -411,3 +411,3 @@ Api: `array | every: predicate`

Returns boolean value if some elements of the array fits the predicate
Returns true if some elements of the array fits the predicate otherwise false

@@ -414,0 +414,0 @@ Api: `array | some: predicate`

@@ -15,3 +15,3 @@ import {PipeTransform, Pipe, Injectable} from '@angular/core';

let shuffled = Array.from(arr);
let shuffled = [...arr];
for (let i = 0, n = arr.length - 1, l = n - 1; i < l; ++i) {

@@ -18,0 +18,0 @@ const j = Math.floor(Math.random() * (n - i + 1)) + i;

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