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.1.2 to 0.1.3

lib/Dialects/index.js

10

History.md
v0.1.2 / 2019-01-13
v0.1.3 / 2019-01-19
==================
* add test about umd bundle.
* fix test cases.
* support umd bundle.
v0.1.2 / 2019-01-13
===================
* Release v0.1.2
* typo fix.

@@ -6,0 +14,0 @@ * add test case.

3

lib/Query.js

@@ -11,2 +11,3 @@ /// <reference lib="es5" />

const Helpers = require("./Helpers");
const Dialects = require("./Dialects");
exports.comparators = ComparatorsHash;

@@ -29,3 +30,3 @@ exports.Text = buildQueryType("text");

this.opts = opts;
this.Dialect = require("./Dialects/" + (opts.dialect || "mysql"));
this.Dialect = Dialects[opts.dialect || "mysql"];
this.escape = this._proxyFn('escape');

@@ -32,0 +33,0 @@ this.escapeId = this._proxyFn('escapeId');

{
"version": "0.1.2",
"version": "0.1.3",
"name": "@fxjs/sql-query",

@@ -17,7 +17,12 @@ "types": "@types/index.d.ts",

"build": "fib-typify src -o lib",
"build:umd": "fibjs ./rollup.build.js",
"test": "fibjs test/run",
"test:umd": "cross-env ENTRY_SUFFIX=.umd.js fibjs test/vbox",
"ci": "npm run build && npm run test",
"prepublishOnly": "npm run build"
"ci:umd": "npm run build && npm run test:umd",
"prepublishOnly": "npm run build && npm run ci:umd"
},
"main": "./lib/Query",
"unpkg": "./lib/index.umd.js",
"jsdelivr": "./lib/index.umd.js",
"engines": {

@@ -30,3 +35,6 @@ "fibjs": "*"

"@types/fibjs": "^0.26.5",
"fib-typify": "^0.4.1"
"cross-env": "^5.2.0",
"fib-rollup": "^0.4.0",
"fib-typify": "^0.4.1",
"rollup-plugin-commonjs": "^9.2.0"
},

@@ -33,0 +41,0 @@ "ci": {

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