Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@restroom-mw/db

Package Overview
Dependencies
Maintainers
3
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@restroom-mw/db - npm Package Compare versions

Comparing version 0.12.3-d624e4f.0 to 0.12.3-e016561.13

dist/index.d.ts.map

1

dist/index.d.ts
import { Request, Response, NextFunction } from "express";
declare const _default: (req: Request, res: Response, next: NextFunction) => void;
export default _default;
//# sourceMappingURL=index.d.ts.map

4

package.json
{
"name": "@restroom-mw/db",
"version": "0.12.3-d624e4f.0+d624e4f",
"version": "0.12.3-e016561.13+e016561",
"description": "Database utilities middleware for Restroom",

@@ -41,3 +41,3 @@ "author": "Puria Nafisi Azizi <puria@dyne.org>",

},
"gitHead": "d624e4f957c02afccc835b6d400b3fa959c950f4"
"gitHead": "e01656122cb948f315e6706b538af7c664aef12c"
}
import { DataTypes, Model, Sequelize } from "sequelize";
import { Restroom } from "@restroom-mw/core";
import { Request, Response, NextFunction } from "express";
import { ObjectLiteral } from "@restroom-mw/types";

@@ -26,6 +27,2 @@ class Result extends Model {

interface ObjectLiteral {
[key: string]: any;
}
interface QueryGetRecord {

@@ -66,4 +63,4 @@ id: string;

: keys && typeof keys === "object"
? keys
: parse(keys);
? keys
: parse(keys);
dataContent =

@@ -73,4 +70,4 @@ typeof data === "undefined"

: data && typeof data === "object"
? data
: parse(data);
? data
: parse(data);
content = { ...dataContent, ...keysContent };

@@ -77,0 +74,0 @@ contentKeys = Object.keys(content);

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