New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@stackflow/core

Package Overview
Dependencies
Maintainers
3
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stackflow/core - npm Package Compare versions

Comparing version
1.1.0
to
1.1.1
+1
-1
dist/utils/divideBy.d.ts

@@ -1,2 +0,2 @@

export declare const divideBy: <T>(arr: T[], predicate: (t: T) => boolean) => [T[], T[]];
export declare const divideBy: <T, U extends T>(arr: T[], predicate: (t: T) => t is U) => [U[], T[]];
//# sourceMappingURL=divideBy.d.ts.map
{
"name": "@stackflow/core",
"version": "1.1.0",
"version": "1.1.1",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -64,3 +64,3 @@ import isEqual from "react-fast-compare";

}) ?? initialEvents,
initialPushedEventsByOption as (PushedEvent | StepPushedEvent)[],
initialPushedEventsByOption,
);

@@ -67,0 +67,0 @@

@@ -1,6 +0,6 @@

export const divideBy = <T>(
export const divideBy = <T, U extends T>(
arr: T[],
predicate: (t: T) => boolean,
): [T[], T[]] => {
const satisfied: T[] = [];
predicate: (t: T) => t is U,
): [U[], T[]] => {
const satisfied: U[] = [];
const unsatisfied: T[] = [];

@@ -7,0 +7,0 @@

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