Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@swc/jest

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc/jest - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

6

index.js

@@ -50,2 +50,5 @@ "use strict";

}
function isEmptyTransformOptions(options) {
return !(options && Object.keys(options).length);
}
function set(obj, path, value) {

@@ -66,3 +69,3 @@ var o = obj;

if (/\.(t|j)sx?$/.test(filename)) {
if (!transformOpts) {
if (isEmptyTransformOptions(transformOpts)) {
var swcOptions = getJestTransformConfig(jestConfig);

@@ -73,3 +76,2 @@ if (!swcOptions) {

}
// set(swcOptions, 'module.type', 'commonjs')
set(swcOptions, 'jsc.transform.hidden.jest', true);

@@ -76,0 +78,0 @@ transformOpts = swcOptions;

{
"name": "@swc/jest",
"version": "0.2.2",
"version": "0.2.3",
"description": "swc integration for jest",

@@ -19,7 +19,7 @@ "main": "index.js",

"peerDependencies": {
"@swc/core": "^1.2.30"
"@swc/core": "*"
},
"devDependencies": {
"@swc/core": "^1.2.77",
"@types/node": "^14.11.1",
"@swc/core": "^1.2.85",
"@types/node": "^14.17.14",
"jest": "^26.4.2",

@@ -26,0 +26,0 @@ "typescript": "^4.0.2"

@@ -9,5 +9,5 @@ # @swc/jest

# if you use npm
npm i -D jest @swc/jest
npm i -D jest @swc/core @swc/jest
# if you use yarn
yarn add jest @swc/jest
yarn add jest @swc/core @swc/jest
```

@@ -14,0 +14,0 @@

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