@jest/expect-utils 29.0.0-alpha.6 → 29.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/build/jasmineUtils.d.ts +0 -10
- package/build/types.d.ts +0 -8
- package/build/utils.d.ts +0 -27
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jest/expect-utils",
|
3
|
-
"version": "29.0.
|
3
|
+
"version": "29.0.2",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "https://github.com/facebook/jest.git",
|
@@ -17,11 +17,11 @@
|
|
17
17
|
"./package.json": "./package.json"
|
18
18
|
},
|
19
19
|
"dependencies": {
|
20
|
-
"jest-get-type": "^29.0.0
|
20
|
+
"jest-get-type": "^29.0.0"
|
21
21
|
},
|
22
22
|
"devDependencies": {
|
23
23
|
"immutable": "^4.0.0",
|
24
|
-
"jest-matcher-utils": "^29.0.
|
24
|
+
"jest-matcher-utils": "^29.0.2"
|
25
25
|
},
|
26
26
|
"engines": {
|
27
27
|
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
|
@@ -29,5 +29,5 @@
|
|
29
29
|
"publishConfig": {
|
30
30
|
"access": "public"
|
31
31
|
},
|
32
|
-
"gitHead": "
|
32
|
+
"gitHead": "616fcf56bb8481d29ba29cc34be32a92b1cf85e5"
|
33
33
|
}
|
package/build/jasmineUtils.d.ts
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import type { Tester } from './types';
|
2
|
-
export declare type EqualsFunction = (a: unknown, b: unknown, customTesters?: Array<Tester>, strictCheck?: boolean) => boolean;
|
3
|
-
export declare const equals: EqualsFunction;
|
4
|
-
export declare function isA(typeName: string, value: unknown): boolean;
|
5
|
-
export declare function isImmutableUnorderedKeyed(maybeKeyed: any): boolean;
|
6
|
-
export declare function isImmutableUnorderedSet(maybeSet: any): boolean;
|
7
|
-
export declare function isImmutableList(maybeList: any): boolean;
|
8
|
-
export declare function isImmutableOrderedKeyed(maybeKeyed: any): boolean;
|
9
|
-
export declare function isImmutableOrderedSet(maybeSet: any): boolean;
|
10
|
-
export declare function isImmutableRecord(maybeSet: any): boolean;
|
package/build/types.d.ts
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
3
|
-
*
|
4
|
-
* This source code is licensed under the MIT license found in the
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
6
|
-
*
|
7
|
-
*/
|
8
|
-
export declare type Tester = (a: any, b: any) => boolean | undefined;
|
package/build/utils.d.ts
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
3
|
-
*
|
4
|
-
* This source code is licensed under the MIT license found in the
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
6
|
-
*
|
7
|
-
*/
|
8
|
-
declare type GetPath = {
|
9
|
-
hasEndProp?: boolean;
|
10
|
-
endPropIsDefined?: boolean;
|
11
|
-
lastTraversedObject: unknown;
|
12
|
-
traversedPath: Array<string>;
|
13
|
-
value?: unknown;
|
14
|
-
};
|
15
|
-
export declare const getPath: (object: Record<string, any>, propertyPath: string | Array<string>) => GetPath;
|
16
|
-
export declare const getObjectSubset: (object: any, subset: any, seenReferences?: WeakMap<object, boolean>) => any;
|
17
|
-
export declare const iterableEquality: (a: any, b: any, aStack?: Array<any>, bStack?: Array<any>) => boolean | undefined;
|
18
|
-
export declare const subsetEquality: (object: unknown, subset: unknown) => boolean | undefined;
|
19
|
-
export declare const typeEquality: (a: any, b: any) => boolean | undefined;
|
20
|
-
export declare const arrayBufferEquality: (a: unknown, b: unknown) => boolean | undefined;
|
21
|
-
export declare const sparseArrayEquality: (a: unknown, b: unknown) => boolean | undefined;
|
22
|
-
export declare const partition: <T>(items: T[], predicate: (arg: T) => boolean) => [T[], T[]];
|
23
|
-
export declare const pathAsArray: (propertyPath: string) => Array<any>;
|
24
|
-
export declare const isError: (value: unknown) => value is Error;
|
25
|
-
export declare function emptyObject(obj: unknown): boolean;
|
26
|
-
export declare const isOneline: (expected: unknown, received: unknown) => boolean;
|
27
|
-
export {};
|