* Commit updated Javascript packages * Bump preact from 10.5.4 to 10.5.5 in /build/javascript (#265) * Trying a new github workflow to install javascript packages * Bump tailwindcss from 1.9.2 to 1.9.4 in /build/javascript (#266) Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 1.9.2 to 1.9.4. - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v1.9.2...v1.9.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Commit updated Javascript packages * Bump preact from 10.5.4 to 10.5.5 in /build/javascript Bumps [preact](https://github.com/preactjs/preact) from 10.5.4 to 10.5.5. - [Release notes](https://github.com/preactjs/preact/releases) - [Commits](https://github.com/preactjs/preact/compare/10.5.4...10.5.5) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Gabe Kangas <gabek@real-ity.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Owncast <owncast@owncast.online> * Bump @justinribeiro/lite-youtube in /build/javascript Bumps [@justinribeiro/lite-youtube](https://github.com/justinribeiro/lite-youtube) from 0.9.0 to 0.9.1. - [Release notes](https://github.com/justinribeiro/lite-youtube/releases) - [Commits](https://github.com/justinribeiro/lite-youtube/commits) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Owncast <owncast@owncast.online> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gabe Kangas <gabek@real-ity.com>
58 lines
1.7 KiB
JavaScript
58 lines
1.7 KiB
JavaScript
var xtend = require('xtend')
|
|
var walk = require('acorn-walk')
|
|
|
|
var base = xtend(walk.base)
|
|
base.Import = function () {}
|
|
|
|
function simple (node, visitors, baseVisitor, state, override) {
|
|
return walk.simple(node, visitors, baseVisitor || base, state, override)
|
|
}
|
|
|
|
function ancestor (node, visitors, baseVisitor, state) {
|
|
return walk.ancestor(node, visitors, baseVisitor || base, state)
|
|
}
|
|
|
|
function recursive (node, state, funcs, baseVisitor, override) {
|
|
return walk.recursive(node, state, funcs, baseVisitor || base, override)
|
|
}
|
|
|
|
function full (node, callback, baseVisitor, state, override) {
|
|
return walk.full(node, callback, baseVisitor || base, state, override)
|
|
}
|
|
|
|
function fullAncestor (node, callback, baseVisitor, state) {
|
|
return walk.fullAncestor(node, callback, baseVisitor || base, state)
|
|
}
|
|
|
|
function findNodeAt (node, start, end, test, baseVisitor, state) {
|
|
return walk.findNodeAt(node, start, end, test, baseVisitor || base, state)
|
|
}
|
|
|
|
function findNodeAround (node, pos, test, baseVisitor, state) {
|
|
return walk.findNodeAround(node, pos, test, baseVisitor || base, state)
|
|
}
|
|
|
|
function findNodeAfter (node, pos, test, baseVisitor, state) {
|
|
return walk.findNodeAfter(node, pos, test, baseVisitor || base, state)
|
|
}
|
|
|
|
function findNodeBefore (node, pos, test, baseVisitor, state) {
|
|
return walk.findNodeBefore(node, pos, test, baseVisitor || base, state)
|
|
}
|
|
|
|
function make (funcs, baseVisitor) {
|
|
return walk.make(funcs, baseVisitor || base)
|
|
}
|
|
|
|
exports.simple = simple
|
|
exports.ancestor = ancestor
|
|
exports.recursive = recursive
|
|
exports.full = full
|
|
exports.fullAncestor = fullAncestor
|
|
exports.findNodeAt = findNodeAt
|
|
exports.findNodeAround = findNodeAround
|
|
exports.findNodeAfter = findNodeAfter
|
|
exports.findNodeBefore = findNodeBefore
|
|
exports.make = make
|
|
exports.base = base
|