Skip to content

Commit

Permalink
chore: bump deps (#11419)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed May 18, 2021
1 parent a4358d6 commit 2047a36
Show file tree
Hide file tree
Showing 8 changed files with 1,553 additions and 1,645 deletions.
1 change: 1 addition & 0 deletions e2e/__tests__/presets.test.ts
Expand Up @@ -20,6 +20,7 @@ test.each(['js', 'cjs'])('supports %s preset', presetDir => {
});

onNodeVersions('^12.17.0 || >=13.2.0', () => {
// eslint-disable-next-line jest/no-identical-title
test.each(['mjs', 'js-type-module'])('supports %s preset', presetDir => {
const result = runJest(`presets/${presetDir}`);

Expand Down
1 change: 1 addition & 0 deletions e2e/__tests__/watch-plugins.test.ts
Expand Up @@ -28,6 +28,7 @@ test.each(['js', 'cjs'])('supports %s watch plugins', async watchPluginDir => {

onNodeVersions('^12.17.0 || >=13.2.0', () => {
test.each(['mjs', 'js-type-module'])(
// eslint-disable-next-line jest/no-identical-title
'supports %s watch plugins',
async watchPluginDir => {
const testRun = runContinuous(`watch-plugins/${watchPluginDir}`, [
Expand Down
12 changes: 6 additions & 6 deletions examples/angular/package.json
Expand Up @@ -6,12 +6,12 @@
},
"private": true,
"dependencies": {
"@angular/common": "^11.0.0",
"@angular/compiler": "^11.0.0",
"@angular/core": "^11.0.0",
"@angular/forms": "^11.0.0",
"@angular/platform-browser": "^11.0.0",
"@angular/platform-browser-dynamic": "^11.0.0",
"@angular/common": "^12.0.0",
"@angular/compiler": "^12.0.0",
"@angular/core": "^12.0.0",
"@angular/forms": "^12.0.0",
"@angular/platform-browser": "^12.0.0",
"@angular/platform-browser-dynamic": "^12.0.0",
"core-js": "^3.2.1",
"rxjs": "^6.5.3",
"tslib": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -80,7 +80,7 @@
"tempy": "^1.0.0",
"throat": "^6.0.1",
"ts-node": "^9.0.0",
"type-fest": "^0.21.1",
"type-fest": "^1.1.1",
"typescript": "^4.0.2",
"which": "^2.0.1"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/jest-core/src/collectHandles.ts
Expand Up @@ -39,6 +39,7 @@ function stackIsFromUser(stack: string) {

const alwaysActive = () => true;

// @ts-expect-error: doesn't exist in v10 typings
const hasWeakRef = typeof WeakRef === 'function';

// Inspired by https://github.com/mafintosh/why-is-node-running/blob/master/index.js
Expand Down Expand Up @@ -75,9 +76,9 @@ export default function collectHandles(): HandleCollectionResult {
// Timer that supports hasRef (Node v11+)
if ('hasRef' in resource) {
if (hasWeakRef) {
// @ts-expect-error: doesn't exist in v10 typings
const ref = new WeakRef(resource);
isActive = () => {
// @ts-expect-error: doesn't exist in v10 typings
return ref.deref()?.hasRef() ?? false;
};
} else {
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-worker/package.json
Expand Up @@ -20,7 +20,7 @@
},
"devDependencies": {
"@types/merge-stream": "^1.1.2",
"@types/supports-color": "^7.2.0",
"@types/supports-color": "^8.1.0",
"get-stream": "^6.0.0",
"jest-leak-detector": "^27.0.0-next.9",
"worker-farm": "^1.6.0"
Expand Down
8 changes: 4 additions & 4 deletions website/package.json
Expand Up @@ -29,10 +29,10 @@
]
},
"dependencies": {
"@docusaurus/core": "2.0.0-alpha.75",
"@docusaurus/plugin-client-redirects": "2.0.0-alpha.75",
"@docusaurus/plugin-pwa": "2.0.0-alpha.75",
"@docusaurus/preset-classic": "2.0.0-alpha.75",
"@docusaurus/core": "2.0.0-beta.0",
"@docusaurus/plugin-client-redirects": "2.0.0-beta.0",
"@docusaurus/plugin-pwa": "2.0.0-beta.0",
"@docusaurus/preset-classic": "2.0.0-beta.0",
"clsx": "^1.1.1",
"fs-extra": "^9.0.1",
"globby": "^11.0.1",
Expand Down

0 comments on commit 2047a36

Please sign in to comment.