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

sqrolls

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqrolls - npm Package Compare versions

Comparing version 0.0.3 to 0.1.0

8

dist/update.d.ts

@@ -12,2 +12,10 @@ import { PredicateBaseBuilder } from './basebuilders';

/**
* Sets a field if the conditional check is true.
*
* @param field The field name
* @param arg The value to set
* @param check The conditional check
*/
setIf(field: string, arg: unknown, check: boolean): Update;
/**
* Builds the final select statement.

@@ -14,0 +22,0 @@ */

@@ -23,2 +23,15 @@ "use strict";

/**
* Sets a field if the conditional check is true.
*
* @param field The field name
* @param arg The value to set
* @param check The conditional check
*/
setIf(field, arg, check) {
if (check) {
return this.set(field, arg);
}
return this;
}
/**
* Builds the final select statement.

@@ -25,0 +38,0 @@ */

6

package.json
{
"name": "sqrolls",
"version": "0.0.3",
"version": "0.1.0",
"description": "sql builder library",

@@ -23,4 +23,4 @@ "keywords": [

"test": "jest",
"prepublishOnly": "npm test",
"prepare": "npm run build"
"prepublishOnly": "yarn test",
"prepare": "yarn build"
},

@@ -27,0 +27,0 @@ "dependencies": {},

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