jest-environment-node
Advanced tools
Comparing version 29.5.0 to 29.6.0
@@ -25,2 +25,3 @@ /** | ||
customExportConditions: string[]; | ||
private _configuredExportConditions?; | ||
constructor(config: JestEnvironmentConfig, _context: EnvironmentContext); | ||
@@ -27,0 +28,0 @@ setup(): Promise<void>; |
@@ -79,2 +79,3 @@ 'use strict'; | ||
customExportConditions = ['node', 'node-addons']; | ||
_configuredExportConditions; | ||
@@ -160,3 +161,3 @@ // while `context` is unused, it should always be passed | ||
) { | ||
this.customExportConditions = customExportConditions; | ||
this._configuredExportConditions = customExportConditions; | ||
} else { | ||
@@ -208,3 +209,3 @@ throw new Error( | ||
exportConditions() { | ||
return this.customExportConditions; | ||
return this._configuredExportConditions ?? this.customExportConditions; | ||
} | ||
@@ -211,0 +212,0 @@ getVmContext() { |
{ | ||
"name": "jest-environment-node", | ||
"version": "29.5.0", | ||
"version": "29.6.0", | ||
"repository": { | ||
@@ -20,11 +20,11 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/environment": "^29.5.0", | ||
"@jest/fake-timers": "^29.5.0", | ||
"@jest/types": "^29.5.0", | ||
"@jest/environment": "^29.6.0", | ||
"@jest/fake-timers": "^29.6.0", | ||
"@jest/types": "^29.6.0", | ||
"@types/node": "*", | ||
"jest-mock": "^29.5.0", | ||
"jest-util": "^29.5.0" | ||
"jest-mock": "^29.6.0", | ||
"jest-util": "^29.6.0" | ||
}, | ||
"devDependencies": { | ||
"@jest/test-utils": "^29.5.0" | ||
"@jest/test-utils": "^29.6.0" | ||
}, | ||
@@ -37,3 +37,3 @@ "engines": { | ||
}, | ||
"gitHead": "39f3beda6b396665bebffab94e8d7c45be30454c" | ||
"gitHead": "c1e5b8a38ef54bb138409f89831942ebf6a7a67e" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9609
245
Updated@jest/environment@^29.6.0
Updated@jest/fake-timers@^29.6.0
Updated@jest/types@^29.6.0
Updatedjest-mock@^29.6.0
Updatedjest-util@^29.6.0