From d893abd59c05d83c183d98ba3edd88cf30ebc60f Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Mon, 20 Dec 2021 17:50:49 +0700 Subject: [PATCH] leaving `DOMException` without `Object#toString` dependency should be safe --- packages/core-js/stable/dom-exception/constructor.js | 1 - packages/core-js/stable/dom-exception/index.js | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/core-js/stable/dom-exception/constructor.js b/packages/core-js/stable/dom-exception/constructor.js index 146f2058dbaa..41be03ed02d5 100644 --- a/packages/core-js/stable/dom-exception/constructor.js +++ b/packages/core-js/stable/dom-exception/constructor.js @@ -1,5 +1,4 @@ require('../../modules/es.error.to-string'); -require('../../modules/es.object.to-string'); require('../../modules/web.dom-exception.constructor'); require('../../modules/web.dom-exception.stack'); var path = require('../../internals/path'); diff --git a/packages/core-js/stable/dom-exception/index.js b/packages/core-js/stable/dom-exception/index.js index 8daa78612177..4c90ed4dcff8 100644 --- a/packages/core-js/stable/dom-exception/index.js +++ b/packages/core-js/stable/dom-exception/index.js @@ -1,5 +1,4 @@ require('../../modules/es.error.to-string'); -require('../../modules/es.object.to-string'); require('../../modules/web.dom-exception.constructor'); require('../../modules/web.dom-exception.stack'); require('../../modules/web.dom-exception.to-string-tag');