From 52865e5bdfb447e7799cd900a225701a80fa8be5 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Tue, 12 Dec 2023 14:32:55 +0100 Subject: [PATCH] Update @yarnpkg/plugin-nolyfill --- .yarn/plugins/@yarnpkg/plugin-nolyfill.cjs | 2 +- .yarnrc.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.yarn/plugins/@yarnpkg/plugin-nolyfill.cjs b/.yarn/plugins/@yarnpkg/plugin-nolyfill.cjs index 9a8e50a2..02234458 100644 --- a/.yarn/plugins/@yarnpkg/plugin-nolyfill.cjs +++ b/.yarn/plugins/@yarnpkg/plugin-nolyfill.cjs @@ -3,7 +3,7 @@ module.exports = { name: "@yarnpkg/plugin-nolyfill", factory: function (require) { -"use strict";var plugin=(()=>{var p=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var y=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+r+'" is not supported')});var c=(r,e)=>{for(var t in e)p(r,t,{get:e[t],enumerable:!0})},g=(r,e,t,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of l(e))!n.call(r,o)&&o!==t&&p(r,o,{get:()=>e[o],enumerable:!(s=i(e,o))||s.enumerable});return r};var f=r=>g(p({},"__esModule",{value:!0}),r);var j={};c(j,{default:()=>w});var a=y("@yarnpkg/core"),d=[["array-includes"],["array.prototype.findlastindex"],["array.prototype.findlast"],["array.prototype.at"],["string.prototype.at"],["array.prototype.flat"],["array.prototype.flatmap"],["arraybuffer.prototype.slice"],["function.prototype.name"],["has"],["object-keys"],["object.assign"],["object.entries"],["object.fromentries"],["object.hasown"],["object.values"],["string.prototype.trim"],["string.prototype.trimend"],["string.prototype.trimstart"],["string.prototype.trimleft"],["string.prototype.trimright"],["string.prototype.matchall"],["regexp.prototype.flags"],["globalthis"],["array.prototype.tosorted"],["object.groupby"],["array.prototype.find"],["array.from"],["string.prototype.padend"],["string.prototype.padstart"],["object.getownpropertydescriptors"],["array.prototype.reduce"],["object-is"],["reflect.ownkeys"],["string.prototype.replaceall"],["reflect.getprototypeof"],["es-aggregate-error"],["promise.any",{"@nolyfill/es-aggregate-error":"workspace:*"},">=12.4.0"],["promise.allsettled"]],h=[["has-property-descriptors"],["gopd"],["has-proto"],["get-symbol-description",{"@nolyfill/shared":"workspace:*"}],["is-array-buffer",{"@nolyfill/shared":"workspace:*"}],["is-shared-array-buffer",{"@nolyfill/shared":"workspace:*"}],["typed-array-buffer",{"@nolyfill/shared":"workspace:*"}],["typed-array-byte-length",{"@nolyfill/shared":"workspace:*"}],["typed-array-byte-offset",{"@nolyfill/shared":"workspace:*"}],["typed-array-length",{"@nolyfill/shared":"workspace:*"}],["harmony-reflect"],["array-buffer-byte-length",{"@nolyfill/is-array-buffer":"workspace:*","@nolyfill/shared":"workspace:*"}],["iterator.prototype"],["available-typed-arrays"],["which-typed-array",{"@nolyfill/shared":"workspace:*"}],["which-boxed-primitive"],["unbox-primitive"],["is-regex"],["safe-regex-test"],["safe-array-concat"],["asynciterator.prototype"],["is-weakref"],["is-symbol"],["is-string"],["is-date-object"],["es-set-tostringtag"],["define-properties",{"@nolyfill/shared":"workspace:*"}],["deep-equal",{dequal:"2.0.3"}],["is-arguments"],["is-generator-function"],["side-channel"],["internal-slot"]],m=["function-bind","has-tostringtag","has-symbols","es-iterator-helpers"],u=[...m,...d.map(r=>r[0]),...h.map(r=>r[0])].sort(),b=new Map(u.map(r=>[a.structUtils.makeIdent(null,r).identHash,a.structUtils.makeIdent("nolyfill",r)])),k={hooks:{reduceDependency:async r=>{let e=b.get(r.identHash);if(e){let t=a.structUtils.makeDescriptor(e,"latest"),s=a.structUtils.makeRange({protocol:"npm:",source:null,selector:a.structUtils.stringifyDescriptor(t),params:null});return a.structUtils.makeDescriptor(r,s)}return r}}},w=k;return f(j);})(); +"use strict";var plugin=(()=>{var p=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var c=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(r,e)=>(typeof require<"u"?require:r)[e]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+t+'" is not supported')});var l=(t,r)=>{for(var e in r)p(t,e,{get:r[e],enumerable:!0})},g=(t,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of n(r))!y.call(t,a)&&a!==e&&p(t,a,{get:()=>r[a],enumerable:!(s=i(r,a))||s.enumerable});return t};var f=t=>g(p({},"__esModule",{value:!0}),t);var b={};l(b,{default:()=>u});var o=c("@yarnpkg/core"),d=["array-buffer-byte-length","array-includes","array.from","array.of","array.prototype.at","array.prototype.every","array.prototype.find","array.prototype.findlast","array.prototype.findlastindex","array.prototype.flat","array.prototype.flatmap","array.prototype.flatmap","array.prototype.foreach","array.prototype.reduce","array.prototype.tosorted","arraybuffer.prototype.slice","assert","asynciterator.prototype","available-typed-arrays","deep-equal","define-properties","es-aggregate-error","es-iterator-helpers","es-set-tostringtag","es6-object-assign","function-bind","function.prototype.name","get-symbol-description","globalthis","gopd","harmony-reflect","has","has-property-descriptors","has-proto","has-symbols","has-tostringtag","hasown","internal-slot","is-arguments","is-array-buffer","is-date-object","is-generator-function","is-nan","is-regex","is-shared-array-buffer","is-string","is-symbol","is-typed-array","is-weakref","isarray","iterator.prototype","jsonify","object-is","object-keys","object.assign","object.entries","object.fromentries","object.getownpropertydescriptors","object.groupby","object.hasown","object.values","promise.allsettled","promise.any","reflect.getprototypeof","reflect.ownkeys","regexp.prototype.flags","safe-array-concat","safe-regex-test","set-function-length","side-channel","string.prototype.at","string.prototype.codepointat","string.prototype.includes","string.prototype.matchall","string.prototype.padend","string.prototype.padstart","string.prototype.repeat","string.prototype.replaceall","string.prototype.split","string.prototype.startswith","string.prototype.trim","string.prototype.trimend","string.prototype.trimleft","string.prototype.trimright","string.prototype.trimstart","typed-array-buffer","typed-array-byte-length","typed-array-byte-offset","typed-array-length","typedarray","unbox-primitive","which-boxed-primitive","which-typed-array"],h=new Map(d.map(t=>[o.structUtils.makeIdent(null,t).identHash,o.structUtils.makeIdent("nolyfill",t)])),m={hooks:{reduceDependency:async t=>{let r=h.get(t.identHash);if(r){let e=o.structUtils.makeDescriptor(r,"latest"),s=o.structUtils.makeRange({protocol:"npm:",source:null,selector:o.structUtils.stringifyDescriptor(e),params:null});return o.structUtils.makeDescriptor(t,s)}return t}}},u=m;return f(b);})(); return plugin; } }; diff --git a/.yarnrc.yml b/.yarnrc.yml index 6945ec3b..8808180d 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -5,6 +5,6 @@ logFilters: nodeLinker: node-modules plugins: - - checksum: 04cbf7ea36b0aaedbec723f6f5165e80f817e1ef242a9d811ebca7977ec6b8756811d9406a0ccd2968f9e9768b426b2213a736aa2c6252f2c5631f6d4de2162b + - checksum: e3ca535b4c4288976eebb726082e2e6547c43e0ba1492b3ddbb0cdadc9d61d82ff14307358da06c46a446328345a464364d6c148b2d39fccc18cf6d232291858 path: .yarn/plugins/@yarnpkg/plugin-nolyfill.cjs - spec: 'https://raw.githubusercontent.com/wojtekmaj/yarn-plugin-nolyfill/v0.1.0/bundles/@yarnpkg/plugin-nolyfill.js' + spec: 'https://raw.githubusercontent.com/wojtekmaj/yarn-plugin-nolyfill/v0.1.1/bundles/@yarnpkg/plugin-nolyfill.js'