Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jestjs/jest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v27.4.2
Choose a base ref
...
head repository: jestjs/jest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v27.4.3
Choose a head ref
  • 3 commits
  • 11 files changed
  • 1 contributor

Commits on Nov 30, 2021

  1. Copy the full SHA
    26abf9a View commit details

Commits on Dec 1, 2021

  1. Copy the full SHA
    f9814d2 View commit details
  2. v27.4.3

    SimenB committed Dec 1, 2021
    Copy the full SHA
    6b4fcbc View commit details
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -8,6 +8,12 @@

### Performance

## 27.4.3

### Fixes

- `[jest-environment-jsdom]` Remove `@types/jsdom` dependency (and make its `dom` property `private`) ([#12107](https://github.com/facebook/jest/pull/12107))

## 27.4.2

### Fixes
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "27.4.2",
"version": "27.4.3",
"npmClient": "yarn",
"packages": [
"packages/*"
6 changes: 3 additions & 3 deletions packages/jest-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jest-cli",
"description": "Delightful JavaScript Testing.",
"version": "27.4.2",
"version": "27.4.3",
"main": "./build/index.js",
"types": "./build/index.d.ts",
"exports": {
@@ -13,14 +13,14 @@
"./bin/jest": "./bin/jest.js"
},
"dependencies": {
"@jest/core": "^27.4.2",
"@jest/core": "^27.4.3",
"@jest/test-result": "^27.4.2",
"@jest/types": "^27.4.2",
"chalk": "^4.0.0",
"exit": "^0.1.2",
"graceful-fs": "^4.2.4",
"import-local": "^3.0.2",
"jest-config": "^27.4.2",
"jest-config": "^27.4.3",
"jest-util": "^27.4.2",
"jest-validate": "^27.4.2",
"prompts": "^2.0.1",
6 changes: 3 additions & 3 deletions packages/jest-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jest-config",
"version": "27.4.2",
"version": "27.4.3",
"repository": {
"type": "git",
"url": "https://github.com/facebook/jest.git",
@@ -35,13 +35,13 @@
"glob": "^7.1.1",
"graceful-fs": "^4.2.4",
"jest-circus": "^27.4.2",
"jest-environment-jsdom": "^27.4.2",
"jest-environment-jsdom": "^27.4.3",
"jest-environment-node": "^27.4.2",
"jest-get-type": "^27.4.0",
"jest-jasmine2": "^27.4.2",
"jest-regex-util": "^27.4.0",
"jest-resolve": "^27.4.2",
"jest-runner": "^27.4.2",
"jest-runner": "^27.4.3",
"jest-util": "^27.4.2",
"jest-validate": "^27.4.2",
"micromatch": "^4.0.4",
6 changes: 3 additions & 3 deletions packages/jest-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@jest/core",
"description": "Delightful JavaScript Testing.",
"version": "27.4.2",
"version": "27.4.3",
"main": "./build/jest.js",
"types": "./build/jest.d.ts",
"exports": {
@@ -24,13 +24,13 @@
"exit": "^0.1.2",
"graceful-fs": "^4.2.4",
"jest-changed-files": "^27.4.2",
"jest-config": "^27.4.2",
"jest-config": "^27.4.3",
"jest-haste-map": "^27.4.2",
"jest-message-util": "^27.4.2",
"jest-regex-util": "^27.4.0",
"jest-resolve": "^27.4.2",
"jest-resolve-dependencies": "^27.4.2",
"jest-runner": "^27.4.2",
"jest-runner": "^27.4.3",
"jest-runtime": "^27.4.2",
"jest-snapshot": "^27.4.2",
"jest-util": "^27.4.2",
6 changes: 3 additions & 3 deletions packages/jest-environment-jsdom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jest-environment-jsdom",
"version": "27.4.2",
"version": "27.4.3",
"repository": {
"type": "git",
"url": "https://github.com/facebook/jest.git",
@@ -20,14 +20,14 @@
"@jest/environment": "^27.4.2",
"@jest/fake-timers": "^27.4.2",
"@jest/types": "^27.4.2",
"@types/jsdom": "^16.2.4",
"@types/node": "*",
"jest-mock": "^27.4.2",
"jest-util": "^27.4.2",
"jsdom": "^16.6.0"
},
"devDependencies": {
"@jest/test-utils": "^27.4.2"
"@jest/test-utils": "^27.4.2",
"@types/jsdom": "^16.2.4"
},
"engines": {
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
4 changes: 2 additions & 2 deletions packages/jest-environment-jsdom/src/index.ts
Original file line number Diff line number Diff line change
@@ -23,11 +23,11 @@ type Win = Window &
};

class JSDOMEnvironment implements JestEnvironment<number> {
dom: JSDOM | null;
private dom: JSDOM | null;
fakeTimers: LegacyFakeTimers<number> | null;
fakeTimersModern: ModernFakeTimers | null;
global: Win;
errorEventListener: ((event: Event & {error: Error}) => void) | null;
private errorEventListener: ((event: Event & {error: Error}) => void) | null;
moduleMocker: ModuleMocker | null;

constructor(config: Config.ProjectConfig, options?: EnvironmentContext) {
4 changes: 2 additions & 2 deletions packages/jest-repl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jest-repl",
"version": "27.4.2",
"version": "27.4.3",
"repository": {
"type": "git",
"url": "https://github.com/facebook/jest.git",
@@ -24,7 +24,7 @@
"@jest/transform": "^27.4.2",
"@jest/types": "^27.4.2",
"chalk": "^4.0.0",
"jest-config": "^27.4.2",
"jest-config": "^27.4.3",
"jest-runtime": "^27.4.2",
"jest-util": "^27.4.2",
"jest-validate": "^27.4.2",
4 changes: 2 additions & 2 deletions packages/jest-runner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jest-runner",
"version": "27.4.2",
"version": "27.4.3",
"repository": {
"type": "git",
"url": "https://github.com/facebook/jest.git",
@@ -28,7 +28,7 @@
"exit": "^0.1.2",
"graceful-fs": "^4.2.4",
"jest-docblock": "^27.4.0",
"jest-environment-jsdom": "^27.4.2",
"jest-environment-jsdom": "^27.4.3",
"jest-environment-node": "^27.4.2",
"jest-haste-map": "^27.4.2",
"jest-leak-detector": "^27.4.2",
6 changes: 3 additions & 3 deletions packages/jest/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jest",
"description": "Delightful JavaScript Testing.",
"version": "27.4.2",
"version": "27.4.3",
"main": "./build/jest.js",
"types": "./build/jest.d.ts",
"exports": {
@@ -13,9 +13,9 @@
"./bin/jest": "./bin/jest.js"
},
"dependencies": {
"@jest/core": "^27.4.2",
"@jest/core": "^27.4.3",
"import-local": "^3.0.2",
"jest-cli": "^27.4.2"
"jest-cli": "^27.4.3"
},
"peerDependencies": {
"node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
Loading