Skip to content

Commit 3d0cd27

Browse files
committed
naming
1 parent f37df2e commit 3d0cd27

3 files changed

Lines changed: 208 additions & 191 deletions

File tree

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const util = require('reshape-plugin-util')
22
const gen = require('reshape-code-gen')
33
const parse = require('reshape-parser')
44

5-
module.exports = (_locals = {}) => {
5+
module.exports = function evalCode (_locals = {}) {
66
return function (tree, opts) {
77
const locals = Object.assign({}, opts.locals || {}, _locals)
88
return util.modifyNodes(tree, (node) => {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
"reshape-plugin-util": "^0.2.1"
1414
},
1515
"devDependencies": {
16-
"ava": "^0.19.1",
17-
"codecov": "^2.1.0",
18-
"nyc": "^10.2.0",
16+
"ava": "^0.20.0",
17+
"codecov": "^2.2.0",
18+
"nyc": "^11.0.3",
1919
"reshape": "^0.4.1",
2020
"reshape-expressions": "^0.1.5",
2121
"snazzy": "^7.0.0",

0 commit comments

Comments
 (0)