Socket
Socket
Sign inDemoInstall

@swc/jest

Package Overview
Dependencies
Maintainers
1
Versions
39
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.12 to 0.2.14

8

index.js

@@ -41,5 +41,5 @@ "use strict";

/**
* Loads closes package.json in the directory hierarchy
* Loads closest package.json in the directory hierarchy
*/
function loadClosesPackageJson(attempts) {
function loadClosestPackageJson(attempts) {
if (attempts === void 0) { attempts = 1; }

@@ -54,6 +54,6 @@ if (attempts > 5) {

catch (e) {
return loadClosesPackageJson(attempts + 1);
return loadClosestPackageJson(attempts + 1);
}
}
var packageConfig = loadClosesPackageJson();
var packageConfig = loadClosestPackageJson();
var isEsmProject = packageConfig.type === 'module';

@@ -60,0 +60,0 @@ // Jest use the `vm` [Module API](https://nodejs.org/api/vm.html#vm_class_vm_module) for ESM.

{
"name": "@swc/jest",
"version": "0.2.12",
"version": "0.2.14",
"description": "swc integration for jest",

@@ -38,5 +38,2 @@ "main": "index.js",

],
"engines": {
"npm": ">= 7.0.0"
},
"workspaces": [

@@ -43,0 +40,0 @@ "examples/*"

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