expect
Advanced tools
Comparing version 29.5.0 to 29.6.0
@@ -67,2 +67,9 @@ 'use strict'; | ||
var Symbol = globalThis['jest-symbol-do-not-touch'] || globalThis.Symbol; | ||
/** | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
*/ | ||
const functionToString = Function.prototype.toString; | ||
@@ -69,0 +76,0 @@ function fnNameFor(func) { |
@@ -7,2 +7,5 @@ /** | ||
*/ | ||
/// <reference types="node" /> | ||
import type {AsyncLocalStorage} from 'async_hooks'; | ||
import type {EqualsFunction} from '@jest/expect-utils'; | ||
@@ -320,2 +323,3 @@ import type * as jestMatcherUtils from 'jest-matcher-utils'; | ||
assertionCalls: number; | ||
currentConcurrentTestName?: AsyncLocalStorage<string>; | ||
currentTestName?: string; | ||
@@ -322,0 +326,0 @@ error?: Error; |
@@ -71,2 +71,10 @@ 'use strict'; | ||
globalThis[Symbol.for('jest-native-promise')] || globalThis.Promise; | ||
/** | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
*/ | ||
/* eslint-disable local/prefer-spread-eventually */ | ||
class JestAssertionError extends Error { | ||
@@ -73,0 +81,0 @@ matcherResult; |
@@ -17,2 +17,9 @@ 'use strict'; | ||
var Symbol = globalThis['jest-symbol-do-not-touch'] || globalThis.Symbol; | ||
/** | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
*/ | ||
// Global matchers object holds the list of available matchers and | ||
@@ -19,0 +26,0 @@ // the state, that can hold matcher specific values that change over time. |
{ | ||
"name": "expect", | ||
"version": "29.5.0", | ||
"version": "29.6.0", | ||
"repository": { | ||
@@ -22,15 +22,16 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/expect-utils": "^29.5.0", | ||
"@jest/expect-utils": "^29.6.0", | ||
"@types/node": "*", | ||
"jest-get-type": "^29.4.3", | ||
"jest-matcher-utils": "^29.5.0", | ||
"jest-message-util": "^29.5.0", | ||
"jest-util": "^29.5.0" | ||
"jest-matcher-utils": "^29.6.0", | ||
"jest-message-util": "^29.6.0", | ||
"jest-util": "^29.6.0" | ||
}, | ||
"devDependencies": { | ||
"@fast-check/jest": "^1.3.0", | ||
"@jest/test-utils": "^29.5.0", | ||
"@tsd/typescript": "^4.9.0", | ||
"@jest/test-utils": "^29.6.0", | ||
"@tsd/typescript": "^5.0.4", | ||
"chalk": "^4.0.0", | ||
"immutable": "^4.0.0", | ||
"tsd-lite": "^0.6.0" | ||
"tsd-lite": "^0.7.0" | ||
}, | ||
@@ -43,3 +44,3 @@ "engines": { | ||
}, | ||
"gitHead": "39f3beda6b396665bebffab94e8d7c45be30454c" | ||
"gitHead": "c1e5b8a38ef54bb138409f89831942ebf6a7a67e" | ||
} |
Floating dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
146397
4450
6
1
+ Added@types/node@*
+ Addedreact-is@18.3.1(transitive)
- Removedreact-is@18.2.0(transitive)
Updated@jest/expect-utils@^29.6.0
Updatedjest-matcher-utils@^29.6.0
Updatedjest-message-util@^29.6.0
Updatedjest-util@^29.6.0