From 29433e2f7dbd0e4a73d3c78ffe1005b922fb5982 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Sun, 26 Mar 2017 15:18:10 -0400 Subject: Don't mind me i'm adding the discord.js files --- node_modules/ws/lib/Validation.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 node_modules/ws/lib/Validation.js (limited to 'node_modules/ws/lib/Validation.js') diff --git a/node_modules/ws/lib/Validation.js b/node_modules/ws/lib/Validation.js new file mode 100644 index 0000000..0adace5 --- /dev/null +++ b/node_modules/ws/lib/Validation.js @@ -0,0 +1,19 @@ +'use strict'; + +/*! + * ws: a node.js websocket client + * Copyright(c) 2011 Einar Otto Stangvik + * MIT Licensed + */ + +var isValidUTF8; + +try { + isValidUTF8 = require('utf-8-validate'); +} catch (e) { + isValidUTF8 = require('./Validation.fallback'); +} + +module.exports = typeof isValidUTF8 === 'object' + ? isValidUTF8.Validation.isValidUTF8 + : isValidUTF8; -- cgit v1.2.3