X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fcore-js%2Finternals%2Fset-to-string-tag.js;h=223bccf5fbaf0bf6b2cf33e3d25d6896cc699f2a;hb=3be0a9efc698a9570a44456009afc6014812625a;hp=4f497664ae9cd4b1b2fccdffb4c04c41114487cb;hpb=3c06164f15bd10aed7d66b6314764a2961a14762;p=dotfiles%2F.git diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/set-to-string-tag.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/set-to-string-tag.js index 4f497664..223bccf5 100644 --- a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/set-to-string-tag.js +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/set-to-string-tag.js @@ -1,11 +1,11 @@ var defineProperty = require('../internals/object-define-property').f; -var has = require('../internals/has'); +var hasOwn = require('../internals/has-own-property'); var wellKnownSymbol = require('../internals/well-known-symbol'); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); module.exports = function (it, TAG, STATIC) { - if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) { + if (it && !hasOwn(it = STATIC ? it : it.prototype, TO_STRING_TAG)) { defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG }); } };