Skip to content

Commit

Permalink
Merge pull request #1730 from UziTech/update-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech authored Jul 13, 2020
2 parents 6f7522f + 0d6e056 commit 7fbee6e
Show file tree
Hide file tree
Showing 4 changed files with 1,091 additions and 947 deletions.
29 changes: 17 additions & 12 deletions lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,29 @@
return arr2;
}

function _createForOfIteratorHelperLoose(o) {
var i = 0;
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
var it;

if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) return function () {
if (i >= o.length) return {
done: true
};
return {
done: false,
value: o[i++]
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it) o = it;
var i = 0;
return function () {
if (i >= o.length) return {
done: true
};
return {
done: false,
value: o[i++]
};
};
};
}

throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}

i = o[Symbol.iterator]();
return i.next.bind(i);
it = o[Symbol.iterator]();
return it.next.bind(it);
}

function createCommonjsModule(fn, module) {
Expand Down
2 changes: 1 addition & 1 deletion marked.min.js

Large diffs are not rendered by default.

Loading

1 comment on commit 7fbee6e

@vercel
Copy link

@vercel vercel bot commented on 7fbee6e Jul 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.