Socket
Socket
Sign inDemoInstall

@jest/expect

Package Overview
Dependencies
153
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 29.7.0 to 30.0.0-alpha.1

build/index.mjs

4

build/index.d.ts

@@ -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"
}
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