@fxjs/sql-query
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -20,23 +20,17 @@ /// <reference path="Sql.d.ts" /> | ||
interface fn_escape { | ||
( | ||
query: FxSqlQuerySql.SqlFragmentStr, | ||
args: FxSqlQuerySql.SqlAssignmentValues | ||
): string | ||
} | ||
interface fn_escapeId { | ||
(...els: FxSqlQuerySql.SqlEscapeArgIdType[]): string | ||
} | ||
interface fn_escapeVal { | ||
(val: FxSqlQuerySql.SqlEscapeArgType, timezone?: FxSqlQuery.FxSqlQueryTimezone): string | ||
} | ||
interface Dialect { | ||
DataTypes: DataTypesDescriptor | ||
escape: fn_escape | ||
escapeId: fn_escapeId | ||
escapeVal: fn_escapeVal | ||
escape: { | ||
( | ||
query: FxSqlQuerySql.SqlFragmentStr, | ||
args: FxSqlQuerySql.SqlAssignmentValues | ||
): string | ||
} | ||
escapeId: { | ||
(...els: FxSqlQuerySql.SqlEscapeArgIdType[]): string | ||
} | ||
escapeVal: { | ||
(val: FxSqlQuerySql.SqlEscapeArgType, timezone?: FxSqlQuery.FxSqlQueryTimezone): string | ||
} | ||
@@ -46,2 +40,6 @@ defaultValuesStmt: string | ||
} | ||
type fn_escape = Dialect['escape'] | ||
type fn_escapeId = Dialect['escapeId'] | ||
type fn_escapeVal = Dialect['escapeVal'] | ||
} |
@@ -30,5 +30,5 @@ /// <reference path="Dialect.d.ts" /> | ||
interface Class_Query { | ||
escape: FxSqlQueryDialect.fn_escape | ||
escapeId: FxSqlQueryDialect.fn_escapeId | ||
escapeVal: FxSqlQueryDialect.fn_escapeVal | ||
escape: FxSqlQueryDialect.Dialect['escape'] | ||
escapeId: FxSqlQueryDialect.Dialect['escapeId'] | ||
escapeVal: FxSqlQueryDialect.Dialect['escapeVal'] | ||
@@ -35,0 +35,0 @@ create: () => ChainBuilder__Create |
v0.0.2 / 2018-12-15 | ||
v0.0.3 / 2019-01-05 | ||
================== | ||
* update typo. | ||
* update .npmignore. | ||
v0.0.2 / 2018-12-15 | ||
=================== | ||
* Release v0.0.2 | ||
* robust about _proxyFn in 'Query.ts'. | ||
@@ -6,0 +13,0 @@ |
{ | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"name": "@fxjs/sql-query", | ||
@@ -4,0 +4,0 @@ "types": "@types/index.d.ts", |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
2
88334
31
1817