@cedarjs/storage 7.0.0-canary.3258 → 7.0.0-rc.123
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/README.md +0 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -5
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
# `@cedarjs/storage`
|
|
2
2
|
|
|
3
|
-
> **Deprecated.** `@cedarjs/storage` is superseded by
|
|
4
|
-
> [`@cedarjs/uploads`](../uploads/README.md), which replaces the Prisma
|
|
5
|
-
> extension and savers with explicit service calls, named storage targets, and
|
|
6
|
-
> token-gated upload routes. This package will be removed in a future major
|
|
7
|
-
> release. See the [migration guide](https://cedarjs.com/docs/uploads#migrating-from-cedarjsstorage).
|
|
8
|
-
|
|
9
3
|
This package houses
|
|
10
4
|
|
|
11
5
|
- Prisma extension for handling uploads. Currently
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AAE1E,OAAO,KAAK,EACV,aAAa,EACb,oBAAoB,EACpB,aAAa,EACd,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AAE1E,OAAO,KAAK,EACV,aAAa,EACb,oBAAoB,EACpB,aAAa,EACd,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,KAAK,mBAAmB,CACtB,OAAO,EACP,MAAM,SAAS,aAAa,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC,OAAO,CAAC,IAC5D;IACF,aAAa,EAAE,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;IAC7C,cAAc,EAAE,kBAAkB,CAAA;IAClC,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,YAAY,GACvB,OAAO,EACP,MAAM,SAAS,aAAa,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC,OAAO,CAAC,EAC9D,+CAIC,mBAAmB,CAAC,OAAO,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;gBAZjC,CAAC;;;CAyBN,CAAA;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EACP,CAAC,SAAS,OAAO,CAAC;KACf,CAAC,IAAI,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,oBAAoB,CAAC,OAAO,EAAE,CAAC,CAAC;CACjE,CAAC,EACF,aAAa,EAAE,CAAC,GAAG,CAAC,CAErB;AAED,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { createUploadSavers } from "./createSavers.js";
|
|
2
2
|
import { createUploadsExtension } from "./prismaExtension.js";
|
|
3
|
-
if (!process.env.CEDAR_SUPPRESS_STORAGE_DEPRECATION) {
|
|
4
|
-
console.warn(
|
|
5
|
-
"[@cedarjs/storage] This package is deprecated and will be removed in a future major release. Migrate to @cedarjs/uploads: https://cedarjs.com/docs/uploads#migrating-from-cedarjsstorage"
|
|
6
|
-
);
|
|
7
|
-
}
|
|
8
3
|
const setupStorage = ({
|
|
9
4
|
uploadsConfig,
|
|
10
5
|
storageAdapter,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/storage",
|
|
3
|
-
"version": "7.0.0-
|
|
3
|
+
"version": "7.0.0-rc.123",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"test:watch": "vitest watch"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@cedarjs/project-config": "7.0.0-
|
|
39
|
+
"@cedarjs/project-config": "7.0.0-rc.123",
|
|
40
40
|
"mime-types": "2.1.35",
|
|
41
41
|
"ulid": "3.0.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@arethetypeswrong/cli": "0.18.5",
|
|
45
|
-
"@cedarjs/framework-tools": "7.0.0-
|
|
46
|
-
"@prisma/adapter-better-sqlite3": "7.
|
|
47
|
-
"@prisma/client": "7.
|
|
45
|
+
"@cedarjs/framework-tools": "7.0.0-rc.123",
|
|
46
|
+
"@prisma/adapter-better-sqlite3": "7.8.0",
|
|
47
|
+
"@prisma/client": "7.8.0",
|
|
48
48
|
"@types/better-sqlite3": "7.6.13",
|
|
49
49
|
"@types/mime-types": "2.1.4",
|
|
50
50
|
"better-sqlite3": "12.11.1",
|