Skip to content

Commit 61d9aef

Browse files
committed
fix: use var instead of const for backward compatibility
1 parent 57ccc9d commit 61d9aef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/unist-util-map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// LICENSE : MIT
22
"use strict";
3-
const ObjectAssign = require("object-assign");
3+
var ObjectAssign = require("object-assign");
44
module.exports = function map(ast, mapFn) {
55
return (function preorder(node, index, parent) {
66
const newNode = ObjectAssign({}, mapFn(node, index, parent));

0 commit comments

Comments
 (0)