Socket
Socket
Sign inDemoInstall

expect

Package Overview
Dependencies
6
Maintainers
5
Versions
234
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 29.5.0 to 29.6.0

7

build/asymmetricMatchers.js

@@ -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) {

4

build/index.d.ts

@@ -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.

19

package.json
{
"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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc