prisma-query-log
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7955
80