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 5.2.0 to 5.3.0

9

dist/index.js

@@ -273,4 +273,11 @@ 'use strict';

var output = _fs2.default.readFileSync(_path2.default.join(fixtureDir, `${fixtureOutputName}.js`), 'utf8').trim();
var outputPath = _path2.default.join(fixtureDir, `${fixtureOutputName}.js`);
if (!_fs2.default.existsSync(outputPath)) {
_fs2.default.writeFileSync(outputPath, actual);
return;
}
var output = _fs2.default.readFileSync(outputPath, 'utf8').trim();
_assert2.default.equal(actual, output, 'actual output does not match output.js');

@@ -277,0 +284,0 @@ });

2

package.json

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

{"name":"babel-plugin-tester","version":"5.2.0","description":"Utilities for testing babel plugins","main":"dist/index.js","engines":{"node":"> 4","npm":"> 3"},"scripts":{"add-contributor":"kcd-scripts contributors add","build":"kcd-scripts build","lint":"kcd-scripts lint","test":"kcd-scripts test","test:update":"npm test -- --updateSnapshot --coverage","validate":"kcd-scripts validate","precommit":"kcd-scripts precommit"},"files":["dist"],"keywords":[],"author":"Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)","license":"MIT","dependencies":{"common-tags":"^1.4.0","invariant":"^2.2.2","lodash.merge":"^4.6.0","path-exists":"^3.0.0","strip-indent":"^2.0.0"},"devDependencies":{"babel-core":"^6.25.0","babel-plugin-syntax-trailing-function-commas":"^6.22.0","babel-plugin-transform-async-generator-functions":"^6.24.1","babel-plugin-transform-async-to-generator":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2","kcd-scripts":"^0.16.3"},"peerDependencies":{"babel-core":"^6.0.0 || ^7.0.0-alpha || ^7.0.0-beta || ^7.0.0"},"eslintConfig":{"extends":"./node_modules/kcd-scripts/eslint.js","rules":{"max-lines":0}},"eslintIgnore":["node_modules","coverage","dist","fixtures"],"babel":{"presets":[["env",{"targets":{"node":"4.5"},"exclude":["transform-regenerator"]}]],"plugins":["babel-plugin-syntax-trailing-function-commas","transform-async-to-generator","transform-async-generator-functions","transform-object-rest-spread"]},"repository":{"type":"git","url":"https://github.com/babel-utils/babel-plugin-tester.git"},"bugs":{"url":"https://github.com/babel-utils/babel-plugin-tester/issues"},"homepage":"https://github.com/babel-utils/babel-plugin-tester#readme"}
{"name":"babel-plugin-tester","version":"5.3.0","description":"Utilities for testing babel plugins","main":"dist/index.js","engines":{"node":"> 4","npm":"> 3"},"scripts":{"add-contributor":"kcd-scripts contributors add","build":"kcd-scripts build","lint":"kcd-scripts lint","test":"kcd-scripts test","test:update":"npm test -- --updateSnapshot --coverage","validate":"kcd-scripts validate","precommit":"kcd-scripts precommit"},"files":["dist"],"keywords":[],"author":"Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)","license":"MIT","dependencies":{"common-tags":"^1.4.0","invariant":"^2.2.2","lodash.merge":"^4.6.0","path-exists":"^3.0.0","strip-indent":"^2.0.0"},"devDependencies":{"babel-core":"^6.25.0","babel-plugin-syntax-trailing-function-commas":"^6.22.0","babel-plugin-transform-async-generator-functions":"^6.24.1","babel-plugin-transform-async-to-generator":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.5.2","kcd-scripts":"^0.16.3"},"peerDependencies":{"babel-core":"^6.0.0 || ^7.0.0-alpha || ^7.0.0-beta || ^7.0.0"},"eslintConfig":{"extends":"./node_modules/kcd-scripts/eslint.js","rules":{"max-lines":0}},"eslintIgnore":["node_modules","coverage","dist","fixtures"],"babel":{"presets":[["env",{"targets":{"node":"4.5"},"exclude":["transform-regenerator"]}]],"plugins":["babel-plugin-syntax-trailing-function-commas","transform-async-to-generator","transform-async-generator-functions","transform-object-rest-spread"]},"repository":{"type":"git","url":"https://github.com/babel-utils/babel-plugin-tester.git"},"bugs":{"url":"https://github.com/babel-utils/babel-plugin-tester/issues"},"homepage":"https://github.com/babel-utils/babel-plugin-tester#readme"}
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