@d1g1tal/transportr 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [3.2.2](https://github.com/D1g1talEntr0py/transportr/compare/v3.2.1...v3.2.2) (2026-04-09)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **build:** add handling of export 'as' format for IIFE scripts (e7d1857d664196a8fd29352fde320f729645bda8)
|
|
6
|
+
|
|
1
7
|
## [3.2.1](https://github.com/D1g1talEntr0py/transportr/compare/v3.2.0...v3.2.1) (2026-04-09)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
// iife:/home/runner/work/transportr/transportr/dist/content-type.js
|
|
3
3
|
var i = { AAC: "audio/aac", ABW: "application/x-abiword", ARC: "application/x-freearc", AVIF: "image/avif", AVI: "video/x-msvideo", AZW: "application/vnd.amazon.ebook", BIN: "application/octet-stream", BMP: "image/bmp", BZIP: "application/x-bzip", BZIP2: "application/x-bzip2", CDA: "application/x-cdf", CSH: "application/x-csh", CSS: "text/css", CSV: "text/csv", DOC: "application/msword", DOCX: "application/vnd.openxmlformats-officedocument.wordprocessingml.document", EOT: "application/vnd.ms-fontobject", EPUB: "application/epub+zip", GZIP: "application/gzip", GIF: "image/gif", HTML: "text/html", ICO: "image/vnd.microsoft.icon", ICS: "text/calendar", JAR: "application/java-archive", JPEG: "image/jpeg", JAVA_SCRIPT: "text/javascript", JSON: "application/json", JSON_LD: "application/ld+json", JSON_MERGE_PATCH: "application/merge-patch+json", MID: "audio/midi", X_MID: "audio/x-midi", MP3: "audio/mpeg", MP4A: "audio/mp4", MP4: "video/mp4", MPEG: "video/mpeg", MPKG: "application/vnd.apple.installer+xml", ODP: "application/vnd.oasis.opendocument.presentation", ODS: "application/vnd.oasis.opendocument.spreadsheet", ODT: "application/vnd.oasis.opendocument.text", OGA: "audio/ogg", OGV: "video/ogg", OGX: "application/ogg", OPUS: "audio/opus", OTF: "font/otf", PNG: "image/png", PDF: "application/pdf", PHP: "application/x-httpd-php", PPT: "application/vnd.ms-powerpoint", PPTX: "application/vnd.openxmlformats-officedocument.presentationml.presentation", RAR: "application/vnd.rar", RTF: "application/rtf", SH: "application/x-sh", SVG: "image/svg+xml", TAR: "application/x-tar", TIFF: "image/tiff", TRANSPORT_STREAM: "video/mp2t", TTF: "font/ttf", TEXT: "text/plain", VSD: "application/vnd.visio", WAV: "audio/wav", WEBA: "audio/webm", WEBM: "video/webm", WEBP: "image/webp", WOFF: "font/woff", WOFF2: "font/woff2", FORM: "application/x-www-form-urlencoded", MULTIPART_FORM_DATA: "multipart/form-data", XHTML: "application/xhtml+xml", XLS: "application/vnd.ms-excel", XLSX: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", XML: "application/xml", XUL: "application/vnd.mozilla.xul+xml", ZIP: "application/zip", "3GP": "video/3gpp", "3G2": "video/3gpp2", "7Z": "application/x-7z-compressed" };
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
Object.assign(globalThis, { ContentType: i });
|
|
5
6
|
})();
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
// iife:/home/runner/work/transportr/transportr/dist/request-header.js
|
|
3
3
|
var e = { ACCEPT: "accept", ACCEPT_CHARSET: "accept-charset", ACCEPT_ENCODING: "accept-encoding", ACCEPT_LANGUAGE: "accept-language", AUTHORIZATION: "authorization", CACHE_CONTROL: "cache-control", CONNECTION: "connection", COOKIE: "cookie", CONTENT_LENGTH: "content-length", CONTENT_MD5: "content-md5", CONTENT_TYPE: "content-type", DATE: "date", HOST: "host", IF_MATCH: "if-match", IF_MODIFIED_SINCE: "if-modified-since", IF_NONE_MATCH: "if-none-match", IF_RANGE: "if-range", IF_UNMODIFIED_SINCE: "if-unmodified-since", MAX_FORWARDS: "max-forwards", ORIGIN: "origin", PRAGMA: "pragma", PROXY_AUTHORIZATION: "proxy-authorization", RANGE: "range", REFERER: "referer", TE: "te", USER_AGENT: "user-agent", UPGRADE: "upgrade", WARNING: "warning", X_REQUESTED_WITH: "x-requested-with", X_FORWARDED_FOR: "x-forwarded-for", X_FORWARDED_HOST: "x-forwarded-host", X_FORWARDED_PROTO: "x-forwarded-proto" };
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
Object.assign(globalThis, { RequestHeader: e });
|
|
5
6
|
})();
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
// iife:/home/runner/work/transportr/transportr/dist/request-method.js
|
|
3
3
|
var T = { OPTIONS: "OPTIONS", GET: "GET", HEAD: "HEAD", POST: "POST", PUT: "PUT", DELETE: "DELETE", TRACE: "TRACE", CONNECT: "CONNECT", PATCH: "PATCH" };
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
Object.assign(globalThis, { RequestMethod: T });
|
|
5
6
|
})();
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
// iife:/home/runner/work/transportr/transportr/dist/response-header.js
|
|
3
3
|
var t = { PROXY_CONNECTION: "proxy-connection", X_UIDH: "x-uidh", X_CSRF_TOKEN: "x-csrf-token", ACCESS_CONTROL_ALLOW_ORIGIN: "access-control-allow-origin", ACCEPT_PATCH: "accept-patch", ACCEPT_RANGES: "accept-ranges", AGE: "age", ALLOW: "allow", CACHE_CONTROL: "cache-control", CONNECTION: "connection", CONTENT_DISPOSITION: "content-disposition", CONTENT_ENCODING: "content-encoding", CONTENT_LANGUAGE: "content-language", CONTENT_LENGTH: "content-length", CONTENT_LOCATION: "content-location", CONTENT_RANGE: "content-range", CONTENT_TYPE: "content-type", DATE: "date", ETAG: "etag", EXPIRES: "expires", LAST_MODIFIED: "last-modified", LINK: "link", LOCATION: "location", P3P: "p3p", PRAGMA: "pragma", PROXY_AUTHENTICATION: "proxy-authenticate", PUBLIC_KEY_PINS: "public-key-pins", RETRY_AFTER: "retry-after", SERVER: "server", SET_COOKIE: "set-cookie", STATUS: "status", STRICT_TRANSPORT_SECURITY: "strict-transport-security", TRAILER: "trailer", TRANSFER_ENCODING: "transfer-encoding", UPGRADE: "upgrade", VARY: "vary", VIA: "via", WARNING: "warning", WWW_AUTHENTICATE: "www-authenticate", X_XSS_PROTECTION: "x-xss-protection", CONTENT_SECURITY_POLICY: "content-security-policy", X_CONTENT_TYPE_OPTIONS: "x-content-type-options", X_POWERED_BY: "x-powered-by" };
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
Object.assign(globalThis, { ResponseHeader: t });
|
|
5
6
|
})();
|
package/dist/iife/transportr.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d1g1tal/transportr",
|
|
3
3
|
"author": "D1g1talEntr0py",
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "JavaScript wrapper for the Fetch API and more...",
|
|
7
7
|
"homepage": "https://github.com/D1g1talEntr0py/transportr#readme",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@d1g1tal/tsbuild": "^1.8.
|
|
75
|
+
"@d1g1tal/tsbuild": "^1.8.2",
|
|
76
76
|
"@eslint/eslintrc": "^3.3.5",
|
|
77
77
|
"@eslint/js": "^10.0.1",
|
|
78
78
|
"@types/jsdom": "^28.0.1",
|