mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-16 22:56:28 +00:00
3.0.4
This commit is contained in:
parent
692b031118
commit
08817e531c
15
CHANGELOG.md
15
CHANGELOG.md
@ -7,7 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
||||||
|
|
||||||
## [v3.0.3](https://github.com/bcomnes/deploy-to-neocities/compare/v3.0.2...v3.0.3)
|
## [v3.0.4](https://github.com/bcomnes/deploy-to-neocities/compare/v3.0.3...v3.0.4)
|
||||||
|
|
||||||
|
### Merged
|
||||||
|
|
||||||
|
- chore(deps): bump minimatch from 10.0.1 to 10.0.3 [`#224`](https://github.com/bcomnes/deploy-to-neocities/pull/224)
|
||||||
|
|
||||||
|
### Commits
|
||||||
|
|
||||||
|
- Merge pull request #225 from bcomnes/dependabot/npm_and_yarn/async-neocities-4.1.2 [`692b031`](https://github.com/bcomnes/deploy-to-neocities/commit/692b031118b324f3c28f2204ff18882edb9c53af)
|
||||||
|
- chore(deps): bump async-neocities from 4.1.1 to 4.1.2 [`a1ae452`](https://github.com/bcomnes/deploy-to-neocities/commit/a1ae452c40f056b6cead68ed5d914245860ab45e)
|
||||||
|
|
||||||
|
## [v3.0.3](https://github.com/bcomnes/deploy-to-neocities/compare/v3.0.2...v3.0.3) - 2025-06-01
|
||||||
|
|
||||||
### Merged
|
### Merged
|
||||||
|
|
||||||
@ -354,8 +365,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|||||||
|
|
||||||
### Commits
|
### Commits
|
||||||
|
|
||||||
- Fix static deploy stuff with bandaid [`fea2d47`](https://github.com/bcomnes/deploy-to-neocities/commit/fea2d4780c7a98bcdf5738c1c259d66ff115326a)
|
|
||||||
- Update site build and ncc [`def67b4`](https://github.com/bcomnes/deploy-to-neocities/commit/def67b48c6e28d4544d8dd2bd92ab53f56856e40)
|
- Update site build and ncc [`def67b4`](https://github.com/bcomnes/deploy-to-neocities/commit/def67b48c6e28d4544d8dd2bd92ab53f56856e40)
|
||||||
|
- Fix static deploy stuff with bandaid [`fea2d47`](https://github.com/bcomnes/deploy-to-neocities/commit/fea2d4780c7a98bcdf5738c1c259d66ff115326a)
|
||||||
|
|
||||||
## [v1.1.1](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.0...v1.1.1) - 2021-08-20
|
## [v1.1.1](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.0...v1.1.1) - 2021-08-20
|
||||||
|
|
||||||
|
|||||||
531
dist/index.cjs
vendored
531
dist/index.cjs
vendored
@ -1259,9 +1259,9 @@ var require_util = __commonJS({
|
|||||||
}
|
}
|
||||||
return `${val}`;
|
return `${val}`;
|
||||||
}
|
}
|
||||||
function parseRangeHeader(range) {
|
function parseRangeHeader(range2) {
|
||||||
if (range == null || range === "") return { start: 0, end: null, size: null };
|
if (range2 == null || range2 === "") return { start: 0, end: null, size: null };
|
||||||
const m = range ? range.match(/^bytes (\d+)-(\d+)\/(\d+)?$/) : null;
|
const m = range2 ? range2.match(/^bytes (\d+)-(\d+)\/(\d+)?$/) : null;
|
||||||
return m ? {
|
return m ? {
|
||||||
start: parseInt(m[1]),
|
start: parseInt(m[1]),
|
||||||
end: m[2] ? parseInt(m[2]) : null,
|
end: m[2] ? parseInt(m[2]) : null,
|
||||||
@ -11384,8 +11384,8 @@ var require_RetryHandler = __commonJS({
|
|||||||
}
|
}
|
||||||
if (this.end == null) {
|
if (this.end == null) {
|
||||||
if (statusCode === 206) {
|
if (statusCode === 206) {
|
||||||
const range = parseRangeHeader(headers["content-range"]);
|
const range2 = parseRangeHeader(headers["content-range"]);
|
||||||
if (range == null) {
|
if (range2 == null) {
|
||||||
return this.handler.onHeaders(
|
return this.handler.onHeaders(
|
||||||
statusCode,
|
statusCode,
|
||||||
rawHeaders,
|
rawHeaders,
|
||||||
@ -11393,7 +11393,7 @@ var require_RetryHandler = __commonJS({
|
|||||||
statusMessage
|
statusMessage
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const { start, size, end = size } = range;
|
const { start, size, end = size } = range2;
|
||||||
assert2(
|
assert2(
|
||||||
start != null && Number.isFinite(start) && this.start !== start,
|
start != null && Number.isFinite(start) && this.start !== start,
|
||||||
"content-range mismatch"
|
"content-range mismatch"
|
||||||
@ -19832,7 +19832,7 @@ var require_ignore = __commonJS({
|
|||||||
var define = (object, key, value) => Object.defineProperty(object, key, { value });
|
var define = (object, key, value) => Object.defineProperty(object, key, { value });
|
||||||
var REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g;
|
var REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g;
|
||||||
var RETURN_FALSE = () => false;
|
var RETURN_FALSE = () => false;
|
||||||
var sanitizeRange = (range) => range.replace(
|
var sanitizeRange = (range2) => range2.replace(
|
||||||
REGEX_REGEXP_RANGE,
|
REGEX_REGEXP_RANGE,
|
||||||
(match2, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match2 : EMPTY
|
(match2, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match2 : EMPTY
|
||||||
);
|
);
|
||||||
@ -19968,7 +19968,7 @@ var require_ignore = __commonJS({
|
|||||||
// > can be used to match one of the characters in a range.
|
// > can be used to match one of the characters in a range.
|
||||||
// `\` is escaped by step 3
|
// `\` is escaped by step 3
|
||||||
/(\\)?\[([^\]/]*?)(\\*)($|\])/g,
|
/(\\)?\[([^\]/]*?)(\\*)($|\])/g,
|
||||||
(match2, leadEscape, range, endEscape, close) => leadEscape === ESCAPE ? `\\[${range}${cleanRangeBackSlash(endEscape)}${close}` : close === "]" ? endEscape.length % 2 === 0 ? `[${sanitizeRange(range)}${endEscape}]` : "[]" : "[]"
|
(match2, leadEscape, range2, endEscape, close) => leadEscape === ESCAPE ? `\\[${range2}${cleanRangeBackSlash(endEscape)}${close}` : close === "]" ? endEscape.length % 2 === 0 ? `[${sanitizeRange(range2)}${endEscape}]` : "[]" : "[]"
|
||||||
],
|
],
|
||||||
// ending
|
// ending
|
||||||
[
|
[
|
||||||
@ -21501,9 +21501,9 @@ var require_util8 = __commonJS({
|
|||||||
return !headerCharRegex.test(characters);
|
return !headerCharRegex.test(characters);
|
||||||
}
|
}
|
||||||
var rangeHeaderRegex = /^bytes (\d+)-(\d+)\/(\d+)?$/;
|
var rangeHeaderRegex = /^bytes (\d+)-(\d+)\/(\d+)?$/;
|
||||||
function parseRangeHeader(range) {
|
function parseRangeHeader(range2) {
|
||||||
if (range == null || range === "") return { start: 0, end: null, size: null };
|
if (range2 == null || range2 === "") return { start: 0, end: null, size: null };
|
||||||
const m = range ? range.match(rangeHeaderRegex) : null;
|
const m = range2 ? range2.match(rangeHeaderRegex) : null;
|
||||||
return m ? {
|
return m ? {
|
||||||
start: parseInt(m[1]),
|
start: parseInt(m[1]),
|
||||||
end: m[2] ? parseInt(m[2]) : null,
|
end: m[2] ? parseInt(m[2]) : null,
|
||||||
@ -29380,8 +29380,8 @@ var require_retry_handler = __commonJS({
|
|||||||
}
|
}
|
||||||
if (this.end == null) {
|
if (this.end == null) {
|
||||||
if (statusCode === 206) {
|
if (statusCode === 206) {
|
||||||
const range = parseRangeHeader(headers["content-range"]);
|
const range2 = parseRangeHeader(headers["content-range"]);
|
||||||
if (range == null) {
|
if (range2 == null) {
|
||||||
this.headersSent = true;
|
this.headersSent = true;
|
||||||
this.handler.onResponseStart?.(
|
this.handler.onResponseStart?.(
|
||||||
controller,
|
controller,
|
||||||
@ -29391,7 +29391,7 @@ var require_retry_handler = __commonJS({
|
|||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const { start, size, end = size ? size - 1 : null } = range;
|
const { start, size, end = size ? size - 1 : null } = range2;
|
||||||
assert2(
|
assert2(
|
||||||
start != null && Number.isFinite(start),
|
start != null && Number.isFinite(start),
|
||||||
"content-range mismatch"
|
"content-range mismatch"
|
||||||
@ -40902,7 +40902,7 @@ var require_package = __commonJS({
|
|||||||
module2.exports = {
|
module2.exports = {
|
||||||
name: "async-neocities",
|
name: "async-neocities",
|
||||||
description: "A library and bin to deploy to neocities",
|
description: "A library and bin to deploy to neocities",
|
||||||
version: "4.1.1",
|
version: "4.1.2",
|
||||||
author: "Bret Comnes <bcomnes@gmail.com> (https://bret.io)",
|
author: "Bret Comnes <bcomnes@gmail.com> (https://bret.io)",
|
||||||
type: "module",
|
type: "module",
|
||||||
bin: {
|
bin: {
|
||||||
@ -50916,6 +50916,7 @@ var require_es_set_tostringtag = __commonJS({
|
|||||||
// node_modules/form-data/lib/populate.js
|
// node_modules/form-data/lib/populate.js
|
||||||
var require_populate = __commonJS({
|
var require_populate = __commonJS({
|
||||||
"node_modules/form-data/lib/populate.js"(exports2, module2) {
|
"node_modules/form-data/lib/populate.js"(exports2, module2) {
|
||||||
|
"use strict";
|
||||||
module2.exports = function(dst, src) {
|
module2.exports = function(dst, src) {
|
||||||
Object.keys(src).forEach(function(prop) {
|
Object.keys(src).forEach(function(prop) {
|
||||||
dst[prop] = dst[prop] || src[prop];
|
dst[prop] = dst[prop] || src[prop];
|
||||||
@ -50928,6 +50929,7 @@ var require_populate = __commonJS({
|
|||||||
// node_modules/form-data/lib/form_data.js
|
// node_modules/form-data/lib/form_data.js
|
||||||
var require_form_data = __commonJS({
|
var require_form_data = __commonJS({
|
||||||
"node_modules/form-data/lib/form_data.js"(exports2, module2) {
|
"node_modules/form-data/lib/form_data.js"(exports2, module2) {
|
||||||
|
"use strict";
|
||||||
var CombinedStream = require_combined_stream();
|
var CombinedStream = require_combined_stream();
|
||||||
var util = require("util");
|
var util = require("util");
|
||||||
var path4 = require("path");
|
var path4 = require("path");
|
||||||
@ -50939,9 +50941,8 @@ var require_form_data = __commonJS({
|
|||||||
var mime = require_mime_types();
|
var mime = require_mime_types();
|
||||||
var asynckit = require_asynckit();
|
var asynckit = require_asynckit();
|
||||||
var setToStringTag = require_es_set_tostringtag();
|
var setToStringTag = require_es_set_tostringtag();
|
||||||
|
var hasOwn = require_hasown();
|
||||||
var populate = require_populate();
|
var populate = require_populate();
|
||||||
module2.exports = FormData2;
|
|
||||||
util.inherits(FormData2, CombinedStream);
|
|
||||||
function FormData2(options) {
|
function FormData2(options) {
|
||||||
if (!(this instanceof FormData2)) {
|
if (!(this instanceof FormData2)) {
|
||||||
return new FormData2(options);
|
return new FormData2(options);
|
||||||
@ -50955,16 +50956,17 @@ var require_form_data = __commonJS({
|
|||||||
this[option] = options[option];
|
this[option] = options[option];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
util.inherits(FormData2, CombinedStream);
|
||||||
FormData2.LINE_BREAK = "\r\n";
|
FormData2.LINE_BREAK = "\r\n";
|
||||||
FormData2.DEFAULT_CONTENT_TYPE = "application/octet-stream";
|
FormData2.DEFAULT_CONTENT_TYPE = "application/octet-stream";
|
||||||
FormData2.prototype.append = function(field, value, options) {
|
FormData2.prototype.append = function(field, value, options) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
if (typeof options == "string") {
|
if (typeof options === "string") {
|
||||||
options = { filename: options };
|
options = { filename: options };
|
||||||
}
|
}
|
||||||
var append = CombinedStream.prototype.append.bind(this);
|
var append = CombinedStream.prototype.append.bind(this);
|
||||||
if (typeof value == "number") {
|
if (typeof value === "number" || value == null) {
|
||||||
value = "" + value;
|
value = String(value);
|
||||||
}
|
}
|
||||||
if (Array.isArray(value)) {
|
if (Array.isArray(value)) {
|
||||||
this._error(new Error("Arrays are not supported."));
|
this._error(new Error("Arrays are not supported."));
|
||||||
@ -50980,7 +50982,7 @@ var require_form_data = __commonJS({
|
|||||||
FormData2.prototype._trackLength = function(header, value, options) {
|
FormData2.prototype._trackLength = function(header, value, options) {
|
||||||
var valueLength = 0;
|
var valueLength = 0;
|
||||||
if (options.knownLength != null) {
|
if (options.knownLength != null) {
|
||||||
valueLength += +options.knownLength;
|
valueLength += Number(options.knownLength);
|
||||||
} else if (Buffer.isBuffer(value)) {
|
} else if (Buffer.isBuffer(value)) {
|
||||||
valueLength = value.length;
|
valueLength = value.length;
|
||||||
} else if (typeof value === "string") {
|
} else if (typeof value === "string") {
|
||||||
@ -50988,7 +50990,7 @@ var require_form_data = __commonJS({
|
|||||||
}
|
}
|
||||||
this._valueLength += valueLength;
|
this._valueLength += valueLength;
|
||||||
this._overheadLength += Buffer.byteLength(header) + FormData2.LINE_BREAK.length;
|
this._overheadLength += Buffer.byteLength(header) + FormData2.LINE_BREAK.length;
|
||||||
if (!value || !value.path && !(value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) && !(value instanceof Stream)) {
|
if (!value || !value.path && !(value.readable && hasOwn(value, "httpVersion")) && !(value instanceof Stream)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!options.knownLength) {
|
if (!options.knownLength) {
|
||||||
@ -50996,26 +50998,25 @@ var require_form_data = __commonJS({
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
FormData2.prototype._lengthRetriever = function(value, callback) {
|
FormData2.prototype._lengthRetriever = function(value, callback) {
|
||||||
if (Object.prototype.hasOwnProperty.call(value, "fd")) {
|
if (hasOwn(value, "fd")) {
|
||||||
if (value.end != void 0 && value.end != Infinity && value.start != void 0) {
|
if (value.end != void 0 && value.end != Infinity && value.start != void 0) {
|
||||||
callback(null, value.end + 1 - (value.start ? value.start : 0));
|
callback(null, value.end + 1 - (value.start ? value.start : 0));
|
||||||
} else {
|
} else {
|
||||||
fs3.stat(value.path, function(err, stat) {
|
fs3.stat(value.path, function(err, stat) {
|
||||||
var fileSize;
|
|
||||||
if (err) {
|
if (err) {
|
||||||
callback(err);
|
callback(err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
fileSize = stat.size - (value.start ? value.start : 0);
|
var fileSize = stat.size - (value.start ? value.start : 0);
|
||||||
callback(null, fileSize);
|
callback(null, fileSize);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else if (Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
|
} else if (hasOwn(value, "httpVersion")) {
|
||||||
callback(null, +value.headers["content-length"]);
|
callback(null, Number(value.headers["content-length"]));
|
||||||
} else if (Object.prototype.hasOwnProperty.call(value, "httpModule")) {
|
} else if (hasOwn(value, "httpModule")) {
|
||||||
value.on("response", function(response) {
|
value.on("response", function(response) {
|
||||||
value.pause();
|
value.pause();
|
||||||
callback(null, +response.headers["content-length"]);
|
callback(null, Number(response.headers["content-length"]));
|
||||||
});
|
});
|
||||||
value.resume();
|
value.resume();
|
||||||
} else {
|
} else {
|
||||||
@ -51023,7 +51024,7 @@ var require_form_data = __commonJS({
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
FormData2.prototype._multiPartHeader = function(field, value, options) {
|
FormData2.prototype._multiPartHeader = function(field, value, options) {
|
||||||
if (typeof options.header == "string") {
|
if (typeof options.header === "string") {
|
||||||
return options.header;
|
return options.header;
|
||||||
}
|
}
|
||||||
var contentDisposition = this._getContentDisposition(value, options);
|
var contentDisposition = this._getContentDisposition(value, options);
|
||||||
@ -51035,12 +51036,12 @@ var require_form_data = __commonJS({
|
|||||||
// if no content type. allow it to be empty array
|
// if no content type. allow it to be empty array
|
||||||
"Content-Type": [].concat(contentType || [])
|
"Content-Type": [].concat(contentType || [])
|
||||||
};
|
};
|
||||||
if (typeof options.header == "object") {
|
if (typeof options.header === "object") {
|
||||||
populate(headers, options.header);
|
populate(headers, options.header);
|
||||||
}
|
}
|
||||||
var header;
|
var header;
|
||||||
for (var prop in headers) {
|
for (var prop in headers) {
|
||||||
if (Object.prototype.hasOwnProperty.call(headers, prop)) {
|
if (hasOwn(headers, prop)) {
|
||||||
header = headers[prop];
|
header = headers[prop];
|
||||||
if (header == null) {
|
if (header == null) {
|
||||||
continue;
|
continue;
|
||||||
@ -51056,34 +51057,33 @@ var require_form_data = __commonJS({
|
|||||||
return "--" + this.getBoundary() + FormData2.LINE_BREAK + contents + FormData2.LINE_BREAK;
|
return "--" + this.getBoundary() + FormData2.LINE_BREAK + contents + FormData2.LINE_BREAK;
|
||||||
};
|
};
|
||||||
FormData2.prototype._getContentDisposition = function(value, options) {
|
FormData2.prototype._getContentDisposition = function(value, options) {
|
||||||
var filename, contentDisposition;
|
var filename;
|
||||||
if (typeof options.filepath === "string") {
|
if (typeof options.filepath === "string") {
|
||||||
filename = path4.normalize(options.filepath).replace(/\\/g, "/");
|
filename = path4.normalize(options.filepath).replace(/\\/g, "/");
|
||||||
} else if (options.filename || value.name || value.path) {
|
} else if (options.filename || value && (value.name || value.path)) {
|
||||||
filename = path4.basename(options.filename || value.name || value.path);
|
filename = path4.basename(options.filename || value && (value.name || value.path));
|
||||||
} else if (value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
|
} else if (value && value.readable && hasOwn(value, "httpVersion")) {
|
||||||
filename = path4.basename(value.client._httpMessage.path || "");
|
filename = path4.basename(value.client._httpMessage.path || "");
|
||||||
}
|
}
|
||||||
if (filename) {
|
if (filename) {
|
||||||
contentDisposition = 'filename="' + filename + '"';
|
return 'filename="' + filename + '"';
|
||||||
}
|
}
|
||||||
return contentDisposition;
|
|
||||||
};
|
};
|
||||||
FormData2.prototype._getContentType = function(value, options) {
|
FormData2.prototype._getContentType = function(value, options) {
|
||||||
var contentType = options.contentType;
|
var contentType = options.contentType;
|
||||||
if (!contentType && value.name) {
|
if (!contentType && value && value.name) {
|
||||||
contentType = mime.lookup(value.name);
|
contentType = mime.lookup(value.name);
|
||||||
}
|
}
|
||||||
if (!contentType && value.path) {
|
if (!contentType && value && value.path) {
|
||||||
contentType = mime.lookup(value.path);
|
contentType = mime.lookup(value.path);
|
||||||
}
|
}
|
||||||
if (!contentType && value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
|
if (!contentType && value && value.readable && hasOwn(value, "httpVersion")) {
|
||||||
contentType = value.headers["content-type"];
|
contentType = value.headers["content-type"];
|
||||||
}
|
}
|
||||||
if (!contentType && (options.filepath || options.filename)) {
|
if (!contentType && (options.filepath || options.filename)) {
|
||||||
contentType = mime.lookup(options.filepath || options.filename);
|
contentType = mime.lookup(options.filepath || options.filename);
|
||||||
}
|
}
|
||||||
if (!contentType && typeof value == "object") {
|
if (!contentType && value && typeof value === "object") {
|
||||||
contentType = FormData2.DEFAULT_CONTENT_TYPE;
|
contentType = FormData2.DEFAULT_CONTENT_TYPE;
|
||||||
}
|
}
|
||||||
return contentType;
|
return contentType;
|
||||||
@ -51107,13 +51107,16 @@ var require_form_data = __commonJS({
|
|||||||
"content-type": "multipart/form-data; boundary=" + this.getBoundary()
|
"content-type": "multipart/form-data; boundary=" + this.getBoundary()
|
||||||
};
|
};
|
||||||
for (header in userHeaders) {
|
for (header in userHeaders) {
|
||||||
if (Object.prototype.hasOwnProperty.call(userHeaders, header)) {
|
if (hasOwn(userHeaders, header)) {
|
||||||
formHeaders[header.toLowerCase()] = userHeaders[header];
|
formHeaders[header.toLowerCase()] = userHeaders[header];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return formHeaders;
|
return formHeaders;
|
||||||
};
|
};
|
||||||
FormData2.prototype.setBoundary = function(boundary) {
|
FormData2.prototype.setBoundary = function(boundary) {
|
||||||
|
if (typeof boundary !== "string") {
|
||||||
|
throw new TypeError("FormData boundary must be a string");
|
||||||
|
}
|
||||||
this._boundary = boundary;
|
this._boundary = boundary;
|
||||||
};
|
};
|
||||||
FormData2.prototype.getBoundary = function() {
|
FormData2.prototype.getBoundary = function() {
|
||||||
@ -51184,8 +51187,10 @@ var require_form_data = __commonJS({
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
FormData2.prototype.submit = function(params, cb) {
|
FormData2.prototype.submit = function(params, cb) {
|
||||||
var request2, options, defaults2 = { method: "post" };
|
var request2;
|
||||||
if (typeof params == "string") {
|
var options;
|
||||||
|
var defaults2 = { method: "post" };
|
||||||
|
if (typeof params === "string") {
|
||||||
params = parseUrl(params);
|
params = parseUrl(params);
|
||||||
options = populate({
|
options = populate({
|
||||||
port: params.port,
|
port: params.port,
|
||||||
@ -51196,11 +51201,11 @@ var require_form_data = __commonJS({
|
|||||||
} else {
|
} else {
|
||||||
options = populate(params, defaults2);
|
options = populate(params, defaults2);
|
||||||
if (!options.port) {
|
if (!options.port) {
|
||||||
options.port = options.protocol == "https:" ? 443 : 80;
|
options.port = options.protocol === "https:" ? 443 : 80;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
options.headers = this.getHeaders(params.headers);
|
options.headers = this.getHeaders(params.headers);
|
||||||
if (options.protocol == "https:") {
|
if (options.protocol === "https:") {
|
||||||
request2 = https.request(options);
|
request2 = https.request(options);
|
||||||
} else {
|
} else {
|
||||||
request2 = http.request(options);
|
request2 = http.request(options);
|
||||||
@ -51239,214 +51244,7 @@ var require_form_data = __commonJS({
|
|||||||
return "[object FormData]";
|
return "[object FormData]";
|
||||||
};
|
};
|
||||||
setToStringTag(FormData2, "FormData");
|
setToStringTag(FormData2, "FormData");
|
||||||
}
|
module2.exports = FormData2;
|
||||||
});
|
|
||||||
|
|
||||||
// node_modules/balanced-match/index.js
|
|
||||||
var require_balanced_match = __commonJS({
|
|
||||||
"node_modules/balanced-match/index.js"(exports2, module2) {
|
|
||||||
"use strict";
|
|
||||||
module2.exports = balanced;
|
|
||||||
function balanced(a, b, str) {
|
|
||||||
if (a instanceof RegExp) a = maybeMatch(a, str);
|
|
||||||
if (b instanceof RegExp) b = maybeMatch(b, str);
|
|
||||||
var r = range(a, b, str);
|
|
||||||
return r && {
|
|
||||||
start: r[0],
|
|
||||||
end: r[1],
|
|
||||||
pre: str.slice(0, r[0]),
|
|
||||||
body: str.slice(r[0] + a.length, r[1]),
|
|
||||||
post: str.slice(r[1] + b.length)
|
|
||||||
};
|
|
||||||
}
|
|
||||||
function maybeMatch(reg, str) {
|
|
||||||
var m = str.match(reg);
|
|
||||||
return m ? m[0] : null;
|
|
||||||
}
|
|
||||||
balanced.range = range;
|
|
||||||
function range(a, b, str) {
|
|
||||||
var begs, beg, left, right, result;
|
|
||||||
var ai = str.indexOf(a);
|
|
||||||
var bi = str.indexOf(b, ai + 1);
|
|
||||||
var i = ai;
|
|
||||||
if (ai >= 0 && bi > 0) {
|
|
||||||
if (a === b) {
|
|
||||||
return [ai, bi];
|
|
||||||
}
|
|
||||||
begs = [];
|
|
||||||
left = str.length;
|
|
||||||
while (i >= 0 && !result) {
|
|
||||||
if (i == ai) {
|
|
||||||
begs.push(i);
|
|
||||||
ai = str.indexOf(a, i + 1);
|
|
||||||
} else if (begs.length == 1) {
|
|
||||||
result = [begs.pop(), bi];
|
|
||||||
} else {
|
|
||||||
beg = begs.pop();
|
|
||||||
if (beg < left) {
|
|
||||||
left = beg;
|
|
||||||
right = bi;
|
|
||||||
}
|
|
||||||
bi = str.indexOf(b, i + 1);
|
|
||||||
}
|
|
||||||
i = ai < bi && ai >= 0 ? ai : bi;
|
|
||||||
}
|
|
||||||
if (begs.length) {
|
|
||||||
result = [left, right];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// node_modules/brace-expansion/index.js
|
|
||||||
var require_brace_expansion = __commonJS({
|
|
||||||
"node_modules/brace-expansion/index.js"(exports2, module2) {
|
|
||||||
var balanced = require_balanced_match();
|
|
||||||
module2.exports = expandTop;
|
|
||||||
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
||||||
var escOpen = "\0OPEN" + Math.random() + "\0";
|
|
||||||
var escClose = "\0CLOSE" + Math.random() + "\0";
|
|
||||||
var escComma = "\0COMMA" + Math.random() + "\0";
|
|
||||||
var escPeriod = "\0PERIOD" + Math.random() + "\0";
|
|
||||||
function numeric(str) {
|
|
||||||
return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0);
|
|
||||||
}
|
|
||||||
function escapeBraces(str) {
|
|
||||||
return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod);
|
|
||||||
}
|
|
||||||
function unescapeBraces(str) {
|
|
||||||
return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
|
|
||||||
}
|
|
||||||
function parseCommaParts(str) {
|
|
||||||
if (!str)
|
|
||||||
return [""];
|
|
||||||
var parts = [];
|
|
||||||
var m = balanced("{", "}", str);
|
|
||||||
if (!m)
|
|
||||||
return str.split(",");
|
|
||||||
var pre = m.pre;
|
|
||||||
var body = m.body;
|
|
||||||
var post = m.post;
|
|
||||||
var p = pre.split(",");
|
|
||||||
p[p.length - 1] += "{" + body + "}";
|
|
||||||
var postParts = parseCommaParts(post);
|
|
||||||
if (post.length) {
|
|
||||||
p[p.length - 1] += postParts.shift();
|
|
||||||
p.push.apply(p, postParts);
|
|
||||||
}
|
|
||||||
parts.push.apply(parts, p);
|
|
||||||
return parts;
|
|
||||||
}
|
|
||||||
function expandTop(str) {
|
|
||||||
if (!str)
|
|
||||||
return [];
|
|
||||||
if (str.substr(0, 2) === "{}") {
|
|
||||||
str = "\\{\\}" + str.substr(2);
|
|
||||||
}
|
|
||||||
return expand2(escapeBraces(str), true).map(unescapeBraces);
|
|
||||||
}
|
|
||||||
function embrace(str) {
|
|
||||||
return "{" + str + "}";
|
|
||||||
}
|
|
||||||
function isPadded(el) {
|
|
||||||
return /^-?0\d/.test(el);
|
|
||||||
}
|
|
||||||
function lte(i, y) {
|
|
||||||
return i <= y;
|
|
||||||
}
|
|
||||||
function gte(i, y) {
|
|
||||||
return i >= y;
|
|
||||||
}
|
|
||||||
function expand2(str, isTop) {
|
|
||||||
var expansions = [];
|
|
||||||
var m = balanced("{", "}", str);
|
|
||||||
if (!m) return [str];
|
|
||||||
var pre = m.pre;
|
|
||||||
var post = m.post.length ? expand2(m.post, false) : [""];
|
|
||||||
if (/\$$/.test(m.pre)) {
|
|
||||||
for (var k = 0; k < post.length; k++) {
|
|
||||||
var expansion = pre + "{" + m.body + "}" + post[k];
|
|
||||||
expansions.push(expansion);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
|
||||||
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
|
||||||
var isSequence = isNumericSequence || isAlphaSequence;
|
|
||||||
var isOptions = m.body.indexOf(",") >= 0;
|
|
||||||
if (!isSequence && !isOptions) {
|
|
||||||
if (m.post.match(/,.*\}/)) {
|
|
||||||
str = m.pre + "{" + m.body + escClose + m.post;
|
|
||||||
return expand2(str);
|
|
||||||
}
|
|
||||||
return [str];
|
|
||||||
}
|
|
||||||
var n;
|
|
||||||
if (isSequence) {
|
|
||||||
n = m.body.split(/\.\./);
|
|
||||||
} else {
|
|
||||||
n = parseCommaParts(m.body);
|
|
||||||
if (n.length === 1) {
|
|
||||||
n = expand2(n[0], false).map(embrace);
|
|
||||||
if (n.length === 1) {
|
|
||||||
return post.map(function(p) {
|
|
||||||
return m.pre + n[0] + p;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
var N;
|
|
||||||
if (isSequence) {
|
|
||||||
var x = numeric(n[0]);
|
|
||||||
var y = numeric(n[1]);
|
|
||||||
var width = Math.max(n[0].length, n[1].length);
|
|
||||||
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
|
|
||||||
var test = lte;
|
|
||||||
var reverse = y < x;
|
|
||||||
if (reverse) {
|
|
||||||
incr *= -1;
|
|
||||||
test = gte;
|
|
||||||
}
|
|
||||||
var pad = n.some(isPadded);
|
|
||||||
N = [];
|
|
||||||
for (var i = x; test(i, y); i += incr) {
|
|
||||||
var c;
|
|
||||||
if (isAlphaSequence) {
|
|
||||||
c = String.fromCharCode(i);
|
|
||||||
if (c === "\\")
|
|
||||||
c = "";
|
|
||||||
} else {
|
|
||||||
c = String(i);
|
|
||||||
if (pad) {
|
|
||||||
var need = width - c.length;
|
|
||||||
if (need > 0) {
|
|
||||||
var z = new Array(need + 1).join("0");
|
|
||||||
if (i < 0)
|
|
||||||
c = "-" + z + c.slice(1);
|
|
||||||
else
|
|
||||||
c = z + c;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
N.push(c);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
N = [];
|
|
||||||
for (var j = 0; j < n.length; j++) {
|
|
||||||
N.push.apply(N, expand2(n[j], false));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for (var j = 0; j < N.length; j++) {
|
|
||||||
for (var k = 0; k < post.length; k++) {
|
|
||||||
var expansion = pre + N[j] + post[k];
|
|
||||||
if (!isTop || isSequence || expansion)
|
|
||||||
expansions.push(expansion);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return expansions;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -51639,12 +51437,15 @@ async function neocitiesLocalDiff({
|
|||||||
const ncIndex = keyBy(neoCitiesFiltered, "path");
|
const ncIndex = keyBy(neoCitiesFiltered, "path");
|
||||||
const ncFiles = new Set(neoCitiesFiltered.map((f) => f.path));
|
const ncFiles = new Set(neoCitiesFiltered.map((f) => f.path));
|
||||||
const localListingFiltered = localListing.filter((f) => !f.stat.isDirectory());
|
const localListingFiltered = localListing.filter((f) => !f.stat.isDirectory());
|
||||||
|
localListingFiltered.forEach((v) => {
|
||||||
|
v.relname = forceUnixRelname(v.relname);
|
||||||
|
});
|
||||||
const localIndex = keyBy(localListingFiltered, "relname");
|
const localIndex = keyBy(localListingFiltered, "relname");
|
||||||
const localFiles = new Set(localListingFiltered.map((f) => forceUnixRelname(f.relname)));
|
const localFiles = new Set(localListingFiltered.map((f) => f.relname));
|
||||||
const unsupportedFilesFiltered = localListingFiltered.filter(
|
const unsupportedFilesFiltered = localListingFiltered.filter(
|
||||||
(f) => !supportedFiletypes.has(import_node_path.default.extname(f.basename).toLowerCase())
|
(f) => !supportedFiletypes.has(import_node_path.default.extname(f.basename).toLowerCase())
|
||||||
);
|
);
|
||||||
const unsupportedFilesSet = new Set(unsupportedFilesFiltered.map((f) => forceUnixRelname(f.relname)));
|
const unsupportedFilesSet = new Set(unsupportedFilesFiltered.map((f) => f.relname));
|
||||||
const protectedSet = /* @__PURE__ */ new Set();
|
const protectedSet = /* @__PURE__ */ new Set();
|
||||||
ncFiles.forEach((ncFile) => {
|
ncFiles.forEach((ncFile) => {
|
||||||
if (protectedFileFilter(ncFile)) protectedSet.add(ncFile);
|
if (protectedFileFilter(ncFile)) protectedSet.add(ncFile);
|
||||||
@ -51712,7 +51513,7 @@ async function neocitiesLocalDiff({
|
|||||||
async function sha1FromPath(p) {
|
async function sha1FromPath(p) {
|
||||||
const rs = import_node_fs2.default.createReadStream(p);
|
const rs = import_node_fs2.default.createReadStream(p);
|
||||||
const hash = import_node_crypto.default.createHash("sha1");
|
const hash = import_node_crypto.default.createHash("sha1");
|
||||||
await (0, import_promises.pipeline)(rs, hash);
|
await (0, import_promises.pipeline)(rs, hash, { end: false });
|
||||||
return hash.digest("hex");
|
return hash.digest("hex");
|
||||||
}
|
}
|
||||||
function difference(setA, setB) {
|
function difference(setA, setB) {
|
||||||
@ -52206,8 +52007,216 @@ var import_node_path2 = __toESM(require("node:path"), 1);
|
|||||||
var import_node_assert = __toESM(require("node:assert"), 1);
|
var import_node_assert = __toESM(require("node:assert"), 1);
|
||||||
var import_promises2 = __toESM(require("node:fs/promises"), 1);
|
var import_promises2 = __toESM(require("node:fs/promises"), 1);
|
||||||
|
|
||||||
// node_modules/minimatch/dist/esm/index.js
|
// node_modules/@isaacs/balanced-match/dist/esm/index.js
|
||||||
var import_brace_expansion = __toESM(require_brace_expansion(), 1);
|
var balanced = (a, b, str) => {
|
||||||
|
const ma = a instanceof RegExp ? maybeMatch(a, str) : a;
|
||||||
|
const mb = b instanceof RegExp ? maybeMatch(b, str) : b;
|
||||||
|
const r = ma !== null && mb != null && range(ma, mb, str);
|
||||||
|
return r && {
|
||||||
|
start: r[0],
|
||||||
|
end: r[1],
|
||||||
|
pre: str.slice(0, r[0]),
|
||||||
|
body: str.slice(r[0] + ma.length, r[1]),
|
||||||
|
post: str.slice(r[1] + mb.length)
|
||||||
|
};
|
||||||
|
};
|
||||||
|
var maybeMatch = (reg, str) => {
|
||||||
|
const m = str.match(reg);
|
||||||
|
return m ? m[0] : null;
|
||||||
|
};
|
||||||
|
var range = (a, b, str) => {
|
||||||
|
let begs, beg, left, right = void 0, result;
|
||||||
|
let ai = str.indexOf(a);
|
||||||
|
let bi = str.indexOf(b, ai + 1);
|
||||||
|
let i = ai;
|
||||||
|
if (ai >= 0 && bi > 0) {
|
||||||
|
if (a === b) {
|
||||||
|
return [ai, bi];
|
||||||
|
}
|
||||||
|
begs = [];
|
||||||
|
left = str.length;
|
||||||
|
while (i >= 0 && !result) {
|
||||||
|
if (i === ai) {
|
||||||
|
begs.push(i);
|
||||||
|
ai = str.indexOf(a, i + 1);
|
||||||
|
} else if (begs.length === 1) {
|
||||||
|
const r = begs.pop();
|
||||||
|
if (r !== void 0)
|
||||||
|
result = [r, bi];
|
||||||
|
} else {
|
||||||
|
beg = begs.pop();
|
||||||
|
if (beg !== void 0 && beg < left) {
|
||||||
|
left = beg;
|
||||||
|
right = bi;
|
||||||
|
}
|
||||||
|
bi = str.indexOf(b, i + 1);
|
||||||
|
}
|
||||||
|
i = ai < bi && ai >= 0 ? ai : bi;
|
||||||
|
}
|
||||||
|
if (begs.length && right !== void 0) {
|
||||||
|
result = [left, right];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
};
|
||||||
|
|
||||||
|
// node_modules/@isaacs/brace-expansion/dist/esm/index.js
|
||||||
|
var escSlash = "\0SLASH" + Math.random() + "\0";
|
||||||
|
var escOpen = "\0OPEN" + Math.random() + "\0";
|
||||||
|
var escClose = "\0CLOSE" + Math.random() + "\0";
|
||||||
|
var escComma = "\0COMMA" + Math.random() + "\0";
|
||||||
|
var escPeriod = "\0PERIOD" + Math.random() + "\0";
|
||||||
|
var escSlashPattern = new RegExp(escSlash, "g");
|
||||||
|
var escOpenPattern = new RegExp(escOpen, "g");
|
||||||
|
var escClosePattern = new RegExp(escClose, "g");
|
||||||
|
var escCommaPattern = new RegExp(escComma, "g");
|
||||||
|
var escPeriodPattern = new RegExp(escPeriod, "g");
|
||||||
|
var slashPattern = /\\\\/g;
|
||||||
|
var openPattern = /\\{/g;
|
||||||
|
var closePattern = /\\}/g;
|
||||||
|
var commaPattern = /\\,/g;
|
||||||
|
var periodPattern = /\\./g;
|
||||||
|
function numeric(str) {
|
||||||
|
return !isNaN(str) ? parseInt(str, 10) : str.charCodeAt(0);
|
||||||
|
}
|
||||||
|
function escapeBraces(str) {
|
||||||
|
return str.replace(slashPattern, escSlash).replace(openPattern, escOpen).replace(closePattern, escClose).replace(commaPattern, escComma).replace(periodPattern, escPeriod);
|
||||||
|
}
|
||||||
|
function unescapeBraces(str) {
|
||||||
|
return str.replace(escSlashPattern, "\\").replace(escOpenPattern, "{").replace(escClosePattern, "}").replace(escCommaPattern, ",").replace(escPeriodPattern, ".");
|
||||||
|
}
|
||||||
|
function parseCommaParts(str) {
|
||||||
|
if (!str) {
|
||||||
|
return [""];
|
||||||
|
}
|
||||||
|
const parts = [];
|
||||||
|
const m = balanced("{", "}", str);
|
||||||
|
if (!m) {
|
||||||
|
return str.split(",");
|
||||||
|
}
|
||||||
|
const { pre, body, post } = m;
|
||||||
|
const p = pre.split(",");
|
||||||
|
p[p.length - 1] += "{" + body + "}";
|
||||||
|
const postParts = parseCommaParts(post);
|
||||||
|
if (post.length) {
|
||||||
|
;
|
||||||
|
p[p.length - 1] += postParts.shift();
|
||||||
|
p.push.apply(p, postParts);
|
||||||
|
}
|
||||||
|
parts.push.apply(parts, p);
|
||||||
|
return parts;
|
||||||
|
}
|
||||||
|
function expand(str) {
|
||||||
|
if (!str) {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
if (str.slice(0, 2) === "{}") {
|
||||||
|
str = "\\{\\}" + str.slice(2);
|
||||||
|
}
|
||||||
|
return expand_(escapeBraces(str), true).map(unescapeBraces);
|
||||||
|
}
|
||||||
|
function embrace(str) {
|
||||||
|
return "{" + str + "}";
|
||||||
|
}
|
||||||
|
function isPadded(el) {
|
||||||
|
return /^-?0\d/.test(el);
|
||||||
|
}
|
||||||
|
function lte(i, y) {
|
||||||
|
return i <= y;
|
||||||
|
}
|
||||||
|
function gte(i, y) {
|
||||||
|
return i >= y;
|
||||||
|
}
|
||||||
|
function expand_(str, isTop) {
|
||||||
|
const expansions = [];
|
||||||
|
const m = balanced("{", "}", str);
|
||||||
|
if (!m)
|
||||||
|
return [str];
|
||||||
|
const pre = m.pre;
|
||||||
|
const post = m.post.length ? expand_(m.post, false) : [""];
|
||||||
|
if (/\$$/.test(m.pre)) {
|
||||||
|
for (let k = 0; k < post.length; k++) {
|
||||||
|
const expansion = pre + "{" + m.body + "}" + post[k];
|
||||||
|
expansions.push(expansion);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
const isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
||||||
|
const isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
||||||
|
const isSequence = isNumericSequence || isAlphaSequence;
|
||||||
|
const isOptions = m.body.indexOf(",") >= 0;
|
||||||
|
if (!isSequence && !isOptions) {
|
||||||
|
if (m.post.match(/,(?!,).*\}/)) {
|
||||||
|
str = m.pre + "{" + m.body + escClose + m.post;
|
||||||
|
return expand_(str);
|
||||||
|
}
|
||||||
|
return [str];
|
||||||
|
}
|
||||||
|
let n;
|
||||||
|
if (isSequence) {
|
||||||
|
n = m.body.split(/\.\./);
|
||||||
|
} else {
|
||||||
|
n = parseCommaParts(m.body);
|
||||||
|
if (n.length === 1 && n[0] !== void 0) {
|
||||||
|
n = expand_(n[0], false).map(embrace);
|
||||||
|
if (n.length === 1) {
|
||||||
|
return post.map((p) => m.pre + n[0] + p);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
let N;
|
||||||
|
if (isSequence && n[0] !== void 0 && n[1] !== void 0) {
|
||||||
|
const x = numeric(n[0]);
|
||||||
|
const y = numeric(n[1]);
|
||||||
|
const width = Math.max(n[0].length, n[1].length);
|
||||||
|
let incr = n.length === 3 && n[2] !== void 0 ? Math.abs(numeric(n[2])) : 1;
|
||||||
|
let test = lte;
|
||||||
|
const reverse = y < x;
|
||||||
|
if (reverse) {
|
||||||
|
incr *= -1;
|
||||||
|
test = gte;
|
||||||
|
}
|
||||||
|
const pad = n.some(isPadded);
|
||||||
|
N = [];
|
||||||
|
for (let i = x; test(i, y); i += incr) {
|
||||||
|
let c;
|
||||||
|
if (isAlphaSequence) {
|
||||||
|
c = String.fromCharCode(i);
|
||||||
|
if (c === "\\") {
|
||||||
|
c = "";
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
c = String(i);
|
||||||
|
if (pad) {
|
||||||
|
const need = width - c.length;
|
||||||
|
if (need > 0) {
|
||||||
|
const z = new Array(need + 1).join("0");
|
||||||
|
if (i < 0) {
|
||||||
|
c = "-" + z + c.slice(1);
|
||||||
|
} else {
|
||||||
|
c = z + c;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
N.push(c);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
N = [];
|
||||||
|
for (let j = 0; j < n.length; j++) {
|
||||||
|
N.push.apply(N, expand_(n[j], false));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (let j = 0; j < N.length; j++) {
|
||||||
|
for (let k = 0; k < post.length; k++) {
|
||||||
|
const expansion = pre + N[j] + post[k];
|
||||||
|
if (!isTop || isSequence || expansion) {
|
||||||
|
expansions.push(expansion);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return expansions;
|
||||||
|
}
|
||||||
|
|
||||||
// node_modules/minimatch/dist/esm/assert-valid-pattern.js
|
// node_modules/minimatch/dist/esm/assert-valid-pattern.js
|
||||||
var MAX_PATTERN_LENGTH = 1024 * 64;
|
var MAX_PATTERN_LENGTH = 1024 * 64;
|
||||||
@ -52934,7 +52943,7 @@ var braceExpand = (pattern, options = {}) => {
|
|||||||
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
|
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
|
||||||
return [pattern];
|
return [pattern];
|
||||||
}
|
}
|
||||||
return (0, import_brace_expansion.default)(pattern);
|
return expand(pattern);
|
||||||
};
|
};
|
||||||
minimatch.braceExpand = braceExpand;
|
minimatch.braceExpand = braceExpand;
|
||||||
var makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe();
|
var makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe();
|
||||||
|
|||||||
8
dist/index.cjs.map
vendored
8
dist/index.cjs.map
vendored
File diff suppressed because one or more lines are too long
71
dist/meta.json
vendored
71
dist/meta.json
vendored
@ -6487,12 +6487,12 @@
|
|||||||
"format": "cjs"
|
"format": "cjs"
|
||||||
},
|
},
|
||||||
"node_modules/form-data/lib/populate.js": {
|
"node_modules/form-data/lib/populate.js": {
|
||||||
"bytes": 177,
|
"bytes": 232,
|
||||||
"imports": [],
|
"imports": [],
|
||||||
"format": "cjs"
|
"format": "cjs"
|
||||||
},
|
},
|
||||||
"node_modules/form-data/lib/form_data.js": {
|
"node_modules/form-data/lib/form_data.js": {
|
||||||
"bytes": 14010,
|
"bytes": 14659,
|
||||||
"imports": [
|
"imports": [
|
||||||
{
|
{
|
||||||
"path": "node_modules/combined-stream/lib/combined_stream.js",
|
"path": "node_modules/combined-stream/lib/combined_stream.js",
|
||||||
@ -6549,6 +6549,11 @@
|
|||||||
"kind": "require-call",
|
"kind": "require-call",
|
||||||
"original": "es-set-tostringtag"
|
"original": "es-set-tostringtag"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "node_modules/hasown/index.js",
|
||||||
|
"kind": "require-call",
|
||||||
|
"original": "hasown"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "node_modules/form-data/lib/populate.js",
|
"path": "node_modules/form-data/lib/populate.js",
|
||||||
"kind": "require-call",
|
"kind": "require-call",
|
||||||
@ -6589,7 +6594,7 @@
|
|||||||
"format": "esm"
|
"format": "esm"
|
||||||
},
|
},
|
||||||
"node_modules/async-neocities/lib/folder-diff.js": {
|
"node_modules/async-neocities/lib/folder-diff.js": {
|
||||||
"bytes": 6337,
|
"bytes": 6399,
|
||||||
"imports": [
|
"imports": [
|
||||||
{
|
{
|
||||||
"path": "node:crypto",
|
"path": "node:crypto",
|
||||||
@ -6717,21 +6722,21 @@
|
|||||||
],
|
],
|
||||||
"format": "esm"
|
"format": "esm"
|
||||||
},
|
},
|
||||||
"node_modules/balanced-match/index.js": {
|
"node_modules/@isaacs/balanced-match/dist/esm/index.js": {
|
||||||
"bytes": 1219,
|
"bytes": 1608,
|
||||||
"imports": [],
|
"imports": [],
|
||||||
"format": "cjs"
|
"format": "esm"
|
||||||
},
|
},
|
||||||
"node_modules/brace-expansion/index.js": {
|
"node_modules/@isaacs/brace-expansion/dist/esm/index.js": {
|
||||||
"bytes": 4992,
|
"bytes": 6496,
|
||||||
"imports": [
|
"imports": [
|
||||||
{
|
{
|
||||||
"path": "node_modules/balanced-match/index.js",
|
"path": "node_modules/@isaacs/balanced-match/dist/esm/index.js",
|
||||||
"kind": "require-call",
|
"kind": "import-statement",
|
||||||
"original": "balanced-match"
|
"original": "@isaacs/balanced-match"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "cjs"
|
"format": "esm"
|
||||||
},
|
},
|
||||||
"node_modules/minimatch/dist/esm/assert-valid-pattern.js": {
|
"node_modules/minimatch/dist/esm/assert-valid-pattern.js": {
|
||||||
"bytes": 336,
|
"bytes": 336,
|
||||||
@ -6770,12 +6775,12 @@
|
|||||||
"format": "esm"
|
"format": "esm"
|
||||||
},
|
},
|
||||||
"node_modules/minimatch/dist/esm/index.js": {
|
"node_modules/minimatch/dist/esm/index.js": {
|
||||||
"bytes": 39098,
|
"bytes": 39110,
|
||||||
"imports": [
|
"imports": [
|
||||||
{
|
{
|
||||||
"path": "node_modules/brace-expansion/index.js",
|
"path": "node_modules/@isaacs/brace-expansion/dist/esm/index.js",
|
||||||
"kind": "import-statement",
|
"kind": "import-statement",
|
||||||
"original": "brace-expansion"
|
"original": "@isaacs/brace-expansion"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "node_modules/minimatch/dist/esm/assert-valid-pattern.js",
|
"path": "node_modules/minimatch/dist/esm/assert-valid-pattern.js",
|
||||||
@ -6857,7 +6862,7 @@
|
|||||||
"imports": [],
|
"imports": [],
|
||||||
"exports": [],
|
"exports": [],
|
||||||
"inputs": {},
|
"inputs": {},
|
||||||
"bytes": 3366608
|
"bytes": 3368571
|
||||||
},
|
},
|
||||||
"dist/index.cjs": {
|
"dist/index.cjs": {
|
||||||
"imports": [
|
"imports": [
|
||||||
@ -8203,7 +8208,7 @@
|
|||||||
"bytesInOutput": 2955
|
"bytesInOutput": 2955
|
||||||
},
|
},
|
||||||
"node_modules/undici/lib/core/util.js": {
|
"node_modules/undici/lib/core/util.js": {
|
||||||
"bytesInOutput": 14345
|
"bytesInOutput": 14350
|
||||||
},
|
},
|
||||||
"node_modules/undici/lib/timers.js": {
|
"node_modules/undici/lib/timers.js": {
|
||||||
"bytesInOutput": 2128
|
"bytesInOutput": 2128
|
||||||
@ -8383,7 +8388,7 @@
|
|||||||
"bytesInOutput": 5686
|
"bytesInOutput": 5686
|
||||||
},
|
},
|
||||||
"node_modules/undici/lib/handler/RetryHandler.js": {
|
"node_modules/undici/lib/handler/RetryHandler.js": {
|
||||||
"bytesInOutput": 8801
|
"bytesInOutput": 8804
|
||||||
},
|
},
|
||||||
"node_modules/undici/lib/global.js": {
|
"node_modules/undici/lib/global.js": {
|
||||||
"bytesInOutput": 900
|
"bytesInOutput": 900
|
||||||
@ -8503,7 +8508,7 @@
|
|||||||
"bytesInOutput": 9363
|
"bytesInOutput": 9363
|
||||||
},
|
},
|
||||||
"node_modules/ignore/index.js": {
|
"node_modules/ignore/index.js": {
|
||||||
"bytesInOutput": 13558
|
"bytesInOutput": 13563
|
||||||
},
|
},
|
||||||
"node_modules/async-folder-walker/index.js": {
|
"node_modules/async-folder-walker/index.js": {
|
||||||
"bytesInOutput": 2800
|
"bytesInOutput": 2800
|
||||||
@ -8524,7 +8529,7 @@
|
|||||||
"bytesInOutput": 3847
|
"bytesInOutput": 3847
|
||||||
},
|
},
|
||||||
"node_modules/async-neocities/node_modules/undici/lib/core/util.js": {
|
"node_modules/async-neocities/node_modules/undici/lib/core/util.js": {
|
||||||
"bytesInOutput": 19916
|
"bytesInOutput": 19921
|
||||||
},
|
},
|
||||||
"node_modules/async-neocities/node_modules/undici/lib/util/stats.js": {
|
"node_modules/async-neocities/node_modules/undici/lib/util/stats.js": {
|
||||||
"bytesInOutput": 857
|
"bytesInOutput": 857
|
||||||
@ -8617,7 +8622,7 @@
|
|||||||
"bytesInOutput": 4504
|
"bytesInOutput": 4504
|
||||||
},
|
},
|
||||||
"node_modules/async-neocities/node_modules/undici/lib/handler/retry-handler.js": {
|
"node_modules/async-neocities/node_modules/undici/lib/handler/retry-handler.js": {
|
||||||
"bytesInOutput": 9374
|
"bytesInOutput": 9377
|
||||||
},
|
},
|
||||||
"node_modules/async-neocities/node_modules/undici/lib/dispatcher/retry-agent.js": {
|
"node_modules/async-neocities/node_modules/undici/lib/dispatcher/retry-agent.js": {
|
||||||
"bytesInOutput": 944
|
"bytesInOutput": 944
|
||||||
@ -8962,16 +8967,10 @@
|
|||||||
"bytesInOutput": 1357
|
"bytesInOutput": 1357
|
||||||
},
|
},
|
||||||
"node_modules/form-data/lib/populate.js": {
|
"node_modules/form-data/lib/populate.js": {
|
||||||
"bytesInOutput": 278
|
"bytesInOutput": 296
|
||||||
},
|
},
|
||||||
"node_modules/form-data/lib/form_data.js": {
|
"node_modules/form-data/lib/form_data.js": {
|
||||||
"bytesInOutput": 11584
|
"bytesInOutput": 11561
|
||||||
},
|
|
||||||
"node_modules/balanced-match/index.js": {
|
|
||||||
"bytesInOutput": 1529
|
|
||||||
},
|
|
||||||
"node_modules/brace-expansion/index.js": {
|
|
||||||
"bytesInOutput": 4770
|
|
||||||
},
|
},
|
||||||
"index.js": {
|
"index.js": {
|
||||||
"bytesInOutput": 2882
|
"bytesInOutput": 2882
|
||||||
@ -8989,7 +8988,7 @@
|
|||||||
"bytesInOutput": 376
|
"bytesInOutput": 376
|
||||||
},
|
},
|
||||||
"node_modules/async-neocities/lib/folder-diff.js": {
|
"node_modules/async-neocities/lib/folder-diff.js": {
|
||||||
"bytesInOutput": 4172
|
"bytesInOutput": 4243
|
||||||
},
|
},
|
||||||
"node_modules/async-neocities/lib/key-by.js": {
|
"node_modules/async-neocities/lib/key-by.js": {
|
||||||
"bytesInOutput": 749
|
"bytesInOutput": 749
|
||||||
@ -9009,8 +9008,11 @@
|
|||||||
"node_modules/async-neocities/lib/timer.js": {
|
"node_modules/async-neocities/lib/timer.js": {
|
||||||
"bytesInOutput": 731
|
"bytesInOutput": 731
|
||||||
},
|
},
|
||||||
"node_modules/minimatch/dist/esm/index.js": {
|
"node_modules/@isaacs/balanced-match/dist/esm/index.js": {
|
||||||
"bytesInOutput": 23963
|
"bytesInOutput": 1300
|
||||||
|
},
|
||||||
|
"node_modules/@isaacs/brace-expansion/dist/esm/index.js": {
|
||||||
|
"bytesInOutput": 4545
|
||||||
},
|
},
|
||||||
"node_modules/minimatch/dist/esm/assert-valid-pattern.js": {
|
"node_modules/minimatch/dist/esm/assert-valid-pattern.js": {
|
||||||
"bytesInOutput": 261
|
"bytesInOutput": 261
|
||||||
@ -9026,9 +9028,12 @@
|
|||||||
},
|
},
|
||||||
"node_modules/minimatch/dist/esm/escape.js": {
|
"node_modules/minimatch/dist/esm/escape.js": {
|
||||||
"bytesInOutput": 165
|
"bytesInOutput": 165
|
||||||
|
},
|
||||||
|
"node_modules/minimatch/dist/esm/index.js": {
|
||||||
|
"bytesInOutput": 23866
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bytes": 2063169
|
"bytes": 2062694
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "deploy-to-neocities",
|
"name": "deploy-to-neocities",
|
||||||
"description": "Github Action to deplpoy a folder to Neocities.org",
|
"description": "Github Action to deplpoy a folder to Neocities.org",
|
||||||
"version": "3.0.3",
|
"version": "3.0.4",
|
||||||
"author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io/)",
|
"author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io/)",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/bcomnes/deploy-to-neocities/issues"
|
"url": "https://github.com/bcomnes/deploy-to-neocities/issues"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user