Comparing version 1.2.10 to 1.3.0
{ | ||
"name": "ast-ts", | ||
"version": "1.2.10", | ||
"version": "1.3.0", | ||
"description": "ast representation and transform function with typescript definitions", | ||
@@ -15,3 +15,3 @@ "main": "src/index.js", | ||
"lint": "tslint -p .", | ||
"report": "nyc report --reporter=text-lcov > coverage.lcov && codecov" | ||
"report": "nyc report --reporter=text-lcov > coverage.lcov && codecov -p .." | ||
}, | ||
@@ -25,28 +25,28 @@ "files": [ | ||
"peerDependencies": { | ||
"@stridespark/model-core": "^13.0.0", | ||
"@stridespark/commonwealth": "1.7.0" | ||
"@stridespark/commonwealth": "1.7.0", | ||
"@stridespark/model-core": "^13.0.0" | ||
}, | ||
"devDependencies": { | ||
"@stridespark/model-core": "^13.0.0", | ||
"@types/chai": "^4.0.10", | ||
"@types/mocha": "^2.2.33", | ||
"@types/node": "^8.0.16", | ||
"@stridespark/commonwealth": "1.9.0", | ||
"@stridespark/model-core": "^13.4.0", | ||
"@types/chai": "^4.1.2", | ||
"@types/mocha": "^5.0.0", | ||
"@types/node": "^9.4.6", | ||
"chai": "4.1.2", | ||
"codecov": "^3.0.0", | ||
"istanbul": "0.4.5", | ||
"mocha": "^4.0.1", | ||
"mocha-junit-reporter": "^1.13.0", | ||
"mocha": "^5.0.1", | ||
"mocha-junit-reporter": "^1.17.0", | ||
"mocha-lcov-reporter": "^1.3.0", | ||
"mocha-multi": "^0.11.0", | ||
"mocha-multi": "^1.0.1", | ||
"mocha-notifier-reporter": "^0.1.2", | ||
"nyc": "^11.0.3", | ||
"prettier": "^1.7.4", | ||
"prettier": "^1.11.1", | ||
"publish": "0.6.0", | ||
"source-map-support": "^0.5.0", | ||
"tslint": "^5.7.0", | ||
"tslint-config-prettier": "^1.5.0", | ||
"source-map-support": "^0.5.3", | ||
"tslint": "^5.9.1", | ||
"tslint-config-prettier": "^1.9.0", | ||
"tslint-plugin-prettier": "^1.3.0", | ||
"tslint-stridespark": "^2.0.3", | ||
"typescript": "^2.4.2", | ||
"@stridespark/commonwealth": "1.7.0" | ||
"typescript": "^2.7.2" | ||
}, | ||
@@ -53,0 +53,0 @@ "nyc": { |
@@ -46,3 +46,3 @@ "use strict"; | ||
} | ||
const newContents = commonwealth_1.mapDef(node.content, (n) => replaceNode(n, toRemove, toReplace)); | ||
const newContents = commonwealth_1.mapDef(node.content, (nd) => replaceNode(nd, toRemove, toReplace)); | ||
return Object.assign({}, node, { content: newContents || [] }); | ||
@@ -49,0 +49,0 @@ } |
5128