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

af-db

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

af-db - npm Package Compare versions

Comparing version 0.0.16 to 2.0.16

5

index.js

@@ -47,3 +47,3 @@ // noinspection SqlResolve

*/
sql.s = (str, nullable = false, len = 0, default_ = null, noQuotes, escapeOnlySingleQuotes = false) => {
sql.s = (str, nullable = false, len = 0, default_ = null, noQuotes = false, escapeOnlySingleQuotes = false) => {
str = (String(str || '')).trim();

@@ -458,2 +458,3 @@ if (!str) {

case sql.BigInt:
// eslint-disable-next-line no-loss-of-precision
return prepareNumber(-9223372036854775808, 9223372036854775807);

@@ -855,3 +856,3 @@ case 'number':

*/
sql.recordSchemaToArray = (recordSchemaAssoc, omitFields = [], fieldTypeCorrection = [], pickFields) => {
sql.recordSchemaToArray = (recordSchemaAssoc, omitFields = [], fieldTypeCorrection = [], pickFields = undefined) => {
_.each(fieldTypeCorrection, (type, fieldName) => {

@@ -858,0 +859,0 @@ recordSchemaAssoc[fieldName].type = type;

26

package.json
{
"name": "af-db",
"version": "0.0.16",
"version": "2.0.16",
"description": "A highly specialized function library",

@@ -19,21 +19,21 @@ "main": "index.js",

"dependencies": {
"af-echo": "^0.0.9",
"af-fns": "^0.0.3",
"config": "^3.3.6",
"af-echo": "^0.0.16",
"af-fns": "^0.0.6",
"config": "^3.3.7",
"lodash": "^4.17.21",
"memory-cache": "^0.2.0",
"moment-timezone": "^0.5.33",
"mssql": "^7.1.0"
"moment-timezone": "^0.5.34",
"mssql": "^8.0.1"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/register": "^7.13.16",
"chai": "^4.3.4",
"eslint": "^7.28.0",
"eslint-config-airbnb-base": "^14.2.1",
"@babel/core": "^7.16.12",
"@babel/register": "^7.16.9",
"chai": "^4.3.6",
"eslint": "^8.8.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.23.3",
"mocha": "^8.4.0"
"eslint-plugin-import": "^2.25.4",
"mocha": "^9.2.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