mirror of
https://github.com/danbulant/discord.js
synced 2026-06-24 09:12:22 +00: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",
|
"homepage": "https://github.com/hydrabolt/discord.js#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-plugin-transform-runtime": "^6.6.0",
|
"babel-plugin-transform-runtime": "^6.6.0",
|
||||||
"object.entries": "^1.0.3",
|
|
||||||
"object.values": "^1.0.3",
|
"object.values": "^1.0.3",
|
||||||
"superagent": "^1.5.0",
|
"superagent": "^1.5.0",
|
||||||
"unpipe": "^1.0.0",
|
"unpipe": "^1.0.0",
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,8 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const entries = require('object.entries');
|
|
||||||
const values = require('object.values');
|
const values = require('object.values');
|
||||||
const Client = require('./client/Client');
|
const Client = require('./client/Client');
|
||||||
|
|
||||||
if (!Object.entries) {
|
|
||||||
entries.shim();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!Object.values) {
|
if (!Object.values) {
|
||||||
values.shim();
|
values.shim();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue