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

@sucrase/jest-plugin

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sucrase/jest-plugin - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

README.md

2

dist/index.js

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

if (transforms !== null) {
return sucrase_1.transform(src, { transforms });
return sucrase_1.transform(src, { transforms, filePath: filename });
}

@@ -22,0 +22,0 @@ else {

{
"name": "@sucrase/jest-plugin",
"version": "1.0.0",
"version": "1.0.1",
"description": "Jest plugin for Sucrase",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -17,3 +17,3 @@ import {Transform, transform} from "sucrase";

if (transforms !== null) {
return transform(src, {transforms});
return transform(src, {transforms, filePath: filename});
} else {

@@ -20,0 +20,0 @@ return src;

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