├── packages └── npm │ ├── date │ ├── auto.d.ts │ ├── auto.js │ ├── Date │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── implementation.d.ts │ │ ├── implementation.js │ │ ├── index.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── shim.js │ │ └── polyfill.js │ ├── Date.now │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── implementation.d.ts │ │ ├── implementation.js │ │ ├── index.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── shim.js │ │ └── polyfill.js │ ├── Date.parse │ │ ├── auto.d.ts │ │ ├── implementation.d.ts │ │ ├── auto.js │ │ ├── index.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ └── shared.d.ts │ ├── Date.prototype.toJSON │ │ ├── auto.js │ │ ├── auto.d.ts │ │ ├── implementation.d.ts │ │ ├── implementation.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── shim.js │ ├── Date.prototype.getDate │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── implementation.d.ts │ │ ├── implementation.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── shim.js │ ├── Date.prototype.getFullYear │ │ ├── auto.js │ │ ├── auto.d.ts │ │ ├── implementation.d.ts │ │ ├── implementation.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── shim.js │ ├── Date.prototype.getMonth │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── implementation.d.ts │ │ ├── implementation.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── shim.js │ ├── Date.prototype.getUTCDate │ │ ├── auto.js │ │ ├── auto.d.ts │ │ ├── implementation.d.ts │ │ ├── implementation.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── shim.js │ ├── Date.prototype.getUTCMonth │ │ ├── auto.js │ │ ├── auto.d.ts │ │ ├── implementation.d.ts │ │ ├── implementation.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── shim.js │ ├── Date.prototype.toISOString │ │ ├── auto.js │ │ ├── auto.d.ts │ │ ├── implementation.d.ts │ │ ├── implementation.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── shim.js │ ├── Date.prototype.toString │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── implementation.d.ts │ │ ├── implementation.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── shim.js │ ├── Date.prototype.toUTCString │ │ ├── auto.js │ │ ├── auto.d.ts │ │ ├── implementation.d.ts │ │ ├── implementation.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── shim.js │ ├── Date.prototype.getUTCFullYear │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── implementation.d.ts │ │ ├── implementation.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── shim.js │ ├── Date.prototype.toDateString │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── implementation.d.ts │ │ ├── implementation.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── shim.js │ └── shim.d.ts │ ├── is-nan │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── shim.js │ └── polyfill.js │ ├── array.from │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.of │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── shim.js │ └── polyfill.js │ ├── globalthis │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── object-is │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── shim.js │ └── polyfill.js │ ├── promise.any │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array-includes │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── es6-symbol │ ├── implement.js │ ├── implement.d.ts │ ├── polyfill.d.ts │ ├── index.d.ts │ ├── polyfill.js │ └── index.js │ ├── jsonify │ ├── index.d.ts │ └── index.js │ ├── object.assign │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── object.entries │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── object.groupby │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── shim.d.ts │ └── polyfill.d.ts │ ├── object.hasown │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── object.values │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── reflect.ownkeys │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── index.mjs │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── util.promisify │ ├── auto.d.ts │ ├── auto.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.prototype.at │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.prototype.every │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.prototype.find │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.prototype.flat │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.prototype.map │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── es-aggregate-error │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── es-iterator-helpers │ ├── auto.d.ts │ ├── Iterator │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ └── polyfill.js │ ├── Iterator.from │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── implementation.d.ts │ ├── Iterator.zip │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── implementation.d.ts │ │ └── polyfill.js │ ├── Iterator.concat │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── implementation.d.ts │ ├── Iterator.prototype │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── implementation.js │ │ └── polyfill.js │ ├── Iterator.zipKeyed │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── implementation.d.ts │ ├── Iterator.prototype.drop │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ └── implementation.d.ts │ ├── Iterator.prototype.every │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── implementation.d.ts │ │ └── polyfill.js │ ├── Iterator.prototype.find │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── implementation.d.ts │ │ └── polyfill.js │ ├── Iterator.prototype.map │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ └── implementation.d.ts │ ├── Iterator.prototype.some │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── implementation.d.ts │ │ └── polyfill.js │ ├── Iterator.prototype.take │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── implementation.d.ts │ │ └── polyfill.js │ ├── Iterator.prototype.constructor │ │ ├── auto.js │ │ ├── auto.d.ts │ │ ├── index.d.ts │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── implementation.js │ │ ├── implementation.d.ts │ │ └── polyfill.js │ ├── Iterator.prototype.filter │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ └── implementation.d.ts │ ├── Iterator.prototype.flatMap │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ └── implementation.d.ts │ ├── Iterator.prototype.forEach │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── implementation.d.ts │ ├── Iterator.prototype.reduce │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── implementation.d.ts │ │ └── polyfill.js │ ├── Iterator.prototype.toArray │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── shim.d.ts │ │ ├── polyfill.d.ts │ │ ├── polyfill.js │ │ └── implementation.d.ts │ ├── auto.js │ └── shim.d.ts │ ├── es6-object-assign │ ├── auto.d.ts │ ├── auto.js │ └── index.d.ts │ ├── has │ ├── index.d.ts │ └── index.js │ ├── hasown │ ├── index.d.ts │ └── index.js │ ├── hyrious__bun.lockb │ ├── cli.d.cts │ ├── index.d.mts │ └── index.js │ ├── isarray │ ├── index.d.ts │ ├── index.mjs │ ├── index.js │ ├── index.cjs │ ├── index.d.cts │ └── index.d.mts │ ├── object.fromentries │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── object.getprototypeof │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── promise.allsettled │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.fromcodepoint │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.at │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.js │ ├── implementation.d.ts │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.trim │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.prototype.filter │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.prototype.findlast │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.js │ ├── implementation.d.ts │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.prototype.flatmap │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.prototype.foreach │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.prototype.reduce │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.prototype.tosorted │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── shim.d.ts │ └── polyfill.d.ts │ ├── function.prototype.name │ ├── auto.d.ts │ ├── auto.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ ├── shim.js │ └── implementation.d.ts │ ├── harmony-reflect │ ├── index.d.ts │ └── index.js │ ├── number-is-nan │ └── index.d.ts │ ├── reflect.getprototypeof │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── regexp.prototype.flags │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── shim.d.ts │ ├── polyfill.d.ts │ └── shared.d.ts │ ├── string.prototype.endswith │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.includes │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.matchall │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.padend │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.padstart │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.repeat │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.split │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.trimend │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.trimleft │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.trimright │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.trimstart │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── typedarray.prototype.slice │ ├── auto.js │ ├── auto.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.prototype.findlastindex │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.js │ ├── shim.d.ts │ ├── implementation.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── array.prototype.toreversed │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── shim.d.ts │ └── polyfill.d.ts │ ├── arraybuffer.prototype.slice │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.js │ ├── shim.d.ts │ ├── implementation.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── function-bind │ ├── index.d.ts │ ├── implementation.d.ts │ ├── index.js │ └── implementation.js │ ├── object-assign │ ├── index.d.ts │ └── index.js │ ├── string.prototype.codepointat │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.replaceall │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── string.prototype.startswith │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── gopd │ ├── index.d.ts │ └── index.js │ ├── iterator.prototype │ └── index.d.ts │ ├── object-keys │ ├── implementation.d.ts │ ├── implementation.js │ └── index.d.ts │ ├── object.getownpropertydescriptors │ ├── auto.d.ts │ ├── auto.js │ ├── implementation.d.ts │ ├── implementation.js │ ├── shim.d.ts │ ├── polyfill.d.ts │ ├── polyfill.js │ └── shim.js │ ├── es-define-property │ ├── index.d.ts │ └── index.js │ ├── aggregate-error │ ├── index.d.mts │ ├── index.d.cts │ └── index.js │ ├── asynciterator.prototype │ └── index.d.ts │ ├── is-unicode-supported │ ├── index.d.mts │ └── index.js │ ├── indent-string │ ├── index.d.mts │ └── index.js │ ├── is-interactive │ ├── index.d.mts │ └── index.js │ ├── safe-buffer │ └── index.d.ts │ ├── deep-equal │ ├── index.d.cts │ ├── index.d.ts │ └── package │ │ └── external │ │ └── get-intrinsic │ │ └── index.js │ ├── es-get-iterator │ ├── node.js │ ├── node.mjs │ ├── index.d.ts │ └── index.js │ ├── has-proto │ ├── index.d.ts │ └── index.js │ ├── has-symbols │ ├── shams.d.ts │ ├── index.d.ts │ ├── shams.js │ └── index.js │ ├── yocto-spinner │ ├── index.js │ └── index.d.mts │ ├── has-tostringtag │ ├── index.d.ts │ ├── shams.d.ts │ ├── index.js │ └── shams.js │ ├── is-core-module │ ├── index.d.ts │ └── index.d.cts │ ├── is-regex │ ├── index.d.ts │ ├── index.d.cts │ └── index.cjs │ ├── is-bigint │ ├── index.d.cts │ └── index.d.ts │ ├── is-string │ ├── index.d.cts │ └── index.d.ts │ ├── is-symbol │ ├── index.d.cts │ └── index.d.ts │ ├── is-date-object │ ├── index.d.ts │ ├── index.d.cts │ └── index.cjs │ ├── is-map │ ├── index.d.cts │ └── index.cjs │ ├── is-set │ ├── index.d.cts │ └── index.cjs │ ├── is-typed-array │ └── index.d.cts │ ├── is-weakset │ ├── index.d.ts │ ├── index.d.cts │ └── index.cjs │ ├── is-negative-zero │ ├── index.d.ts │ └── index.js │ ├── is-number-object │ ├── index.d.ts │ ├── index.d.cts │ └── index.cjs │ ├── safe-regex-test │ └── index.d.ts │ ├── get-symbol-description │ ├── getInferredName.d.ts │ └── index.d.ts │ ├── is-array-buffer │ ├── index.d.ts │ ├── index.d.cts │ └── index.cjs │ ├── is-boolean-object │ ├── index.d.cts │ └── index.d.ts │ ├── is-weakmap │ ├── index.d.cts │ ├── index.d.ts │ └── index.cjs │ ├── is-generator-function │ ├── index.d.ts │ ├── index.d.cts │ └── index.cjs │ ├── is-weakref │ └── index.d.ts │ ├── is-arguments │ ├── index.d.cts │ └── index.cjs │ ├── is-shared-array-buffer │ ├── index.d.ts │ ├── index.d.cts │ └── index.cjs │ ├── safe-array-concat │ └── index.d.ts │ ├── abab │ └── index.d.ts │ ├── safer-buffer │ └── shared.d.ts │ └── array-buffer-byte-length │ └── index.d.ts ├── scripts ├── templates │ └── npm │ │ ├── cjs │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── index.d.ts │ │ ├── cjs-browser │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.cjs │ │ ├── index.js │ │ ├── index.d.cts │ │ └── index.d.ts │ │ ├── cjs-esm │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.cjs │ │ ├── index.d.mts │ │ ├── index.js │ │ └── index.d.cts │ │ ├── es-shim-constructor │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── shim.d.ts │ │ ├── implementation.js │ │ ├── polyfill.d.ts │ │ └── polyfill.js │ │ ├── es-shim-static-method │ │ ├── auto.js │ │ ├── LICENSE │ │ ├── auto.d.ts │ │ ├── README.md │ │ ├── shim.d.ts │ │ ├── implementation.js │ │ ├── polyfill.d.ts │ │ └── polyfill.js │ │ └── es-shim-prototype-method │ │ ├── auto.d.ts │ │ ├── auto.js │ │ ├── LICENSE │ │ ├── README.md │ │ ├── shim.d.ts │ │ ├── implementation.js │ │ ├── polyfill.d.ts │ │ └── polyfill.js └── constants │ ├── packages.d.mts │ └── packages.mjs ├── test └── npm │ ├── pnpm-workspace.yaml │ ├── fixtures │ └── fixture-bun.lockb │ ├── eslint.config.mjs │ └── .npmrc ├── registry └── .gitignore ├── .env.precommit ├── .gitattributes ├── .husky ├── pre-push └── commit-msg ├── socket-optimize-hero.png └── .editorconfig /packages/npm/date/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/is-nan/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.from/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.of/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.of/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/globalthis/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/is-nan/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object-is/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object-is/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/promise.any/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array-includes/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array-includes/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.from/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.now/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.now/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es6-symbol/implement.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/globalthis/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/jsonify/index.d.ts: -------------------------------------------------------------------------------- 1 | export = JSON 2 | -------------------------------------------------------------------------------- /packages/npm/object.assign/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object.assign/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object.entries/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object.entries/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object.groupby/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object.hasown/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object.hasown/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object.values/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object.values/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/promise.any/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/reflect.ownkeys/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/util.promisify/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/util.promisify/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.at/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.at/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.every/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.find/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flat/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.map/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.map/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.parse/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-aggregate-error/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-aggregate-error/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es6-object-assign/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es6-object-assign/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es6-symbol/implement.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es6-symbol/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | export = Symbol 2 | -------------------------------------------------------------------------------- /packages/npm/has/index.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.hasOwn 2 | -------------------------------------------------------------------------------- /packages/npm/hasown/index.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.hasOwn 2 | -------------------------------------------------------------------------------- /packages/npm/hyrious__bun.lockb/cli.d.cts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/isarray/index.d.ts: -------------------------------------------------------------------------------- 1 | export = Array.isArray 2 | -------------------------------------------------------------------------------- /packages/npm/object.fromentries/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object.fromentries/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object.getprototypeof/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/promise.allsettled/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/promise.allsettled/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/reflect.ownkeys/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.fromcodepoint/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.at/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.at/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trim/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs/LICENSE: -------------------------------------------------------------------------------- 1 | <%~ it.license %> 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs/README.md: -------------------------------------------------------------------------------- 1 | <%~ it.readme %> 2 | -------------------------------------------------------------------------------- /test/npm/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - packages/* -------------------------------------------------------------------------------- /packages/npm/array.of/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Array.of 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.every/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.filter/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.filter/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.find/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlast/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlast/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flat/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flatmap/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flatmap/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.foreach/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.foreach/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.reduce/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.reduce/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.tosorted/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toJSON/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Date 2 | -------------------------------------------------------------------------------- /packages/npm/function.prototype.name/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/function.prototype.name/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/harmony-reflect/index.d.ts: -------------------------------------------------------------------------------- 1 | export = Reflect 2 | -------------------------------------------------------------------------------- /packages/npm/isarray/index.mjs: -------------------------------------------------------------------------------- 1 | export default Array.isArray 2 | -------------------------------------------------------------------------------- /packages/npm/number-is-nan/index.d.ts: -------------------------------------------------------------------------------- 1 | export = Number.isNaN 2 | -------------------------------------------------------------------------------- /packages/npm/object.getprototypeof/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/reflect.getprototypeof/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/reflect.getprototypeof/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/regexp.prototype.flags/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.fromcodepoint/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.endswith/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.includes/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.matchall/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padend/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padend/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padstart/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.repeat/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.repeat/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.split/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.split/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trim/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimend/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimend/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimleft/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimright/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimstart/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/typedarray.prototype.slice/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /registry/.gitignore: -------------------------------------------------------------------------------- 1 | tsconfig.build.tsbuildinfo.tmp-build/ 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs-browser/LICENSE: -------------------------------------------------------------------------------- 1 | <%~ it.license %> 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs-esm/LICENSE: -------------------------------------------------------------------------------- 1 | <%~ it.license %> 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs-esm/README.md: -------------------------------------------------------------------------------- 1 | <%~ it.readme %> 2 | -------------------------------------------------------------------------------- /.env.precommit: -------------------------------------------------------------------------------- 1 | NODE_COMPILE_CACHE="./.cache" 2 | PRE_COMMIT=1 3 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | *.lockb binary diff=lockb 3 | -------------------------------------------------------------------------------- /packages/npm/array.from/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Array.from 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlastindex/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlastindex/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.toreversed/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/arraybuffer.prototype.slice/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/arraybuffer.prototype.slice/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.now/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Date.now 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getDate/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getDate/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getFullYear/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getMonth/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getMonth/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCDate/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCMonth/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toISOString/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toJSON/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toString/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toString/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toUTCString/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/function-bind/index.d.ts: -------------------------------------------------------------------------------- 1 | export = Function.bind 2 | -------------------------------------------------------------------------------- /packages/npm/globalthis/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = globalThis 2 | -------------------------------------------------------------------------------- /packages/npm/is-nan/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Number.isNaN 2 | -------------------------------------------------------------------------------- /packages/npm/isarray/index.js: -------------------------------------------------------------------------------- 1 | module.exports = Array.isArray 2 | -------------------------------------------------------------------------------- /packages/npm/object-assign/index.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.assign 2 | -------------------------------------------------------------------------------- /packages/npm/object-is/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.is 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.codepointat/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.codepointat/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.endswith/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.includes/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.matchall/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padstart/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.replaceall/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.replaceall/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.startswith/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.startswith/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimleft/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimright/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimstart/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/typedarray.prototype.slice/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs-browser/README.md: -------------------------------------------------------------------------------- 1 | <%~ it.readme %> 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-constructor/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-constructor/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-static-method/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.parse/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Date.parse 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getFullYear/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCDate/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCFullYear/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCFullYear/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCMonth/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toDateString/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toDateString/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toISOString/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toUTCString/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.from/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.zip/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/function-bind/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Function.bind 2 | -------------------------------------------------------------------------------- /packages/npm/gopd/index.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.getOwnPropertyDescriptor 2 | -------------------------------------------------------------------------------- /packages/npm/iterator.prototype/index.d.ts: -------------------------------------------------------------------------------- 1 | export = IterableIterator 2 | -------------------------------------------------------------------------------- /packages/npm/object-keys/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.keys 2 | -------------------------------------------------------------------------------- /packages/npm/object.assign/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.assign 2 | -------------------------------------------------------------------------------- /packages/npm/object.getownpropertydescriptors/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object.getownpropertydescriptors/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object.hasown/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.hasOwn 2 | -------------------------------------------------------------------------------- /packages/npm/object.values/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.values 2 | -------------------------------------------------------------------------------- /packages/npm/promise.any/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Promise.any 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-constructor/LICENSE: -------------------------------------------------------------------------------- 1 | <%~ it.license %> 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-constructor/README.md: -------------------------------------------------------------------------------- 1 | <%~ it.readme %> 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-prototype-method/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-prototype-method/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-static-method/LICENSE: -------------------------------------------------------------------------------- 1 | <%~ it.license %> 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-static-method/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-define-property/index.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.defineProperty 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.concat/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.zipKeyed/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/object.entries/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.entries 2 | -------------------------------------------------------------------------------- /packages/npm/reflect.ownkeys/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Reflect.ownKeys 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-prototype-method/LICENSE: -------------------------------------------------------------------------------- 1 | <%~ it.license %> 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-prototype-method/README.md: -------------------------------------------------------------------------------- 1 | <%~ it.readme %> 2 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-static-method/README.md: -------------------------------------------------------------------------------- 1 | <%~ it.readme %> 2 | -------------------------------------------------------------------------------- /packages/npm/aggregate-error/index.d.mts: -------------------------------------------------------------------------------- 1 | export { default } from './index.cjs' 2 | -------------------------------------------------------------------------------- /packages/npm/asynciterator.prototype/index.d.ts: -------------------------------------------------------------------------------- 1 | export = AsyncIterableIterator 2 | -------------------------------------------------------------------------------- /packages/npm/date/Date.parse/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-aggregate-error/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = AggregateError 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.drop/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.every/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.find/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.map/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.some/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.take/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/has/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.hasOwn 4 | -------------------------------------------------------------------------------- /packages/npm/object.fromentries/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.fromEntries 2 | -------------------------------------------------------------------------------- /packages/npm/object.groupby/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/promise.allsettled/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Promise.allSettled 2 | -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- 1 | # Run pre-push security validation. 2 | .git-hooks/pre-push "$@" 3 | -------------------------------------------------------------------------------- /packages/npm/date/Date/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Date 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.constructor/auto.js: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.filter/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.flatMap/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.forEach/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.reduce/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.toArray/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es6-symbol/index.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './polyfill' 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/es6-symbol/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Symbol 4 | -------------------------------------------------------------------------------- /packages/npm/harmony-reflect/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Reflect 4 | -------------------------------------------------------------------------------- /packages/npm/hasown/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.hasOwn 4 | -------------------------------------------------------------------------------- /packages/npm/is-unicode-supported/index.d.mts: -------------------------------------------------------------------------------- 1 | export { default } from './index.cjs' 2 | -------------------------------------------------------------------------------- /packages/npm/isarray/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.isArray 4 | -------------------------------------------------------------------------------- /packages/npm/string.fromcodepoint/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.fromCodePoint 2 | -------------------------------------------------------------------------------- /packages/npm/array.of/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.of 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.toreversed/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.tosorted/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/date/shim.d.ts: -------------------------------------------------------------------------------- 1 | declare function shimAllDate(): void 2 | export = shimAllDate 3 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.constructor/auto.d.ts: -------------------------------------------------------------------------------- 1 | /* empty */ 2 | -------------------------------------------------------------------------------- /packages/npm/hyrious__bun.lockb/index.d.mts: -------------------------------------------------------------------------------- 1 | export { default, parse } from './index.cjs' 2 | -------------------------------------------------------------------------------- /packages/npm/indent-string/index.d.mts: -------------------------------------------------------------------------------- 1 | export { default, Options } from './index.cjs' 2 | -------------------------------------------------------------------------------- /packages/npm/is-interactive/index.d.mts: -------------------------------------------------------------------------------- 1 | export { default, Options } from './index.cjs' 2 | -------------------------------------------------------------------------------- /packages/npm/is-nan/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Number.isNaN 4 | -------------------------------------------------------------------------------- /packages/npm/object-assign/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.assign 4 | -------------------------------------------------------------------------------- /packages/npm/object-is/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.is 4 | -------------------------------------------------------------------------------- /packages/npm/object.getprototypeof/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.getPrototypeOf 2 | -------------------------------------------------------------------------------- /packages/npm/reflect.getprototypeof/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Reflect.getPrototypeOf 2 | -------------------------------------------------------------------------------- /packages/npm/regexp.prototype.flags/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/safe-buffer/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export = Buffer 3 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padend/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.padEnd 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.repeat/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.repeat 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.split/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.split 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trim/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.trim 2 | -------------------------------------------------------------------------------- /packages/npm/array.from/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.from 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.now/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Date.now 4 | -------------------------------------------------------------------------------- /packages/npm/deep-equal/index.d.cts: -------------------------------------------------------------------------------- 1 | import deepEqual from './index' 2 | export = deepEqual 3 | -------------------------------------------------------------------------------- /packages/npm/es-get-iterator/node.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = require('./index') 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/shim.d.ts: -------------------------------------------------------------------------------- 1 | declare function shim(): void 2 | export = shim 3 | -------------------------------------------------------------------------------- /packages/npm/es6-symbol/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = require('./polyfill') 4 | -------------------------------------------------------------------------------- /packages/npm/globalthis/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = globalThis 4 | -------------------------------------------------------------------------------- /packages/npm/has-proto/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function hasProto(): boolean 2 | export = hasProto 3 | -------------------------------------------------------------------------------- /packages/npm/object-keys/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.keys 4 | -------------------------------------------------------------------------------- /packages/npm/promise.any/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Promise.any 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.endswith/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.endsWith 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.includes/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.includes 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.matchall/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.matchAll 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padstart/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.padStart 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimend/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.trimEnd 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimleft/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.trimLeft 2 | -------------------------------------------------------------------------------- /packages/npm/aggregate-error/index.d.cts: -------------------------------------------------------------------------------- 1 | /// 2 | export = AggregateError 3 | -------------------------------------------------------------------------------- /packages/npm/date/Date/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = require('./implementation') 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.concat/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.from/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.zip/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/function-bind/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Function.prototype.bind 4 | -------------------------------------------------------------------------------- /packages/npm/gopd/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.getOwnPropertyDescriptor 4 | -------------------------------------------------------------------------------- /packages/npm/has-symbols/shams.d.ts: -------------------------------------------------------------------------------- 1 | declare function hasSymbols(): boolean 2 | export = hasSymbols 3 | -------------------------------------------------------------------------------- /packages/npm/isarray/index.d.cts: -------------------------------------------------------------------------------- 1 | declare const isArray: typeof Array.isArray 2 | export = isArray 3 | -------------------------------------------------------------------------------- /packages/npm/object.assign/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.assign 4 | -------------------------------------------------------------------------------- /packages/npm/object.entries/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.entries 4 | -------------------------------------------------------------------------------- /packages/npm/object.hasown/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.hasOwn 4 | -------------------------------------------------------------------------------- /packages/npm/object.values/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.values 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.codepointat/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.codePointAt 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.replaceall/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.replaceAll 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.startswith/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.startsWith 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimright/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.trimRight 2 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimstart/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = String.prototype.trimStart 2 | -------------------------------------------------------------------------------- /packages/npm/aggregate-error/index.js: -------------------------------------------------------------------------------- 1 | export { default, default as 'module.exports' } from './index.cjs' 2 | -------------------------------------------------------------------------------- /packages/npm/array-includes/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: any[]['includes'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.at/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: any[]['at'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.map/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: any[]['map'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/date/Date.now/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = require('./implementation') 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.parse/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = require('./polyfill')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-aggregate-error/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = AggregateError 4 | -------------------------------------------------------------------------------- /packages/npm/es-define-property/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.defineProperty 4 | -------------------------------------------------------------------------------- /packages/npm/es-get-iterator/node.mjs: -------------------------------------------------------------------------------- 1 | export { default, default as 'module.exports' } from './index.js' 2 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.zipKeyed/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/indent-string/index.js: -------------------------------------------------------------------------------- 1 | export { default, default as 'module.exports' } from './index.cjs' 2 | -------------------------------------------------------------------------------- /packages/npm/is-interactive/index.js: -------------------------------------------------------------------------------- 1 | export { default, default as 'module.exports' } from './index.cjs' 2 | -------------------------------------------------------------------------------- /packages/npm/isarray/index.d.mts: -------------------------------------------------------------------------------- 1 | declare const isArray: typeof Array.isArray 2 | export default isArray 3 | -------------------------------------------------------------------------------- /packages/npm/reflect.ownkeys/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Reflect.ownKeys 4 | -------------------------------------------------------------------------------- /packages/npm/yocto-spinner/index.js: -------------------------------------------------------------------------------- 1 | export { default, default as 'module.exports' } from './index.cjs' 2 | -------------------------------------------------------------------------------- /packages/npm/array-includes/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.prototype.includes 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.at/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.prototype.at 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.every/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: any[]['every'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.filter/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: any[]['filter'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.find/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: any[]['find'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flat/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: any[]['flat'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.map/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.prototype.map 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.reduce/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: any[]['reduce'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.drop/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.every/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.filter/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.find/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.flatMap/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.forEach/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.map/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.reduce/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.some/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.take/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.toArray/auto.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | require('./shim')() 4 | -------------------------------------------------------------------------------- /packages/npm/function-bind/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Function.prototype.bind 4 | -------------------------------------------------------------------------------- /packages/npm/is-unicode-supported/index.js: -------------------------------------------------------------------------------- 1 | export { default, default as 'module.exports' } from './index.cjs' 2 | -------------------------------------------------------------------------------- /packages/npm/object.fromentries/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.fromEntries 4 | -------------------------------------------------------------------------------- /packages/npm/object.getownpropertydescriptors/implementation.d.ts: -------------------------------------------------------------------------------- 1 | export = Object.getOwnPropertyDescriptors 2 | -------------------------------------------------------------------------------- /packages/npm/object.groupby/implementation.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export = Object.groupBy 3 | -------------------------------------------------------------------------------- /packages/npm/promise.allsettled/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Promise.allSettled 4 | -------------------------------------------------------------------------------- /packages/npm/regexp.prototype.flags/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare function flags(): string 2 | export = flags 3 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.at/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.at 4 | -------------------------------------------------------------------------------- /socket-optimize-hero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketDev/socket-registry/HEAD/socket-optimize-hero.png -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | # Run commit message validation and auto-strip AI attribution. 2 | .git-hooks/commit-msg "$1" 3 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.every/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.prototype.every 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.find/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.prototype.find 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flat/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.prototype.flat 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flatmap/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: any[]['flatMap'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.foreach/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: any[]['forEach'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getDate/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: Date['getDate'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toJSON/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: Date['toJSON'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/has-symbols/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function hasNativeSymbols(): boolean 2 | export = hasNativeSymbols 3 | -------------------------------------------------------------------------------- /packages/npm/has-tostringtag/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function hasToStringTag(): boolean 2 | export = hasToStringTag 3 | -------------------------------------------------------------------------------- /packages/npm/is-core-module/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isCore(moduleName: string): boolean 2 | export = isCore 3 | -------------------------------------------------------------------------------- /packages/npm/is-regex/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isRegex(value: unknown): value is RegExp 2 | export = isRegex 3 | -------------------------------------------------------------------------------- /packages/npm/object.getprototypeof/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.getPrototypeOf 4 | -------------------------------------------------------------------------------- /packages/npm/string.fromcodepoint/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.fromCodePoint 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trim/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.trim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.filter/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.prototype.filter 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlast/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.prototype.findLast 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flatmap/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.prototype.flatMap 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.foreach/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.prototype.forEach 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.reduce/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.prototype.reduce 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getMonth/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: Date['getMonth'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toJSON/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Date.prototype.toJSON 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toString/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: Date['getDate'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/has-proto/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function hasProto() { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /packages/npm/reflect.getprototypeof/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Reflect.getPrototypeOf 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.at/implementation.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export = String.prototype.at 3 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padend/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.padEnd 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.repeat/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.repeat 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.split/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.split 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimend/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.trimEnd 4 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-constructor/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = require('./implementation') 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getDate/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Date.prototype.getDate 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getFullYear/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: Date['getFullYear'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getMonth/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Date.prototype.getMonth 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCDate/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: Date['getUTCDate'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCMonth/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: Date['getUTCMonth'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toDateString/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: Date['toDateString'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toISOString/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: Date['toISOString'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toString/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Date.prototype.toString 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toUTCString/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: Date['toUTCString'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/has-symbols/shams.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function hasSymbols() { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /packages/npm/has-tostringtag/shams.d.ts: -------------------------------------------------------------------------------- 1 | declare function hasToStringTagShams(): boolean 2 | export = hasToStringTagShams 3 | -------------------------------------------------------------------------------- /packages/npm/is-bigint/index.d.cts: -------------------------------------------------------------------------------- 1 | declare function isBigInt(value: unknown): value is bigint | bigint 2 | export = isBigInt 3 | -------------------------------------------------------------------------------- /packages/npm/is-bigint/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isBigInt(value: unknown): value is bigint | bigint 2 | export = isBigInt 3 | -------------------------------------------------------------------------------- /packages/npm/is-string/index.d.cts: -------------------------------------------------------------------------------- 1 | declare function isString(value: unknown): value is string | string 2 | export = isString 3 | -------------------------------------------------------------------------------- /packages/npm/is-string/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isString(value: unknown): value is string | string 2 | export = isString 3 | -------------------------------------------------------------------------------- /packages/npm/is-symbol/index.d.cts: -------------------------------------------------------------------------------- 1 | declare function isSymbol(value: unknown): value is symbol | symbol 2 | export = isSymbol 3 | -------------------------------------------------------------------------------- /packages/npm/is-symbol/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isSymbol(value: unknown): value is symbol | symbol 2 | export = isSymbol 3 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.endswith/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.endsWith 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.includes/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.includes 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.matchall/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.matchAll 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padstart/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.padStart 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimleft/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.trimLeft 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimright/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.trimRight 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimstart/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.trimStart 4 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // TODO: Add export for package. 4 | module.exports = undefined 5 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlastindex/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Array.prototype.findLastIndex 4 | -------------------------------------------------------------------------------- /packages/npm/arraybuffer.prototype.slice/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = ArrayBuffer.prototype.slice 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getFullYear/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Date.prototype.getFullYear 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCDate/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Date.prototype.getUTCDate 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCFullYear/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare const Impl: Date['getUTCFullYear'] 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCMonth/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Date.prototype.getUTCMonth 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toISOString/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Date.prototype.toISOString 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toUTCString/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Date.prototype.toUTCString 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.constructor/index.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from '../Iterator/index' 2 | export = Impl 3 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.constructor/shim.d.ts: -------------------------------------------------------------------------------- 1 | import shim from '../Iterator/shim' 2 | export = shim 3 | -------------------------------------------------------------------------------- /packages/npm/has-symbols/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function hasNativeSymbols() { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /packages/npm/has-tostringtag/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function hasToStringTag() { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /packages/npm/is-date-object/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isDateObject(value: unknown): value is Date 2 | export = isDateObject 3 | -------------------------------------------------------------------------------- /packages/npm/is-map/index.d.cts: -------------------------------------------------------------------------------- 1 | /// 2 | import { isMap } from 'node:util/types' 3 | export = isMap 4 | -------------------------------------------------------------------------------- /packages/npm/is-set/index.d.cts: -------------------------------------------------------------------------------- 1 | /// 2 | import { isSet } from 'node:util/types' 3 | export = isSet 4 | -------------------------------------------------------------------------------- /packages/npm/is-typed-array/index.d.cts: -------------------------------------------------------------------------------- 1 | declare function isSymbol(value: unknown): value is symbol | symbol 2 | export = isSymbol 3 | -------------------------------------------------------------------------------- /packages/npm/is-weakset/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isWeakSet(object: unknown): object is WeakSet 2 | export = isWeakSet 3 | -------------------------------------------------------------------------------- /packages/npm/jsonify/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { parse, stringify } = JSON 4 | module.exports = { parse, stringify } 5 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.codepointat/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.codePointAt 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.replaceall/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.replaceAll 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.startswith/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = String.prototype.startsWith 4 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs-browser/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // TODO: Add export for Node. 4 | module.exports = undefined 5 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs-browser/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // TODO: Add export for browser. 4 | module.exports = undefined 5 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs-esm/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // TODO: Add export for CommonJS. 4 | module.exports = undefined 5 | -------------------------------------------------------------------------------- /test/npm/fixtures/fixture-bun.lockb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketDev/socket-registry/HEAD/test/npm/fixtures/fixture-bun.lockb -------------------------------------------------------------------------------- /packages/npm/array.from/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.of/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCFullYear/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Date.prototype.getUTCFullYear 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toDateString/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Date.prototype.toDateString 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/globalthis/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/has-tostringtag/shams.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function hasToStringTagShams() { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /packages/npm/is-nan/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/is-negative-zero/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isNegativeZero(number: unknown): number is -0 2 | export = isNegativeZero 3 | -------------------------------------------------------------------------------- /packages/npm/is-number-object/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isNumber(value: unknown): value is number | number 2 | export = isNumber 3 | -------------------------------------------------------------------------------- /packages/npm/is-regex/index.d.cts: -------------------------------------------------------------------------------- 1 | /// 2 | import { isRegExp } from 'node:util/types' 3 | export = isRegExp 4 | -------------------------------------------------------------------------------- /packages/npm/object-is/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/safe-regex-test/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function regexTester(regex: RegExp): (s: string) => boolean 2 | export = regexTester 3 | -------------------------------------------------------------------------------- /packages/npm/array-includes/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.now/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.parse/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/get-symbol-description/getInferredName.d.ts: -------------------------------------------------------------------------------- 1 | declare function getInferredName(sym: symbol): string 2 | export = getInferredName 3 | -------------------------------------------------------------------------------- /packages/npm/hyrious__bun.lockb/index.js: -------------------------------------------------------------------------------- 1 | export * from './index.cjs' 2 | export { default, default as 'module.exports' } from './index.cjs' 3 | -------------------------------------------------------------------------------- /packages/npm/is-array-buffer/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isArrayBuffer(value: unknown): value is ArrayBuffer 2 | export = isArrayBuffer 3 | -------------------------------------------------------------------------------- /packages/npm/is-boolean-object/index.d.cts: -------------------------------------------------------------------------------- 1 | declare function isBoolean(value: unknown): value is boolean | boolean 2 | export = isBoolean 3 | -------------------------------------------------------------------------------- /packages/npm/is-date-object/index.d.cts: -------------------------------------------------------------------------------- 1 | /// 2 | import { isDate } from 'node:util/types' 3 | export = isDate 4 | -------------------------------------------------------------------------------- /packages/npm/is-weakmap/index.d.cts: -------------------------------------------------------------------------------- 1 | /// 2 | import { isWeakMap } from 'node:util/types' 3 | export = isWeakMap 4 | -------------------------------------------------------------------------------- /packages/npm/is-weakmap/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isWeakMap(object: unknown): object is WeakMap 2 | export = isWeakMap 3 | -------------------------------------------------------------------------------- /packages/npm/is-weakset/index.d.cts: -------------------------------------------------------------------------------- 1 | /// 2 | import { isWeakSet } from 'node:util/types' 3 | export = isWeakSet 4 | -------------------------------------------------------------------------------- /packages/npm/object.assign/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/object.entries/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/object.getownpropertydescriptors/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Object.getOwnPropertyDescriptors 4 | -------------------------------------------------------------------------------- /packages/npm/object.groupby/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/object.hasown/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/object.values/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/promise.any/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/reflect.ownkeys/index.mjs: -------------------------------------------------------------------------------- 1 | export * from './index.js' 2 | export { default, default as 'module.exports' } from './index.js' 3 | -------------------------------------------------------------------------------- /packages/npm/reflect.ownkeys/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/util.promisify/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.at/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.find/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flat/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.map/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-aggregate-error/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-get-iterator/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function getIterator(iterable: Iterable): IterableIterator 2 | export = getIterator 3 | -------------------------------------------------------------------------------- /packages/npm/is-core-module/index.d.cts: -------------------------------------------------------------------------------- 1 | /// 2 | import { isBuiltin as isCore } from 'node:module' 3 | export = isCore 4 | -------------------------------------------------------------------------------- /packages/npm/object.fromentries/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/promise.allsettled/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.fromcodepoint/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.at/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.every/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.filter/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlast/implementation.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare const Impl: any[]['findLast'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlast/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flatmap/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.foreach/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.reduce/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.tosorted/implementation.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare const Impl: any[]['toSorted'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.tosorted/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.constructor/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import getPolyfill from '../Iterator/polyfill' 2 | export = getPolyfill 3 | -------------------------------------------------------------------------------- /packages/npm/function.prototype.name/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/is-boolean-object/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isBooleanObject(value: unknown): value is boolean | boolean 2 | export = isBooleanObject 3 | -------------------------------------------------------------------------------- /packages/npm/is-nan/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/object.getprototypeof/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/reflect.getprototypeof/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/regexp.prototype.flags/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.endswith/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.includes/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.matchall/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padend/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padstart/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.repeat/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.split/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trim/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimend/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimleft/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/typedarray.prototype.slice/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = Reflect.getPrototypeOf(Uint8Array).prototype.slice 4 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs-esm/index.d.mts: -------------------------------------------------------------------------------- 1 | // TODO: Export types from the .d.cts file. 2 | export { default /* , namedExport */ } from './index.cjs' 3 | -------------------------------------------------------------------------------- /packages/npm/array.from/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.of/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlastindex/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.toreversed/implementation.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare const Impl: any[]['toReversed'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.toreversed/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/arraybuffer.prototype.slice/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getDate/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getMonth/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCDate/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toJSON/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toString/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/get-symbol-description/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function getSymbolDescription(sym: symbol): string | undefined 2 | export = getSymbolDescription 3 | -------------------------------------------------------------------------------- /packages/npm/globalthis/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/is-array-buffer/index.d.cts: -------------------------------------------------------------------------------- 1 | /// 2 | import { isArrayBuffer } from 'node:util/types' 3 | export = isArrayBuffer 4 | -------------------------------------------------------------------------------- /packages/npm/is-generator-function/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isGeneratorFunction(fn: unknown): fn is GeneratorFunction 2 | export = isGeneratorFunction 3 | -------------------------------------------------------------------------------- /packages/npm/is-number-object/index.d.cts: -------------------------------------------------------------------------------- 1 | /// 2 | import { isNumberObject } from 'node:util/types' 3 | export = isNumberObject 4 | -------------------------------------------------------------------------------- /packages/npm/is-weakref/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isWeakRef( 2 | value: unknown, 3 | ): value is WeakRef 4 | export = isWeakRef 5 | -------------------------------------------------------------------------------- /packages/npm/object-is/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/promise.any/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.codepointat/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.replaceall/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.startswith/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimright/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimstart/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/typedarray.prototype.slice/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-constructor/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-static-method/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array-includes/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlastindex/implementation.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare const Impl: any[]['findLastIndex'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/arraybuffer.prototype.slice/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare function slice(begin: number, end?: number | undefined): ArrayBuffer 2 | export = slice 3 | -------------------------------------------------------------------------------- /packages/npm/date/Date.now/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.parse/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getFullYear/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCFullYear/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCMonth/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toDateString/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toISOString/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toUTCString/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.concat/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.from/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.constructor/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = require('../Iterator/implementation') 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.zip/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/is-arguments/index.d.cts: -------------------------------------------------------------------------------- 1 | /// 2 | import { isArgumentsObject } from 'node:util/types' 3 | export = isArgumentsObject 4 | -------------------------------------------------------------------------------- /packages/npm/is-map/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const nodeUtilTypes = /*@__PURE__*/ require('node:util/types') 4 | module.exports = nodeUtilTypes.isMap 5 | -------------------------------------------------------------------------------- /packages/npm/is-set/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const nodeUtilTypes = /*@__PURE__*/ require('node:util/types') 4 | module.exports = nodeUtilTypes.isSet 5 | -------------------------------------------------------------------------------- /packages/npm/is-shared-array-buffer/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isSharedArrayBuffer(obj: unknown): obj is SharedArrayBuffer 2 | export = isSharedArrayBuffer 3 | -------------------------------------------------------------------------------- /packages/npm/object.assign/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/object.entries/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/object.getownpropertydescriptors/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/object.groupby/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/object.hasown/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/object.values/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/reflect.ownkeys/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/util.promisify/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-constructor/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // TODO: Add export for builtin constructor. 4 | module.exports = undefined 5 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-prototype-method/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.at/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.every/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.filter/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.find/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flat/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.map/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.reduce/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-aggregate-error/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.zipKeyed/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/is-date-object/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const nodeUtilTypes = /*@__PURE__*/ require('node:util/types') 4 | module.exports = nodeUtilTypes.isDate 5 | -------------------------------------------------------------------------------- /packages/npm/is-nan/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimIsNan() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/is-regex/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const nodeUtilTypes = /*@__PURE__*/ require('node:util/types') 4 | module.exports = nodeUtilTypes.isRegExp 5 | -------------------------------------------------------------------------------- /packages/npm/is-weakmap/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const nodeUtilTypes = /*@__PURE__*/ require('node:util/types') 4 | module.exports = nodeUtilTypes.isWeakMap 5 | -------------------------------------------------------------------------------- /packages/npm/is-weakset/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const nodeUtilTypes = /*@__PURE__*/ require('node:util/types') 4 | module.exports = nodeUtilTypes.isWeakSet 5 | -------------------------------------------------------------------------------- /packages/npm/object.fromentries/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/object.getprototypeof/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/promise.allsettled/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/reflect.getprototypeof/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/regexp.prototype.flags/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.fromcodepoint/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.at/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.split/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trim/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-static-method/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // TODO: Add export for builtin static method. 4 | module.exports = undefined 5 | -------------------------------------------------------------------------------- /packages/npm/array.of/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayOf() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlast/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flatmap/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.foreach/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.toreversed/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.tosorted/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/arraybuffer.prototype.slice/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getDate/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toJSON/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimDate() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.drop/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.every/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.filter/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.find/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.map/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.reduce/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.some/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.take/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/function.prototype.name/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/is-generator-function/index.d.cts: -------------------------------------------------------------------------------- 1 | /// 2 | import { isGeneratorFunction } from 'node:util/types' 3 | export = isGeneratorFunction 4 | -------------------------------------------------------------------------------- /packages/npm/is-nan/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/is-shared-array-buffer/index.d.cts: -------------------------------------------------------------------------------- 1 | /// 2 | import { isSharedArrayBuffer } from 'node:util/types' 3 | export = isSharedArrayBuffer 4 | -------------------------------------------------------------------------------- /packages/npm/object-is/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimObjectIs() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.endswith/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.includes/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.matchall/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padend/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padstart/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.repeat/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.replaceall/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.startswith/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimend/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimleft/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimright/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimstart/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/typedarray.prototype.slice/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/yocto-spinner/index.d.mts: -------------------------------------------------------------------------------- 1 | export { 2 | default, 3 | Color, 4 | ColorRgb, 5 | Options, 6 | Spinner, 7 | SpinnerStyle, 8 | } from './index.cjs' 9 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-prototype-method/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // TODO: Add export for builtin prototype method. 4 | module.exports = undefined 5 | -------------------------------------------------------------------------------- /packages/npm/array.from/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.from/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayFrom() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.of/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlastindex/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.now/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimDateNow() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getFullYear/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getMonth/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCDate/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCMonth/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toDateString/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toISOString/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toString/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toUTCString/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/date/Date/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.flatMap/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.forEach/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.toArray/shim.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function shim(): () => typeof Impl 3 | export = shim 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.zip/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/globalthis/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/globalthis/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimGlobalThis() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/is-arguments/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const nodeUtilTypes = /*@__PURE__*/ require('node:util/types') 4 | module.exports = nodeUtilTypes.isArgumentsObject 5 | -------------------------------------------------------------------------------- /packages/npm/is-array-buffer/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const nodeUtilTypes = /*@__PURE__*/ require('node:util/types') 4 | module.exports = nodeUtilTypes.isArrayBuffer 5 | -------------------------------------------------------------------------------- /packages/npm/is-number-object/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const nodeUtilTypes = /*@__PURE__*/ require('node:util/types') 4 | module.exports = nodeUtilTypes.isNumberObject 5 | -------------------------------------------------------------------------------- /packages/npm/object-is/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/object.getownpropertydescriptors/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/promise.any/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/promise.any/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimPromiseAny() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.codepointat/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-constructor/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-static-method/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array-includes/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array-includes/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayIncludes() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.now/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCFullYear/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.concat/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.from/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.constructor/implementation.d.ts: -------------------------------------------------------------------------------- 1 | import IteratorConstructor from '../Iterator/implementation' 2 | export = IteratorConstructor 3 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.zipKeyed/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/object.assign/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/object.assign/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimObjectAssign() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/object.entries/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/object.entries/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimObjectEntries() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/object.hasown/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/object.hasown/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimObjectHasOwn() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/object.values/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/object.values/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimObjectValues() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/reflect.ownkeys/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/util.promisify/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-prototype-method/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.at/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.at/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayProtoAt() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.every/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.find/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flat/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.map/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.map/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayProtoMap() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/deep-equal/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function deepEqual( 2 | value1: unknown, 3 | value2: unknown, 4 | options?: { strict?: boolean }, 5 | ): boolean 6 | export = deepEqual 7 | -------------------------------------------------------------------------------- /packages/npm/es-aggregate-error/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-aggregate-error/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimEsAggregate() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.map/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/is-generator-function/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const nodeUtilTypes = /*@__PURE__*/ require('node:util/types') 4 | module.exports = nodeUtilTypes.isGeneratorFunction 5 | -------------------------------------------------------------------------------- /packages/npm/object.fromentries/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/object.getprototypeof/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/promise.allsettled/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/reflect.ownkeys/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimReflectOwnKeys() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/safe-array-concat/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function safeArrayConcat( 2 | item: T | T[], 3 | ...items: Array 4 | ): T[] 5 | export = safeArrayConcat 6 | -------------------------------------------------------------------------------- /packages/npm/string.fromcodepoint/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.at/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.at/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoAt() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trim/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/abab/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare const Abab: { 3 | atob: typeof atob 4 | btoa: typeof btoa 5 | } 6 | declare namespace Abab {} 7 | export = Abab 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.every/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayProtoEvery() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.filter/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.find/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayProtoFind() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlast/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flat/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayProtoFlat() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flatmap/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.foreach/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.reduce/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toJSON/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.drop/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.every/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.filter/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.find/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.flatMap/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.forEach/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.reduce/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.some/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.take/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.toArray/polyfill.d.ts: -------------------------------------------------------------------------------- 1 | import Impl from './implementation' 2 | declare function getPolyfill(): () => typeof Impl 3 | export = getPolyfill 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype/implementation.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { IteratorPrototype } = require('../shared') 4 | 5 | module.exports = IteratorPrototype 6 | -------------------------------------------------------------------------------- /packages/npm/function.prototype.name/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/is-negative-zero/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function isNegativeZero(number) { 4 | return number === 0 && 1 / number === Number.NEGATIVE_INFINITY 5 | } 6 | -------------------------------------------------------------------------------- /packages/npm/is-shared-array-buffer/index.cjs: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const nodeUtilTypes = /*@__PURE__*/ require('node:util/types') 4 | module.exports = nodeUtilTypes.isSharedArrayBuffer 5 | -------------------------------------------------------------------------------- /packages/npm/object.fromentries/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimObjectFromEntries() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/promise.allsettled/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimPromiseAllSettled() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/reflect.getprototypeof/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.endswith/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.includes/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.matchall/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padend/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padstart/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.repeat/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.split/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trim/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoTrim() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimend/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimleft/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimright/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimstart/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/typedarray.prototype.slice/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/util.promisify/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const getPolyfill = require('./polyfill') 4 | 5 | module.exports = function shimUtilPromisify() { 6 | return getPolyfill() 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.filter/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayProtoFilter() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlast/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayProtoFindLast() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlastindex/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.flatmap/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayProtoFlatMap() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.foreach/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayProtoForEach() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.reduce/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayProtoReduce() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/arraybuffer.prototype.slice/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getDate/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getFullYear/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getMonth/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCDate/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCMonth/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toISOString/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toJSON/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimDateProtoToJSON() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toString/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toUTCString/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/function.prototype.name/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimFunctionProtoName() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/object-keys/index.d.ts: -------------------------------------------------------------------------------- 1 | declare const { 2 | x: ObjectKeys, 3 | }: { 4 | x: typeof Object.keys & { 5 | shim(): () => typeof Object.keys 6 | } 7 | } 8 | export = ObjectKeys 9 | -------------------------------------------------------------------------------- /packages/npm/object.getprototypeof/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimObjectGetPrototypeOf() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.fromcodepoint/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringFromCodePoint() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.codepointat/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padend/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoPadEnd() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.repeat/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoRepeat() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.replaceall/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.split/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoSplit() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.startswith/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimend/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoTrimEnd() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs-esm/index.js: -------------------------------------------------------------------------------- 1 | // TODO: Uncomment if module has named exports. 2 | // export * from './index.cjs' 3 | export { default, default as 'module.exports' } from './index.cjs' 4 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-constructor/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-static-method/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getDate/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimDateProtoGetDate() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getMonth/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimDateProtoGetMonth() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCFullYear/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toDateString/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toString/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimDateProtoToString() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.concat/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.from/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.zip/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare function zip( 2 | ...items: Array> 3 | ): Iterator & { return(): IteratorResult } 4 | export = zip 5 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.zip/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/object.getownpropertydescriptors/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/reflect.getprototypeof/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimReflectGetPrototypeOf() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.endswith/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoEndsWith() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.includes/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoIncludes() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.matchall/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoMatchAll() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.padstart/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoPadStart() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimleft/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoTrimLeft() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimright/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoTrimRight() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.trimstart/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoTrimStart() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/typedarray.prototype.slice/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimTypedArrayProtoSlice() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /scripts/constants/packages.d.mts: -------------------------------------------------------------------------------- 1 | /** @fileoverview Type declarations for packages constants. */ 2 | export declare const LATEST: string 3 | export declare const SOCKET_REGISTRY_PACKAGE_NAME: string 4 | -------------------------------------------------------------------------------- /scripts/templates/npm/es-shim-prototype-method/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /test/npm/eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import { ROOT_ESLINT_CONFIG_PATH } from '@socketregistry/scripts/constants/paths' 2 | 3 | export default [ 4 | { 5 | extends: ROOT_ESLINT_CONFIG_PATH, 6 | }, 7 | ] 8 | -------------------------------------------------------------------------------- /packages/npm/array.prototype.findlastindex/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayProtoFindLastIndex() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/arraybuffer.prototype.slice/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimArrayBufferProtoSlice() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getFullYear/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimDateProtoGetFullYear() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCDate/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimDateProtoGetUTCDate() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCMonth/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimDateProtoGetUTCMonth() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toISOString/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimDateProtoToISOString() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toUTCString/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimDateProtoToUTCString() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.concat/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare function concat( 2 | ...items: Array> 3 | ): Iterator & { return(): IteratorResult } 4 | export = concat 5 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.drop/implementation.d.ts: -------------------------------------------------------------------------------- 1 | import EsIterator from '../Iterator.prototype/implementation' 2 | declare const Impl: EsIterator['drop'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.find/implementation.d.ts: -------------------------------------------------------------------------------- 1 | import EsIterator from '../Iterator.prototype/implementation' 2 | declare const Impl: EsIterator['find'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.map/implementation.d.ts: -------------------------------------------------------------------------------- 1 | import EsIterator from '../Iterator.prototype/implementation' 2 | declare const Impl: EsIterator['map'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.some/implementation.d.ts: -------------------------------------------------------------------------------- 1 | import EsIterator from '../Iterator.prototype/implementation' 2 | declare const Impl: EsIterator['some'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.take/implementation.d.ts: -------------------------------------------------------------------------------- 1 | import EsIterator from '../Iterator.prototype/implementation' 2 | declare const Impl: EsIterator['take'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.zipKeyed/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.codepointat/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoCodePointAt() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.replaceall/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoReplaceAll() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/string.prototype.startswith/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimStringProtoStartsWith() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.getUTCFullYear/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimDateProtoGetUTCFullYear() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/date/Date.prototype.toDateString/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimDateProtoToDateString() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.every/implementation.d.ts: -------------------------------------------------------------------------------- 1 | import EsIterator from '../Iterator.prototype/implementation' 2 | declare const Impl: EsIterator['every'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.every/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.filter/implementation.d.ts: -------------------------------------------------------------------------------- 1 | import EsIterator from '../Iterator.prototype/implementation' 2 | declare const Impl: EsIterator['filter'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.find/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.forEach/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.reduce/implementation.d.ts: -------------------------------------------------------------------------------- 1 | import EsIterator from '../Iterator.prototype/implementation' 2 | declare const Impl: EsIterator['reduce'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.reduce/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.some/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.take/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.toArray/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /scripts/constants/packages.mjs: -------------------------------------------------------------------------------- 1 | /** 2 | * @fileoverview Package-related constants. 3 | */ 4 | 5 | export const LATEST = 'latest' 6 | export const SOCKET_REGISTRY_PACKAGE_NAME = '@socketsecurity/registry' 7 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs-esm/index.d.cts: -------------------------------------------------------------------------------- 1 | //_ <% it.references.forEach(r => { %> 2 | //_ /// ="<%= r.value %>" /> 3 | //_ <% }) %> 4 | // TODO: Add type for CJS. 5 | export = undefined 6 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs/index.d.ts: -------------------------------------------------------------------------------- 1 | //_ <% it.references.forEach(r => { %> 2 | //_ /// ="<%= r.value %>" /> 3 | //_ <% }) %> 4 | // TODO: Add type for package. 5 | export = undefined 6 | -------------------------------------------------------------------------------- /packages/npm/date/Date.parse/shared.d.ts: -------------------------------------------------------------------------------- 1 | declare interface InternalShared { 2 | isDateParseDaysOfMonthBuggy(parse: typeof Date.parse): boolean 3 | } 4 | declare const shared: InternalShared 5 | export = shared 6 | -------------------------------------------------------------------------------- /packages/npm/es-get-iterator/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { iterator: SymbolIterator } = Symbol 4 | 5 | module.exports = function getIterator(iterable) { 6 | return iterable?.[SymbolIterator]?.() 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.constructor/polyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function getPolyfill() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.flatMap/implementation.d.ts: -------------------------------------------------------------------------------- 1 | import EsIterator from '../Iterator.prototype/implementation' 2 | declare const Impl: EsIterator['flatMap'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.forEach/implementation.d.ts: -------------------------------------------------------------------------------- 1 | import EsIterator from '../Iterator.prototype/implementation' 2 | declare const Impl: EsIterator['forEach'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.prototype.toArray/implementation.d.ts: -------------------------------------------------------------------------------- 1 | import EsIterator from '../Iterator.prototype/implementation' 2 | declare const Impl: EsIterator['toArray'] 3 | export = Impl 4 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.zipKeyed/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare function zipKeyed( 2 | ...items: Array> 3 | ): Iterator & { return(): IteratorResult } 4 | export = zipKeyed 5 | -------------------------------------------------------------------------------- /packages/npm/es6-object-assign/index.d.ts: -------------------------------------------------------------------------------- 1 | declare const Es6ObjectAssign: { 2 | assign: typeof Object.assign 3 | polyfill: () => void 4 | } 5 | declare namespace Es6ObjectAssign {} 6 | export = Es6ObjectAssign 7 | -------------------------------------------------------------------------------- /packages/npm/safer-buffer/shared.d.ts: -------------------------------------------------------------------------------- 1 | declare interface InternalShared { 2 | builtinBufferExportsDescMap: { [x: string]: PropertyDescriptor } 3 | } 4 | declare const shared: InternalShared 5 | export = shared 6 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs-browser/index.d.cts: -------------------------------------------------------------------------------- 1 | //_ <% it.references.forEach(r => { %> 2 | //_ /// ="<%= r.value %>" /> 3 | //_ <% }) %> 4 | // TODO: Add type for Node. 5 | export = undefined 6 | -------------------------------------------------------------------------------- /packages/npm/es-iterator-helpers/Iterator.from/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare function from>(object: R): R 2 | declare function from(object: IterableIterator): Iterator 3 | export = from 4 | -------------------------------------------------------------------------------- /packages/npm/object.getownpropertydescriptors/shim.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const impl = require('./implementation') 4 | 5 | module.exports = function shimObjectGetOwnPropertyDescriptors() { 6 | return impl 7 | } 8 | -------------------------------------------------------------------------------- /scripts/templates/npm/cjs-browser/index.d.ts: -------------------------------------------------------------------------------- 1 | //_ <% it.references.forEach(r => { %> 2 | //_ /// ="<%= r.value %>" /> 3 | //_ <% }) %> 4 | // TODO: Add type for browser. 5 | export = undefined 6 | -------------------------------------------------------------------------------- /packages/npm/array-buffer-byte-length/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function arrayBufferByteLength(buffer: ArrayBuffer): number 2 | declare function arrayBufferByteLength(buffer: unknown): typeof NaN 3 | export = arrayBufferByteLength 4 | -------------------------------------------------------------------------------- /packages/npm/function.prototype.name/implementation.d.ts: -------------------------------------------------------------------------------- 1 | // biome-ignore lint/complexity/noBannedTypes: Matches Function.prototype.name signature. 2 | declare function getName(this: Function): string 3 | export = getName 4 | -------------------------------------------------------------------------------- /packages/npm/regexp.prototype.flags/shared.d.ts: -------------------------------------------------------------------------------- 1 | declare interface InternalShared { 2 | isRegExpProtoFlagsOrderBuggy(flagsGetter: () => string): boolean 3 | } 4 | declare const shared: InternalShared 5 | export = shared 6 | -------------------------------------------------------------------------------- /test/npm/.npmrc: -------------------------------------------------------------------------------- 1 | # This directory contains test packages managed by pnpm workspaces 2 | auto-install-peers=false 3 | engine-strict=false 4 | node-linker=hoisted 5 | shamefully-hoist=true 6 | strict-peer-dependencies=false 7 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | indent_size = 2 7 | indent_style = space 8 | insert_final_newline = true 9 | max_line_length = 80 10 | trim_trailing_whitespace = true 11 | -------------------------------------------------------------------------------- /packages/npm/deep-equal/package/external/get-intrinsic/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const SetCtor = Set 4 | 5 | module.exports = function GetIntrinsic(name, _allowMissing) { 6 | return name === '%Set%' ? SetCtor : undefined 7 | } 8 | --------------------------------------------------------------------------------