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

babel-plugin-tester

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-tester - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

6

dist/index.js

@@ -236,3 +236,3 @@ 'use strict';

} else if (error) {
assertError(error, result);
assertError(result, error);
} else if (output) {

@@ -280,3 +280,3 @@ _assert2.default.equal(result, output, 'Output is incorrect.');

_assert2.default.equal(output, actual, 'actual output does not match output.js');
_assert2.default.equal(actual, output, 'actual output does not match output.js');
});

@@ -355,3 +355,3 @@ });

// eslint-disable-next-line complexity
function assertError(error, result) {
function assertError(result, error) {
if (typeof error === 'function') {

@@ -358,0 +358,0 @@ if (!(result instanceof error || error(result) === true)) {

{
"name": "babel-plugin-tester",
"version": "3.2.0",
"version": "3.2.1",
"description": "Utilities for testing babel plugins",

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

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