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/esm/classApplyDescriptorSet.js | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js') diff --git a/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js b/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js index b4df6d30..d9c4fbd2 100644 --- a/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +++ b/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js @@ -1,10 +1,7 @@ -export default 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; } -} \ No newline at end of file +} +export { _classApplyDescriptorSet as default }; \ No newline at end of file -- cgit v1.2.3