From efbc2ffe6a1ee5ec38a4396305561d6515d0943e Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 30 Aug 2024 17:21:18 +0800 Subject: node fixes, updates --- .../@babel/runtime/helpers/classApplyDescriptorSet.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js') diff --git a/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js b/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js index 71bbf1df..0975f95f 100644 --- a/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +++ b/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js @@ -1,11 +1,7 @@ -function _classApplyDescriptorSet(receiver, descriptor, value) { - if (descriptor.set) { - descriptor.set.call(receiver, value); - } else { - if (!descriptor.writable) { - throw new TypeError("attempted to set read only private field"); - } - descriptor.value = value; +function _classApplyDescriptorSet(e, t, l) { + if (t.set) t.set.call(e, l);else { + if (!t.writable) throw new TypeError("attempted to set read only private field"); + t.value = l; } } module.exports = _classApplyDescriptorSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file -- cgit v1.2.3