New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fxjs/sql-query

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fxjs/sql-query - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

8

History.md
v0.0.1 / 2018-12-15
v0.0.2 / 2018-12-15
==================
* robust about _proxyFn in 'Query.ts'.
v0.0.1 / 2018-12-15
===================
* Release v0.0.1
* add prepublishOnly hook script
* transform all useful source code to typescript, add @types.
* Init.

6

lib/Query.js

@@ -29,2 +29,5 @@ /// <reference lib="es5" />

this.Dialect = require("./Dialects/" + (opts.dialect || "mysql"));
this.escape = this._proxyFn('escape');
this.escapeId = this._proxyFn('escapeId');
this.escapeVal = this._proxyFn('escapeVal');
}

@@ -47,5 +50,2 @@ _proxyFn(fn_name) {

}
escape(...args) { return this._proxyFn('escape')(...args); }
escapeId(...args) { return this._proxyFn('escapeId')(...args); }
escapeVal(...args) { return this._proxyFn('escapeVal')(...args); }
create() {

@@ -52,0 +52,0 @@ return new Create_1.CreateQuery(this.Dialect);

{
"version": "0.0.1",
"version": "0.0.2",
"name": "@fxjs/sql-query",

@@ -4,0 +4,0 @@ "types": "@types/index.d.ts",

@@ -55,7 +55,11 @@ /// <reference lib="es5" />

this.Dialect = require("./Dialects/" + (opts.dialect || "mysql"));
this.escape = this._proxyFn('escape')
this.escapeId = this._proxyFn('escapeId')
this.escapeVal = this._proxyFn('escapeVal')
}
escape(...args: any[]) { return this._proxyFn('escape')(...args) }
escapeId(...args: any[]) { return this._proxyFn('escapeId')(...args) }
escapeVal(...args: any[]) { return this._proxyFn('escapeVal')(...args) }
escape: FxSqlQueryDialect.fn_escape
escapeId: FxSqlQueryDialect.fn_escapeId
escapeVal: FxSqlQueryDialect.fn_escapeVal

@@ -110,2 +114,2 @@ create() {

export const not_in = ComparatorsHash.not_in
// deprecated :start
// deprecated :start
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