Skip to content

Commit

Permalink
Build release
Browse files Browse the repository at this point in the history
  • Loading branch information
Ap3rtur3 committed Jun 19, 2024
1 parent 8baca27 commit 399aa8f
Showing 1 changed file with 26 additions and 35 deletions.
61 changes: 26 additions & 35 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36187,14 +36187,6 @@ actions_core_1.default.run(action_1.runAction, (input) => ({
}));


/***/ }),

/***/ 2207:
/***/ ((module) => {

module.exports = eval("require")("");


/***/ }),

/***/ 9491:
Expand Down Expand Up @@ -40424,7 +40416,7 @@ const addFilesSync = (p, files) => {
file: node_path_1.default.resolve(p.cwd, file.slice(1)),
sync: true,
noResume: true,
onentry: entry => p.add(entry),
onReadEntry: entry => p.add(entry),
});
}
else {
Expand All @@ -40440,7 +40432,7 @@ const addFilesAsync = async (p, files) => {
await (0, list_js_1.list)({
file: node_path_1.default.resolve(String(p.cwd), file.slice(1)),
noResume: true,
onentry: entry => {
onReadEntry: entry => {
p.add(entry);
},
});
Expand Down Expand Up @@ -41136,12 +41128,12 @@ const path_1 = __nccwpck_require__(1017);
const make_command_js_1 = __nccwpck_require__(3830);
const parse_js_1 = __nccwpck_require__(2522);
const strip_trailing_slashes_js_1 = __nccwpck_require__(6018);
const onentryFunction = (opt) => {
const onentry = opt.onentry;
opt.onentry =
onentry ?
const onReadEntryFunction = (opt) => {
const onReadEntry = opt.onReadEntry;
opt.onReadEntry =
onReadEntry ?
e => {
onentry(e);
onReadEntry(e);
e.resume();
}
: e => e.resume();
Expand Down Expand Up @@ -41233,7 +41225,7 @@ exports.list = (0, make_command_js_1.makeCommand)(listFileSync, listFile, opt =>
if (files?.length)
(0, exports.filesFilter)(opt, files);
if (!opt.noResume)
onentryFunction(opt);
onReadEntryFunction(opt);
});
//# sourceMappingURL=list.js.map

Expand Down Expand Up @@ -41630,6 +41622,7 @@ const argmap = new Map([
['p', 'preserveOwner'],
['L', 'follow'],
['h', 'follow'],
['onentry', 'onReadEntry'],
]);
const isSyncFile = (o) => !!o.sync && !!o.file;
exports.isSyncFile = isSyncFile;
Expand Down Expand Up @@ -41782,6 +41775,7 @@ class Pack extends minipass_1.Minipass {
filter;
jobs;
[WRITEENTRYCLASS];
onWriteEntry;
[QUEUE];
[JOBS] = 0;
[PROCESSING] = false;
Expand All @@ -41799,6 +41793,7 @@ class Pack extends minipass_1.Minipass {
this.linkCache = opt.linkCache || new Map();
this.statCache = opt.statCache || new Map();
this.readdirCache = opt.readdirCache || new Map();
this.onWriteEntry = opt.onWriteEntry;
this[WRITEENTRYCLASS] = write_entry_js_1.WriteEntry;
if (typeof opt.onwarn === 'function') {
this.on('warn', opt.onwarn);
Expand Down Expand Up @@ -41841,7 +41836,7 @@ class Pack extends minipass_1.Minipass {
if (opt.mtime)
this.mtime = opt.mtime;
this.filter =
typeof opt.filter === 'function' ? opt.filter : _ => true;
typeof opt.filter === 'function' ? opt.filter : () => true;
this[QUEUE] = new yallist_1.Yallist();
this[JOBS] = 0;
this.jobs = Number(opt.jobs) || 4;
Expand Down Expand Up @@ -42040,8 +42035,9 @@ class Pack extends minipass_1.Minipass {
[ENTRY](job) {
this[JOBS] += 1;
try {
return new this[WRITEENTRYCLASS](job.path, this[ENTRYOPT](job))
.on('end', () => this[JOBDONE](job))
const e = new this[WRITEENTRYCLASS](job.path, this[ENTRYOPT](job));
this.onWriteEntry?.(e);
return e.on('end', () => this[JOBDONE](job))
.on('error', er => this.emit('error', er));
}
catch (er) {
Expand Down Expand Up @@ -42275,8 +42271,8 @@ class Parser extends events_1.EventEmitter {
if (typeof opt.onwarn === 'function') {
this.on('warn', opt.onwarn);
}
if (typeof opt.onentry === 'function') {
this.on('entry', opt.onentry);
if (typeof opt.onReadEntry === 'function') {
this.on('entry', opt.onReadEntry);
}
}
warn(code, message, data = {}) {
Expand Down Expand Up @@ -43425,7 +43421,7 @@ const addFilesSync = (p, files) => {
file: node_path_1.default.resolve(p.cwd, file.slice(1)),
sync: true,
noResume: true,
onentry: entry => p.add(entry),
onReadEntry: entry => p.add(entry),
});
}
else {
Expand All @@ -43441,7 +43437,7 @@ const addFilesAsync = async (p, files) => {
await (0, list_js_1.list)({
file: node_path_1.default.resolve(String(p.cwd), file.slice(1)),
noResume: true,
onentry: entry => p.add(entry),
onReadEntry: entry => p.add(entry),
});
}
else {
Expand Down Expand Up @@ -50521,12 +50517,9 @@ class Queue {
}
}

// EXTERNAL MODULE: ./node_modules/@vercel/ncc/dist/ncc/@@notfound.js?#async_hooks
var _notfound_async_hooks = __nccwpck_require__(2207);
;// CONCATENATED MODULE: ./node_modules/p-limit/index.js



function pLimit(concurrency) {
if (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0)) {
throw new TypeError('Expected `concurrency` to be a number from 1 and up');
Expand All @@ -50543,10 +50536,10 @@ function pLimit(concurrency) {
}
};

const run = async (function_, resolve, arguments_) => {
const run = async (fn, resolve, args) => {
activeCount++;

const result = (async () => function_(...arguments_))();
const result = (async () => fn(...args))();

resolve(result);

Expand All @@ -50557,10 +50550,8 @@ function pLimit(concurrency) {
next();
};

const enqueue = (function_, resolve, arguments_) => {
queue.enqueue(
_notfound_async_hooks.AsyncResource.bind(run.bind(undefined, function_, resolve, arguments_)),
);
const enqueue = (fn, resolve, args) => {
queue.enqueue(run.bind(undefined, fn, resolve, args));

(async () => {
// This function needs to wait until the next microtask before comparing
Expand All @@ -50575,8 +50566,8 @@ function pLimit(concurrency) {
})();
};

const generator = (function_, ...arguments_) => new Promise(resolve => {
enqueue(function_, resolve, arguments_);
const generator = (fn, ...args) => new Promise(resolve => {
enqueue(fn, resolve, args);
});

Object.defineProperties(generator, {
Expand All @@ -50587,7 +50578,7 @@ function pLimit(concurrency) {
get: () => queue.size,
},
clearQueue: {
value() {
value: () => {
queue.clear();
},
},
Expand Down

0 comments on commit 399aa8f

Please sign in to comment.