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 2.1.0 to 2.1.1

6

CHANGELOG.md

@@ -0,1 +1,5 @@

# 2.1.1 (2021-08-09)
* Add support for Jest 27. ([#640]) (Victor Pontis)
# 2.1.0 (2021-04-11)

@@ -8,1 +12,3 @@

* Switch Sucrase dependency to `^3`, update code to use new return type.
[#640]: https://github.com/alangpierce/sucrase/pull/640

4

dist/index.d.ts
export declare function process(src: string, filename: string): string;
declare const _default: {
process: typeof process;
};
export default _default;

@@ -22,1 +22,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _sucrase = require('sucrase');

} exports.process = process;
exports. default = {process};

2

package.json
{
"name": "@sucrase/jest-plugin",
"version": "2.1.0",
"version": "2.1.1",
"description": "Jest plugin for Sucrase",

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

@@ -19,3 +19,3 @@ # Sucrase Jest plugin

...
transform: { ".(js|jsx|tx|tsx)": "@sucrase/jest-plugin" },
transform: { ".(js|jsx|ts|tsx)": "@sucrase/jest-plugin" },
...

@@ -22,0 +22,0 @@ ```

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

}
export default {process};
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