Comparing version 2.2.3 to 2.2.4
{ | ||
"name": "falafel", | ||
"description": "transform the ast on a recursive walk", | ||
"version": "2.2.3", | ||
"version": "2.2.4", | ||
"repository": { | ||
@@ -29,3 +29,3 @@ "type": "git", | ||
"foreach": "^2.0.5", | ||
"isarray": "0.0.1", | ||
"isarray": "^2.0.1", | ||
"object-keys": "^1.0.6" | ||
@@ -38,2 +38,3 @@ }, | ||
"safe-buffer": "^5.2.0", | ||
"semver": "^6.0.0", | ||
"tape": "^4.0.0" | ||
@@ -40,0 +41,0 @@ }, |
var falafel = require('../'); | ||
var acorn = require('acorn'); | ||
var jsx = require('acorn-jsx'); | ||
var test = require('tape'); | ||
var semver = require('semver'); | ||
var acornWithJsx = acorn.Parser.extend(jsx()); | ||
// acorn-jsx requires node 4 | ||
test('custom parser', { skip: semver.satisfies(process.version, '< 4.0.0') },function (t) { | ||
var acorn = require('acorn'); | ||
var jsx = require('acorn-jsx'); | ||
var acornWithJsx = acorn.Parser.extend(jsx()); | ||
test('custom parser', function (t) { | ||
var src = '(function() { var f = {a: "b"}; var a = <div {...f} className="test"></div>; })()'; | ||
@@ -11,0 +12,0 @@ |
var falafel = require('../'); | ||
var test = require('tape'); | ||
var semver = require('semver'); | ||
test('generators', function (t) { | ||
// it runs the generator so needs node 4+ | ||
test('generators', { skip: semver.satisfies(process.version, '< 4.0.0') }, function (t) { | ||
t.plan(1); | ||
@@ -6,0 +8,0 @@ |
Sorry, the diff of this file is not supported yet
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
69885
476
6
+ Addedisarray@2.0.5(transitive)
- Removedisarray@0.0.1(transitive)
Updatedisarray@^2.0.1