babel-plugin-transform-comment-to-assert
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -10,5 +10,5 @@ 'use strict'; | ||
function visitor(_ref) { | ||
var t = _ref.types; | ||
var template = _ref.template; | ||
var transform = _ref.transform; | ||
var t = _ref.types, | ||
template = _ref.template, | ||
transform = _ref.transform; | ||
@@ -15,0 +15,0 @@ var assertTemplate = template('\n assert.deepEqual($0, $1)\n '); |
{ | ||
"name": "babel-plugin-transform-comment-to-assert", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Replace commented expressions with assert statements", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -1,7 +0,6 @@ | ||
# babel-plugin-transform-comment-to-assert | ||
[![Build Status][travis-image]][travis-url] [![npm][npm-image]][npm-url] | ||
# babel-plugin-transform-comment-to-assert [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] | ||
[travis-image]: https://img.shields.io/travis/laat/babel-plugin-transform-comment-to-assert.svg?style=flat | ||
[travis-url]: https://travis-ci.org/laat/babel-plugin-transform-comment-to-assert | ||
[npm-image]: https://img.shields.io/npm/v/babel-plugin-transform-comment-to-assert.svg?style=flat | ||
[npm-url]: https://npmjs.org/package/babel-plugin-transform-comment-to-assert | ||
[travis-image]: https://travis-ci.org/laat/babel-plugin-transform-comment-to-assert.svg?branch=master | ||
[travis-url]: https://travis-ci.org/laat/babel-plugin-transform-comment-to-assert | ||
@@ -50,3 +49,3 @@ > replace commented expressions with assert statements | ||
replace("console.log('foo') //=> 'bar'") | ||
//=> "console.log('foo'); //=> 'bar'\n\nassert.deepEqual('foo', 'bar');" | ||
//=> "console.log('foo');assert.deepEqual('foo', 'bar');" | ||
``` | ||
@@ -53,0 +52,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5729
90