@medusajs/utils
Advanced tools
Comparing version 1.9.0 to 1.9.1-beta-20230618193938
@@ -1,8 +0,8 @@ | ||
declare type Order = { | ||
type Order = { | ||
[key: string]: "ASC" | "DESC" | Order; | ||
}; | ||
declare type Selects = { | ||
type Selects = { | ||
[key: string]: boolean | Selects; | ||
}; | ||
declare type Relations = { | ||
type Relations = { | ||
[key: string]: boolean | Relations; | ||
@@ -9,0 +9,0 @@ }; |
@@ -0,1 +1,2 @@ | ||
export * from "./build-query"; | ||
export * from "./errors"; | ||
@@ -9,6 +10,11 @@ export * from "./generate-entity-id"; | ||
export * from "./is-string"; | ||
export * from "./lower-case-first"; | ||
export * from "./medusa-container"; | ||
export * from "./object-to-string-path"; | ||
export * from "./medusa-container"; | ||
export * from "./set-metadata"; | ||
export * from "./simple-hash"; | ||
export * from "./wrap-handler"; | ||
export * from "./to-kebab-case"; | ||
export * from "./stringify-circular"; | ||
export * from "./build-query"; | ||
export * from "./handle-postgres-database-error"; |
@@ -17,2 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./build-query"), exports); | ||
__exportStar(require("./errors"), exports); | ||
@@ -26,7 +27,12 @@ __exportStar(require("./generate-entity-id"), exports); | ||
__exportStar(require("./is-string"), exports); | ||
__exportStar(require("./lower-case-first"), exports); | ||
__exportStar(require("./medusa-container"), exports); | ||
__exportStar(require("./object-to-string-path"), exports); | ||
__exportStar(require("./medusa-container"), exports); | ||
__exportStar(require("./set-metadata"), exports); | ||
__exportStar(require("./simple-hash"), exports); | ||
__exportStar(require("./wrap-handler"), exports); | ||
__exportStar(require("./to-kebab-case"), exports); | ||
__exportStar(require("./stringify-circular"), exports); | ||
__exportStar(require("./build-query"), exports); | ||
__exportStar(require("./handle-postgres-database-error"), exports); | ||
//# sourceMappingURL=index.js.map |
import { Request, RequestHandler, Response } from "express"; | ||
declare type handler = (req: Request, res: Response) => Promise<void>; | ||
type handler = (req: Request, res: Response) => Promise<void>; | ||
export declare const wrapHandler: (fn: handler) => RequestHandler; | ||
@@ -4,0 +4,0 @@ export {}; |
@@ -17,3 +17,3 @@ "use strict"; | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -20,0 +20,0 @@ if (y = 0, t) op = [op[0] & 2, t.value]; |
export * from "./bundles"; | ||
export * from "./cli"; | ||
export * from "./common"; | ||
@@ -3,0 +4,0 @@ export * from "./decorators"; |
@@ -18,2 +18,3 @@ "use strict"; | ||
__exportStar(require("./bundles"), exports); | ||
__exportStar(require("./cli"), exports); | ||
__exportStar(require("./common"), exports); | ||
@@ -20,0 +21,0 @@ __exportStar(require("./decorators"), exports); |
{ | ||
"name": "@medusajs/utils", | ||
"version": "1.9.0", | ||
"version": "1.9.1-beta-20230618193938", | ||
"description": "Medusa utilities functions shared by Medusa core and Modules", | ||
@@ -20,5 +20,6 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@medusajs/types": "1.8.7", | ||
"@medusajs/types": "1.8.8-beta-20230618193938", | ||
"@types/express": "^4.17.17", | ||
"cross-env": "^5.2.1", | ||
"express": "^4.18.2", | ||
"jest": "^25.5.4", | ||
@@ -29,3 +30,4 @@ "ts-jest": "^25.5.1", | ||
"dependencies": { | ||
"awilix": "^8.0.0", | ||
"awilix": "^8.0.1", | ||
"glob": "^7.1.6", | ||
"ulid": "^2.3.0" | ||
@@ -32,0 +34,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
142800
124
2330
3
7
2
4
+ Addedglob@^7.1.6
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedwrappy@1.0.2(transitive)
Updatedawilix@^8.0.1