New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@medusajs/utils

Package Overview
Dependencies
Maintainers
2
Versions
3242
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medusajs/utils - npm Package Compare versions

Comparing version 1.9.0 to 1.9.1-beta-20230618193938

dist/cli/clear-project.d.ts

6

dist/common/build-query.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc