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 2.0.3 to 2.1.0

5

index.js

@@ -38,8 +38,9 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var __assign = Object.assign;

}
query = query.replace(/\?/g, () => {
query = query.replace(/\?/g, (s, index, string) => {
let parameter = JSON.stringify(params.shift());
const previousChar = string.charAt(index - 1);
if (colorQuery && colorParameter) {
parameter = colorParameter + parameter + "" + colorQuery;
}
return parameter;
return (previousChar === "," ? " " : "") + parameter;
});

@@ -46,0 +47,0 @@ if (format) {

33

package.json
{
"name": "prisma-query-log",
"version": "2.0.3",
"version": "2.1.0",
"license": "MIT",

@@ -51,16 +51,16 @@ "description": "Log prisma query event",

"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"@typescript-eslint/eslint-plugin": "^4.11.0",
"@typescript-eslint/parser": "^4.11.0",
"c8": "^7.3.5",
"commitizen": "^4.2.2",
"@types/node": "^14.14.25",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"c8": "^7.5.0",
"commitizen": "^4.2.3",
"cz-customizable": "^6.3.0",
"eslint": "^7.16.0",
"eslint-config-prettier": "^7.1.0",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-import-resolver-node": "^0.3.4",
"eslint-plugin-etc": "^1.1.7",
"eslint-plugin-etc": "^1.3.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-only-warn": "^1.0.2",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-regexp": "^0.1.1",

@@ -71,16 +71,17 @@ "eslint-plugin-simple-import-sort": "^7.0.0",

"eslint-plugin-total-functions": "^4.7.2",
"eslint-plugin-unicorn": "^24.0.0",
"eslint-plugin-unicorn": "^28.0.0",
"eslint-plugin-wix-editor": "^3.2.0",
"expect": "^26.6.2",
"git-branch-is": "^4.0.0",
"husky": "^4.3.6",
"husky": "^5.0.9",
"mocha": "^8.2.1",
"precise-commits": "^1.0.2",
"prettier": "^2.2.1",
"semantic-release": "^17.3.0",
"semantic-release": "^17.3.8",
"strip-ansi": "^6.0.0",
"ts-node": "^9.1.1",
"tslib": "^2.0.3",
"typescript": "^4.1.3",
"tslib": "^2.1.0",
"typescript": "^4.1.5",
"watchexec-bin": "^1.0.0"
}
}
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