@cedarjs/api 4.2.0 → 4.2.1-next.258
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/dist/cjs/index.d.ts +4 -4
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +4 -20
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -19
- package/package.json +6 -6
package/dist/cjs/index.d.ts
CHANGED
|
@@ -6,10 +6,10 @@ export * from './types.js';
|
|
|
6
6
|
export * from './transforms.js';
|
|
7
7
|
export * from './cors.js';
|
|
8
8
|
export * from './event.js';
|
|
9
|
-
export declare const prismaVersion:
|
|
9
|
+
export declare const prismaVersion: string | undefined;
|
|
10
10
|
/** @deprecated - use `cedarVersion` instead */
|
|
11
|
-
export declare const redwoodVersion:
|
|
11
|
+
export declare const redwoodVersion: string;
|
|
12
12
|
/** @deprecated - use `cedarVersion` instead */
|
|
13
|
-
export declare const cedarjsVersion:
|
|
14
|
-
export declare const cedarVersion:
|
|
13
|
+
export declare const cedarjsVersion: string;
|
|
14
|
+
export declare const cedarVersion: string;
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,8BAA8B,CAAA;AAC5C,cAAc,yBAAyB,CAAA;AACvC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAU1B,eAAO,MAAM,aAAa,EAAE,MAAM,GAAG,SAAqC,CAAA;AAC1E,+CAA+C;AAC/C,eAAO,MAAM,cAAc,QAAwB,CAAA;AACnD,+CAA+C;AAC/C,eAAO,MAAM,cAAc,QAAwB,CAAA;AACnD,eAAO,MAAM,YAAY,QAAwB,CAAA"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -25,7 +25,6 @@ __export(index_exports, {
|
|
|
25
25
|
redwoodVersion: () => redwoodVersion
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(index_exports);
|
|
28
|
-
var import_node_module = require("node:module");
|
|
29
28
|
__reExport(index_exports, require("./auth/index.js"), module.exports);
|
|
30
29
|
__reExport(index_exports, require("./errors.js"), module.exports);
|
|
31
30
|
__reExport(index_exports, require("./validations/validations.js"), module.exports);
|
|
@@ -34,25 +33,10 @@ __reExport(index_exports, require("./types.js"), module.exports);
|
|
|
34
33
|
__reExport(index_exports, require("./transforms.js"), module.exports);
|
|
35
34
|
__reExport(index_exports, require("./cors.js"), module.exports);
|
|
36
35
|
__reExport(index_exports, require("./event.js"), module.exports);
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
typeof require === "function" && !(0, require).toString().includes("@rollup") ? require : (0, import_node_module.createRequire)(import_meta.url)
|
|
42
|
-
);
|
|
43
|
-
const cedarApiPath = customRequire.resolve("@cedarjs/api");
|
|
44
|
-
const cedarApiRequire = (0, import_node_module.createRequire)(cedarApiPath);
|
|
45
|
-
let packageJson = cedarApiRequire("./package.json");
|
|
46
|
-
if (packageJson?.name !== "@cedarjs/api") {
|
|
47
|
-
packageJson = cedarApiRequire("../package.json");
|
|
48
|
-
}
|
|
49
|
-
if (packageJson?.name !== "@cedarjs/api") {
|
|
50
|
-
packageJson = cedarApiRequire("../../package.json");
|
|
51
|
-
}
|
|
52
|
-
const prismaVersion = packageJson?.dependencies["@prisma/client"];
|
|
53
|
-
const redwoodVersion = packageJson?.version;
|
|
54
|
-
const cedarjsVersion = packageJson?.version;
|
|
55
|
-
const cedarVersion = packageJson?.version;
|
|
36
|
+
const prismaVersion = "7.8.0";
|
|
37
|
+
const redwoodVersion = "4.2.1-next.258";
|
|
38
|
+
const cedarjsVersion = "4.2.1-next.258";
|
|
39
|
+
const cedarVersion = "4.2.1-next.258";
|
|
56
40
|
// Annotate the CommonJS export names for ESM import in node:
|
|
57
41
|
0 && (module.exports = {
|
|
58
42
|
cedarVersion,
|
package/dist/index.d.ts
CHANGED
|
@@ -6,10 +6,10 @@ export * from './types.js';
|
|
|
6
6
|
export * from './transforms.js';
|
|
7
7
|
export * from './cors.js';
|
|
8
8
|
export * from './event.js';
|
|
9
|
-
export declare const prismaVersion:
|
|
9
|
+
export declare const prismaVersion: string | undefined;
|
|
10
10
|
/** @deprecated - use `cedarVersion` instead */
|
|
11
|
-
export declare const redwoodVersion:
|
|
11
|
+
export declare const redwoodVersion: string;
|
|
12
12
|
/** @deprecated - use `cedarVersion` instead */
|
|
13
|
-
export declare const cedarjsVersion:
|
|
14
|
-
export declare const cedarVersion:
|
|
13
|
+
export declare const cedarjsVersion: string;
|
|
14
|
+
export declare const cedarVersion: string;
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,8BAA8B,CAAA;AAC5C,cAAc,yBAAyB,CAAA;AACvC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAU1B,eAAO,MAAM,aAAa,EAAE,MAAM,GAAG,SAAqC,CAAA;AAC1E,+CAA+C;AAC/C,eAAO,MAAM,cAAc,QAAwB,CAAA;AACnD,+CAA+C;AAC/C,eAAO,MAAM,cAAc,QAAwB,CAAA;AACnD,eAAO,MAAM,YAAY,QAAwB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { createRequire } from "node:module";
|
|
2
1
|
export * from "./auth/index.js";
|
|
3
2
|
export * from "./errors.js";
|
|
4
3
|
export * from "./validations/validations.js";
|
|
@@ -7,24 +6,10 @@ export * from "./types.js";
|
|
|
7
6
|
export * from "./transforms.js";
|
|
8
7
|
export * from "./cors.js";
|
|
9
8
|
export * from "./event.js";
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
);
|
|
15
|
-
const cedarApiPath = customRequire.resolve("@cedarjs/api");
|
|
16
|
-
const cedarApiRequire = createRequire(cedarApiPath);
|
|
17
|
-
let packageJson = cedarApiRequire("./package.json");
|
|
18
|
-
if (packageJson?.name !== "@cedarjs/api") {
|
|
19
|
-
packageJson = cedarApiRequire("../package.json");
|
|
20
|
-
}
|
|
21
|
-
if (packageJson?.name !== "@cedarjs/api") {
|
|
22
|
-
packageJson = cedarApiRequire("../../package.json");
|
|
23
|
-
}
|
|
24
|
-
const prismaVersion = packageJson?.dependencies["@prisma/client"];
|
|
25
|
-
const redwoodVersion = packageJson?.version;
|
|
26
|
-
const cedarjsVersion = packageJson?.version;
|
|
27
|
-
const cedarVersion = packageJson?.version;
|
|
9
|
+
const prismaVersion = "7.8.0";
|
|
10
|
+
const redwoodVersion = "4.2.1-next.258";
|
|
11
|
+
const cedarjsVersion = "4.2.1-next.258";
|
|
12
|
+
const cedarVersion = "4.2.1-next.258";
|
|
28
13
|
export {
|
|
29
14
|
cedarVersion,
|
|
30
15
|
cedarjsVersion,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/api",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.1-next.258",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"build:pack": "yarn pack -o cedarjs-api.tgz",
|
|
91
91
|
"build:types": "tsc --build --verbose ./tsconfig.build.json ./tsconfig.cjs.json",
|
|
92
92
|
"build:watch": "nodemon --watch src --ext \"js,jsx,ts,tsx\" --ignore dist --exec \"yarn build\"",
|
|
93
|
-
"check:attw": "yarn
|
|
93
|
+
"check:attw": "yarn cedar-fwtools-attw",
|
|
94
94
|
"check:package": "concurrently npm:check:attw yarn:publint",
|
|
95
95
|
"prepublishOnly": "NODE_ENV=production yarn build",
|
|
96
96
|
"test": "vitest run",
|
|
@@ -109,20 +109,20 @@
|
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
111
|
"@cedarjs/framework-tools": "4.2.0",
|
|
112
|
-
"@types/aws-lambda": "8.10.
|
|
112
|
+
"@types/aws-lambda": "8.10.162",
|
|
113
113
|
"@types/jsonwebtoken": "9.0.10",
|
|
114
114
|
"@types/memjs": "1",
|
|
115
115
|
"@types/pascalcase": "1.0.3",
|
|
116
116
|
"@types/split2": "4.2.3",
|
|
117
117
|
"concurrently": "9.2.1",
|
|
118
118
|
"memjs": "1.3.2",
|
|
119
|
-
"publint": "0.3.
|
|
119
|
+
"publint": "0.3.21",
|
|
120
120
|
"redis": "5.12.1",
|
|
121
121
|
"split2": "4.2.0",
|
|
122
122
|
"ts-toolbelt": "9.6.0",
|
|
123
|
-
"tsx": "4.
|
|
123
|
+
"tsx": "4.22.4",
|
|
124
124
|
"typescript": "5.9.3",
|
|
125
|
-
"vitest": "3.2.
|
|
125
|
+
"vitest": "3.2.6"
|
|
126
126
|
},
|
|
127
127
|
"peerDependencies": {
|
|
128
128
|
"memjs": "1.3.2",
|