Socket
Socket
Sign inDemoInstall

@jest/globals

Package Overview
Dependencies
Maintainers
6
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jest/globals - npm Package Compare versions

Comparing version 27.5.1 to 28.0.0-alpha.0

64

build/index.d.ts

@@ -7,18 +7,48 @@ /**

*/
import type { Jest } from '@jest/environment';
import type { Global } from '@jest/types';
import importedExpect = require('expect');
export declare const jest: Jest;
export declare const expect: typeof importedExpect;
export declare const it: Global.GlobalAdditions['it'];
export declare const test: Global.GlobalAdditions['test'];
export declare const fit: Global.GlobalAdditions['fit'];
export declare const xit: Global.GlobalAdditions['xit'];
export declare const xtest: Global.GlobalAdditions['xtest'];
export declare const describe: Global.GlobalAdditions['describe'];
export declare const xdescribe: Global.GlobalAdditions['xdescribe'];
export declare const fdescribe: Global.GlobalAdditions['fdescribe'];
export declare const beforeAll: Global.GlobalAdditions['beforeAll'];
export declare const beforeEach: Global.GlobalAdditions['beforeEach'];
export declare const afterEach: Global.GlobalAdditions['afterEach'];
export declare const afterAll: Global.GlobalAdditions['afterAll'];
import type {Expect} from 'expect';
import type {Global} from '@jest/types';
import type {Jest} from '@jest/environment';
declare const afterAll_2: Global.GlobalAdditions['afterAll'];
export {afterAll_2 as afterAll};
declare const afterEach_2: Global.GlobalAdditions['afterEach'];
export {afterEach_2 as afterEach};
declare const beforeAll_2: Global.GlobalAdditions['beforeAll'];
export {beforeAll_2 as beforeAll};
declare const beforeEach_2: Global.GlobalAdditions['beforeEach'];
export {beforeEach_2 as beforeEach};
declare const describe_2: Global.GlobalAdditions['describe'];
export {describe_2 as describe};
declare const expect_2: Expect;
export {expect_2 as expect};
declare const fdescribe_2: Global.GlobalAdditions['fdescribe'];
export {fdescribe_2 as fdescribe};
declare const fit_2: Global.GlobalAdditions['fit'];
export {fit_2 as fit};
declare const it_2: Global.GlobalAdditions['it'];
export {it_2 as it};
declare const jest_2: Jest;
export {jest_2 as jest};
declare const test_2: Global.GlobalAdditions['test'];
export {test_2 as test};
declare const xdescribe_2: Global.GlobalAdditions['xdescribe'];
export {xdescribe_2 as xdescribe};
declare const xit_2: Global.GlobalAdditions['xit'];
export {xit_2 as xit};
declare const xtest_2: Global.GlobalAdditions['xtest'];
export {xtest_2 as xtest};
export {};
'use strict';
function _expect() {
const data = _interopRequireDefault(require('expect'));
_expect = function () {
return data;
};
return data;
}
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {default: obj};
}
/**

@@ -18,0 +4,0 @@ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.

{
"name": "@jest/globals",
"version": "27.5.1",
"version": "28.0.0-alpha.0",
"repository": {

@@ -10,3 +10,3 @@ "type": "git",

"engines": {
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
"node": "^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"
},

@@ -24,5 +24,5 @@ "license": "MIT",

"dependencies": {
"@jest/environment": "^27.5.1",
"@jest/types": "^27.5.1",
"expect": "^27.5.1"
"@jest/environment": "^28.0.0-alpha.0",
"@jest/types": "^28.0.0-alpha.0",
"expect": "^28.0.0-alpha.0"
},

@@ -32,3 +32,3 @@ "publishConfig": {

},
"gitHead": "67c1aa20c5fec31366d733e901fee2b981cb1850"
"gitHead": "89275b08977065d98e42ad71fcf223f4ad169f09"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc