@visulima/storage 1.0.0-alpha.7 → 1.0.0-alpha.9
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 +34 -0
- package/LICENSE.md +2 -2
- package/dist/handler/http/fetch/index.js +4 -4
- package/dist/handler/http/hono/index.js +3 -3
- package/dist/handler/http/nextjs/index.js +3 -3
- package/dist/handler/http/node/index.js +4 -4
- package/dist/handler/http/solid-start/index.js +3 -3
- package/dist/index.js +2 -2
- package/dist/packem_shared/{DiskStorage-BlltBst6.js → DiskStorage-Ck5yGQsq.js} +1 -1
- package/dist/packem_shared/{DiskStorageWithChecksum-BJTmMklc.js → DiskStorageWithChecksum-BRl-V5x2.js} +1 -1
- package/dist/packem_shared/{GCSMetaStorage-B-a0EEAN.js → GCSMetaStorage-CHZKMe7N.js} +1 -1
- package/dist/packem_shared/{GCStorage-0CRe9ItT.js → GCStorage-C-gAuP0j.js} +1 -1
- package/dist/packem_shared/{Multipart-C-iU9LXj.js → Multipart-CRV21AUU.js} +4 -4
- package/dist/packem_shared/{Multipart-5Xpy7WhY.js → Multipart-D2ryPMjD.js} +3 -3
- package/dist/packem_shared/{Rest-DTaszQ6n.js → Rest-DcxBMBjU.js} +4 -4
- package/dist/packem_shared/{Rest-DO7OslCs.js → Rest-DjwU3puo.js} +4 -4
- package/dist/packem_shared/{TUS_RESUMABLE-BfguFdM1.js → TUS_RESUMABLE-Dtfsffnj.js} +1 -1
- package/dist/packem_shared/{Tus-BQItPVAC.js → Tus-DFVlZHaX.js} +4 -4
- package/dist/packem_shared/{Tus-BibjweWH.js → Tus-DaN0FmOy.js} +5 -5
- package/dist/packem_shared/_commonjsHelpers-BqLXS_qQ.js +5 -0
- package/dist/packem_shared/{base-handler-core-DLEVHemv.js → base-handler-core-BoAqTyz7.js} +1 -1
- package/dist/packem_shared/{base-handler-fetch-A7V0N6AJ.js → base-handler-fetch-D4u2xits.js} +2 -2
- package/dist/packem_shared/{base-handler-node-Dx7ce3sU.js → base-handler-node-DGzcHHAy.js} +2 -2
- package/dist/packem_shared/{disk-storage-Bh2wy3YW.js → disk-storage-CD47QI30.js} +1 -1
- package/dist/packem_shared/{gcs-meta-storage-cb2Wp-p-.js → gcs-meta-storage-CJ8Uts_d.js} +1 -1
- package/dist/packem_shared/{headers-C9DasoT1.js → headers-YLRp1dLo.js} +1 -1
- package/dist/packem_shared/{multipart-base-BY0rhkw5.js → multipart-base-C994naBi.js} +1 -1
- package/dist/packem_shared/{rest-base-Bt9Np3M8.js → rest-base-D9URIFkc.js} +2 -2
- package/dist/storage/gcs/index.js +2 -2
- package/dist/storage/local/index.js +2 -2
- package/package.json +7 -6
- package/dist/packem_shared/_commonjsHelpers-B85MJLTf.js +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
## @visulima/storage [1.0.0-alpha.9](https://github.com/visulima/visulima/compare/@visulima/storage@1.0.0-alpha.8...@visulima/storage@1.0.0-alpha.9) (2026-03-26)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **storage:** use workspace:* for internal [@visulima](https://github.com/visulima) deps ([ff79afe](https://github.com/visulima/visulima/commit/ff79afe26f1941eab24cff80477d8c18aaec65e9))
|
|
6
|
+
* **web:** improve build setup with incremental stats caching and prod install ([fe33e75](https://github.com/visulima/visulima/commit/fe33e75827586779b4b3a0c6d57b39f889ee6207))
|
|
7
|
+
|
|
8
|
+
### Miscellaneous Chores
|
|
9
|
+
|
|
10
|
+
* **storage:** migrate deps to pnpm catalogs ([7dfea89](https://github.com/visulima/visulima/commit/7dfea8981d74cd84317133242d2ab5a31f3f98b7))
|
|
11
|
+
|
|
12
|
+
### Code Refactoring
|
|
13
|
+
|
|
14
|
+
* **docs:** migrate Nextra components to fumadocs-ui, remove Nextra stripping ([484878f](https://github.com/visulima/visulima/commit/484878f01879363ef5e9a0282904dc4627d6060c))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Dependencies
|
|
18
|
+
|
|
19
|
+
* **@visulima/pagination:** upgraded to 5.0.0-alpha.7
|
|
20
|
+
* **@visulima/fs:** upgraded to 5.0.0-alpha.5
|
|
21
|
+
* **@visulima/humanizer:** upgraded to 3.0.0-alpha.7
|
|
22
|
+
* **@visulima/path:** upgraded to 3.0.0-alpha.6
|
|
23
|
+
|
|
24
|
+
## @visulima/storage [1.0.0-alpha.8](https://github.com/visulima/visulima/compare/@visulima/storage@1.0.0-alpha.7...@visulima/storage@1.0.0-alpha.8) (2026-03-16)
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* resolve 5 audit vulnerabilities (simple-git, express-rate-limit, tar, file-type, hono) ([2986d77](https://github.com/visulima/visulima/commit/2986d770746afd3223a074dc1a1a0040cca56e61))
|
|
29
|
+
|
|
30
|
+
### Miscellaneous Chores
|
|
31
|
+
|
|
32
|
+
* **storage:** update dependencies ([a2d2577](https://github.com/visulima/visulima/commit/a2d257702693aac7f368bddfd0481cdac09c3901))
|
|
33
|
+
* visulima website ([#591](https://github.com/visulima/visulima/issues/591)) ([59ab2e2](https://github.com/visulima/visulima/commit/59ab2e2befb03e51cd2088956f83d9b87de6d033))
|
|
34
|
+
|
|
1
35
|
## @visulima/storage [1.0.0-alpha.7](https://github.com/visulima/visulima/compare/@visulima/storage@1.0.0-alpha.6...@visulima/storage@1.0.0-alpha.7) (2026-03-06)
|
|
2
36
|
|
|
3
37
|
### Bug Fixes
|
package/LICENSE.md
CHANGED
|
@@ -97,7 +97,7 @@ Repository: git+https://github.com/visulima/visulima.git
|
|
|
97
97
|
>
|
|
98
98
|
> > MIT License
|
|
99
99
|
> >
|
|
100
|
-
> > Copyright (c)
|
|
100
|
+
> > Copyright (c) 2026 visulima
|
|
101
101
|
> >
|
|
102
102
|
> > Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
103
103
|
> > of this software and associated documentation files (the "Software"), to deal
|
|
@@ -131,7 +131,7 @@ Repository: git+https://github.com/visulima/visulima.git
|
|
|
131
131
|
> >
|
|
132
132
|
> > > MIT License
|
|
133
133
|
> > >
|
|
134
|
-
> > > Copyright (c)
|
|
134
|
+
> > > Copyright (c) 2026 visulima
|
|
135
135
|
> > >
|
|
136
136
|
> > > Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
137
137
|
> > > of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as Multipart } from '../../../packem_shared/Multipart-
|
|
2
|
-
export { default as Rest } from '../../../packem_shared/Rest-
|
|
3
|
-
export { Tus } from '../../../packem_shared/Tus-
|
|
4
|
-
export { TUS_RESUMABLE, TUS_VERSION } from '../../../packem_shared/TUS_RESUMABLE-
|
|
1
|
+
export { default as Multipart } from '../../../packem_shared/Multipart-D2ryPMjD.js';
|
|
2
|
+
export { default as Rest } from '../../../packem_shared/Rest-DjwU3puo.js';
|
|
3
|
+
export { Tus } from '../../../packem_shared/Tus-DFVlZHaX.js';
|
|
4
|
+
export { TUS_RESUMABLE, TUS_VERSION } from '../../../packem_shared/TUS_RESUMABLE-Dtfsffnj.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Multipart from '../../../packem_shared/Multipart-
|
|
2
|
-
import RestFetch from '../../../packem_shared/Rest-
|
|
3
|
-
import { Tus } from '../../../packem_shared/Tus-
|
|
1
|
+
import Multipart from '../../../packem_shared/Multipart-D2ryPMjD.js';
|
|
2
|
+
import RestFetch from '../../../packem_shared/Rest-DjwU3puo.js';
|
|
3
|
+
import { Tus } from '../../../packem_shared/Tus-DFVlZHaX.js';
|
|
4
4
|
|
|
5
5
|
const createHandlerFunction = (handler) => async (c) => {
|
|
6
6
|
try {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NextResponse } from 'next/server.js';
|
|
2
|
-
import Multipart from '../../../packem_shared/Multipart-
|
|
3
|
-
import RestFetch from '../../../packem_shared/Rest-
|
|
4
|
-
import { Tus } from '../../../packem_shared/Tus-
|
|
2
|
+
import Multipart from '../../../packem_shared/Multipart-D2ryPMjD.js';
|
|
3
|
+
import RestFetch from '../../../packem_shared/Rest-DjwU3puo.js';
|
|
4
|
+
import { Tus } from '../../../packem_shared/Tus-DFVlZHaX.js';
|
|
5
5
|
|
|
6
6
|
const createHandler = (config) => {
|
|
7
7
|
let handler;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Multipart from '../../../packem_shared/Multipart-
|
|
2
|
-
import Rest from '../../../packem_shared/Rest-
|
|
3
|
-
import { Tus } from '../../../packem_shared/Tus-
|
|
4
|
-
export { TUS_RESUMABLE, TUS_VERSION } from '../../../packem_shared/TUS_RESUMABLE-
|
|
1
|
+
import Multipart from '../../../packem_shared/Multipart-CRV21AUU.js';
|
|
2
|
+
import Rest from '../../../packem_shared/Rest-DcxBMBjU.js';
|
|
3
|
+
import { Tus } from '../../../packem_shared/Tus-DaN0FmOy.js';
|
|
4
|
+
export { TUS_RESUMABLE, TUS_VERSION } from '../../../packem_shared/TUS_RESUMABLE-Dtfsffnj.js';
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Multipart from '../../../packem_shared/Multipart-
|
|
2
|
-
import RestFetch from '../../../packem_shared/Rest-
|
|
3
|
-
import { Tus } from '../../../packem_shared/Tus-
|
|
1
|
+
import Multipart from '../../../packem_shared/Multipart-D2ryPMjD.js';
|
|
2
|
+
import RestFetch from '../../../packem_shared/Rest-DjwU3puo.js';
|
|
3
|
+
import { Tus } from '../../../packem_shared/Tus-DFVlZHaX.js';
|
|
4
4
|
|
|
5
5
|
const createSolidStartHandler = (config) => {
|
|
6
6
|
let handler;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { waitForStorage } from './packem_shared/waitForStorage-Cscw85sx.js';
|
|
2
|
-
export { D as DiskStorage } from './packem_shared/disk-storage-
|
|
3
|
-
export { default as DiskStorageWithChecksum } from './packem_shared/DiskStorageWithChecksum-
|
|
2
|
+
export { D as DiskStorage } from './packem_shared/disk-storage-CD47QI30.js';
|
|
3
|
+
export { default as DiskStorageWithChecksum } from './packem_shared/DiskStorageWithChecksum-BRl-V5x2.js';
|
|
4
4
|
export { L as LocalMetaStorage } from './packem_shared/local-meta-storage-By-3SNBI.js';
|
|
5
5
|
export { default as MetaStorage } from './packem_shared/MetaStorage-pECeFOad.js';
|
|
6
6
|
export { B as AbstractBaseStorage, d as defaultCloudStorageFileNameValidation, a as defaultFilesystemFileNameValidation } from './packem_shared/storage-C6NSXb8h.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'node:fs';
|
|
2
2
|
import 'node:fs/promises';
|
|
3
3
|
import 'node:stream';
|
|
4
|
-
export { D as default } from './disk-storage-
|
|
4
|
+
export { D as default } from './disk-storage-CD47QI30.js';
|
|
5
5
|
import './part-match-BMNqHDYD.js';
|
|
6
6
|
import './ERRORS-D0apMqnc.js';
|
|
7
7
|
import './storage-C6NSXb8h.js';
|
|
@@ -3,7 +3,7 @@ import { truncate } from 'node:fs/promises';
|
|
|
3
3
|
import { Transform, pipeline } from 'node:stream';
|
|
4
4
|
import { p as partMatch, d as detectFileTypeFromStream, g as getFileStatus } from './part-match-BMNqHDYD.js';
|
|
5
5
|
import { throwErrorCode, ERRORS } from './ERRORS-D0apMqnc.js';
|
|
6
|
-
import { D as DiskStorage, e as ensureFile, S as StreamLength, s as streamChecksum } from './disk-storage-
|
|
6
|
+
import { D as DiskStorage, e as ensureFile, S as StreamLength, s as streamChecksum } from './disk-storage-CD47QI30.js';
|
|
7
7
|
import { LRUCache } from 'lru-cache';
|
|
8
8
|
import { createHash } from 'node:crypto';
|
|
9
9
|
import { r as remove } from './local-meta-storage-By-3SNBI.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'node:crypto';
|
|
2
2
|
import 'gaxios';
|
|
3
3
|
import 'google-auth-library';
|
|
4
|
-
export { G as default } from './gcs-meta-storage-
|
|
4
|
+
export { G as default } from './gcs-meta-storage-CJ8Uts_d.js';
|
|
5
5
|
import './MetaStorage-pECeFOad.js';
|
|
6
6
|
import './Metadata-DRLXeJ0F.js';
|
|
7
7
|
import './GCSConfig-vPP22kN6.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { randomUUID } from 'node:crypto';
|
|
2
2
|
import { request } from 'gaxios';
|
|
3
3
|
import { GoogleAuth } from 'google-auth-library';
|
|
4
|
-
import { r as retryOptions, G as GCSMetaStorage, g as getRangeEnd, p as package_, b as buildContentRange } from './gcs-meta-storage-
|
|
4
|
+
import { r as retryOptions, G as GCSMetaStorage, g as getRangeEnd, p as package_, b as buildContentRange } from './gcs-meta-storage-CJ8Uts_d.js';
|
|
5
5
|
import { p as partMatch, d as detectFileTypeFromStream, g as getFileStatus } from './part-match-BMNqHDYD.js';
|
|
6
6
|
import { throwErrorCode, ERRORS } from './ERRORS-D0apMqnc.js';
|
|
7
7
|
import { B as BaseStorage, t as toMilliseconds } from './storage-C6NSXb8h.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Readable } from 'node:stream';
|
|
2
2
|
import { parseMultipartRequest, MaxFileSizeExceededError, MultipartParseError } from '@remix-run/multipart-parser/node';
|
|
3
|
-
import { c as createHttpError } from './headers-
|
|
4
|
-
import { g as getIdFromRequest } from './base-handler-core-
|
|
3
|
+
import { c as createHttpError } from './headers-YLRp1dLo.js';
|
|
4
|
+
import { g as getIdFromRequest } from './base-handler-core-BoAqTyz7.js';
|
|
5
5
|
import { V as ValidationError } from './validator-BeX_lJet.js';
|
|
6
|
-
import { B as BaseHandlerNode } from './base-handler-node-
|
|
7
|
-
import { M as MultipartBase } from './multipart-base-
|
|
6
|
+
import { B as BaseHandlerNode } from './base-handler-node-DGzcHHAy.js';
|
|
7
|
+
import { M as MultipartBase } from './multipart-base-C994naBi.js';
|
|
8
8
|
|
|
9
9
|
const RE_MIME = /^multipart\/.+|application\/x-www-form-urlencoded$/i;
|
|
10
10
|
class Multipart extends BaseHandlerNode {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Readable } from 'node:stream';
|
|
2
2
|
import { parseMultipartRequest, MaxFileSizeExceededError, MultipartParseError } from '@remix-run/multipart-parser';
|
|
3
|
-
import { c as createHttpError } from './headers-
|
|
3
|
+
import { c as createHttpError } from './headers-YLRp1dLo.js';
|
|
4
4
|
import { V as ValidationError } from './validator-BeX_lJet.js';
|
|
5
|
-
import { B as BaseHandlerFetch } from './base-handler-fetch-
|
|
6
|
-
import { M as MultipartBase } from './multipart-base-
|
|
5
|
+
import { B as BaseHandlerFetch } from './base-handler-fetch-D4u2xits.js';
|
|
6
|
+
import { M as MultipartBase } from './multipart-base-C994naBi.js';
|
|
7
7
|
|
|
8
8
|
const RE_MIME = /^multipart\/.+|application\/x-www-form-urlencoded$/i;
|
|
9
9
|
const getIdFromRequestUrl = (url) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as createHttpError } from './headers-
|
|
1
|
+
import { c as createHttpError } from './headers-YLRp1dLo.js';
|
|
2
2
|
import { hasBody } from 'type-is';
|
|
3
|
-
import { a as getHeader, b as getRequestStream, g as getIdFromRequest, r as readBody } from './base-handler-core-
|
|
4
|
-
import { B as BaseHandlerNode } from './base-handler-node-
|
|
5
|
-
import { R as RestBase, v as validateRequestBody, a as validateContentLength, e as extractFileInit, p as parseContentDisposition, b as parseChunkHeaders } from './rest-base-
|
|
3
|
+
import { a as getHeader, b as getRequestStream, g as getIdFromRequest, r as readBody } from './base-handler-core-BoAqTyz7.js';
|
|
4
|
+
import { B as BaseHandlerNode } from './base-handler-node-DGzcHHAy.js';
|
|
5
|
+
import { R as RestBase, v as validateRequestBody, a as validateContentLength, e as extractFileInit, p as parseContentDisposition, b as parseChunkHeaders } from './rest-base-D9URIFkc.js';
|
|
6
6
|
|
|
7
7
|
class Rest extends BaseHandlerNode {
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as createHttpError } from './headers-
|
|
1
|
+
import { c as createHttpError } from './headers-YLRp1dLo.js';
|
|
2
2
|
import { ERRORS } from './ERRORS-D0apMqnc.js';
|
|
3
|
-
import { b as getRequestStream } from './base-handler-core-
|
|
4
|
-
import { B as BaseHandlerFetch } from './base-handler-fetch-
|
|
5
|
-
import { R as RestBase, c as parseContentDispositionValue } from './rest-base-
|
|
3
|
+
import { b as getRequestStream } from './base-handler-core-BoAqTyz7.js';
|
|
4
|
+
import { B as BaseHandlerFetch } from './base-handler-fetch-D4u2xits.js';
|
|
5
|
+
import { R as RestBase, c as parseContentDispositionValue } from './rest-base-D9URIFkc.js';
|
|
6
6
|
|
|
7
7
|
class RestFetch extends BaseHandlerFetch {
|
|
8
8
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as createHttpError } from './headers-
|
|
2
|
-
import { B as BaseHandlerFetch } from './base-handler-fetch-
|
|
3
|
-
import { TusBase } from './TUS_RESUMABLE-
|
|
4
|
-
export { TUS_RESUMABLE, TUS_VERSION } from './TUS_RESUMABLE-
|
|
1
|
+
import { c as createHttpError } from './headers-YLRp1dLo.js';
|
|
2
|
+
import { B as BaseHandlerFetch } from './base-handler-fetch-D4u2xits.js';
|
|
3
|
+
import { TusBase } from './TUS_RESUMABLE-Dtfsffnj.js';
|
|
4
|
+
export { TUS_RESUMABLE, TUS_VERSION } from './TUS_RESUMABLE-Dtfsffnj.js';
|
|
5
5
|
|
|
6
6
|
const getIdFromRequestUrl = (url) => {
|
|
7
7
|
try {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { format } from 'node:url';
|
|
2
|
-
import { c as createHttpError } from './headers-
|
|
3
|
-
import { a as getHeader, b as getRequestStream, g as getIdFromRequest, c as getBaseUrl } from './base-handler-core-
|
|
4
|
-
import { B as BaseHandlerNode } from './base-handler-node-
|
|
5
|
-
import { TusBase } from './TUS_RESUMABLE-
|
|
6
|
-
export { TUS_RESUMABLE, TUS_VERSION } from './TUS_RESUMABLE-
|
|
2
|
+
import { c as createHttpError } from './headers-YLRp1dLo.js';
|
|
3
|
+
import { a as getHeader, b as getRequestStream, g as getIdFromRequest, c as getBaseUrl } from './base-handler-core-BoAqTyz7.js';
|
|
4
|
+
import { B as BaseHandlerNode } from './base-handler-node-DGzcHHAy.js';
|
|
5
|
+
import { TusBase } from './TUS_RESUMABLE-Dtfsffnj.js';
|
|
6
|
+
export { TUS_RESUMABLE, TUS_VERSION } from './TUS_RESUMABLE-Dtfsffnj.js';
|
|
7
7
|
|
|
8
8
|
class Tus extends BaseHandlerNode {
|
|
9
9
|
/**
|
|
@@ -2,7 +2,7 @@ import { EventEmitter } from 'node:events';
|
|
|
2
2
|
import { format } from 'node:url';
|
|
3
3
|
import mime from 'mime';
|
|
4
4
|
import { ErrorMap } from './ERRORS-D0apMqnc.js';
|
|
5
|
-
import { H as HeaderUtilities } from './headers-
|
|
5
|
+
import { H as HeaderUtilities } from './headers-YLRp1dLo.js';
|
|
6
6
|
import { Readable } from 'node:stream';
|
|
7
7
|
import 'type-is';
|
|
8
8
|
|
package/dist/packem_shared/{base-handler-fetch-A7V0N6AJ.js → base-handler-fetch-D4u2xits.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { H as HeaderUtilities, h as httpErrorsExports } from './headers-
|
|
1
|
+
import { H as HeaderUtilities, h as httpErrorsExports } from './headers-YLRp1dLo.js';
|
|
2
2
|
import { ERRORS, isUploadError } from './ERRORS-D0apMqnc.js';
|
|
3
|
-
import { B as BaseHandlerCore, p as pick } from './base-handler-core-
|
|
3
|
+
import { B as BaseHandlerCore, p as pick } from './base-handler-core-BoAqTyz7.js';
|
|
4
4
|
import { i as isValidationError } from './validator-BeX_lJet.js';
|
|
5
5
|
import { waitForStorage } from './waitForStorage-Cscw85sx.js';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { paginate } from '@visulima/pagination';
|
|
2
|
-
import { H as HeaderUtilities, h as httpErrorsExports, c as createHttpError } from './headers-
|
|
2
|
+
import { H as HeaderUtilities, h as httpErrorsExports, c as createHttpError } from './headers-YLRp1dLo.js';
|
|
3
3
|
import mime from 'mime';
|
|
4
4
|
import { ERRORS, isUploadError } from './ERRORS-D0apMqnc.js';
|
|
5
5
|
import { match } from 'path-to-regexp';
|
|
6
|
-
import { p as pick, B as BaseHandlerCore, s as setHeaders, d as getRealPath, u as uuidRegex } from './base-handler-core-
|
|
6
|
+
import { p as pick, B as BaseHandlerCore, s as setHeaders, d as getRealPath, u as uuidRegex } from './base-handler-core-BoAqTyz7.js';
|
|
7
7
|
import { i as isValidationError } from './validator-BeX_lJet.js';
|
|
8
8
|
import { waitForStorage } from './waitForStorage-Cscw85sx.js';
|
|
9
9
|
import { PassThrough } from 'node:stream';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createReadStream, createWriteStream } from 'node:fs';
|
|
2
2
|
import { truncate, stat as stat$1, copyFile as copyFile$1 } from 'node:fs/promises';
|
|
3
3
|
import { PassThrough, Transform, pipeline } from 'node:stream';
|
|
4
|
-
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-
|
|
4
|
+
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BqLXS_qQ.js';
|
|
5
5
|
import require$$0 from 'crypto';
|
|
6
6
|
import require$$1 from 'fs';
|
|
7
7
|
import { g as getFileStatus, p as partMatch, d as detectFileTypeFromStream } from './part-match-BMNqHDYD.js';
|
|
@@ -7,7 +7,7 @@ import GCSConfig from './GCSConfig-vPP22kN6.js';
|
|
|
7
7
|
import { h as hasContent } from './has-content-CY66ehMK.js';
|
|
8
8
|
|
|
9
9
|
var name = "@visulima/storage";
|
|
10
|
-
var version = "1.0.0-alpha.
|
|
10
|
+
var version = "1.0.0-alpha.8";
|
|
11
11
|
const package_ = {
|
|
12
12
|
name: name,
|
|
13
13
|
version: version};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as createHttpError } from './headers-
|
|
1
|
+
import { c as createHttpError } from './headers-YLRp1dLo.js';
|
|
2
2
|
import { hasBody } from 'type-is';
|
|
3
|
-
import { a as getHeader } from './base-handler-core-
|
|
3
|
+
import { a as getHeader } from './base-handler-core-BoAqTyz7.js';
|
|
4
4
|
import { ERRORS } from './ERRORS-D0apMqnc.js';
|
|
5
5
|
import { b as buildResponseFile, a as buildFileHeaders, c as buildChunkedUploadHeaders, d as buildFileMetadataHeaders } from './response-builder-BtnRiBUI.js';
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as GCSConfig } from '../../packem_shared/GCSConfig-vPP22kN6.js';
|
|
2
2
|
export { default as GCSFile } from '../../packem_shared/GCSFile-BIEunhAN.js';
|
|
3
|
-
export { G as GCSMetaStorage } from '../../packem_shared/gcs-meta-storage-
|
|
4
|
-
export { default as GCStorage } from '../../packem_shared/GCStorage-
|
|
3
|
+
export { G as GCSMetaStorage } from '../../packem_shared/gcs-meta-storage-CJ8Uts_d.js';
|
|
4
|
+
export { default as GCStorage } from '../../packem_shared/GCStorage-C-gAuP0j.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { D as DiskStorage } from '../../packem_shared/disk-storage-
|
|
2
|
-
export { default as DiskStorageWithChecksum } from '../../packem_shared/DiskStorageWithChecksum-
|
|
1
|
+
export { D as DiskStorage } from '../../packem_shared/disk-storage-CD47QI30.js';
|
|
2
|
+
export { default as DiskStorageWithChecksum } from '../../packem_shared/DiskStorageWithChecksum-BRl-V5x2.js';
|
|
3
3
|
export { L as LocalMetaStorage } from '../../packem_shared/local-meta-storage-By-3SNBI.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visulima/storage",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.9",
|
|
4
4
|
"description": "Visulima upload - Store files in a web-accessible location via a simplified API. Can automatically scale and rotate images. Includes S3, Azure, GCS and local filesystem-based backends with the most convenient features of each.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anolilab",
|
|
@@ -188,12 +188,12 @@
|
|
|
188
188
|
"dependencies": {
|
|
189
189
|
"@remix-run/multipart-parser": "^0.14.2",
|
|
190
190
|
"@sindresorhus/fnv1a": "3.1.0",
|
|
191
|
-
"@visulima/pagination": "5.0.0-alpha.
|
|
192
|
-
"file-type": "21.3.
|
|
193
|
-
"lru-cache": "
|
|
191
|
+
"@visulima/pagination": "5.0.0-alpha.7",
|
|
192
|
+
"file-type": "21.3.4",
|
|
193
|
+
"lru-cache": "11.2.7",
|
|
194
194
|
"mime": "^4.1.0",
|
|
195
|
-
"nanoid": "5.1.
|
|
196
|
-
"path-to-regexp": "8.3.0",
|
|
195
|
+
"nanoid": "5.1.7",
|
|
196
|
+
"path-to-regexp": "^8.3.0",
|
|
197
197
|
"type-is": "^2.0.1"
|
|
198
198
|
},
|
|
199
199
|
"peerDependencies": {
|
|
@@ -276,6 +276,7 @@
|
|
|
276
276
|
"optional": true
|
|
277
277
|
}
|
|
278
278
|
},
|
|
279
|
+
"optionalDependencies": {},
|
|
279
280
|
"engines": {
|
|
280
281
|
"node": ">=22.13 <=25.x"
|
|
281
282
|
},
|