jest-util
Advanced tools
Comparing version 29.3.1 to 29.7.0
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -55,3 +55,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -58,0 +58,0 @@ * This source code is licensed under the MIT license found in the |
@@ -12,3 +12,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -90,3 +90,3 @@ * This source code is licensed under the MIT license found in the | ||
if (newProcess[Symbol.toStringTag] !== 'process') { | ||
e.message = `Unable to set toStringTag on process. Please open up an issue at https://github.com/facebook/jest\n\n${e.message}`; | ||
e.message = `Unable to set toStringTag on process. Please open up an issue at https://github.com/jestjs/jest\n\n${e.message}`; | ||
throw e; | ||
@@ -93,0 +93,0 @@ } |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -21,3 +21,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -24,0 +24,0 @@ * This source code is licensed under the MIT license found in the |
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -82,4 +82,11 @@ * This source code is licensed under the MIT license found in the | ||
export declare function invariant( | ||
condition: unknown, | ||
message?: string, | ||
): asserts condition; | ||
export declare const isInteractive: boolean; | ||
export declare function isNonNullable<T>(value: T): value is NonNullable<T>; | ||
export declare function isPromise<T = unknown>( | ||
@@ -91,3 +98,7 @@ candidate: unknown, | ||
export declare function pluralize(word: string, count: number): string; | ||
export declare function pluralize( | ||
word: string, | ||
count: number, | ||
ending?: string, | ||
): string; | ||
@@ -94,0 +105,0 @@ declare namespace preRunMessage { |
@@ -60,2 +60,8 @@ 'use strict'; | ||
}); | ||
Object.defineProperty(exports, 'invariant', { | ||
enumerable: true, | ||
get: function () { | ||
return _invariant.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'isInteractive', { | ||
@@ -67,2 +73,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, 'isNonNullable', { | ||
enumerable: true, | ||
get: function () { | ||
return _isNonNullable.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'isPromise', { | ||
@@ -145,2 +157,4 @@ enumerable: true, | ||
); | ||
var _invariant = _interopRequireDefault2(require('./invariant')); | ||
var _isNonNullable = _interopRequireDefault2(require('./isNonNullable')); | ||
function _interopRequireDefault2(obj) { | ||
@@ -147,0 +161,0 @@ return obj && obj.__esModule ? obj : {default: obj}; |
@@ -62,3 +62,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -65,0 +65,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -15,3 +15,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -18,0 +18,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -15,4 +15,4 @@ * This source code is licensed under the MIT license found in the | ||
function pluralize(word, count) { | ||
return `${count} ${word}${count === 1 ? '' : 's'}`; | ||
function pluralize(word, count, ending = 's') { | ||
return `${count} ${word}${count === 1 ? '' : ending}`; | ||
} |
@@ -21,3 +21,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -24,0 +24,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -28,3 +28,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -31,0 +31,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -15,3 +15,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -18,0 +18,0 @@ * This source code is licensed under the MIT license found in the |
{ | ||
"name": "jest-util", | ||
"version": "29.3.1", | ||
"version": "29.7.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/facebook/jest.git", | ||
"url": "https://github.com/jestjs/jest.git", | ||
"directory": "packages/jest-util" | ||
@@ -20,3 +20,3 @@ }, | ||
"dependencies": { | ||
"@jest/types": "^29.3.1", | ||
"@jest/types": "^29.6.3", | ||
"@types/node": "*", | ||
@@ -38,3 +38,3 @@ "chalk": "^4.0.0", | ||
}, | ||
"gitHead": "05deb8393c4ad71e19be2567b704dfd3a2ab5fc9" | ||
"gitHead": "4e56991693da7cd4c3730dc3579a1dd1403ee630" | ||
} |
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
41845
27
1159
1
88
Updated@jest/types@^29.6.3