diff-sequences
Advanced tools
Comparing version 27.5.1 to 28.0.0-alpha.0
@@ -6,14 +6,34 @@ /** | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
*/ | ||
declare type IsCommon = (aIndex: number, // caller can assume: 0 <= aIndex && aIndex < aLength | ||
bIndex: number) => boolean; | ||
declare type FoundSubsequence = (nCommon: number, // caller can assume: 0 < nCommon | ||
aCommon: number, // caller can assume: 0 <= aCommon && aCommon < aLength | ||
bCommon: number) => void; | ||
export declare type Callbacks = { | ||
foundSubsequence: FoundSubsequence; | ||
isCommon: IsCommon; | ||
foundSubsequence: FoundSubsequence; | ||
isCommon: IsCommon; | ||
}; | ||
export default function diffSequence(aLength: number, bLength: number, isCommon: IsCommon, foundSubsequence: FoundSubsequence): void; | ||
declare function diffSequence( | ||
aLength: number, | ||
bLength: number, | ||
isCommon: IsCommon, | ||
foundSubsequence: FoundSubsequence, | ||
): void; | ||
export default diffSequence; | ||
declare type FoundSubsequence = ( | ||
nCommon: number, // caller can assume: 0 < nCommon | ||
aCommon: number, // caller can assume: 0 <= aCommon && aCommon < aLength | ||
bCommon: number, | ||
) => void; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
*/ | ||
declare type IsCommon = ( | ||
aIndex: number, // caller can assume: 0 <= aIndex && aIndex < aLength | ||
bIndex: number, | ||
) => boolean; | ||
export {}; |
{ | ||
"name": "diff-sequences", | ||
"version": "27.5.1", | ||
"version": "28.0.0-alpha.0", | ||
"repository": { | ||
@@ -19,3 +19,3 @@ "type": "git", | ||
"engines": { | ||
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" | ||
"node": "^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0" | ||
}, | ||
@@ -42,3 +42,3 @@ "main": "./build/index.js", | ||
}, | ||
"gitHead": "67c1aa20c5fec31366d733e901fee2b981cb1850" | ||
"gitHead": "89275b08977065d98e42ad71fcf223f4ad169f09" | ||
} |
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
53311
878
2