Socket
Socket
Sign inDemoInstall

ts-jest

Package Overview
Dependencies
Maintainers
3
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-jest - npm Package Compare versions

Comparing version 29.2.4 to 29.2.5

6

dist/legacy/compiler/ts-compiler.js

@@ -116,8 +116,8 @@ "use strict";

TsCompiler.prototype.fixupCompilerOptionsForModuleKind = function (compilerOptions, isEsm) {
var _a;
var moduleResolution = this._ts.ModuleResolutionKind.Node10;
var _a, _b;
var moduleResolution = (_a = this._ts.ModuleResolutionKind.Node10) !== null && _a !== void 0 ? _a : this._ts.ModuleResolutionKind.NodeJs;
if (!isEsm) {
return __assign(__assign({}, compilerOptions), { module: this._ts.ModuleKind.CommonJS, moduleResolution: moduleResolution });
}
var moduleKind = (_a = compilerOptions.module) !== null && _a !== void 0 ? _a : this._ts.ModuleKind.ESNext;
var moduleKind = (_b = compilerOptions.module) !== null && _b !== void 0 ? _b : this._ts.ModuleKind.ESNext;
var esModuleInterop = compilerOptions.esModuleInterop;

@@ -124,0 +124,0 @@ if ([this._ts.ModuleKind.Node16, this._ts.ModuleKind.NodeNext].includes(moduleKind)) {

@@ -138,3 +138,3 @@ "use strict";

return {
extensionsToTreatAsEsm: __spreadArray(__spreadArray([], __read(constants_1.JS_EXT_TO_TREAT_AS_ESM), false), __read(constants_1.TS_EXT_TO_TREAT_AS_ESM), false),
extensionsToTreatAsEsm: __spreadArray([], __read(constants_1.TS_EXT_TO_TREAT_AS_ESM), false),
transform: (_a = {},

@@ -153,3 +153,3 @@ _a[constants_1.ESM_TS_TRANSFORM_PATTERN] = [

return {
extensionsToTreatAsEsm: __spreadArray(__spreadArray([], __read(constants_1.JS_EXT_TO_TREAT_AS_ESM), false), __read(constants_1.TS_EXT_TO_TREAT_AS_ESM), false),
extensionsToTreatAsEsm: __spreadArray([], __read(constants_1.TS_EXT_TO_TREAT_AS_ESM), false),
transform: (_a = {},

@@ -156,0 +156,0 @@ _a[constants_1.ESM_TS_TRANSFORM_PATTERN] = [

{
"name": "ts-jest",
"version": "29.2.4",
"version": "29.2.5",
"main": "dist/index.js",

@@ -14,4 +14,5 @@ "types": "dist/index.d.ts",

"postbuild": "node scripts/post-build.js",
"pretest": "tsc -p tsconfig.spec.json --noEmit && node scripts/create-bundle.js",
"test": "jest",
"test": "jest -c=jest-src.config.ts",
"test-e2e-cjs": "jest -c=jest-e2e.config.cjs --no-cache",
"test-e2e-esm": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js -c=jest-e2e.config.mjs --no-cache",
"test-examples": "node scripts/test-examples.js",

@@ -55,11 +56,11 @@ "lint": "eslint --ext .js,.ts .",

"dependencies": {
"bs-logger": "0.x",
"bs-logger": "^0.2.6",
"ejs": "^3.1.10",
"fast-json-stable-stringify": "2.x",
"fast-json-stable-stringify": "^2.1.0",
"jest-util": "^29.0.0",
"json5": "^2.2.3",
"lodash.memoize": "4.x",
"make-error": "1.x",
"semver": "^7.5.3",
"yargs-parser": "^21.0.1"
"lodash.memoize": "^4.1.2",
"make-error": "^1.3.6",
"semver": "^7.6.3",
"yargs-parser": "^21.1.1"
},

@@ -99,19 +100,19 @@ "peerDependencies": {

"devDependencies": {
"@commitlint/cli": "18.6.1",
"@commitlint/config-angular": "18.6.1",
"@commitlint/cli": "~18.6.1",
"@commitlint/config-angular": "~18.6.1",
"@jest/globals": "^29.7.0",
"@jest/transform": "^29.7.0",
"@jest/types": "^29.6.3",
"@types/babel__core": "7.20.5",
"@types/cross-spawn": "latest",
"@types/babel__core": "^7.20.5",
"@types/ejs": "^3.1.5",
"@types/fs-extra": "latest",
"@types/js-yaml": "latest",
"@types/lodash.camelcase": "4.3.9",
"@types/lodash.memoize": "4.1.9",
"@types/lodash.set": "4.3.9",
"@types/micromatch": "4.0.9",
"@types/node": "20.14.13",
"@types/react": "18.x",
"@types/semver": "latest",
"@types/yargs": "latest",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.12",
"@types/js-yaml": "^4.0.9",
"@types/lodash.camelcase": "^4.3.9",
"@types/lodash.memoize": "^4.1.9",
"@types/lodash.set": "^4.3.9",
"@types/micromatch": "^4.0.9",
"@types/node": "20.16.1",
"@types/semver": "^7.5.8",
"@types/yargs": "^17.0.33",
"@types/yargs-parser": "21.0.3",

@@ -122,3 +123,2 @@ "@typescript-eslint/eslint-plugin": "^7.18.0",

"conventional-changelog-cli": "^5.0.0",
"cross-spawn": "latest",
"esbuild": "~0.21.5",

@@ -128,16 +128,15 @@ "eslint": "^8.57.0",

"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-jsdoc": "^48.10.2",
"eslint-plugin-jest": "^28.8.0",
"eslint-plugin-jsdoc": "^48.11.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"execa": "5.1.1",
"fs-extra": "11.2.0",
"fs-extra": "^11.2.0",
"glob": "^10.2.6",
"glob-gitignore": "latest",
"husky": "4.x",
"glob-gitignore": "^1.0.14",
"husky": "~4.3.8",
"jest": "^29.7.0",
"jest-snapshot-serializer-raw": "^1.2.0",
"js-yaml": "latest",
"js-yaml": "^4.1.0",
"json-schema-to-typescript": "^13.1.2",
"lint-staged": "latest",
"lint-staged": "^15.2.9",
"prettier": "^2.8.8",

@@ -144,0 +143,0 @@ "typescript": "~5.5.4"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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