mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 08:44:49 +12:00
remove unused shim object.entries
This commit is contained in:
parent
9956e43c8e
commit
ccffe09bca
2 changed files with 0 additions and 6 deletions
|
@ -26,7 +26,6 @@
|
|||
"homepage": "https://github.com/hydrabolt/discord.js#readme",
|
||||
"dependencies": {
|
||||
"babel-plugin-transform-runtime": "^6.6.0",
|
||||
"object.entries": "^1.0.3",
|
||||
"object.values": "^1.0.3",
|
||||
"superagent": "^1.5.0",
|
||||
"unpipe": "^1.0.0",
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
const entries = require('object.entries');
|
||||
const values = require('object.values');
|
||||
const Client = require('./client/Client');
|
||||
|
||||
if (!Object.entries) {
|
||||
entries.shim();
|
||||
}
|
||||
|
||||
if (!Object.values) {
|
||||
values.shim();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue