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

sqljson-query

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqljson-query - npm Package Compare versions

Comparing version 1.10.0 to 1.10.1

5

lib/dbmd/relations-md-source-generator.js

@@ -77,6 +77,7 @@ "use strict";

}
parts.push("\n\n public static class TableNames {");
parts.push("\n //////////////// Table names ////////////////");
parts.push(" public static class TableNames {");
for (const relMd of relMds) {
const relName = ident(relMd.relationId.name, dbmd.caseSensitivity, preferLowercaseNames);
parts.push(` public static final String ${relNameJavaIdentifier(relName)} = "${(0, mod_1.escapeDoubleQuotes)(relName)};"`);
parts.push(` public static final String ${relNameJavaIdentifier(relName)} = "${(0, mod_1.escapeDoubleQuotes)(relName)}";`);
}

@@ -83,0 +84,0 @@ parts.push(" }\n\n");

2

package.json
{
"name": "sqljson-query",
"version": "1.10.0",
"version": "1.10.1",
"description": "Command line tool to generate SQL/JSON SQL queries and result types for Typescript or Java.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -113,3 +113,4 @@ import * as path from 'path';

parts.push("\n\n public static class TableNames {");
parts.push("\n //////////////// Table names ////////////////");
parts.push(" public static class TableNames {");
for (const relMd of relMds)

@@ -119,3 +120,3 @@ {

parts.push(
` public static final String ${relNameJavaIdentifier(relName)} = "${escapeDoubleQuotes(relName)};"`,
` public static final String ${relNameJavaIdentifier(relName)} = "${escapeDoubleQuotes(relName)}";`,
);

@@ -122,0 +123,0 @@ }

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