@jest/expect
Advanced tools
Comparing version 29.7.0 to 30.0.0-alpha.1
@@ -28,3 +28,5 @@ /** | ||
export declare type JestExpect = { | ||
<T = unknown>(actual: T): JestMatchers<void, T> & | ||
<T = unknown>( | ||
actual: T, | ||
): JestMatchers<void, T> & | ||
Inverse<JestMatchers<void, T>> & | ||
@@ -31,0 +33,0 @@ PromiseMatchers<T>; |
@@ -1,9 +0,23 @@ | ||
'use strict'; | ||
/*! | ||
* /** | ||
* * 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. | ||
* * / | ||
*/ | ||
/******/ (() => { // webpackBootstrap | ||
/******/ "use strict"; | ||
var __webpack_exports__ = {}; | ||
// This entry need to be wrapped in an IIFE because it uses a non-standard name for the exports (exports). | ||
(() => { | ||
var exports = __webpack_exports__; | ||
Object.defineProperty(exports, '__esModule', { | ||
Object.defineProperty(exports, "__esModule", ({ | ||
value: true | ||
}); | ||
})); | ||
exports.jestExpect = void 0; | ||
function _expect() { | ||
const data = require('expect'); | ||
const data = require("expect"); | ||
_expect = function () { | ||
@@ -15,3 +29,3 @@ return data; | ||
function _jestSnapshot() { | ||
const data = require('jest-snapshot'); | ||
const data = require("jest-snapshot"); | ||
_jestSnapshot = function () { | ||
@@ -33,4 +47,3 @@ return data; | ||
toMatchSnapshot: _jestSnapshot().toMatchSnapshot, | ||
toThrowErrorMatchingInlineSnapshot: | ||
_jestSnapshot().toThrowErrorMatchingInlineSnapshot, | ||
toThrowErrorMatchingInlineSnapshot: _jestSnapshot().toThrowErrorMatchingInlineSnapshot, | ||
toThrowErrorMatchingSnapshot: _jestSnapshot().toThrowErrorMatchingSnapshot | ||
@@ -41,3 +54,7 @@ }); | ||
} | ||
const jestExpect = createJestExpect(); | ||
exports.jestExpect = jestExpect; | ||
const jestExpect = exports.jestExpect = createJestExpect(); | ||
})(); | ||
module.exports = __webpack_exports__; | ||
/******/ })() | ||
; |
{ | ||
"name": "@jest/expect", | ||
"version": "29.7.0", | ||
"version": "30.0.0-alpha.1", | ||
"repository": { | ||
@@ -15,2 +15,4 @@ "type": "git", | ||
"types": "./build/index.d.ts", | ||
"require": "./build/index.js", | ||
"import": "./build/index.mjs", | ||
"default": "./build/index.js" | ||
@@ -21,11 +23,11 @@ }, | ||
"dependencies": { | ||
"expect": "^29.7.0", | ||
"jest-snapshot": "^29.7.0" | ||
"expect": "30.0.0-alpha.1", | ||
"jest-snapshot": "30.0.0-alpha.1" | ||
}, | ||
"devDependencies": { | ||
"@tsd/typescript": "^5.0.4", | ||
"tsd-lite": "^0.7.0" | ||
"tsd-lite": "^0.8.0" | ||
}, | ||
"engines": { | ||
"node": "^14.15.0 || ^16.10.0 || >=18.0.0" | ||
"node": "^16.10.0 || ^18.12.0 || >=20.0.0" | ||
}, | ||
@@ -35,3 +37,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "4e56991693da7cd4c3730dc3579a1dd1403ee630" | ||
"gitHead": "d005cb2505c041583e0c5636d006e08666a54b63" | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
5894
111
2
+ Added@jest/expect-utils@30.0.0-alpha.1(transitive)
+ Added@jest/schemas@30.0.0-alpha.1(transitive)
+ Added@jest/transform@30.0.0-alpha.1(transitive)
+ Added@jest/types@30.0.0-alpha.1(transitive)
+ Added@pkgr/core@0.1.1(transitive)
+ Added@sinclair/typebox@0.31.28(transitive)
+ Addedci-info@4.0.0(transitive)
+ Addeddiff-sequences@30.0.0-alpha.1(transitive)
+ Addedexpect@30.0.0-alpha.1(transitive)
+ Addedjest-diff@30.0.0-alpha.1(transitive)
+ Addedjest-get-type@30.0.0-alpha.1(transitive)
+ Addedjest-haste-map@30.0.0-alpha.1(transitive)
+ Addedjest-matcher-utils@30.0.0-alpha.1(transitive)
+ Addedjest-message-util@30.0.0-alpha.1(transitive)
+ Addedjest-regex-util@30.0.0-alpha.1(transitive)
+ Addedjest-snapshot@30.0.0-alpha.1(transitive)
+ Addedjest-util@30.0.0-alpha.1(transitive)
+ Addedjest-worker@30.0.0-alpha.1(transitive)
+ Addedpretty-format@30.0.0-alpha.1(transitive)
+ Addedsynckit@0.8.8(transitive)
+ Addedtslib@2.6.2(transitive)
- Removed@jest/expect-utils@29.7.0(transitive)
- Removed@jest/schemas@29.6.3(transitive)
- Removed@jest/transform@29.7.0(transitive)
- Removed@jest/types@29.6.3(transitive)
- Removed@sinclair/typebox@0.27.8(transitive)
- Removed@types/graceful-fs@4.1.9(transitive)
- Removedci-info@3.9.0(transitive)
- Removeddiff-sequences@29.6.3(transitive)
- Removedexpect@29.7.0(transitive)
- Removedjest-diff@29.7.0(transitive)
- Removedjest-get-type@29.6.3(transitive)
- Removedjest-haste-map@29.7.0(transitive)
- Removedjest-matcher-utils@29.7.0(transitive)
- Removedjest-message-util@29.7.0(transitive)
- Removedjest-regex-util@29.6.3(transitive)
- Removedjest-snapshot@29.7.0(transitive)
- Removedjest-util@29.7.0(transitive)
- Removedjest-worker@29.7.0(transitive)
- Removedpretty-format@29.7.0(transitive)
Updatedexpect@30.0.0-alpha.1
Updatedjest-snapshot@30.0.0-alpha.1