rework-plugin-function
Advanced tools
Comparing version 0.1.2 to 0.1.3
11
index.js
@@ -7,4 +7,2 @@ | ||
var visit = require('rework-visit'); | ||
var utils = require('rework/lib/utils'); | ||
var strip = utils.stripQuotes; | ||
@@ -96,1 +94,10 @@ /** | ||
/** | ||
* strip quotes from string | ||
* @api private | ||
*/ | ||
function strip(str) { | ||
if ('"' == str[0] || "'" == str[0]) return str.slice(1, -1); | ||
return str; | ||
} |
{ | ||
"name": "rework-plugin-function", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "function() plugin for rework, formerly included in core", | ||
@@ -31,5 +31,2 @@ "main": "index.js", | ||
}, | ||
"peerDependencies": { | ||
"rework": "^0.20.2" | ||
}, | ||
"dependencies": { | ||
@@ -36,0 +33,0 @@ "rework-visit": "^1.0.0" |
6574
1
155