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

prisma-query-log

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prisma-query-log - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

3

index.js

@@ -12,3 +12,4 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/index.ts

return function prismaQueryLog(event) {
const params = JSON.parse(event.params);
const eventParams = event.params.replace(/\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d+ UTC/g, (date) => `"${date}"`);
const params = JSON.parse(eventParams);
let query = event.query;

@@ -15,0 +16,0 @@ if (unescape) {

{
"name": "prisma-query-log",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Log prisma query event",

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