exports.links = ['youtube.com/watch?v=', 'youtu.be/', 'youtube.com/embed/', 'vimeo.com/', 'player.vimeo.com/video/', 'player.vimeo.com/'];
exports.buttons = ['/login/like', '/login/watch-later', '/share/facebook', '/share/twitter', '/share/tumblr', 'twitter.com/'];

exports.checkLinkText = (text) => {
  for (let x = 0; x < links.length; x++) {
    if (text.indexOf(links[x]) > -1) {
      for (let y = 0; y < buttons.length; y++) {
        if (text.indexOf(buttons[y]) !== -1) {
          return false;
        } else if (y === (buttons.length - 1)) {
          return true;
      } }
      return false;
  } }
};

@@ -1,16 +1,14 @@
-exports.
+const 
 links = 
@@ -130,24 +130,22 @@
 com/'%5D;%0A
-exports.
+const 
 buttons 
@@ -260,16 +260,14 @@
 %5D;%0A%0A
-exports.
+const 
 chec
@@ -603,8 +603,119 @@
  %7D %7D%0A%7D;%0A
+%0Amodule.exports.links = links;%0Amodule.exports.buttons = buttons;%0Amodule.exports.checkLinkText = checkLinkText;%0A

fix utils exports